Written by @seelenapparat
This splits the streamed array of objects into vehicles and buildings. all buildings get loaded at first. this prevents the old bug that vehicles could explode from falling because a building has loaded too late.
This allows fnc_lockCode to be used by client and server side scripts.
This also does localization client side but server side the colors are
hard coded english.
This updates the humanity system. It removes the OpenTarget from Dayz Mod which is not needed for Epoch and more confusing as it helps to understand why a player gets a humanity drop or not.
The new system gives players always humanity.
Survivor killed Survivor = Negative Humanity
Survivor killed Bandit = Positive Humanity
Survivor killed Hero = Negative Humanity
Hero killed Bandit = Positive Humanity
Hero killed Hero = Negative Humanity
Hero killed Survivor = Negative Humanity
Bandit killed Bandit = Negative Humanity
Bandit killed Hero = Negative Humanity
Bandit killed Survivor = Negative Humanity
The values are strict and have no longer a complicated calculation based on a kill counter.
This change needs more testing in the beta state of this update.
Add runway and hangar positions for all supported maps. Planes will only spawn at runway and hangar positions instead of places where it can be impossible to take off. Add new DZE vehicles to the spawn list. Remove C130 from Namalsk and Caribou because there are no good spawn positions.
- update config
- add ACR Land Rovers
- add upgradeable versions
- update gear count slightly
Ive discovered an exploit for arma 2 vehicles which config classes got updated in epoch. It looks like that not all configs entries get properly updated for the epoch updated vehicles if the same config vehicle exist in arma already. I will create for all vehicles an epoch class which do not have already such a class to make sure all config entries got correctly updated.
Instructions for enabling and configuring the day/night cycle option are at the top of the file. It is very easy for server owners to configure. Instead of performing a 307 hive call, this file uses the date stored in ServerCurrentTime that is updated every 60 seconds in sched_event. dayz_storeTimeDate is used in server_sendToClient to respond to client date requests sent by player_monitor. It was undefined on the server. The saving grace is the redundancy in publicVariable sends by the server. The client was bound to get the correct date eventually.
ServerCurrentTime needs to store the whole date to be used in sched_sync. Add better solution for removing events that run at startup from EpochEvents array.