class CfgVehicles { class Helicopter_Base_H; class GVAR(helper): Helicopter_Base_H { author = "KoffeinFlummi"; scope = 2; model = PATHTOF(data\helper.p3d); }; class Building; class NonStrategic: Building { class AnimationSources; }; class ACE_friesBase: NonStrategic { destrType = ""; }; class ACE_friesAnchorBar: ACE_friesBase { author = "BaerMitUmlaut"; scope = 2; model = PATHTOF(data\friesAnchorBar.p3d); animated = 1; class AnimationSources: AnimationSources { class extendHookRight { source = "user"; initPhase = 0; animPeriod = 1.5; }; class extendHookLeft { source = "user"; initPhase = 0; animPeriod = 1.5; }; }; }; class Logic; class Module_F: Logic { class ModuleDescription; }; class ACE_Module: Module_F {}; class ACE_moduleEquipFRIES: ACE_Module { scope = 2; displayName = CSTRING(Module_FRIES_DisplayName); icon = QUOTE(PATHTOF(UI\Icon_Module_FRIES_ca.paa)); category = "ACE"; function = QUOTE(FUNC(moduleEquipFRIES)); functionPriority = 10; isGlobal = 0; isTriggerActivated = 0; isDisposable = 0; author = "BaerMitUmlaut"; class ModuleDescription: ModuleDescription { description = CSTRING(Module_FRIES_Description); sync[] = {"AnyVehicle"}; }; }; class Air; class Helicopter: Air { class ACE_SelfActions { class ACE_prepareFRIES { displayName = CSTRING(Interaction_prepareFRIES); condition = [vehicle _player] call FUNC(canPrepareFRIES); statement = [_player, vehicle _player] call FUNC(prepareFRIES); showDisabled = 0; priority = 1; }; class ACE_deployRopes { displayName = CSTRING(Interaction_deployRopes); condition = [_player, vehicle _player] call FUNC(canDeployRopes); statement = [vehicle _player] call FUNC(deployRopes); showDisabled = 0; priority = 1; }; class ACE_cutRopes { displayName = CSTRING(Interaction_cutRopes); condition = [vehicle _player] call FUNC(canCutRopes); statement = [vehicle _player] call FUNC(cutRopes); showDisabled = 0; priority = 1; }; class ACE_fastRope { displayName = CSTRING(Interaction_fastRope); condition = [_player, vehicle _player] call FUNC(canFastRope); statement = [_player, vehicle _player] call FUNC(fastRope); showDisabled = 0; priority = 1; }; }; }; class Heli_Light_02_base_F: Helicopter_Base_H { GVAR(enabled) = 1; GVAR(ropeOrigins[]) = {{1.41, 1.38, 0}, {-1.41, 1.38, 0}}; }; class Heli_Attack_02_base_F: Helicopter_Base_H { GVAR(enabled) = 1; GVAR(ropeOrigins[]) = {{1.25, 1.5, -0.6}, {-1.1, 1.5, -0.6}}; }; class Heli_Transport_01_base_F: Helicopter_Base_H { GVAR(enabled) = 2; GVAR(ropeOrigins[]) = {"hookRight", "hookLeft"}; GVAR(friesType) = "ACE_friesAnchorBar"; GVAR(friesAttachmentPoint[]) = {0.065, 2.2, -0.17}; GVAR(onPrepare) = QFUNC(onPrepareCommon); GVAR(onCut) = QFUNC(onCutCommon); }; class Heli_Transport_02_base_F: Helicopter_Base_H { GVAR(enabled) = 1; GVAR(ropeOrigins[]) = {{0.94, -4.82, -1.16}, {-0.94, -4.82, -1.16}}; }; class Heli_Transport_03_base_F: Helicopter_Base_H { GVAR(enabled) = 1; GVAR(ropeOrigins[]) = {{0.75, -5.29, -0.11}, {-0.87, -5.29, -0.11}}; }; class Helicopter_Base_F; class Heli_light_03_base_F: Helicopter_Base_F{ GVAR(enabled) = 1; GVAR(ropeOrigins[]) = {{0.84, 2.8, 0.52}, {-0.9, 2.8, 0.52}}; }; class Heli_light_03_unarmed_base_F: Heli_light_03_base_F { GVAR(enabled) = 1; GVAR(ropeOrigins[]) = {{0.84, 2.8, 0.36}, {-0.9, 2.8, 0.36}}; }; class Heli_Transport_04_base_F; class O_Heli_Transport_04_bench_F: Heli_Transport_04_base_F { GVAR(enabled) = 1; 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}}; }; class O_Heli_Transport_04_covered_F: Heli_Transport_04_base_F { GVAR(enabled) = 1; GVAR(ropeOrigins[]) = {{0.83, -4.7, -0.03}, {-1.02, -4.7, -0.03}}; }; };