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.
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.
I was not aware of the acutal behavior of the init eventHandler. The init eventhandler sends all the given arguments to the player before the mpframework got even load on the player, so it is basicly the same like the publicvariables. This means that the function object_pickupAction will be always nil because it gets defined far later after the init evenhandler fired already.
- 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
Add a new manual to upgrade tanks and APCs. It is not in by default so server admins can decide if they want to use it.
The BMP2, M113, BTR-60/90 and the LAV-25 can be upgraded now.
The max armor got lowered while the armor for wheels and fuel increased. 350 armor is just so much. I could empty out more as 4 MK 48 Mod mags and vehicle was still green.
Also added a PKT version of the Armored SUV.
- Upgraded vehicles have an indicator of the upgrade in their name now.
- Trucks have their own upgrade manual now.
- Vehicle upgrade manuals got proper names and descriptions to offer better information what the upgrade is used for.
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.