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 got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs. A proper config should use numbers for those entries. This is the same how arma configs are written. The basicDefines.hpp has all the needed information stored.
Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
Partial revert of: 3aad4b6
Unfortunately this will not support loading external vehicle addons
(with custom UserActions) which we can not include in Epoch. Child
UserActions overwrite inherited UserActions.
Should improve client FPS while still allowing conditions and scripts to
be customized.
Some special vehicles like MV22, UH1Y, etc. have UserActions overwritten
in their configs, so please let me know if you find any others that do
not get the option to repair or salvage because UserActions is
overwritten in their config. I think I got them all.
Vanilla commits:
a8c4238c0c350d73abe1
* Adding display name for UH60M_MEV_EP1_DZ
* Adding 6 new Mi17 variants to config
Armed:
Mi17_TK_EP1
Mi17_UN_CDF_EP1
Mi17_CDF
Unarmed:
Mi17_medevac_CDF
Mi17_medevac_Ins
Mi17_medevac_RU
* Adding new line for Cessna.hpp
* Adding Cessna to the configs
That removes the radar function from the cessans.
* Adding 1 new An2 version to the config
* Adding 2 more HMMWVs to the config
Ive lowered the maxspeed from the HMMVW_DZ because all HMMWVs have a maxspeed of 100.
New classes:
HMMWV_Armored
HMMWV_M2
* Adding BRDM2 to configs
* Adding line for BRDM2_DZ.hpp
* Update after comments
* Update again
* Update BRDM2_DZ.hpp
* Update HMMWV.hpp
* Update HMMWV.hpp
80 is the same as the other high tier armored HMMWV above. 40 is the same as the low tier ones.
* Update HMMWV.hpp
* Update HMMWV.hpp
* Update BRDM2_DZ.hpp
* Update HMMWV.hpp
* Update CHANGE LOG 1.0.6.txt
* Update UH60.hpp
* Update Cessna_DZ.hpp
* Update Cessna_DZ.hpp
* Update NeutralAirplanes.hpp
* Update MI17.hpp
* Update AN2_DZ.hpp