Lanmanfm Posted December 17, 2013 Report Share Posted December 17, 2013 anyone else using this? http://opendayz.net/threads/release-damis-epoch-safezones.17523/ I have it on my server and it is a lot easier than adding in sensors to the mission.sqm. I just have to change the title text since it is writing overtop of the "you are entering safe zone" title text and you can't read any of it. Just wanting to know others opinions on it. Link to comment Share on other sites More sharing options...
LoCK0N Posted December 17, 2013 Report Share Posted December 17, 2013 just testing on my server now Link to comment Share on other sites More sharing options...
LoCK0N Posted December 17, 2013 Report Share Posted December 17, 2013 the only thing i can see is that when u hit some 1 in a safe zone , on other players screens ur unconscious but on your own your still running around Link to comment Share on other sites More sharing options...
Razorman Posted December 19, 2013 Report Share Posted December 19, 2013 Great script, anti theft, anti vehic, best safezone I've found, works great on our server. Link to comment Share on other sites More sharing options...
STENCHOVDETH Posted December 19, 2013 Report Share Posted December 19, 2013 Hello All, I can confirm,yes I use this script on my servers and in my honest opinion I would say it's the best one. To resolve the text overlay issue that you mentioned, I just removed the "Welcome to trader City blah blah blah" text from the mission.sqm. Dami's script gives you a "You have entered Safe Zone blah blah blah" text notification anyway so I just left it at that. Example below: _________________________________________________________________ class Sensors { items=5; class Item0 { position[]={6325.6772,304.99033,7807.7412}; a=100; b=100; activationBy="WEST"; repeating=1; interruptable=1; age="UNKNOWN"; name="zonestary"; expCond="(player distance zonestary) < 100;"; expActiv="TitleText["""",""PLAIN DOWN""]; canbuild = false; inTraderCity = ""Stary"";inSafeZone = true;"; expDesactiv="TitleText[""Now leaving trader city Stary"",""PLAIN DOWN""]; canbuild = true; inTraderCity = ""Any"";inSafeZone = false;"; class Effects { }; }; ______________________________________________________________________________ Hope this helps ;) Link to comment Share on other sites More sharing options...
ABRICOT Posted December 19, 2013 Report Share Posted December 19, 2013 Dami is the best ;) Must be your friend. Link to comment Share on other sites More sharing options...
Belgis Posted December 24, 2013 Report Share Posted December 24, 2013 when I shoot at the player who is in a safe area receives an error "BattlEye: PublicVariable Restriction #0" how to fix it? Link to comment Share on other sites More sharing options...
Nekuan Posted December 24, 2013 Report Share Posted December 24, 2013 AGN Safezone Commander all the way :D Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted December 25, 2013 Report Share Posted December 25, 2013 Not really a safe zone since you can be shot in it.... Link to comment Share on other sites More sharing options...
Nekuan Posted December 25, 2013 Report Share Posted December 25, 2013 Not really a safe zone since you can be shot in it.... AGN? No... was shot from inside/outside, from a vehicle and driven over -> nothing Link to comment Share on other sites More sharing options...
KoTaS Posted February 17, 2014 Report Share Posted February 17, 2014 I found this in Damis's SafeZone script dami_ZSHIELD = { if (isNil 'no_zombies_loop') then { while {true} do { if (!inSafeZone) exitWith {no_zombies_loop = nil;}; no_zombies_loop = true; _pos = getPos (vehicle player); _zombies = _pos nearEntities ["zZombie_Base",50]; {deletevehicle _x;} forEach _zombies; sleep 1; }; }; }; Is there away to modifie this code to delete DZAI and WAI AI's @ SafeZones? Link to comment Share on other sites More sharing options...
GhostTown Posted February 17, 2014 Report Share Posted February 17, 2014 Meh. I enjoy AGN Safe Zone Commander much more. Link to comment Share on other sites More sharing options...
KoTaS Posted April 4, 2014 Report Share Posted April 4, 2014 Hi there, got some question about some stuff.... Quick question, is it possible to make this peace of code to delete ammo or weapon for player who is shooting at player KoTaS_phit = { _attker = (_this select 1); _nAttkr = name _attker; if (_nAttkr != name player) then { _locATTK = mapGridPosition getPos _attker; //_attker setHit["Body",1]; _txt = ""+name player+" was shot by "+str _nAttkr+" in a SafeZone! The attacker is @ "+str _locATTK+"."; _sMSG = "<System>: "+str _txt+""; PVOZ_EPOCH_SAFEZONE = [_sMSG]; publicVariableServer "PVOZ_EPOCH_SAFEZONE"; _msg = "<System>: You were shot by "+str _nAttkr+""; systemChat (str _msg); if !(_nAttkr in playableunits)then{deletevehicle _nAttkr;systemChat "<System>: Shooter vanished!";}; }; Link to comment Share on other sites More sharing options...
Gooober Posted April 24, 2014 Report Share Posted April 24, 2014 Anyone modify this to protect vehicles inside the trader also? Players can damage vehicles and mounted vehicle weapons blow them up quickly.... Just asking............ I feel there needs to be some danger at trader but players are crying................ Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted April 24, 2014 Report Share Posted April 24, 2014 Anyone modify this to protect vehicles inside the trader also? Players can damage vehicles and mounted vehicle weapons blow them up quickly.... Just asking............ I feel there needs to be some danger at trader but players are crying................ From what I've read, all attempts to give god mode to vehicles inside safe traders has resulted in the vehicles being in god mode until they exit, then when they exit, they tend to blow up.... Link to comment Share on other sites More sharing options...
LunchboxCharlie Posted June 2, 2014 Report Share Posted June 2, 2014 From what I've read, all attempts to give god mode to vehicles inside safe traders has resulted in the vehicles being in god mode until they exit, then when they exit, they tend to blow up.... Wrongo! You're welcome, lol. // Godmode vehicle in safe zones (Lunchbox). // How it works: When in safezone, vehicle takes no damage. However, When the player // leaves the safezone with the car in the safezone, the car will take damage. // This is to prevent abuses with the safezone system. if (isNil "canbuild") then { canbuild = true; }; while {true} do { // Vehicle Godmode on. waitUntil { !canbuild }; waitUntil { player != vehicle player }; theVehicle = vehicle player; theVehicle removeAllEventHandlers "handleDamage"; theVehicle addEventHandler ["handleDamage", {false}]; theVehicle allowDamage false; fnc_usec_damageVehicle ={}; vehicle_handleDamage ={}; vehicle_handleKilled ={}; // hintSilent "Vehicle godmode ON"; // Uncomment this to help see when it actually turns on and off waitUntil { canbuild }; // Vehicle Godmode off. theVehicle removeAllEventHandlers "handleDamage"; theVehicle addEventHandler ["handleDamage", {_this select 2}]; theVehicle allowDamage true; // Call global scripts. fnc_usec_damageVehicle = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandlerVehicle.sqf"; vehicle_handleDamage = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\vehicle_handleDamage.sqf"; vehicle_handleKilled = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\vehicle_handleKilled.sqf"; // hintSilent "Vehicle godmode OFF"; // Uncomment this to help see when it actually turns on and off }; 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