Some of the objects used in POIs require the use of the setVectorUp command in order to maintain an upright orientation on a sloped surface. This addition adds the option for including the object's up vector in the compact arrays.
Test file: https://github.com/worldwidesorrow/Svetlojarsk
Server does not need the trader categories any longer. Also clean up the server_traders.sqf file. This file is redundant. If server admins want to change the trader categories, they just have to edit the path and add the file to the mission.
Move zombie and loot related operations from player_spawn_2. They should be in this file. They are used here for accurate counts before spawning zombies and loot.
Make better use of global variables for zombie and loot checks.
Add lazy eval where appropriate.
The isClass and config checks are done in player_spawnCheck. There is no reason to do that here. Those variables are being passed in an array during the function call. Global variables dayz_spawnZombies and dayz_maxControlledZombies used in spawn checks are adjusted in player_spawnCheck and zombie_generate. There is no reason to save to local variables.
Around 50% of all servers are pve servers. This commit adds a basic support and prevent the player vs. player damage. Also if pve is enabled and DZE_BackpackAntiTheft too, the backpack anti theft is active for the whole server.
All files in the archive will no be updated. Ive added a copy of the current trader files too, so the old traders and trader cities can still be used with the current trader files.
Give me a hint if you think some of the files should be moved back.
* Move PVCDZ_OpenTarget_Reset to client only
* Move some functions to client only
fnc_usec_damageHandler, dayz_inflame_showMenu, dayz_inflame_showMenu_other, DZ_KeyDown_EH, dayz_EjectPlayer compiled on client only.
* Upload the reorganized variables.sqf
* Update Changelog