Thinktree turn animal texture into human? (How do I turn bear into human?)

Started by Aristocat, June 20, 2016, 03:03:53 PM

Previous topic - Next topic

Aristocat

I'm trying to make bear act like human, so I added

      <thinkTreeMain>Humanlike</thinkTreeMain>
      <thinkTreeConstant>HumanlikeConstant</thinkTreeConstant>
      <intelligence>Humanlike</intelligence>


They work fine, attacks with paws and bite, scream like a bear, can work and sleep, has bodyparts of bear, except this change texture into human for some unknown reason.



      <intelligence>ToolUser</intelligence>
      <thinkTreeMain>Mechanoid</thinkTreeMain>


This make them looks like bear but they act like mechanoids.

Whole code

<PawnKindDef Name="TribalWarrior">
<defName>TribalBearMan</defName>
<label>Bear</label>
<race>GrizzlyBearMan</race>
    <combatPower>220</combatPower>
    <defaultFactionType>Tribe</defaultFactionType>
<baseRecruitDifficulty>90</baseRecruitDifficulty>
    <invMealCount>3</invMealCount>
    <backstoryCryptosleepCommonality>0.01</backstoryCryptosleepCommonality>
    <maxGenerationAge>40</maxGenerationAge>
    <gearHealthRange>
      <min>0.5</min>
      <max>1.8</max>
    </gearHealthRange>
    <apparelMoney>
      <min>0</min>
      <max>0</max>
    </apparelMoney>
    <apparelTags>
    </apparelTags>
<weaponMoney>
<min>0</min>
<max>0</max>
</weaponMoney>
<weaponTags>
</weaponTags>
<lifeStages>
<li>
<bodyGraphicData>
<texPath>Things/Pawn/Animal/Bear</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>3</drawSize>
<shadowData>
<volume>(0.4, 0.8, 0.4)</volume>
<offset>(0,0,0)</offset>
</shadowData>
</bodyGraphicData>
</li>
</lifeStages>
</PawnKindDef>

  <ThingDef Abstract="True" ParentName="BasePawn" Name="BaseBearMan">
    <statBases>
      <MoveSpeed>4.3</MoveSpeed>
      <ComfyTemperatureMin>-40</ComfyTemperatureMin>
      <MarketValue>700</MarketValue>
    </statBases>
    <verbs>
      <li>
        <verbClass>Verb_MeleeAttack</verbClass>
        <defaultCooldownTicks>120</defaultCooldownTicks>
        <meleeDamageBaseAmount>17</meleeDamageBaseAmount>
        <meleeDamageDef>Scratch</meleeDamageDef>
        <linkedBodyPartsGroup>FrontLeftPaw</linkedBodyPartsGroup>
      </li>
      <li>
        <verbClass>Verb_MeleeAttack</verbClass>
        <defaultCooldownTicks>120</defaultCooldownTicks>
        <meleeDamageBaseAmount>17</meleeDamageBaseAmount>
        <meleeDamageDef>Scratch</meleeDamageDef>
        <linkedBodyPartsGroup>FrontRightPaw</linkedBodyPartsGroup>
      </li>
      <li>
        <verbClass>Verb_MeleeAttack</verbClass>
        <defaultCooldownTicks>100</defaultCooldownTicks>
        <meleeDamageBaseAmount>15</meleeDamageBaseAmount>
        <meleeDamageDef>Bite</meleeDamageDef>
        <linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>
        <surpriseAttack>
          <extraMeleeDamages>
            <li>
              <def>Stun</def>
              <amount>21</amount>
            </li>
          </extraMeleeDamages>
        </surpriseAttack>
      </li>
    </verbs>
    <race>
      <thinkTreeMain>Humanlike</thinkTreeMain>
      <thinkTreeConstant>HumanlikeConstant</thinkTreeConstant>
      <intelligence>Humanlike</intelligence>
      <body>QuadrupedAnimalWithPaws</body>
      <baseHungerRate>0.35</baseHungerRate>
      <baseBodySize>0.9</baseBodySize>
      <baseHealthScale>2.5</baseHealthScale>
      <foodType>OmnivoreAnimal, OvivoreAnimal</foodType>
      <gestationPeriodDays>30</gestationPeriodDays>
      <lifeExpectancy>22</lifeExpectancy>
      <lifeStageAges>
        <li>
          <def>AnimalAdult</def>
          <minAge>0</minAge>
          <soundWounded>Pawn_Bear_Injured</soundWounded>
          <soundDeath>Pawn_Bear_Death</soundDeath>
          <soundCall>Pawn_Bear_Call</soundCall>
          <soundAngry>Pawn_Bear_Angry</soundAngry>
        </li>
      </lifeStageAges>
      <soundMeleeHitPawn>Pawn_Melee_BigBash_HitPawn</soundMeleeHitPawn>
      <soundMeleeHitBuilding>Pawn_Melee_BigBash_HitBuilding</soundMeleeHitBuilding>
      <soundMeleeMiss>Pawn_Melee_BigBash_Miss</soundMeleeMiss>
    </race>
    <tradeTags>
      <li>StandardAnimal</li>
      <li>BadassAnimal</li>
    </tradeTags>
  </ThingDef>


  <ThingDef ParentName="BaseBearMan">
    <defName>GrizzlyBearMan</defName>
    <label>grizzly bearMan</label>
    <description>Huge omnivorous mammals adapted for cold climates. Their thick blubber and fur keep them warm in winter.\n\nWhile their usual diet consists of fish, berries, honey, and scavenged meat, the grizzly is capable of using its massive strength and deadly claws to kill live prey. They are startlingly quick for such lumbering creatures.</description>
    <race>
      <leatherColor>(112,82,65)</leatherColor>
      <leatherInsulation>1.45</leatherInsulation>
      <leatherLabel>bearskin</leatherLabel>
    </race>
  </ThingDef>





tl;dr : Any way to make bear act like human(colonists and raiders) while retain bear texture?