Zen's Static Barbed Wire - ZenarchistCode/ZenModPack GitHub Wiki
Note: this mod is disabled by default as it can have a negative impact on server performance on servers that aren't very beefy.
This mod makes non-player placed barbed wire (ie. static barbed wire) dangerous by adding Barbed Wire damage zones to them which act like player-placed barbed wire.
If a player walks into these 'static' barbed wire objects they will be cut and their clothes will be damaged.
Check out this video to see what I mean.
There is a JSON config that allows you to specify damage zones for various game objects, including how often they damage the player.
%server_profile/Zenarchist/ZenStaticBarbedWireConfig.json
{ "ConfigVersion": "3", // Don't touch this "TurnedOn": 1, // Enable/disable this mod "DumpObjects": 0, // Dump and save positions of all static "WireTypes" listed below "WireTypes": [ { "TypeName": "misc_barbedwire", // This is the static object you want to detect "TurnedOn": 1, // This enable/disables this particular object "MinExtents": "-2.2 -1 -1", // Sets the minimum trigger area extents (in meters) "MaxExtents": "2 1 1", // Sets the maximum trigger area extents (in meters) "AmmoName": "BarbedWireHit", // Sets the ammo type (for eg. you could make electric barbed wire) "LoopInterval": 2.0, // Not really sure - delay between checking for entities to damage? "DeferDuration": 0.5, // Not really sure - set to same value as Fireplace "DamageZones": [ // List of zones to damage/cut the player "Torso", "LeftHand", "RightHand", "RightLeg", "LeftLeg", "RightFoot", "LeftFoot" ] },
Note: this mod is disabled by default as it can have a negative impact on server performance on servers that aren't very beefy.
To enable this mod set "ZenStaticBarbedWire": 1
in %server_profile/Zenarchist/Utilities/ZenModPackConfig.json