Z80CPU Posted April 1, 2016 Report Share Posted April 1, 2016 NoKillScript – Prevents any ‘Safe Zone’ killings and damage to player’s vehicles. Version: 1.16 Tested On: ARMA 3 (should work on ARMA 2, though untested) Tested Modes: Single Player, Multiplayer (Dedicated Server) Tested Environments: Standard ARMA SP/MP, Epoch, Exile Script Executor: Client Script Host: Server or Client Format: script, SQS Description: NoKillZone (NKZ), is a script that helps put an end to the notorious ‘safe zone’ killings that plagued MP environments such as Epoch and Exile. Simply place a marker on your map, and then put the marker name in the scripts parameters, and that’s it! It is a simple script to use. Nothing fancy here. Once it starts, it just loops over and over checking to see if player has entered or left the mark area. Matters not if they teleport into the area, fly over it, or respawn in to it – the script will detect all players in the zone regardless how they arrived or left. 100% client side and consumes almost no resources from the client. Runs till client exits the server. No triggers are used. This script is for players only, it does not detect/react to any AI units. Uses: To mark a ‘safe area’ where players can be safe and not have to worry about being killed by anyone. It is possible, if desired for example, to have player protected at 100m and then at 50m, their vehicle protected. This is done by using 2 scripts. One with the DISTANCE parameter set to ‘100’ and the other set to ‘50’. Usage: [MARKER,DISTANCE,TEXT-IN,TEXT-OUT,PROTECTION] exec "NoKillZone.Sqs"; MARKER = Map marker name - In quotes DISTANCE = Radius of protection in meters TEXT-IN * = Text to be shown via Hint when entering the zone - In quotes TEXT-OUT * = Text to be shown via Hint when leaving the zone - In quotes PROTECTION * = Allows you to choose protection for player or player and their vehicle. * = Optional parameter Example: ["CentralSZ",500,"You Have Entered The Central Safe Zone","You Have Left The Central Safe Zone",1] exec "NoKillZone.Sqs" Full documentation can be found in the top lines of the script. Just open it in a text program such as NotePad++ to view. For servers, call script from 'INIT.SQF' and/or 'OnPlayerRespawn.Sqf'. For SP, you can also call it from the INIT.Sqf or you can activate it via the debug console or other means such as a radio trigger. Once launched, you will get a 'confirmation' message showing script is active, what zone, and if vehicle protection is active. Other Notes: While not ‘optimized’ and the ‘cleanest’ looking script, it does work and work well. If you wish to spend one to two hours ‘optimizing’ it to save a few milliseconds, be my guest! ;-) Known Issues: Script can be run many times for the same location (marker). There is no way to exit the script without the player quitting the game. Not all parameter errors are detected, though some are (The above issues are set to be addressed in the future) Video Example: No Kill Zone Example Link to comment Share on other sites More sharing options...
arc7r7 Posted April 2, 2016 Report Share Posted April 2, 2016 Download link? Link to comment Share on other sites More sharing options...
Z80CPU Posted April 3, 2016 Author Report Share Posted April 3, 2016 Duh....what an idiot I am! ;) Sorry about that! http://www.armaholic.com/page.php?id=30691 Link to comment Share on other sites More sharing options...
ReDBaroN Posted April 24, 2016 Report Share Posted April 24, 2016 so apart from matching the marker name in the mission.sqm, all we need to do is to remove the ';' at the start of the relevant example lines at the top of the script? Thanks Link to comment Share on other sites More sharing options...
UraNuS Posted August 29, 2019 Report Share Posted August 29, 2019 i have "epoch.Altis\custom\custom_content.sqf" inside i put [the code] and need put "NoKillZone.Sqs" in server folder or custom folder... Link to comment Share on other sites More sharing options...
Grahame Posted September 8, 2019 Report Share Posted September 8, 2019 In my opinion this is a better safe zone script now... Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now