Specific Area Logout-Punishment (Tested for Epoch)

J3T

Valued Member!
Specific Area Logout-Punishment
VERSION
vers. 1.0.0

Finally making a tutorial for this.... better late than never right?
In the Vanilla versions of this Script you will get randomly Spawned around the Map if you logout in a specific Grid of the Map.


Requirements (inc. Tools(must include dowload link)/ Expected Time/Difficulty)
  • Moderate <10
  • Notepad++ (recommended) Download
  • a PBO-Manager (I recommend this one: Download)
Installation Steps:
  1. Download the Files (It's just an example)
  2. Extract the files into your workspace, get your Server.pbo also extracted here.
  3. Go into your server files and look for one called server_playerSetup.sqf
  4. Look for the lines called:
    Code:
        // Came from another server force random spawn
        if (_lastinstance != dayZ_instance) then {
            _randomSpot = true;
        };
  5. After that paste this
    Code:
    _SGrid = mapGridPosition _position;
        _SGridBlack = ["005128","006128","007128"];
    if (_SGrid in _SGridBlack) then {
        _randomSpot = true;
    };
  6. Change the Array in _SGridBlack to suit your needs, those are completly normals GPS Grid Coordinates. (Like you see them on the map, should be X then Y)
  7. Save everything, pack it upload it and you are good to go :)
PS: Ofc you can add as many GPS Grids as you need and like for this.
PPS: You can also add things like making ppl unconscious or setting them to a low amount of blood, bleeding, etc. Thats all up to you



Credits: Vampire for helping me to figure out my little problems and providing me with the basic Idea, GermanDayz.de for lending me a test server back then

 
Back
Top