Jump to content

Bringing Back corpse blocks


Zolokhan

Recommended Posts

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 be

This 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.

Link to comment
Share on other sites

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 .... 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...