Newbie making new eye implant mod

Started by Kekanich, August 22, 2021, 12:59:26 AM

Previous topic - Next topic

Kekanich

Im tryin to make a new eye implant mod. I found implant template xml code, but i cant make them visible (like archotech or bionic eye). Looks like textures of archotech n bionic eyes considered by game like permanent wounds. There is two tags that seems to be responsible for wounds visibility
<woundAnchorRange>0</woundAnchorRange>
<displayWound>true</displayWound>
But adding them just not working. No texture appears. What may be the problem? I need some help to make em visible pls!
I see no point in continuing the work, while this problem remains :'(
https://drive.google.com/file/d/1daCl9R7X7TTziw9KWYgkiE5T2Hg6K6t1/view?usp=sharing

RawCode

did you actually checked achotech or bionic eye defs?

Kekanich

Quote from: RawCode on August 22, 2021, 06:06:04 AM
did you actually checked achotech or bionic eye defs?
Naturally. I looked in \Data\Core\Defs\HediffDefs\BodyParts. Is there something else? What about it?

Kekanich

Oh, I think i found it \Data\Core\Defs\Misc\FleshTypeDefs. I gonna give it a try.

Kekanich

So I added this strings:

<FleshTypeDef>
<corpseCategory>CorpsesAnimal</corpseCategory>
<damageEffecter>Damage_HitFlesh</damageEffecter>
<hediffWounds>
<li>
        <hediff>DemonSEye</hediff>
        <wounds>
          <li>
            <textureSouth>Things/Pawn/Wounds/DemonSEye_south</textureSouth>
            <textureNorth>Things/Pawn/Wounds/DemonSEye_south</textureNorth>
            <textureEast>Things/Pawn/Wounds/DemonSEye_east</textureEast>
            <textureWest>Things/Pawn/Wounds/DemonSEye_east</textureWest>
            <flipWest>true</flipWest>
            <flipOnWoundAnchorTag>LeftEye</flipOnWoundAnchorTag>
            <flipOnRotation>South</flipOnRotation>
            <scale>0.85</scale>
          </li>
        </wounds>
</li>
</hediffWounds>
</FleshTypeDef>

I have no errors but textures still dont appear..