This also re-arranges the configVariables.sqf and loads the variables for both (server and client) first. This allows to check for certain variables like Z_SingleCurrency and stops the loading of all other Z_SingleCurrency variables even when Z_SingleCurrency was not on.
Coins on zombies and the value can be handled with ZSC_ZombieCoins now. The coins for zombies will be handled directly in check wallet.
Also add a PVE check to disable check wallet if the player is not the owner of the body or in the group with the owner of the body.
- Safes and lockboxes can be upgraded now.
- A winter lockbox version was added too. The current model and icon will be replaced later for the new lockbox.
- Calling Child 308 on the DB has no room for storing coins, this is why we need to update coins and gear after swaping the object. Same for upgrade vehicle
- Server admins can exclude certain vehicles from a vehicle upgrade now.
- Vehicle upgrade has a tool check now and all needed materials will be displayed.
The configs for the vehicle upgrades will be updated soon for the new changes.
Epoch has its own DayZ Mod fence versions now. The old fences can still be used. The new fences have a full upgrade and snap support. all gates work with the door management too.
Warm Clothes can be adjusted in the configvariables with DZE_WarmClothes. Shivering can be enabled or disabled with the last value in the DZE_TempVars array. A temperature effect for snow was added too.
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.
Do not use hideBody as command without the action. It just hides the body but it still can be geared. If using hideBody in correlation with deleteVehicle it breaks the allDead command.
player action ["hideBody", body] deletes the body and the marker from the map but it stays inside allDead.
This fixes the issue that hided players were still shown on the map and still searched for their body.
Needs additional testing for a new release.
As requested by a few admins that didn't realise it was now hard coded
to disable loot/zombie spawning
This requires the check since we're also using DZE_SafeZonePosCheck for
DZE_buildChecks with a forced radius.