2015-09-16 21:01:01 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
class UAV_01_base_F;
|
|
|
|
class GVAR(helper): UAV_01_base_F {
|
|
|
|
author = "KoffeinFlummi";
|
|
|
|
scope = 1;
|
|
|
|
model = PATHTOF(data\helper.p3d);
|
|
|
|
isUAV = 0;
|
2015-09-17 20:13:31 +00:00
|
|
|
displayName = "";
|
2015-09-16 21:01:01 +00:00
|
|
|
};
|
|
|
|
|
2015-11-26 13:56:19 +00:00
|
|
|
class Building;
|
|
|
|
class NonStrategic: Building {
|
|
|
|
class AnimationSources;
|
|
|
|
};
|
|
|
|
class ACE_friesBar: NonStrategic {
|
|
|
|
author = "BaerMitUmlaut";
|
|
|
|
scope = 1;
|
|
|
|
model = PATHTOF(data\friesBar.p3d);
|
|
|
|
destrType = "DestructNo";
|
|
|
|
displayName = "";
|
|
|
|
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 ArgumentsBaseUnits {};
|
|
|
|
class ModuleDescription {
|
|
|
|
class AnyVehicle {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Module;
|
|
|
|
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 {
|
|
|
|
description = CSTRING(Module_FRIES_Description);
|
|
|
|
sync[] = {"AnyVehicle"};
|
|
|
|
class AnyVehicle {
|
|
|
|
position = 0;
|
|
|
|
direction = 0;
|
|
|
|
optional = 0;
|
|
|
|
duplicate = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-09-16 21:01:01 +00:00
|
|
|
class Air;
|
|
|
|
class Helicopter: Air {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_deployRopes {
|
|
|
|
displayName = "Deploy ropes";
|
|
|
|
condition = [_player, vehicle _player] call FUNC(canDeployRopes);
|
|
|
|
statement = [_player, vehicle _player] call FUNC(deployRopes);
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
class ACE_cutRopes {
|
|
|
|
displayName = "Cut ropes";
|
|
|
|
condition = [_player, vehicle _player] call FUNC(canCutRopes);
|
|
|
|
statement = [vehicle _player] call FUNC(cutRopes);
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
class ACE_fastRope {
|
|
|
|
displayName = "Fast rope";
|
|
|
|
condition = [_player, vehicle _player] call FUNC(canFastRope);
|
|
|
|
statement = [_player, vehicle _player] call FUNC(fastRope);
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Helicopter_Base_H;
|
2015-09-17 20:13:31 +00:00
|
|
|
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}};
|
|
|
|
};
|
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;
|
|
|
|
GVAR(ropeOrigins[]) = {"hookRight", "hookLeft"};
|
|
|
|
GVAR(friesType) = "ace_friesBar";
|
|
|
|
GVAR(friesAttachmentPoint[]) = {0, 2.2, -0.15};
|
|
|
|
|
|
|
|
GVAR(onDeploy) = QFUNC(onDeployRopesCommon);
|
|
|
|
GVAR(onCut) = QFUNC(onCutRopesCommon);
|
2015-09-17 20:13:31 +00:00
|
|
|
};
|
|
|
|
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}};
|
2015-09-16 21:01:01 +00:00
|
|
|
};
|
|
|
|
};
|