mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add rearm config for Nemmera (#4992)
This commit is contained in:
parent
70b9f6fe99
commit
9e27960b86
@ -109,6 +109,7 @@ class CfgVehicles {
|
||||
// Ammo Vehicles (with full inheritance for granted ACE_Actions)
|
||||
class Car_F: Car {};
|
||||
class Truck_F: Car_F {};
|
||||
class Tank_F: Tank {};
|
||||
|
||||
class Truck_03_base_F: Truck_F {};
|
||||
class O_Truck_03_ammo_F: Truck_03_base_F {
|
||||
@ -135,6 +136,13 @@ class CfgVehicles {
|
||||
MACRO_REARM_TRUCK_ACTIONS
|
||||
};
|
||||
|
||||
class APC_Tracked_01_base_F: Tank_F {};
|
||||
class B_APC_Tracked_01_base_F: APC_Tracked_01_base_F {};
|
||||
class B_APC_Tracked_01_CRV_F: B_APC_Tracked_01_base_F {
|
||||
transportAmmo = 0;
|
||||
MACRO_REARM_TRUCK_ACTIONS
|
||||
};
|
||||
|
||||
class Helicopter_Base_F: Helicopter {};
|
||||
class Helicopter_Base_H: Helicopter_Base_F {};
|
||||
class Heli_Transport_04_base_F: Helicopter_Base_H {};
|
||||
|
@ -13,3 +13,11 @@ if (isServer) then {
|
||||
[QGVAR(makeDummyEH), FUNC(makeDummy)] call CBA_fnc_addEventHandler;
|
||||
[QGVAR(rearmEntireVehicleSuccessLocalEH), FUNC(rearmEntireVehicleSuccessLocal)] call CBA_fnc_addEventHandler;
|
||||
[QGVAR(rearmSuccessLocalEH), FUNC(rearmSuccessLocal)] call CBA_fnc_addEventHandler;
|
||||
|
||||
|
||||
#ifdef DEBUG_MODE_FULL
|
||||
INFO("Showing CfgVehicles with vanilla transportAmmo");
|
||||
{
|
||||
WARNING_2("Type [%1] needs config [transportAmmo: %2]", configName _x, getNumber (_x >> 'transportAmmo'));
|
||||
} forEach (configProperties [configFile >> "CfgVehicles", "(isClass _x) && {(getNumber (_x >> 'transportAmmo')) > 0}", true]);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user