All models made by @Helion4
This adds a gate frame, a gate with door and a locked gate as wood and cinder version. Fully compatible with door management and change code.
Also, this commit cleans up the modular and door configs.
Remove the PVCDZ_obj_HideBody eventhandler. Players next to a hided animal see the hiding process too and after 10s the body will be deleted anyways. So there is no need to send a publicVariableServer first then back to all near clients if the body gets deleted within 10s.
Also updates the normal hide body. The hided player model gets deleted by the server now.
Almost all eventhandlers getting set already when creating the base class of the vehicles like AllVehicles. So it is not needed to set it after that again. Until a few exceptions I removed or added the needed vehicle eventhandlers.
All helicopters have a fired eventhandler now as it should be. So finally if a helicopters shoots all crew members are in combat. This is the same if flares getting fired.
The fired evenhandler will be only executed for players now no longer for the server.
Note: The CSJ Gyro addon getting loaded very early so those addons need all eventhandlers set.
This commit fixes the cessna getOut bug. Sometimes if the cessna explodes and the player did not die he was trapped inside of the cessna wreck. Switching from getOut to eject fixes this problem.
Ive did a lot tests and it should be save to eject instead of getOut.
Made by @Helion4
All ghillie suits, warm clothes and stalker suits with helmet can be worn by female players too now. The female base class got re-build. All female player models have the same attributs as the male models. For example: Armor or camouflage.
Also, all missing skins got added to loot and traders.
Fix that trees going down directly after hit by a chainsaw or hatchet. This is a long time bug because DZE_TEMP_treedmg got not resetted after the tree was cut down.
Also, this commit makes sure that every tree gives at least 16 or more wood on harvesting. Ive added that to reduce the number of cut down trees to not affect the network traffic too much as it is the case at the moment. All trees and damage get sync over the network.