• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Bringing Back corpse blocks

Zolokhan

Refugee
I have been modding this game every single update to bring back corpseblocks but i always just to it directly to the install files because I never cared to share it before .... now I am doing it a proper way but am having trouble inserting the lines where they need to beThis is what my mod looks like :<insertAfter xpath="/entityclasses/entity_class[@name='zombieTemplatemale']/property[@name='LootDropEntityClass']"><property name="CorpseBlock" value="terrGore"/><property name="CorpseBlockChance" value="1"/></insertAfter>but it gives me a WRN xml patch error and does not apply it.I know it works if i just go into the entityclasses file and uncomment out the corpseblock lines but /append does not work and /insertafter or before has not worked.I already made the "terrgore" block but am still hunting for a good texture.Any help would be appreciated .... i literally have never played this game with disappearing zombie bodies ... ever .... i hate it.

 
ok i noticed that the file is called entityclasses but inside the node is entity_classes .. so i tried 

<zolokhan>
    
    <insertAfter xpath="/entity_classes/entity_class[@name='zombieTemplatemale']/property[@name='LootDropEntityClass']">
        <property name="CorpseBlock" value="terrGore"/>
        <property name="CorpseBlockChance" value="1"/>
    </insertAfter>

</zolokhan>

and then i tried 

<zolokhan>
    
    <insertAfter xpath="/entityclasses/entity_classes/entity_class[@name='zombieTemplatemale']/property[@name='LootDropEntityClass']">
        <property name="CorpseBlock" value="terrGore"/>
        <property name="CorpseBlockChance" value="1"/>
    </insertAfter>

</zolokhan>

but they all had the same WRM patch error .... 

 
it's the first one. you have zombieTemplatemale and it's zombieTemplateMale. didn't see that before. should work after that though

 
yes that worked .. .thank you. 

And while we are here ..... there is still no way to tint a terrain texture?  A few years ago I know you could do it becuase I used raidiated earth tinted red for gore blocks ... but now that is not an option.

 
Back
Top