tade922 Posted May 26, 2017 Report Share Posted May 26, 2017 How to disable grass? and plot pole remove zombie? Link to comment Share on other sites More sharing options...
Ghostman Posted May 26, 2017 Report Share Posted May 26, 2017 19 minutes ago, tade922 said: How to disable grass? and plot pole remove zombie? in init.sqf setTerrainGrid 50; //disable grass Link to comment Share on other sites More sharing options...
tade922 Posted May 27, 2017 Author Report Share Posted May 27, 2017 thank you Link to comment Share on other sites More sharing options...
Ghostman Posted May 27, 2017 Report Share Posted May 27, 2017 16 hours ago, tade922 said: How to disable grass? and plot pole remove zombie? if you want remowe zombie try it this is for 1.0.5.1, maybe work on 1.0.6.1 Spoiler if(isServer) exitWith {}; diag_log text "PLOTBUFF: loading config..."; call compile preprocessFileLineNumbers "EpochMods\PlotProtection\config.sqf"; diag_log text "PLOTBUFF: spawning thread..."; [] spawn { diag_log text "PLOTBUFF: waiting for player reference"; waitUntil {!(isNull player);}; diag_log text "PLOTBUFF: launching main removal loop"; while {!(isNull player)} do { private["_removedZombies"]; _removedZombies = 0; { { _removedZombies = _removedZombies + 1; deleteVehicle _x; } forEach (_x nearEntities ["zZombie_Base",DZE_PLOTBUFF_REMOVE_ZOMBIE_RADIUS]); } forEach ((position player) nearObjects["Plastic_Pole_EP1_DZ",DZE_PLOTBUFF_PLAYER_DISTANCE_CHECK]); if (_removedZombies > 0) then { diag_log text format["PLOTBUFF: removed %1 zombies near plot poles",_removedZombies]; }; sleep 5; }; }; you can change patch in config.sqf Spoiler /* distance from player that plot checks are made */ DZE_PLOTBUFF_PLAYER_DISTANCE_CHECK = 65; /* zombies within this distance of a plot pole will be removed. 0 = disabled. */ DZE_PLOTBUFF_REMOVE_ZOMBIE_RADIUS = 50; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now