Skip to content

ebayShopper/ESSV3

Repository files navigation

Provides extra spawn options for DayZ Epoch and vanilla DayZ Mod:

  • Choose air or ground spawn
  • Spawns and loadouts can be restricted by humanity and UID
  • Spawns within x meters of the player's body can be blocked
  • Optional spawn near plot pole or group
  • Optional spawn in back seat of a plane for HALO
  • Loadouts can be preset or random
  • Compatible with vanilla anti-teleport
  • Config formats are backwards compatible with V2 configs

Improvements over V2:

  • Minimization was removed, files were restructured for readability and code was optimized.
  • UID lists are now kept server side and never sent to clients.
  • Private classes, loadouts, spawns and bases are now kept server side. The player is only sent what they have access to.
  • Added support for dayz_onBack
  • Added localization and stringtable for others to submit translations

Install:

>> Download <<

  1. In mission\init.sqf find execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; Add directly above:

    call compile preprocessFileLineNumbers "spawn\init.sqf";
  2. At the bottom of description.ext add:

    #include "spawn\dialogs.hpp"
  3. Put the \spawn\ folder and stringtable.xml in your mission root. For vanilla DayZMod put the \custom\ folder in your mission root too.

  4. In dayz_server\compile\server_playerSetup.sqf find PVCDZ_plr_Login2 = [_worldspace,_state,_randomKey]; Change to:

    PVCDZ_plr_Login2 = [[0,respawn_west_original],_state,_randomKey,_worldspace,_randomSpot,([_randomSpot,_playerID] call spawn_config)];
  5. If using body check, in dayz_server\compile\server_playerDied.sqf find _newObject setVariable ["bodyName",_playerName,true]; Add below:

    _newObject setVariable ["bodyUID",_playerID,true];
  6. Copy spawn_config.sqf to the dayz_server\init\ folder. At the bottom of dayz_server\init\server_functions.sqf add:

    #include "spawn_config.sqf"
  7. Edit the settings in both config files to your liking. See DOCUMENTATION.md for detailed information.

  8. Add the needed exceptions to BattlEye\scripts.txt. See SCRIPTS EXAMPLE.txt.

Legal:

This work is licensed under the DAYZ MOD LICENSE SHARE ALIKE (DML-SA). The full license is here:
https://www.bistudio.com/community/licenses/dayz-mod-license-share-alike

About

Enhanced Spawn Selection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages