2016-02-22 13:40:21 +00:00
|
|
|
#define EQUIP_FRIES_ATTRIBUTE class Attributes { \
|
|
|
|
class GVAR(equipFRIES) { \
|
|
|
|
property = QGVAR(equipFRIES); \
|
|
|
|
control = "Checkbox"; \
|
|
|
|
displayName = CSTRING(Eden_equipFRIES); \
|
|
|
|
tooltip = CSTRING(Eden_equipFRIES_Tooltip); \
|
2017-12-18 16:30:36 +00:00
|
|
|
expression = QUOTE(if (_value) then {[_this] call FUNC(equipFRIES)}); \
|
2016-02-22 13:40:21 +00:00
|
|
|
typeName = "BOOL"; \
|
|
|
|
condition = "objectVehicle"; \
|
2018-10-16 17:24:41 +00:00
|
|
|
defaultValue = "(false)"; \
|
2016-02-22 20:06:26 +00:00
|
|
|
}; \
|
|
|
|
}
|
2016-02-22 13:40:21 +00:00
|
|
|
|
2015-09-16 21:01:01 +00:00
|
|
|
class CfgVehicles {
|
2016-03-02 17:41:41 +00:00
|
|
|
class Logic;
|
|
|
|
class Module_F: Logic {
|
|
|
|
class ModuleDescription;
|
|
|
|
};
|
|
|
|
class ACE_Module: Module_F {};
|
|
|
|
class ACE_moduleEquipFRIES: ACE_Module {
|
2017-11-11 19:21:55 +00:00
|
|
|
scope = 1;
|
2016-03-02 17:41:41 +00:00
|
|
|
displayName = CSTRING(Module_FRIES_DisplayName);
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\Icon_Module_FRIES_ca.paa);
|
2016-03-02 17:41:41 +00:00
|
|
|
category = "ACE";
|
2016-04-08 18:43:26 +00:00
|
|
|
function = QFUNC(moduleEquipFRIES);
|
2016-03-02 17:41:41 +00:00
|
|
|
functionPriority = 10;
|
|
|
|
isGlobal = 0;
|
|
|
|
isTriggerActivated = 0;
|
|
|
|
isDisposable = 0;
|
|
|
|
author = "BaerMitUmlaut";
|
|
|
|
|
|
|
|
class ModuleDescription: ModuleDescription {
|
|
|
|
description = CSTRING(Module_FRIES_Description);
|
|
|
|
sync[] = {"AnyVehicle"};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-03-19 18:37:26 +00:00
|
|
|
class Air;
|
|
|
|
class Helicopter: Air {
|
2016-03-02 17:41:41 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_prepareFRIES {
|
|
|
|
displayName = CSTRING(Interaction_prepareFRIES);
|
2019-01-12 03:05:25 +00:00
|
|
|
condition = QUOTE([_target] call FUNC(canPrepareFRIES));
|
|
|
|
statement = QUOTE([_target] call FUNC(prepareFRIES));
|
2016-03-02 17:41:41 +00:00
|
|
|
};
|
2017-09-21 14:16:04 +00:00
|
|
|
class ACE_stowFRIES {
|
|
|
|
displayName = CSTRING(Interaction_stowFRIES);
|
2019-01-12 03:05:25 +00:00
|
|
|
condition = QUOTE([_target] call FUNC(canStowFRIES));
|
|
|
|
statement = QUOTE([_target] call FUNC(stowFRIES));
|
2017-09-21 14:16:04 +00:00
|
|
|
};
|
2021-10-12 09:33:05 +00:00
|
|
|
class ACE_deployRopes3 {
|
|
|
|
displayName = CSTRING(Interaction_deployRopes3);
|
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_rope3')] call FUNC(canDeployRopes));
|
|
|
|
statement = QUOTE([ARR_2(QQGVAR(deployRopes),[ARR_3(_target,_player,'ACE_rope3')])] call CBA_fnc_serverEvent);
|
|
|
|
};
|
|
|
|
class ACE_deployRopes6 {
|
|
|
|
displayName = CSTRING(Interaction_deployRopes6);
|
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_rope6')] call FUNC(canDeployRopes));
|
|
|
|
statement = QUOTE([ARR_2(QQGVAR(deployRopes),[ARR_3(_target,_player,'ACE_rope6')])] call CBA_fnc_serverEvent);
|
|
|
|
};
|
2019-01-12 03:05:25 +00:00
|
|
|
class ACE_deployRopes12 {
|
|
|
|
displayName = CSTRING(Interaction_deployRopes12);
|
2020-02-20 05:28:57 +00:00
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_rope12')] call FUNC(canDeployRopes));
|
2020-10-03 15:21:10 +00:00
|
|
|
statement = QUOTE([ARR_2(QQGVAR(deployRopes),[ARR_3(_target,_player,'ACE_rope12')])] call CBA_fnc_serverEvent);
|
2019-01-12 03:05:25 +00:00
|
|
|
};
|
|
|
|
class ACE_deployRopes15 {
|
|
|
|
displayName = CSTRING(Interaction_deployRopes15);
|
2020-02-20 05:28:57 +00:00
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_rope15')] call FUNC(canDeployRopes));
|
2020-10-03 15:21:10 +00:00
|
|
|
statement = QUOTE([ARR_2(QQGVAR(deployRopes),[ARR_3(_target,_player,'ACE_rope15')])] call CBA_fnc_serverEvent);
|
2019-01-12 03:05:25 +00:00
|
|
|
};
|
|
|
|
class ACE_deployRopes18 {
|
|
|
|
displayName = CSTRING(Interaction_deployRopes18);
|
2020-02-20 05:28:57 +00:00
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_rope18')] call FUNC(canDeployRopes));
|
2020-10-03 15:21:10 +00:00
|
|
|
statement = QUOTE([ARR_2(QQGVAR(deployRopes),[ARR_3(_target,_player,'ACE_rope18')])] call CBA_fnc_serverEvent);
|
2019-01-12 03:05:25 +00:00
|
|
|
};
|
|
|
|
class ACE_deployRopes27 {
|
|
|
|
displayName = CSTRING(Interaction_deployRopes27);
|
2020-02-20 05:28:57 +00:00
|
|
|
condition = QUOTE([ARR_3(_target,_player,'ACE_rope27')] call FUNC(canDeployRopes));
|
2020-10-03 15:21:10 +00:00
|
|
|
statement = QUOTE([ARR_2(QQGVAR(deployRopes),[ARR_3(_target,_player,'ACE_rope27')])] call CBA_fnc_serverEvent);
|
2019-01-12 03:05:25 +00:00
|
|
|
};
|
|
|
|
class ACE_deployRopes36 {
|
|
|
|
displayName = CSTRING(Interaction_deployRopes36);
|
2020-02-20 05:28:57 +00:00
|
|
|
condition = QUOTE([ARR_4(_target,_player,'ACE_rope36',true)] call FUNC(canDeployRopes));
|
2020-10-03 15:21:10 +00:00
|
|
|
statement = QUOTE([ARR_2(QQGVAR(deployRopes),[ARR_3(_target,_player,'ACE_rope36')])] call CBA_fnc_serverEvent);
|
2016-03-02 17:41:41 +00:00
|
|
|
};
|
|
|
|
class ACE_cutRopes {
|
|
|
|
displayName = CSTRING(Interaction_cutRopes);
|
2021-02-04 17:01:35 +00:00
|
|
|
condition = QUOTE([_target] call FUNC(canCutRopes));
|
|
|
|
// should not be empty to work with EGVAR(interact_menu,consolidateSingleChild) setting
|
|
|
|
statement = QUOTE(true);
|
2019-04-03 17:18:55 +00:00
|
|
|
class confirmCutRopes {
|
|
|
|
displayName = ECSTRING(common,confirm);
|
|
|
|
condition = QUOTE([_target] call FUNC(canCutRopes));
|
|
|
|
statement = QUOTE([_target] call FUNC(cutRopes));
|
|
|
|
};
|
2016-03-02 17:41:41 +00:00
|
|
|
};
|
|
|
|
class ACE_fastRope {
|
|
|
|
displayName = CSTRING(Interaction_fastRope);
|
2019-01-12 03:05:25 +00:00
|
|
|
condition = [_player, _target] call FUNC(canFastRope);
|
|
|
|
statement = [_player, _target] call FUNC(fastRope);
|
2016-03-02 17:41:41 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-03-19 18:37:26 +00:00
|
|
|
|
|
|
|
class Helicopter_Base_F;
|
2016-03-06 18:53:37 +00:00
|
|
|
class ACE_friesBase: Helicopter_Base_F {
|
|
|
|
destrType = "";
|
|
|
|
class Turrets {};
|
2016-04-12 17:12:49 +00:00
|
|
|
class ACE_Actions {};
|
|
|
|
class ACE_SelfActions {};
|
|
|
|
EGVAR(cargo,hasCargo) = 0;
|
|
|
|
EGVAR(cargo,space) = 0;
|
2018-06-21 03:17:27 +00:00
|
|
|
// ACRE 2.6.0 Compatibility
|
|
|
|
acre_hasInfantryPhone = 0;
|
|
|
|
class AcreRacks {};
|
|
|
|
class AcreIntercoms {};
|
2016-03-06 18:53:37 +00:00
|
|
|
};
|
2015-11-29 23:14:46 +00:00
|
|
|
class ACE_friesAnchorBar: ACE_friesBase {
|
2016-01-31 18:25:31 +00:00
|
|
|
author = "jokoho48";
|
2016-02-22 19:27:16 +00:00
|
|
|
scope = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\friesAnchorBar.p3d);
|
2015-11-26 13:56:19 +00:00
|
|
|
animated = 1;
|
2016-03-02 21:16:40 +00:00
|
|
|
class AnimationSources {
|
2016-01-31 18:25:31 +00:00
|
|
|
class extendHookRight {
|
|
|
|
source = "user";
|
|
|
|
initPhase = 0;
|
|
|
|
animPeriod = 1.5;
|
|
|
|
};
|
|
|
|
class extendHookLeft {
|
|
|
|
source = "user";
|
|
|
|
initPhase = 0;
|
|
|
|
animPeriod = 1.5;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_friesGantry: ACE_friesBase {
|
|
|
|
author = "jokoho48";
|
2016-02-22 19:27:16 +00:00
|
|
|
scope = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\friesGantry.p3d);
|
2016-01-31 18:25:31 +00:00
|
|
|
animated = 1;
|
2016-03-02 21:16:40 +00:00
|
|
|
class AnimationSources {
|
2016-01-31 18:25:31 +00:00
|
|
|
class adjustWidth {
|
|
|
|
source = "user";
|
|
|
|
initPhase = 0.211;
|
|
|
|
animPeriod = 0;
|
|
|
|
};
|
|
|
|
class rotateGantryLeft {
|
|
|
|
source = "user";
|
|
|
|
initPhase = 0;
|
|
|
|
animPeriod = 0;
|
|
|
|
};
|
|
|
|
class rotateGantryRight {
|
|
|
|
source = "user";
|
|
|
|
initPhase = 0;
|
|
|
|
animPeriod = 0;
|
|
|
|
};
|
2016-03-05 22:21:10 +00:00
|
|
|
class hideGantryLeft {
|
|
|
|
source = "user";
|
|
|
|
initPhase = 0;
|
|
|
|
animPeriod = 0;
|
|
|
|
};
|
|
|
|
class hideGantryRight {
|
|
|
|
source = "user";
|
|
|
|
initPhase = 0;
|
|
|
|
animPeriod = 0;
|
|
|
|
};
|
2016-01-31 18:25:31 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_friesGantryReverse: ACE_friesGantry {
|
2016-03-05 22:21:10 +00:00
|
|
|
class AnimationSources: AnimationSources {
|
2016-01-31 18:25:31 +00:00
|
|
|
class adjustWidth {
|
|
|
|
source = "user";
|
|
|
|
initPhase = 0.213;
|
|
|
|
animPeriod = 0;
|
|
|
|
};
|
|
|
|
class rotateGantryLeft {
|
|
|
|
source = "user";
|
|
|
|
initPhase = 0.5;
|
|
|
|
animPeriod = 0;
|
|
|
|
};
|
|
|
|
class rotateGantryRight {
|
|
|
|
source = "user";
|
|
|
|
initPhase = 0.5;
|
|
|
|
animPeriod = 0;
|
|
|
|
};
|
|
|
|
};
|
2015-11-26 13:56:19 +00:00
|
|
|
};
|
|
|
|
|
2016-01-31 18:25:31 +00:00
|
|
|
class GVAR(helper): Helicopter_Base_F {
|
|
|
|
author = "KoffeinFlummi";
|
2016-02-22 19:27:16 +00:00
|
|
|
scope = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
model = QPATHTOF(data\helper.p3d);
|
2016-03-02 21:16:40 +00:00
|
|
|
class ACE_Actions {};
|
2016-02-22 21:21:13 +00:00
|
|
|
class Turrets {};
|
2016-06-08 09:26:23 +00:00
|
|
|
class TransportItems {};
|
2017-09-07 16:45:56 +00:00
|
|
|
EGVAR(cargo,hasCargo) = 0;
|
|
|
|
EGVAR(cargo,space) = 0;
|
2018-06-21 03:17:27 +00:00
|
|
|
// ACRE 2.6.0 Compatibility
|
|
|
|
acre_hasInfantryPhone = 0;
|
|
|
|
class AcreRacks {};
|
|
|
|
class AcreIntercoms {};
|
2015-09-16 21:01:01 +00:00
|
|
|
};
|
|
|
|
|
2016-03-02 17:41:41 +00:00
|
|
|
class Helicopter_Base_H;
|
2015-09-17 20:13:31 +00:00
|
|
|
class Heli_Light_02_base_F: Helicopter_Base_H {
|
|
|
|
GVAR(enabled) = 1;
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(ropeOrigins)[] = {{1.41, 1.38, 0}, {-1.41, 1.38, 0}};
|
2016-01-31 18:25:31 +00:00
|
|
|
GVAR(onPrepare) = QFUNC(onPrepareCommon);
|
|
|
|
GVAR(onCut) = QFUNC(onCutCommon);
|
2015-09-17 20:13:31 +00:00
|
|
|
};
|
2016-01-31 18:25:31 +00:00
|
|
|
class Heli_Attack_02_base_F: Helicopter_Base_F {
|
2015-09-17 20:13:31 +00:00
|
|
|
GVAR(enabled) = 1;
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(ropeOrigins)[] = {{1.25, 1.5, -0.6}, {-1.1, 1.5, -0.6}};
|
2016-01-31 18:25:31 +00:00
|
|
|
GVAR(onPrepare) = QFUNC(onPrepareCommon);
|
|
|
|
GVAR(onCut) = QFUNC(onCutCommon);
|
2015-09-17 20:13:31 +00:00
|
|
|
};
|
2015-09-16 21:01:01 +00:00
|
|
|
class Heli_Transport_01_base_F: Helicopter_Base_H {
|
2015-11-26 13:56:19 +00:00
|
|
|
GVAR(enabled) = 2;
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(ropeOrigins)[] = {"ropeOriginRight", "ropeOriginLeft"};
|
2015-11-29 23:14:46 +00:00
|
|
|
GVAR(friesType) = "ACE_friesAnchorBar";
|
2019-04-25 18:31:36 +00:00
|
|
|
GVAR(friesAttachmentPoint)[] = {0.035, 2.2, -0.15};
|
2015-11-30 17:35:34 +00:00
|
|
|
GVAR(onPrepare) = QFUNC(onPrepareCommon);
|
|
|
|
GVAR(onCut) = QFUNC(onCutCommon);
|
2016-02-22 13:40:21 +00:00
|
|
|
EQUIP_FRIES_ATTRIBUTE;
|
2015-09-17 20:13:31 +00:00
|
|
|
};
|
|
|
|
class Heli_Transport_02_base_F: Helicopter_Base_H {
|
|
|
|
GVAR(enabled) = 1;
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(ropeOrigins)[] = {{0.94, -4.82, -1.16}, {-0.94, -4.82, -1.16}};
|
2016-03-06 18:53:37 +00:00
|
|
|
GVAR(onPrepare) = QFUNC(onPrepareCommon);
|
|
|
|
GVAR(onCut) = QFUNC(onCutCommon);
|
|
|
|
|
|
|
|
class UserActions {
|
|
|
|
class Ramp_Open;
|
|
|
|
class Ramp_Close: Ramp_Open {
|
2020-10-05 16:40:03 +00:00
|
|
|
condition = QUOTE([ARR_3(this,'CargoRamp_Open',[ARR_3([0],[1],[2])])] call FUNC(canCloseRamp));
|
2016-03-06 18:53:37 +00:00
|
|
|
};
|
|
|
|
};
|
2015-09-17 20:13:31 +00:00
|
|
|
};
|
|
|
|
class Heli_Transport_03_base_F: Helicopter_Base_H {
|
|
|
|
GVAR(enabled) = 1;
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(ropeOrigins)[] = {{0.75, -5.29, -0.11}, {-0.87, -5.29, -0.11}};
|
2016-03-06 18:53:37 +00:00
|
|
|
GVAR(onPrepare) = QFUNC(onPrepareCommon);
|
|
|
|
GVAR(onCut) = QFUNC(onCutCommon);
|
|
|
|
|
|
|
|
class UserActions {
|
|
|
|
class Ramp_Open;
|
|
|
|
class Ramp_Close: Ramp_Open {
|
2020-10-05 16:40:03 +00:00
|
|
|
condition = QUOTE([ARR_3(this,'Door_rear_source',[ARR_3([0],[3],[4])])] call FUNC(canCloseRamp));
|
2016-03-06 18:53:37 +00:00
|
|
|
};
|
|
|
|
};
|
2015-09-17 20:13:31 +00:00
|
|
|
};
|
2016-01-31 18:25:31 +00:00
|
|
|
class Heli_light_03_base_F: Helicopter_Base_F {
|
|
|
|
GVAR(enabled) = 2;
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(ropeOrigins)[] = {"ropeOriginRight", "ropeOriginLeft"};
|
2016-01-31 18:25:31 +00:00
|
|
|
GVAR(friesType) = "ACE_friesGantryReverse";
|
2016-04-12 17:28:48 +00:00
|
|
|
GVAR(friesAttachmentPoint)[] = {-1.04, 2.5, -0.34};
|
2016-02-22 13:40:21 +00:00
|
|
|
EQUIP_FRIES_ATTRIBUTE;
|
2015-09-17 20:13:31 +00:00
|
|
|
};
|
|
|
|
class Heli_light_03_unarmed_base_F: Heli_light_03_base_F {
|
2016-01-31 18:25:31 +00:00
|
|
|
GVAR(enabled) = 2;
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(ropeOrigins)[] = {"ropeOriginRight", "ropeOriginLeft"};
|
2016-01-31 18:25:31 +00:00
|
|
|
GVAR(friesType) = "ACE_friesGantry";
|
2016-10-06 20:58:45 +00:00
|
|
|
GVAR(friesAttachmentPoint)[] = {1.07, 2.5, -0.5};
|
2016-02-22 13:40:21 +00:00
|
|
|
EQUIP_FRIES_ATTRIBUTE;
|
2015-09-17 20:13:31 +00:00
|
|
|
};
|
2016-03-06 18:53:37 +00:00
|
|
|
class Heli_Transport_04_base_F: Helicopter_Base_H {
|
|
|
|
class UserActions;
|
|
|
|
};
|
2015-09-17 20:13:31 +00:00
|
|
|
class O_Heli_Transport_04_bench_F: Heli_Transport_04_base_F {
|
|
|
|
GVAR(enabled) = 1;
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(ropeOrigins)[] = {{1.03, 1.6, -0.23}, {1.03, -1.36, -0.23}, {-1.23, 1.6, -0.23}, {-1.23, -1.36, -0.23}};
|
2015-09-17 20:13:31 +00:00
|
|
|
};
|
|
|
|
class O_Heli_Transport_04_covered_F: Heli_Transport_04_base_F {
|
|
|
|
GVAR(enabled) = 1;
|
2016-02-28 14:18:15 +00:00
|
|
|
GVAR(ropeOrigins)[] = {{0.83, -4.7, -0.03}, {-1.02, -4.7, -0.03}};
|
2016-03-06 18:53:37 +00:00
|
|
|
GVAR(onPrepare) = QFUNC(onPrepareCommon);
|
|
|
|
GVAR(onCut) = QFUNC(onCutCommon);
|
|
|
|
|
|
|
|
class UserActions: UserActions {
|
|
|
|
class CloseDoor_6;
|
|
|
|
class Ramp_Close: CloseDoor_6 {
|
2020-10-05 16:40:03 +00:00
|
|
|
condition = QUOTE([ARR_3(this,'Door_6_source',[ARR_4([0],[1],[2],[3])])] call FUNC(canCloseRamp));
|
2016-03-06 18:53:37 +00:00
|
|
|
};
|
|
|
|
};
|
2015-09-16 21:01:01 +00:00
|
|
|
};
|
2019-01-12 03:05:25 +00:00
|
|
|
class NATO_Box_Base;
|
|
|
|
class ACE_fastropingSupplyCrate: NATO_Box_Base {
|
|
|
|
scope = 2;
|
|
|
|
scopeCurator = 2;
|
|
|
|
accuracy = 1000;
|
|
|
|
displayName = CSTRING(Ropesupply);
|
|
|
|
model = "\A3\Weapons_F\AmmoBoxes\Box_NATO_AmmoVeh_F.p3d";
|
2019-10-29 22:10:40 +00:00
|
|
|
editorPreview = "\A3\EditorPreviews_F\Data\CfgVehicles\Box_NATO_AmmoVeh_F.jpg";
|
2019-01-12 03:05:25 +00:00
|
|
|
author = "Pokertour";
|
|
|
|
class TransportItems {
|
|
|
|
MACRO_ADDITEM(ACE_rope12,15);
|
|
|
|
MACRO_ADDITEM(ACE_rope15,15);
|
|
|
|
MACRO_ADDITEM(ACE_rope18,15);
|
|
|
|
MACRO_ADDITEM(ACE_rope27,15);
|
|
|
|
MACRO_ADDITEM(ACE_rope36,15);
|
|
|
|
};
|
|
|
|
};
|
2015-09-16 21:01:01 +00:00
|
|
|
};
|