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);
|
|
|
|
function = "ACE_Interaction_fnc_moduleInteraction";
|
|
|
|
scope = 2;
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
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 = "";
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 3.3;
|
|
|
|
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));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 3;
|
|
|
|
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));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 1;
|
|
|
|
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 = "";
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 3.2;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_management_ca.paa);
|
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));
|
|
|
|
statement = QUOTE([ARR_2(_target,'RED')] call DFUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_red_ca.paa);
|
2015-05-09 20:25:48 +00:00
|
|
|
priority = 2.4;
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
statement = QUOTE([ARR_2(_target,'GREEN')] call DFUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_green_ca.paa);
|
2015-05-09 20:25:48 +00:00
|
|
|
priority = 2.3;
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
statement = QUOTE([ARR_2(_target,'BLUE')] call DFUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_blue_ca.paa);
|
2015-05-09 20:25:48 +00:00
|
|
|
priority = 2.2;
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
statement = QUOTE([ARR_2(_target,'YELLOW')] call DFUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_yellow_ca.paa);
|
2015-05-09 20:25:48 +00:00
|
|
|
priority = 2.1;
|
|
|
|
};
|
|
|
|
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'});
|
|
|
|
statement = QUOTE([ARR_2(_target,'MAIN')] call DFUNC(joinTeam));
|
|
|
|
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
|
|
|
priority = 2.5;
|
|
|
|
};
|
|
|
|
};
|
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);
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2.6;
|
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;
|
|
|
|
priority = 2.2;
|
|
|
|
};
|
|
|
|
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));
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2.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));
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2.5;
|
|
|
|
};
|
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));
|
2015-12-23 07:19:41 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2.6;
|
2015-12-23 18:49:17 +00:00
|
|
|
};
|
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 = "";
|
|
|
|
};
|
|
|
|
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 = "";
|
|
|
|
};
|
|
|
|
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 = "";
|
|
|
|
};
|
|
|
|
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 = "";
|
|
|
|
};
|
|
|
|
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 = "";
|
|
|
|
};
|
|
|
|
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 = "";
|
|
|
|
};
|
|
|
|
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 = "";
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
};
|
|
|
|
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));
|
|
|
|
};
|
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));
|
2015-08-30 20:03:45 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSitting", "isNotOnLadder"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 3.2;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_management_ca.paa);
|
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);
|
2015-08-30 20:03:45 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSitting", "isNotOnLadder"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,'RED')] call DFUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2.4;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_red_ca.paa);
|
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);
|
2015-08-30 20:03:45 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSitting", "isNotOnLadder"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,'GREEN')] call DFUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2.3;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_green_ca.paa);
|
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);
|
2015-08-30 20:03:45 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSitting", "isNotOnLadder"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,'BLUE')] call DFUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2.2;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_blue_ca.paa);
|
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);
|
2015-08-30 20:03:45 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSitting", "isNotOnLadder"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,'YELLOW')] call DFUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2.1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_yellow_ca.paa);
|
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');
|
2015-08-30 20:03:45 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSitting", "isNotOnLadder"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,'MAIN')] call DFUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2.5;
|
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_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));
|
2015-08-30 20:03:45 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSitting", "isNotOnLadder"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = QUOTE(_this call DFUNC(doBecomeLeader));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.0;
|
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);
|
2015-08-30 20:03:45 +00:00
|
|
|
exceptions[] = {"isNotInside", "isNotSitting", "isNotOnLadder"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = QUOTE(_oldGroup = units group _player; _newGroup = createGroup side _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.2;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\team\team_management_ca.paa);
|
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);
|
2015-08-30 20:03:45 +00:00
|
|
|
exceptions[] = {"isNotInside", "notOnMap", "isNotSitting"};
|
2015-05-09 20:25:48 +00:00
|
|
|
statement = "";
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 4.5;
|
|
|
|
icon = ""; // @todo
|
|
|
|
};
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
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 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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
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));
|
2015-05-09 20:25:48 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
priority = -1;
|
|
|
|
};
|
|
|
|
class ACE_Passengers {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Passengers);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
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
|
|
|
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call DFUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
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);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "true";
|
|
|
|
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-09-28 12:35:05 +00:00
|
|
|
|
2015-06-12 17:48:28 +00:00
|
|
|
class ACE_OpenBox {
|
|
|
|
displayName = CSTRING(OpenBox);
|
|
|
|
condition = QUOTE(alive _target);
|
|
|
|
statement = QUOTE(_player action [ARR_2(QUOTE(QUOTE(Gear)), _target)]);
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = -1;
|
|
|
|
};
|
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 {};
|
2015-03-29 01:35:55 +00:00
|
|
|
};
|
2016-05-30 22:11:06 +00:00
|
|
|
class Slingload_base_F: ReammoBox_F {};
|
|
|
|
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 {};
|
|
|
|
};
|
|
|
|
|
2015-08-22 18:00:26 +00:00
|
|
|
scope = 2;
|
2016-02-05 02:41:18 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
displayName = CSTRING(MainAction);
|
|
|
|
selection = "";
|
|
|
|
distance = 2;
|
|
|
|
condition = "true";
|
|
|
|
class ACE_LampTurnOn {
|
|
|
|
displayName = CSTRING(TurnOn);
|
|
|
|
condition = QUOTE(alive _target && !(_target getVariable [ARR_2('ACE_lampOn',true)]));
|
|
|
|
statement = QUOTE(_target call DFUNC(switchLamp));
|
|
|
|
selection = "";
|
|
|
|
distance = 2;
|
|
|
|
};
|
|
|
|
class ACE_LampTurnOff {
|
|
|
|
displayName = CSTRING(TurnOff);
|
|
|
|
condition = QUOTE(alive _target && _target getVariable [ARR_2('ACE_lampOn',true)]);
|
|
|
|
statement = QUOTE(_target call DFUNC(switchLamp));
|
|
|
|
selection = "";
|
|
|
|
distance = 2;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-08-22 18:00:26 +00:00
|
|
|
};
|
|
|
|
class Land_PortableLight_single_off_F: Land_PortableLight_single_F {
|
|
|
|
scope = 1;
|
|
|
|
};
|
2016-02-05 02:41:18 +00:00
|
|
|
class Land_PortableLight_double_F: Land_PortableLight_single_F {};
|
2015-08-22 18:00:26 +00:00
|
|
|
class Land_PortableLight_double_off_F: Land_PortableLight_double_F {
|
|
|
|
scope = 1;
|
|
|
|
};
|
2016-05-03 00:32:44 +00:00
|
|
|
|
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
|
|
|
};
|