Jump to content

Tweaking the Degradation Rate of Electric Fences


ghost3142

Recommended Posts

In blocks.xml, look for "electricfencepost". There are 2 lines:

<property name="MaxDamage" value="200"/>
<property name="DamageReceived" value="0.5"/>

 

MaxDamage is basically the health of the block. And then DamageReceived is how much damage it takes each time a zed gets hit by it. So you could either raise the MaxDamage higher to make it last longer, or lower DamageReceived to get the same result. Or make it 0 so that they don't take damage at all. I don't know if that applies to zeds or player physically hitting the posts themselves though.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...