Commit Graph

11 Commits

Author SHA1 Message Date
A Man
4ba6fa326a Set missing side and faction for vehicles
This sets the missing side and faction to every vehicle. Thx to iben for explaining. Also set every epoch vehicle to side west and faction USMC to avoid AI problems. As far as Ive tested there are no problems with these settings. This needs some more testing with AI helicopters. Non militarized servers are not affected by this change at all.
2021-06-26 11:25:17 +02:00
AirwavesMan
e6680aaa2f Streamline Vehicle Eventhandlers
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.
2020-10-31 10:29:06 +01:00
A Man
d9b9874532 Change scope and type of configs from name to numbers
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.
2020-05-29 02:04:06 +02:00
A Man
02a6dba7e8 Update planes 2020-01-24 13:31:33 +01:00
A Man
e36e3cc429 Localize vehicle names
This commit also removes the displaynameshort. We do not need it any longer.
2019-11-18 19:02:02 +01:00
ebaydayz
6cdc0a51c9 Add extra animations to ArmoredSUV, MV22, UH1Y 2016-11-26 21:14:12 -05:00
ebaydayz
ec6b5eb679 Move Repair and Salvage back to fn_selfActions
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.
2016-11-23 13:34:22 -05:00
ebaydayz
3aad4b61e9 Move some addActions to config 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:

a8c4238c0c

350d73abe1
2016-11-20 19:47:21 -05:00
ebaydayz
8429ad1fbc Clear typicalCargo for some vehicles missing it
Prevents preloading units, may help with load times a little.
2016-11-17 15:40:08 -05:00
icomrade
9d52fb0595 Should be all scope entries 2016-03-05 20:36:07 -05:00
icomrade
f885e06c2a CfgVehicles and Scope issues done 2016-02-21 13:14:03 -05:00