mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add support for ED-1D and ED-1E drones (#7778)
This commit is contained in:
parent
fe8d2e900b
commit
d38dd1d67f
@ -6,18 +6,18 @@ class CfgVehicles {
|
||||
};
|
||||
};
|
||||
class Helicopter_Base_F: Helicopter {
|
||||
class ACE_Actions: ACE_Actions{
|
||||
class ACE_Actions: ACE_Actions {
|
||||
class ACE_MainActions: ACE_MainActions {};
|
||||
};
|
||||
};
|
||||
class UAV_01_base_F: Helicopter_Base_F {
|
||||
fuelCapacity = 19; // Around 30 minutes hovering
|
||||
class ACE_Actions: ACE_Actions{
|
||||
class ACE_Actions: ACE_Actions {
|
||||
class ACE_MainActions: ACE_MainActions {
|
||||
class GVAR(RefuelUAV) {
|
||||
displayName = CSTRING(Recharge);
|
||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRefuelUAV));
|
||||
statement = QUOTE([ARR_2(_player, _target)] call FUNC(refuelUAV));
|
||||
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canRefuelUAV));
|
||||
statement = QUOTE([ARR_2(_player,_target)] call FUNC(refuelUAV));
|
||||
icon = QPATHTOF(ui\UAV_battery_ca.paa);
|
||||
};
|
||||
};
|
||||
@ -25,12 +25,36 @@ class CfgVehicles {
|
||||
};
|
||||
class UAV_06_base_F: Helicopter_Base_F {
|
||||
fuelCapacity = 16; // Around 25 minutes hovering
|
||||
class ACE_Actions: ACE_Actions{
|
||||
class ACE_Actions: ACE_Actions {
|
||||
class ACE_MainActions: ACE_MainActions {
|
||||
class GVAR(RefuelUAV) {
|
||||
displayName = CSTRING(Recharge);
|
||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRefuelUAV));
|
||||
statement = QUOTE([ARR_2(_player, _target)] call FUNC(refuelUAV));
|
||||
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canRefuelUAV));
|
||||
statement = QUOTE([ARR_2(_player,_target)] call FUNC(refuelUAV));
|
||||
icon = QPATHTOF(ui\UAV_battery_ca.paa);
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class LandVehicle;
|
||||
class Tank: LandVehicle {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions;
|
||||
};
|
||||
};
|
||||
class Tank_F: Tank {
|
||||
class ACE_Actions: ACE_Actions {
|
||||
class ACE_MainActions: ACE_MainActions {};
|
||||
};
|
||||
};
|
||||
class UGV_02_Base_F: Tank_F {
|
||||
class ACE_Actions: ACE_Actions {
|
||||
class ACE_MainActions: ACE_MainActions {
|
||||
class GVAR(RefuelUAV) {
|
||||
displayName = CSTRING(Recharge);
|
||||
condition = QUOTE([ARR_2(_player,_target)] call FUNC(canRefuelUAV));
|
||||
statement = QUOTE([ARR_2(_player,_target)] call FUNC(refuelUAV));
|
||||
icon = QPATHTOF(ui\UAV_battery_ca.paa);
|
||||
};
|
||||
};
|
||||
|
@ -358,6 +358,11 @@ class CfgVehicles {
|
||||
GVAR(canReceive) = 0;
|
||||
};
|
||||
|
||||
class UGV_02_Base_F: Tank_F {
|
||||
// ED-1D and ED-1E are electrical
|
||||
GVAR(canReceive) = 0;
|
||||
};
|
||||
|
||||
class UAV: Plane {};
|
||||
|
||||
class UAV_02_base_F: UAV {
|
||||
|
Loading…
Reference in New Issue
Block a user