ghost3142 Posted November 6, 2019 Share Posted November 6, 2019 Hi everyone, could I check if there is a way to disable/change the rate of electric fence degradation, either through a mod or changing a line in a game file? Link to comment Share on other sites More sharing options...
bdubyah Posted November 6, 2019 Share Posted November 6, 2019 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 More sharing options...
ghost3142 Posted November 7, 2019 Author Share Posted November 7, 2019 Worked like a charm. Lowered the DamagedReceived value to 0 and it no longer degrades after a zed/player walks through the wire and gets shocked. The fences will still get damaged when hit though. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.