mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update UAV battery icon from AGM
This commit is contained in:
parent
1a9b25c70e
commit
0805d5b640
@ -1,29 +1,29 @@
|
||||
class CfgVehicles {
|
||||
class Helicopter_Base_F;
|
||||
class UAV_01_base_F: Helicopter_Base_F {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
class GVAR(RefuelUAV) {
|
||||
displayName = "$STR_ACE_logistics_uavbattery_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 = QUOTE(PATHTOF(ui\UAV_battery.paa));
|
||||
class Helicopter_Base_F;
|
||||
class UAV_01_base_F: Helicopter_Base_F {
|
||||
class ACE_Actions {
|
||||
class ACE_MainActions {
|
||||
class GVAR(RefuelUAV) {
|
||||
displayName = "$STR_ACE_logistics_uavbattery_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 = QUOTE(PATHTOF(ui\UAV_battery_ca.paa));
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
// Misc box content
|
||||
class Box_NATO_Support_F;
|
||||
class ACE_Box_Misc: Box_NATO_Support_F {
|
||||
class TransportItems {
|
||||
class _xx_ACE_UAVBattery {
|
||||
count = 6;
|
||||
name = "ACE_UAVBattery";
|
||||
};
|
||||
// Misc box content
|
||||
class Box_NATO_Support_F;
|
||||
class ACE_Box_Misc: Box_NATO_Support_F {
|
||||
class TransportItems {
|
||||
class _xx_ACE_UAVBattery {
|
||||
count = 6;
|
||||
name = "ACE_UAVBattery";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,15 +1,15 @@
|
||||
class CfgWeapons {
|
||||
class InventoryItem_Base_F;
|
||||
class ACE_ItemCore;
|
||||
class InventoryItem_Base_F;
|
||||
class ACE_ItemCore;
|
||||
|
||||
class ACE_UAVBattery: ACE_ItemCore {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_logistics_uavbattery_Battery_Name";
|
||||
descriptionShort = "$STR_ACE_logistics_uavbattery_Battery_Description";
|
||||
model = QUOTE(PATHTOF(models\ace_battery.p3d));
|
||||
picture = QUOTE(PATHTOF(ui\UAV_battery.paa));
|
||||
class ItemInfo: InventoryItem_Base_F {
|
||||
mass = 20;
|
||||
class ACE_UAVBattery: ACE_ItemCore {
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_logistics_uavbattery_Battery_Name";
|
||||
descriptionShort = "$STR_ACE_logistics_uavbattery_Battery_Description";
|
||||
model = QUOTE(PATHTOF(models\ace_battery.p3d));
|
||||
picture = QUOTE(PATHTOF(ui\UAV_battery_ca.paa));
|
||||
class ItemInfo: InventoryItem_Base_F {
|
||||
mass = 20;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Binary file not shown.
BIN
addons/logistics_uavbattery/ui/UAV_battery_ca.paa
Normal file
BIN
addons/logistics_uavbattery/ui/UAV_battery_ca.paa
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user