mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add support for orange drone (UAV_06) (#5494)
* Add support for orange drone (UAV_06) - Remove cargo from orange drones (and apex heli drone) - Allow battery replacement on orange drone * ops
This commit is contained in:
parent
559a498e6d
commit
d4cd0f2286
@ -286,11 +286,19 @@ class CfgVehicles {
|
||||
GVAR(hasCargo) = 1;
|
||||
};
|
||||
|
||||
// autonomus
|
||||
// autonomous
|
||||
class UAV_01_base_F: Helicopter_Base_F {
|
||||
GVAR(space) = 0;
|
||||
GVAR(hasCargo) = 0;
|
||||
};
|
||||
class UAV_03_base_F: Helicopter_Base_F {
|
||||
GVAR(space) = 0;
|
||||
GVAR(hasCargo) = 0;
|
||||
};
|
||||
class UAV_06_base_F: Helicopter_Base_F {
|
||||
GVAR(space) = 0;
|
||||
GVAR(hasCargo) = 0;
|
||||
};
|
||||
|
||||
// boats
|
||||
class Ship;
|
||||
|
@ -15,11 +15,20 @@ class CfgVehicles {
|
||||
class ACE_MainActions: ACE_MainActions {
|
||||
class GVAR(RefuelUAV) {
|
||||
displayName = CSTRING(Recharge);
|
||||
distance = 4;
|
||||
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canRefuelUAV));
|
||||
statement = QUOTE([ARR_2(_player, _target)] call FUNC(refuelUAV));
|
||||
showDisabled = 0;
|
||||
priority = 1.245;
|
||||
icon = QPATHTOF(ui\UAV_battery_ca.paa);
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
class UAV_06_base_F: Helicopter_Base_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);
|
||||
};
|
||||
};
|
||||
|
@ -351,6 +351,10 @@ class CfgVehicles {
|
||||
// Darter is electrical
|
||||
GVAR(canReceive) = 0;
|
||||
};
|
||||
class UAV_06_base_F: Helicopter_Base_F {
|
||||
// Orange UAV is electrical
|
||||
GVAR(canReceive) = 0;
|
||||
};
|
||||
|
||||
class UAV: Plane {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user