Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Mackenzie

#1
Help / Re: Textures Won't Load
August 08, 2016, 06:05:58 PM
Quote from: robotguy4 on August 08, 2016, 05:41:38 PM-snip-

I tried everything, for hours... trying different things with names and paths and slashes and what not but it just wouldn't work. See my previous post for the details. Thanks for trying to help me troubleshoot, friend. (:
#2
Help / Re: Textures Won't Load
August 08, 2016, 06:04:41 PM
Quote from: 1000101 on August 08, 2016, 05:21:32 PM
What does your file structure look like?  Specifically your /Mods/MyMod/Textures directory?

Make sure all your textures are inside of the Textures directory and your references don't include the base Textures directory name.

Well it's definitely not a path issue. /Mods/MyMod/Textures/Things/Plant/Image.png and that seems to be working... I fixed the issue and what the issue was, was not the <texPath> tag but the <graphicClass> tag... I had copied cotton plant as a blueprint of code to work from so to speak and it uses Graphic_Random as the value of the tag... apparently that throws the error as apparently my custom images don't like using that class so I tried what the other plants are using, which is Graphic_Single and it all works perfectly fine now.

I appreciate the time and help anyone put forth. If anyone wanted to explain what the graphicClass tag actually does in function, I would be appreciative.
#3
Help / Re: Textures Won't Load
August 08, 2016, 04:07:21 PM
Hmm.. maybe it is the code. I have no idea. The error goes away if I remove this code..... but that also completely disables the modification that the texture is being used in.

  <ThingDef ParentName="PlantBase">
    <defName>PlantNanithe</defName>
    <label>nanithe</label>
    <description>Yields nanithe fibre.</description>
    <statBases>
      <MaxHitPoints>125</MaxHitPoints>
      <Beauty>1</Beauty>
    </statBases>
    <graphicData>
      <texPath>Things/Plant/NanithePlant</texPath>
      <graphicClass>Graphic_Random</graphicClass>
    </graphicData>
    <selectable>true</selectable>
    <pathCost>10</pathCost>
    <plant>
      <dieIfLeafless>true</dieIfLeafless>
      <shootsSeeds>false</shootsSeeds>
      <harvestTag>Standard</harvestTag>
      <harvestedThingDef>NanitheFibre</harvestedThingDef>
      <harvestDestroys>true</harvestDestroys>
      <harvestYield>20</harvestYield>
      <sowTags>
        <li>Ground</li>
      </sowTags>
      <sowMinSkill>10</sowMinSkill>
      <topWindExposure>0.1</topWindExposure>
      <growDays>4</growDays>
      <fertilityFactorGrowthRate>0.4</fertilityFactorGrowthRate>
      <visualSizeRange>
        <min>0.3</min>
        <max>1.05</max>
      </visualSizeRange>
    </plant>
  </ThingDef>
#4
Help / Textures Won't Load [Solved!]
August 08, 2016, 12:20:02 PM
Hello,

I'm having a problem with a new mod that I'm trying to make. Some of the textures load just fine, but others give an error saying they could not be loaded when launching the game. They are standard 64x64 pixel PNG format, 32 bit depth.

Seems that the XMLs are finding them, since changing the paths cause additional errors of not being able to find them. But when they are correctly pathed in the XMLs the error pops up for certain specific textures like on my custom plant.

I've attached what it looks like with the exception. Any ideas what the problem is?

[attachment deleted by admin - too old]
#5
Bugs / Skill Bug in Creation Screen
August 04, 2016, 09:21:31 AM
Hello everyone,

I registered here today to cross-post a bug I believe I have stumbled upon in the 14e version of the game. I thought I was onto the understanding of a new game mechanic, but it just so happened to turn out that what made me think I'd stumbled on something was actually a bug.

https://www.reddit.com/r/RimWorld/comments/4w3r2o/backstory_data_question_for_the_more_technical/

Basically if you roll a colonist on the colonist creation screen, and the childhood or adulthood backstories contains a bonus to the Animals skill, such as say "+4", then it won't actually apply the bonus to the skill as shown in this image I uploaded:

https://dl.dropboxusercontent.com/u/104490163/RimWorld/backstoryStats.png

No mods were used, this is the vanilla game. Thank you for your time.