2015-01-30 20:32:21 +00:00
|
|
|
|
|
|
|
#define MACRO_ATTACHTOVEHICLE \
|
2015-02-01 20:56:19 +00:00
|
|
|
class ACE_Actions { \
|
2015-02-19 18:36:27 +00:00
|
|
|
class ACE_MainActions { \
|
|
|
|
class GVAR(AttachVehicle) { \
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(AttachDetach); \
|
2015-03-27 05:02:54 +00:00
|
|
|
condition = QUOTE(_this call FUNC(canAttach)); \
|
2018-05-31 15:49:38 +00:00
|
|
|
insertChildren = QUOTE(_this call FUNC(getChildrenActions)); \
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"}; \
|
2015-02-19 18:36:27 +00:00
|
|
|
showDisabled = 0; \
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\attach_ca.paa); \
|
2015-02-19 18:36:27 +00:00
|
|
|
}; \
|
|
|
|
class GVAR(DetachVehicle) { \
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Detach); \
|
2015-03-27 05:02:54 +00:00
|
|
|
condition = QUOTE(_this call FUNC(canDetach)); \
|
|
|
|
statement = QUOTE(_this call FUNC(detach) ); \
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"}; \
|
2015-02-19 18:36:27 +00:00
|
|
|
showDisabled = 0; \
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\detach_ca.paa); \
|
2015-02-19 18:36:27 +00:00
|
|
|
}; \
|
2015-02-01 20:56:19 +00:00
|
|
|
}; \
|
|
|
|
};
|
2015-01-13 23:03:12 +00:00
|
|
|
|
|
|
|
class CfgVehicles {
|
2015-02-01 20:56:19 +00:00
|
|
|
class LandVehicle;
|
|
|
|
class Car: LandVehicle {
|
|
|
|
MACRO_ATTACHTOVEHICLE
|
|
|
|
};
|
2015-02-15 14:31:09 +00:00
|
|
|
|
2015-02-01 20:56:19 +00:00
|
|
|
class Tank: LandVehicle {
|
|
|
|
MACRO_ATTACHTOVEHICLE
|
|
|
|
};
|
2015-02-15 14:31:09 +00:00
|
|
|
|
2015-02-01 20:56:19 +00:00
|
|
|
class Air;
|
|
|
|
class Helicopter: Air {
|
|
|
|
MACRO_ATTACHTOVEHICLE
|
|
|
|
};
|
2015-02-15 14:31:09 +00:00
|
|
|
|
2015-02-01 20:56:19 +00:00
|
|
|
class Plane: Air {
|
|
|
|
MACRO_ATTACHTOVEHICLE
|
|
|
|
};
|
2015-02-15 14:31:09 +00:00
|
|
|
|
2015-02-01 20:56:19 +00:00
|
|
|
class Ship;
|
|
|
|
class Ship_F: Ship {
|
|
|
|
MACRO_ATTACHTOVEHICLE
|
|
|
|
};
|
|
|
|
|
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Equipment {
|
|
|
|
class GVAR(Attach) {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(AttachDetach);
|
2015-03-27 05:02:54 +00:00
|
|
|
condition = QUOTE(_this call FUNC(canAttach));
|
2018-05-31 15:49:38 +00:00
|
|
|
insertChildren = QUOTE(_this call FUNC(getChildrenActions));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotDragging", "isNotSwimming"};
|
2015-02-01 20:56:19 +00:00
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\attach_ca.paa);
|
2015-02-01 20:56:19 +00:00
|
|
|
};
|
|
|
|
class GVAR(Detach) {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Detach);
|
2015-03-27 05:02:54 +00:00
|
|
|
condition = QUOTE(_this call FUNC(canDetach));
|
|
|
|
statement = QUOTE(_this call FUNC(detach));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotDragging", "isNotSwimming"};
|
2015-02-01 20:56:19 +00:00
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\detach_ca.paa);
|
2015-02-01 20:56:19 +00:00
|
|
|
};
|
|
|
|
};
|
2015-01-13 23:03:12 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-02-01 20:56:19 +00:00
|
|
|
class All;
|
|
|
|
class ACE_IR_Strobe_Effect: All {
|
|
|
|
scope = 1;
|
|
|
|
displayName = "IR Strobe";
|
|
|
|
model = "\A3\Weapons_F\empty.p3d";
|
|
|
|
simulation = "nvmarker";
|
2015-01-13 23:03:12 +00:00
|
|
|
|
2015-02-01 20:56:19 +00:00
|
|
|
class NVGMarker {
|
2018-11-01 17:49:46 +00:00
|
|
|
diffuse[]={0.015,0.015,0.015};
|
|
|
|
ambient[]={0.001,0.001,0.001};
|
|
|
|
brightness=0.45;
|
2015-02-01 20:56:19 +00:00
|
|
|
name = "pozicni blik";
|
|
|
|
activeLight = 0;
|
|
|
|
blinking=1;
|
|
|
|
dayLight = 0;
|
|
|
|
onlyInNvg = 1;
|
|
|
|
useFlare = 0;
|
2021-06-21 04:37:57 +00:00
|
|
|
maxLifetime = "8 * 60 * 60";
|
|
|
|
blinkingPattern[] = {0.1, 1.1}; // 0.1 s on, 1.1 s off
|
|
|
|
blinkingStartsOn = 1;
|
|
|
|
blinkingPatternGuarantee = 1;
|
2015-02-01 20:56:19 +00:00
|
|
|
};
|
2015-02-15 14:31:09 +00:00
|
|
|
|
2015-02-01 20:56:19 +00:00
|
|
|
side = 7;//-1=NO_SIDE yellow box,3=CIV grey box,4=NEUTRAL yellow box,6=FRIENDLY green box,7=LOGIC no radar signature
|
|
|
|
accuracy = 1000;
|
|
|
|
cost = 0;
|
|
|
|
armor = 500;
|
|
|
|
threat[] = {0,0,0};
|
|
|
|
nameSound = "";
|
|
|
|
type = 0;
|
|
|
|
weapons[] = {};
|
|
|
|
magazines[] = {};
|
|
|
|
nvTarget = 1;
|
|
|
|
destrType = "DestructNo";
|
2015-06-04 15:36:07 +00:00
|
|
|
brightness = 10;
|
2015-01-13 23:03:12 +00:00
|
|
|
};
|
|
|
|
|
2021-10-07 03:16:13 +00:00
|
|
|
class NVG_TargetBase: All {
|
|
|
|
class NVGMarker {
|
|
|
|
maxLifetime = "8 * 60 * 60";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-02-01 20:56:19 +00:00
|
|
|
class NATO_Box_Base;
|
|
|
|
class Box_NATO_Support_F: NATO_Box_Base {
|
|
|
|
class TransportItems {
|
2015-02-15 14:31:09 +00:00
|
|
|
MACRO_ADDITEM(ACE_IR_Strobe_Item,12);
|
2015-02-01 20:56:19 +00:00
|
|
|
};
|
2015-01-13 23:03:12 +00:00
|
|
|
};
|
|
|
|
|
2015-02-15 14:31:09 +00:00
|
|
|
class EAST_Box_Base;
|
2015-02-01 20:56:19 +00:00
|
|
|
class Box_East_Support_F: EAST_Box_Base {
|
|
|
|
class TransportItems {
|
2015-02-15 14:31:09 +00:00
|
|
|
MACRO_ADDITEM(ACE_IR_Strobe_Item,12);
|
2015-02-01 20:56:19 +00:00
|
|
|
};
|
2015-01-13 23:03:12 +00:00
|
|
|
};
|
|
|
|
|
2015-02-15 14:31:09 +00:00
|
|
|
class IND_Box_Base;
|
2015-02-01 20:56:19 +00:00
|
|
|
class Box_IND_Support_F: IND_Box_Base {
|
|
|
|
class TransportItems {
|
2015-02-15 14:31:09 +00:00
|
|
|
MACRO_ADDITEM(ACE_IR_Strobe_Item,12);
|
2015-02-01 20:56:19 +00:00
|
|
|
};
|
2015-01-13 23:03:12 +00:00
|
|
|
};
|
|
|
|
|
2015-02-15 14:31:09 +00:00
|
|
|
class FIA_Box_Base_F;
|
2015-02-01 20:56:19 +00:00
|
|
|
class Box_FIA_Support_F: FIA_Box_Base_F {
|
|
|
|
class TransportItems {
|
2015-02-15 14:31:09 +00:00
|
|
|
MACRO_ADDITEM(ACE_IR_Strobe_Item,12);
|
2015-02-01 20:56:19 +00:00
|
|
|
};
|
2015-01-13 23:03:12 +00:00
|
|
|
};
|
|
|
|
|
2015-02-01 20:56:19 +00:00
|
|
|
class ACE_Box_Misc: Box_NATO_Support_F {
|
|
|
|
class TransportItems {
|
2015-02-15 14:31:09 +00:00
|
|
|
MACRO_ADDITEM(ACE_IR_Strobe_Item,12);
|
2015-02-01 20:56:19 +00:00
|
|
|
};
|
2015-01-13 23:03:12 +00:00
|
|
|
};
|
2015-02-15 14:31:09 +00:00
|
|
|
};
|