Zed Free Zones

mbnq

Member
Zed Free Zones
Hello everyone!
This simple script gives you a way to setup zed free zones in DayZ (1.8.0.3).
It works by changing zed spawn limit variables on-the-fly, preventing spawning them by client side mechanism.

This script may need changes in BE filters. I can not help with this since I'm not using it.

Features:
  • client side
  • prevents zombies from being spawned, almost no performance affects
  • define max zed spawn limits and area radious
  • should work with any mod (as long it uses same variables)
Installation Steps:
  • Easy = Blue <10
  1. Save mbnq_zedfree.sqf in your mission root
  2. Edit init.sqf and put
    Code:
    [] execVM "mbnq_zedfree.sqf";
    at the very bottom of file
  3. Edit mbnq_zedfree.sqf to customise it
    ( zeds are disabled in Cherno and Eektro by default )
Configuring safe zones:

How to setup your own zed free zones in arma2 editor:
  1. Create new mission, save it
  2. Place mbnq_zedfree.sqf in mission root
  3. Unzip this into mission root
  4. Edit mbnq_zedfree.sqf, change _debug value to true

  5. Comment out lines
    Code:
    /*
    if (isServer) exitWith {};
    diag_log "[MBNQ]: Initializing ZedFree script";
    waitUntil {alive player};
    waitUntil {!isNil "dayz_animalCheck"};
    */

  6. Follow infile instructions, configure your zed free zones.
    Use TP from action menu to teleport and get worldspace into clipboard.
  7. Uncomment lines from point 5 and change _debug value to false, follow installation steps
Editor screenshot
mbnqzedfree_editor.jpg

cheers,
mbnq
 
Last edited:
Back
Top