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

Unable to apply damage mod?

Not sure what is wrong here. I've triple-checked my spelling and the paths and it seems to be perfect, but it won't apply. It won't tell me WHY it won't apply, but it won't. I'm trying to make blade traps and barbed fences stronger for a modlet and for whatever reason, it isn't working. I even tried 10k health (see below) and still nothing. Just a warning that it won't apply.

<configs>
    <set xpath="/materials/material[@name='MbarbedFence']/property[@name='MaxDamage']/@value">10000</set>
    <set xpath="/materials/material[@name='MmetalBladeTrap']/property[@name='MaxDamage']/@value">10000</set>
</configs>


I am assuming these are either short or unsigned short values since the blade trap is at 2k by default, so I shouldn't be going over any limit, even at the ridiculous 10k I am trying. What have I done wrong here?

 
Last edited by a moderator:
AH! I see that in the game's XML now. I get it, thanks!

Update:

Just tested. Blades, barbed wire, and fences at 10k HP is unfair to the zeds. It's AWESOME watching them get mowed down without me firing a shot, but totally unfair. Had to try it!

 
Last edited by a moderator:
Back
Top