2015-09-28 12:35:05 +00:00
|
|
|
|
2016-03-01 16:05:00 +00:00
|
|
|
class CBA_Extended_EventHandlers;
|
|
|
|
|
2015-01-14 04:47:39 +00:00
|
|
|
class CfgVehicles {
|
2015-09-28 12:35:05 +00:00
|
|
|
class ACE_Module;
|
|
|
|
class ACE_ModuleInteraction: ACE_Module {
|
|
|
|
author = ECSTRING(common,ACETeam);
|
|
|
|
category = "ACE";
|
|
|
|
displayName = CSTRING(Module_DisplayName);
|
2017-09-07 17:38:26 +00:00
|
|
|
function = QFUNC(moduleInteraction);
|
2017-11-11 19:21:55 +00:00
|
|
|
scope = 1;
|
2015-09-28 12:35:05 +00:00
|
|
|
isGlobal = 1;
|
2015-10-19 04:34:11 +00:00
|
|
|
isSingular = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\Icon_Module_Interaction_ca.paa);
|
2015-09-28 12:35:05 +00:00
|
|
|
class Arguments {
|
|
|
|
class EnableTeamManagement {
|
|
|
|
displayName = CSTRING(EnableTeamManagement_DisplayName);
|
|
|
|
description = CSTRING(EnableTeamManagement_Description);
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 1;
|
|
|
|
};
|
2017-09-07 17:38:26 +00:00
|
|
|
class DisableNegativeRating {
|
|
|
|
displayName = CSTRING(DisableNegativeRating_DisplayName);
|
|
|
|
description = CSTRING(DisableNegativeRating_Description);
|
|
|
|
typeName = "BOOL";
|
|
|
|
defaultValue = 0;
|
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
};
|
|
|
|
class ModuleDescription {
|
|
|
|
description = CSTRING(Module_Description);
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MainAction);
|
2015-05-09 20:25:48 +00:00
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(true);
|
|
|
|
statement = "";
|
|
|
|
icon = "\a3\ui_f\data\IGUI\Cfg\Actions\eject_ca.paa";
|
|
|
|
selection = "pelvis";
|
2015-01-14 04:47:39 +00:00
|
|
|
|
2015-09-08 12:07:16 +00:00
|
|
|
class ACE_PassMagazine {
|
|
|
|
displayName = CSTRING(PassMagazine);
|
2015-10-06 17:09:51 +00:00
|
|
|
condition = "";
|
2015-09-08 12:07:16 +00:00
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-09-08 12:07:16 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
icon = "\a3\ui_f\data\gui\Rsc\RscDisplayArsenal\cargomag_ca.paa";
|
|
|
|
|
|
|
|
class ACE_PassMagazinePrimary {
|
|
|
|
displayName = CSTRING(PassMagazinePrimary);
|
2015-09-10 20:23:37 +00:00
|
|
|
condition = QUOTE([ARR_3(_player,_target,primaryWeapon _target)] call FUNC(canPassMagazine));
|
2015-09-08 12:07:16 +00:00
|
|
|
statement = QUOTE([ARR_3(_player,_target,primaryWeapon _target)] call FUNC(passMagazine));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-09-08 12:07:16 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
icon = "\a3\ui_f\data\gui\Rsc\RscDisplayArsenal\primaryweapon_ca.paa";
|
|
|
|
};
|
|
|
|
class ACE_PassMagazineHandgun {
|
|
|
|
displayName = CSTRING(PassMagazineHandgun);
|
2015-09-10 20:23:37 +00:00
|
|
|
condition = QUOTE([ARR_3(_player,_target,handgunWeapon _target)] call FUNC(canPassMagazine));
|
2015-09-08 12:07:16 +00:00
|
|
|
statement = QUOTE([ARR_3(_player,_target,handgunWeapon _target)] call FUNC(passMagazine));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-09-08 12:07:16 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
icon = "\a3\ui_f\data\gui\Rsc\RscDisplayArsenal\handgun_ca.paa";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_TeamManagement {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(TeamManagement);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {GVAR(EnableTeamManagement)});
|
|
|
|
statement = "";
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3(assignedTeam _target, 'PATHTOF(UI\team\team_management_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 0;
|
2015-02-19 18:36:27 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_AssignTeamRed {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(AssignTeamRed);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
|
2020-01-09 20:40:34 +00:00
|
|
|
statement = QUOTE([ARR_3(_target,'RED',true)] call DFUNC(joinTeam));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3('RED', 'PATHTOF(UI\team\team_white_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_AssignTeamGreen {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(AssignTeamGreen);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
|
2020-01-09 20:40:34 +00:00
|
|
|
statement = QUOTE([ARR_3(_target,'GREEN',true)] call DFUNC(joinTeam));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3('GREEN', 'PATHTOF(UI\team\team_white_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_AssignTeamBlue {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(AssignTeamBlue);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
|
2020-01-09 20:40:34 +00:00
|
|
|
statement = QUOTE([ARR_3(_target,'BLUE',true)] call DFUNC(joinTeam));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3('BLUE', 'PATHTOF(UI\team\team_white_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_AssignTeamYellow {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(AssignTeamYellow);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam));
|
2020-01-09 20:40:34 +00:00
|
|
|
statement = QUOTE([ARR_3(_target,'YELLOW',true)] call DFUNC(joinTeam));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3('YELLOW', 'PATHTOF(UI\team\team_white_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_UnassignTeam {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(LeaveTeam);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canJoinTeam) && {assignedTeam _target != 'MAIN'});
|
2020-01-09 20:40:34 +00:00
|
|
|
statement = QUOTE([ARR_3(_target,'MAIN',true)] call DFUNC(joinTeam));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3('MAIN', 'PATHTOF(UI\team\team_white_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
};
|
2015-02-19 18:36:27 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_JoinGroup {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(JoinGroup);
|
2015-08-05 23:02:57 +00:00
|
|
|
condition = QUOTE(GVAR(EnableTeamManagement) && {[ARR_2(_player,_target)] call DFUNC(canJoinGroup)});
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = QUOTE([_player] joinSilent group _target);
|
2017-06-22 21:05:19 +00:00
|
|
|
modifierFunction = QUOTE(call FUNC(modifyJoinGroupAction));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 0;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_management_ca.paa);
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_GetDown {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(GetDown);
|
2015-09-28 16:06:25 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canInteractWithCivilian));
|
|
|
|
statement = QUOTE([ARR_2(_player,_target)] call DFUNC(getDown));
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
class ACE_SendAway {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(SendAway);
|
2015-09-28 16:06:25 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canInteractWithCivilian));
|
|
|
|
statement = QUOTE([ARR_2(_player,_target)] call DFUNC(sendAway));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
class ACE_Pardon {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Pardon);
|
2015-09-28 15:20:56 +00:00
|
|
|
condition = QUOTE([ARR_2(_player,_target)] call DFUNC(canPardon));
|
2015-09-28 15:28:51 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,_target)] call DFUNC(pardon));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
};
|
2015-12-29 16:27:43 +00:00
|
|
|
class ACE_GetOut {
|
|
|
|
displayName = CSTRING(GetOut);
|
2016-02-05 07:32:56 +00:00
|
|
|
condition = QUOTE(!(isNull objectParent _target) && [ARR_2(_player,_target)] call DFUNC(canInteractWithCivilian));
|
2015-12-23 18:49:17 +00:00
|
|
|
statement = QUOTE([_target] call EFUNC(common,unloadPerson));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-12-23 07:19:41 +00:00
|
|
|
showDisabled = 0;
|
2015-12-23 18:49:17 +00:00
|
|
|
};
|
2017-11-17 22:47:58 +00:00
|
|
|
|
|
|
|
class GVAR(PullOutBody) {
|
|
|
|
displayName = CSTRING(PullOutBody);
|
|
|
|
condition = QUOTE(call DFUNC(canPullOutBody));
|
|
|
|
statement = QUOTE(call DFUNC(pullOutBody));
|
|
|
|
exceptions[] = {"isNotSwimming"};
|
|
|
|
icon = "\a3\ui_f\data\IGUI\Cfg\simpleTasks\types\getout_ca.paa";
|
|
|
|
};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_Torso {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Torso);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "spine3";
|
|
|
|
distance = 1.50;
|
|
|
|
condition = "";
|
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_Head {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Head);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "pilot";
|
|
|
|
distance = 1.50;
|
|
|
|
condition = "";
|
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_ArmLeft {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(ArmLeft);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "LeftForeArm";
|
|
|
|
distance = 1.50;
|
|
|
|
condition = "";
|
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_ArmRight {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(ArmRight);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "RightForeArm";
|
|
|
|
distance = 1.50;
|
|
|
|
condition = "";
|
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_LegLeft {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(LegLeft);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "LKnee";
|
|
|
|
distance = 1.50;
|
|
|
|
condition = "";
|
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_LegRight {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(LegRight);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "RKnee";
|
|
|
|
distance = 1.50;
|
|
|
|
condition = "";
|
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_Weapon {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Weapon);
|
2015-09-28 15:11:53 +00:00
|
|
|
position = QUOTE(call DFUNC(getWeaponPos));
|
2015-05-09 20:25:48 +00:00
|
|
|
distance = 1.50;
|
|
|
|
condition = "";
|
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_TapShoulderRight {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(TapShoulder);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "rightshoulder";
|
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder));
|
|
|
|
statement = QUOTE([ARR_3(_player, _target, 0)] call DFUNC(tapShoulder));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_TapShoulderLeft {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(TapShoulder);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "leftshoulder";
|
|
|
|
distance = 2.0;
|
|
|
|
condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder));
|
|
|
|
statement = QUOTE([ARR_3(_player, _target, 1)] call DFUNC(tapShoulder));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_TeamManagement {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(TeamManagement);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(GVAR(EnableTeamManagement));
|
2017-09-10 19:43:03 +00:00
|
|
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3(assignedTeam _target, 'PATHTOF(UI\team\team_management_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2015-01-14 04:47:39 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_JoinTeamRed {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(JoinTeamRed);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(true);
|
2017-09-10 19:43:03 +00:00
|
|
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
|
2020-01-09 20:40:34 +00:00
|
|
|
statement = QUOTE([ARR_3(_player,'RED',true)] call DFUNC(joinTeam));
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3('RED', 'PATHTOF(UI\team\team_white_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_JoinTeamGreen {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(JoinTeamGreen);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(true);
|
2017-09-10 19:43:03 +00:00
|
|
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
|
2020-01-09 20:40:34 +00:00
|
|
|
statement = QUOTE([ARR_3(_player,'GREEN',true)] call DFUNC(joinTeam));
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3('GREEN', 'PATHTOF(UI\team\team_white_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_JoinTeamBlue {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(JoinTeamBlue);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(true);
|
2017-09-10 19:43:03 +00:00
|
|
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
|
2020-01-09 20:40:34 +00:00
|
|
|
statement = QUOTE([ARR_3(_player,'BLUE',true)] call DFUNC(joinTeam));
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3('BLUE', 'PATHTOF(UI\team\team_white_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_JoinTeamYellow {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(JoinTeamYellow);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(true);
|
2017-09-10 19:43:03 +00:00
|
|
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
|
2020-01-09 20:40:34 +00:00
|
|
|
statement = QUOTE([ARR_3(_player,'YELLOW',true)] call DFUNC(joinTeam));
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3('YELLOW', 'PATHTOF(UI\team\team_white_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_LeaveTeam {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(LeaveTeam);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(assignedTeam _player != 'MAIN');
|
2017-09-10 19:43:03 +00:00
|
|
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
|
2020-01-09 20:40:34 +00:00
|
|
|
statement = QUOTE([ARR_3(_player,'MAIN',true)] call DFUNC(joinTeam));
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2020-04-30 16:39:03 +00:00
|
|
|
modifierFunction = QUOTE([ARR_3('MAIN', 'PATHTOF(UI\team\team_white_ca.paa)', _this select 3)] call FUNC(modifyTeamManagementAction));
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_BecomeLeader {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(BecomeLeader);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(_this call DFUNC(canBecomeLeader));
|
2017-09-10 19:43:03 +00:00
|
|
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = QUOTE(_this call DFUNC(doBecomeLeader));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_white_ca.paa);
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
class ACE_LeaveGroup {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(LeaveGroup);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(count (units group _player) > 1);
|
2017-09-10 19:43:03 +00:00
|
|
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
|
2020-04-27 04:22:48 +00:00
|
|
|
statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side group _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;);
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_management_ca.paa);
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
2021-10-12 17:53:35 +00:00
|
|
|
class ACE_RenameGroup {
|
|
|
|
displayName = CSTRING(RenameGroup);
|
|
|
|
condition = QUOTE(_player call FUNC(canRenameGroup));
|
|
|
|
exceptions[] = {"isNotSwimming", "isNotInside", "isNotSitting", "isNotOnLadder", "isNotRefueling"};
|
|
|
|
statement = QUOTE(_player call FUNC(renameGroupUI));
|
|
|
|
showDisabled =1;
|
|
|
|
};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_Equipment {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Equipment);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(true);
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming", "isNotInside", "notOnMap", "isNotSitting"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
|
|
|
showDisabled = 1;
|
|
|
|
icon = ""; // @todo
|
2021-03-04 17:43:11 +00:00
|
|
|
|
|
|
|
class GVAR(weaponAttachments) {
|
|
|
|
displayName = "$STR_A3_CfgEditorSubcategories_EdSubcat_SideSlot0";
|
|
|
|
condition = QGVAR(enableWeaponAttachments);
|
|
|
|
exceptions[] = {"isNotInside", "isNotSwimming", "isNotSitting"};
|
|
|
|
insertChildren = QUOTE(call DFUNC(getWeaponAttachmentsActions));
|
|
|
|
modifierFunction = QUOTE(_this select 3 set [ARR_2(2, getText (configFile >> 'CfgWeapons' >> currentWeapon (_this select 0) >> 'picture'))];);
|
|
|
|
};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class LandVehicle;
|
|
|
|
class Car: LandVehicle {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MainAction);
|
2016-02-18 23:20:02 +00:00
|
|
|
position = QUOTE(call DFUNC(getVehiclePos));
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "";
|
2016-02-18 23:20:02 +00:00
|
|
|
distance = 4;
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
2018-11-02 17:32:04 +00:00
|
|
|
class GVAR(smashWindshield) {
|
|
|
|
displayName = CSTRING(SmashWindshield);
|
|
|
|
condition = QUOTE(_player == driver _target && {private _damage = _target getHitPointDamage 'HitGlass1'; _damage > 0.5 && {_damage < 1}});
|
|
|
|
statement = QUOTE(playSound3D [ARR_2('A3\Sounds_F\weapons\hits\glass_2.wss',_target)]; _target setHitPointDamage [ARR_2('HitGlass1',1)];);
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2021-10-18 16:56:43 +00:00
|
|
|
class Car_F: Car {};
|
2018-02-26 18:23:47 +00:00
|
|
|
class Quadbike_01_base_F: Car_F {
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
class GVAR(flip) {
|
|
|
|
displayName = CSTRING(Flip);
|
|
|
|
condition = QUOTE(call DFUNC(canFlip));
|
|
|
|
statement = QUOTE([ARR_3(QQGVAR(flip),_target,_target)] call CBA_fnc_targetEvent);
|
|
|
|
};
|
|
|
|
class GVAR(push) {
|
|
|
|
displayName = CSTRING(Push);
|
|
|
|
condition = QUOTE(_target call FUNC(canPush));
|
|
|
|
statement = QUOTE(call FUNC(push));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class Kart_01_Base_F: Car_F {
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
class GVAR(flip) {
|
|
|
|
displayName = CSTRING(Flip);
|
|
|
|
condition = QUOTE(call DFUNC(canFlip));
|
|
|
|
statement = QUOTE([ARR_3(QQGVAR(flip),_target,_target)] call CBA_fnc_targetEvent);
|
|
|
|
};
|
|
|
|
class GVAR(push) {
|
|
|
|
displayName = CSTRING(Push);
|
|
|
|
condition = QUOTE(_target call FUNC(canPush));
|
|
|
|
statement = QUOTE(call FUNC(push));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class Tank: LandVehicle {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MainAction);
|
2016-02-18 23:20:02 +00:00
|
|
|
position = QUOTE(call DFUNC(getVehiclePos));
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "";
|
2016-02-18 23:20:02 +00:00
|
|
|
distance = 4;
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-05-12 19:30:32 +00:00
|
|
|
class Motorcycle: LandVehicle {
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MainAction);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "";
|
|
|
|
distance = 10;
|
|
|
|
condition = "true";
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class Air;
|
|
|
|
class Helicopter: Air {
|
2016-08-27 08:37:58 +00:00
|
|
|
GVAR(bodyWidth) = 3;
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MainAction);
|
2016-08-27 08:37:58 +00:00
|
|
|
position = QUOTE([ARR_2(_target, EGVAR(interact_menu,cameraPosASL))] call DFUNC(getVehiclePosComplex));
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "";
|
2016-02-18 23:20:02 +00:00
|
|
|
distance = 4;
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
2015-03-01 04:35:06 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class Plane: Air {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MainAction);
|
2016-08-27 08:37:58 +00:00
|
|
|
position = QUOTE([ARR_2(_target, EGVAR(interact_menu,cameraPosASL))] call DFUNC(getVehiclePosComplex));
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "";
|
2016-02-18 23:20:02 +00:00
|
|
|
distance = 4;
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-08-27 08:37:58 +00:00
|
|
|
class VTOL_Base_F;
|
|
|
|
class VTOL_01_base_F: VTOL_Base_F {
|
|
|
|
GVAR(bodyWidth) = 4;
|
|
|
|
GVAR(bodyLength) = 10;
|
|
|
|
};
|
|
|
|
class VTOL_02_base_F: VTOL_Base_F {
|
|
|
|
GVAR(bodyWidth) = 3;
|
|
|
|
GVAR(bodyLength) = 7;
|
|
|
|
};
|
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class Ship;
|
|
|
|
class Ship_F: Ship {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MainAction);
|
2016-02-18 23:20:02 +00:00
|
|
|
position = QUOTE(call DFUNC(getVehiclePos));
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "";
|
2016-02-18 23:20:02 +00:00
|
|
|
distance = 4;
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
2015-01-14 04:47:39 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_Push {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Push);
|
2015-05-09 20:25:48 +00:00
|
|
|
distance = 6;
|
2016-05-13 14:33:15 +00:00
|
|
|
condition = QUOTE(_target call FUNC(canPush));
|
2015-08-11 03:08:13 +00:00
|
|
|
statement = QUOTE(_this call FUNC(push));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-03-01 04:35:06 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
2015-04-29 21:12:47 +00:00
|
|
|
};
|
2015-03-20 03:53:58 +00:00
|
|
|
};
|
2015-03-01 04:35:06 +00:00
|
|
|
|
2018-05-09 15:09:34 +00:00
|
|
|
class Boat_F;
|
|
|
|
class Boat_Transport_02_base_F: Boat_F {
|
|
|
|
GVAR(canPush) = 1;
|
|
|
|
};
|
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class StaticWeapon: LandVehicle {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MainAction);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "gunnerview";
|
2016-02-18 23:20:02 +00:00
|
|
|
distance = 4;
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-09 20:25:48 +00:00
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
2018-02-26 18:23:47 +00:00
|
|
|
class GVAR(flip) {
|
|
|
|
displayName = CSTRING(Flip);
|
|
|
|
condition = QUOTE(call DFUNC(canFlip));
|
|
|
|
statement = QUOTE([ARR_3(QQGVAR(flip),_target,_target)] call CBA_fnc_targetEvent);
|
|
|
|
};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2017-11-17 22:47:58 +00:00
|
|
|
condition = QUOTE(alive _target);
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
2015-03-01 04:35:06 +00:00
|
|
|
};
|
2015-03-20 03:53:58 +00:00
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
|
2015-06-07 05:25:52 +00:00
|
|
|
class StaticMGWeapon: StaticWeapon {};
|
|
|
|
class HMG_01_base_F: StaticMGWeapon {};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-06-07 05:25:52 +00:00
|
|
|
class HMG_01_high_base_F: HMG_01_base_F {
|
2015-09-28 12:35:05 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[-0.172852,0.164063,-0.476091]";
|
|
|
|
};
|
|
|
|
};
|
2015-03-01 04:35:06 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-06-07 05:25:52 +00:00
|
|
|
class AA_01_base_F: StaticMGWeapon {
|
2015-09-28 12:35:05 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0,0.515869,-0.200671]";
|
|
|
|
};
|
|
|
|
};
|
2015-03-20 03:53:58 +00:00
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-06-07 05:25:52 +00:00
|
|
|
class AT_01_base_F: StaticMGWeapon {
|
2015-09-28 12:35:05 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0,0.515869,-0.200671]";
|
|
|
|
};
|
|
|
|
};
|
2015-03-16 14:41:55 +00:00
|
|
|
};
|
|
|
|
|
2016-01-03 14:21:38 +00:00
|
|
|
class ThingX;
|
|
|
|
class ReammoBox_F: ThingX {
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(MainAction);
|
2015-05-09 20:25:48 +00:00
|
|
|
selection = "";
|
|
|
|
distance = 2;
|
|
|
|
condition = "true";
|
2015-06-12 17:48:28 +00:00
|
|
|
class ACE_OpenBox {
|
|
|
|
displayName = CSTRING(OpenBox);
|
2021-06-27 20:24:41 +00:00
|
|
|
condition = QUOTE(alive _target && {!lockedInventory _target} && {getNumber (configOf _target >> 'disableInventory') == 0});
|
2015-06-12 17:48:28 +00:00
|
|
|
statement = QUOTE(_player action [ARR_2(QUOTE(QUOTE(Gear)), _target)]);
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
2015-05-09 20:25:48 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_SelfActions {};
|
2015-03-29 01:35:55 +00:00
|
|
|
};
|
2021-10-26 23:06:04 +00:00
|
|
|
|
|
|
|
class PlasticCase_01_base_F: ThingX {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
displayName = CSTRING(MainAction);
|
|
|
|
selection = "";
|
|
|
|
distance = 2;
|
|
|
|
condition = "true";
|
|
|
|
class ACE_OpenBox {
|
|
|
|
displayName = CSTRING(OpenBox);
|
|
|
|
condition = QUOTE(alive _target && {!lockedInventory _target} && {getNumber (configOf _target >> 'disableInventory') == 0});
|
|
|
|
statement = QUOTE(_player action [ARR_2(QUOTE(QUOTE(Gear)), _target)]);
|
|
|
|
showDisabled = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_SelfActions {};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2016-05-30 22:11:06 +00:00
|
|
|
class Slingload_base_F: ReammoBox_F {};
|
2017-06-14 13:35:17 +00:00
|
|
|
class Slingload_01_Base_F: Slingload_base_F {
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
distance = 5;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-05-30 22:11:06 +00:00
|
|
|
class Pod_Heli_Transport_04_base_F: Slingload_base_F {
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
distance = 5;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-03-29 01:35:55 +00:00
|
|
|
|
2016-01-03 14:21:38 +00:00
|
|
|
class ACE_RepairItem_Base: ThingX {
|
2015-07-03 20:29:29 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
displayName = CSTRING(MainAction);
|
|
|
|
selection = "";
|
|
|
|
distance = 2;
|
|
|
|
condition = "true";
|
|
|
|
};
|
|
|
|
};
|
2015-09-28 12:35:05 +00:00
|
|
|
|
2015-07-03 20:29:29 +00:00
|
|
|
class ACE_SelfActions {};
|
|
|
|
};
|
2015-11-01 21:38:55 +00:00
|
|
|
|
2015-08-22 18:00:26 +00:00
|
|
|
class Lamps_base_F;
|
|
|
|
class Land_PortableLight_single_F: Lamps_base_F {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
2016-02-05 02:41:18 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
displayName = CSTRING(MainAction);
|
|
|
|
distance = 2;
|
2018-02-26 18:12:21 +00:00
|
|
|
|
|
|
|
class GVAR(TurnOn) {
|
2016-02-05 02:41:18 +00:00
|
|
|
displayName = CSTRING(TurnOn);
|
2018-02-26 18:12:21 +00:00
|
|
|
icon = "\A3\Ui_f\data\IGUI\Cfg\VehicleToggles\LightsIconOn_ca.paa";
|
2018-08-17 01:52:13 +00:00
|
|
|
condition = QUOTE(alive _target && !(_target getVariable [ARR_2(QQGVAR(isLightOn),true)]));
|
|
|
|
statement = QUOTE([ARR_3(QQGVAR(setLight),[ARR_2(_target,true)],_target)] call CBA_fnc_targetEvent);
|
2016-02-05 02:41:18 +00:00
|
|
|
};
|
2018-02-26 18:12:21 +00:00
|
|
|
class GVAR(TurnOff) {
|
2016-02-05 02:41:18 +00:00
|
|
|
displayName = CSTRING(TurnOff);
|
2018-02-26 18:12:21 +00:00
|
|
|
icon = "\A3\ui_f\data\igui\cfg\actions\ico_cpt_land_OFF_ca.paa";
|
2018-08-17 01:52:13 +00:00
|
|
|
condition = QUOTE(alive _target && _target getVariable [ARR_2(QQGVAR(isLightOn),true)]);
|
|
|
|
statement = QUOTE([ARR_3(QQGVAR(setLight),[ARR_2(_target,false)],_target)] call CBA_fnc_targetEvent);
|
2016-02-05 02:41:18 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-08-22 18:00:26 +00:00
|
|
|
};
|
2018-02-26 18:12:21 +00:00
|
|
|
|
|
|
|
class FloatingStructure_F;
|
|
|
|
class Land_Camping_Light_F: FloatingStructure_F {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
displayName = CSTRING(MainAction);
|
|
|
|
distance = 2;
|
|
|
|
|
|
|
|
class GVAR(TurnOn) {
|
|
|
|
displayName = CSTRING(TurnOn);
|
|
|
|
icon = "\A3\Ui_f\data\IGUI\Cfg\VehicleToggles\LightsIconOn_ca.paa";
|
|
|
|
condition = QUOTE(alive _target && !isCollisionLightOn _target);
|
|
|
|
statement = QUOTE([ARR_3(QQGVAR(setCollisionLight),[ARR_2(_target,true)],_target)] call CBA_fnc_targetEvent);
|
|
|
|
};
|
|
|
|
class GVAR(TurnOff) {
|
|
|
|
displayName = CSTRING(TurnOff);
|
|
|
|
icon = "\A3\ui_f\data\igui\cfg\actions\ico_cpt_land_OFF_ca.paa";
|
|
|
|
condition = QUOTE(alive _target && isCollisionLightOn _target);
|
|
|
|
statement = QUOTE([ARR_3(QQGVAR(setCollisionLight),[ARR_2(_target,false)],_target)] call CBA_fnc_targetEvent);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-08-22 18:00:26 +00:00
|
|
|
};
|
2016-05-03 00:32:44 +00:00
|
|
|
|
2019-02-24 19:36:50 +00:00
|
|
|
class Land_Camping_Light_off_F: ThingX {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
displayName = CSTRING(MainAction);
|
|
|
|
distance = 2;
|
|
|
|
|
|
|
|
// to make "Camping Lantern (Off)" be turned on we replace it with "Camping Lantern"
|
|
|
|
class GVAR(TurnOn) {
|
|
|
|
displayName = CSTRING(TurnOn);
|
|
|
|
icon = "\A3\Ui_f\data\IGUI\Cfg\VehicleToggles\LightsIconOn_ca.paa";
|
|
|
|
condition = QUOTE(alive _target);
|
|
|
|
statement = QUOTE(\
|
|
|
|
private _position = getPosATL _target;\
|
|
|
|
private _vectorDirAndUp = [ARR_2(vectorDir _target,vectorUp _target)];\
|
|
|
|
deleteVehicle _target;\
|
|
|
|
private _newLamp = 'Land_Camping_Light_F' createVehicle [ARR_3(0,0,0)];\
|
|
|
|
_newLamp setPosATL _position;\
|
|
|
|
_newLamp setVectorDirAndUp _vectorDirAndUp;\
|
|
|
|
);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-03 14:21:38 +00:00
|
|
|
class RoadCone_F: ThingX {
|
2015-11-01 21:38:55 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
displayName = CSTRING(MainAction);
|
|
|
|
selection = "";
|
|
|
|
distance = 2;
|
|
|
|
condition = "true";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class RoadBarrier_F: RoadCone_F {
|
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_MainActions: ACE_MainActions {
|
|
|
|
position = "[0,0,0.500671]";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-03-01 04:35:06 +00:00
|
|
|
};
|