2015-09-28 12:35:05 +00:00
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\Icon_Module_Interaction_ca.paa);
|
|
|
|
|
|
|
|
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-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;
|
|
|
|
icon = PATHTOF(UI\team\team_management_ca.paa);
|
|
|
|
hotkey = "M";
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_red_ca.paa);
|
|
|
|
priority = 2.4;
|
|
|
|
hotkey = "R";
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_green_ca.paa);
|
|
|
|
priority = 2.3;
|
|
|
|
hotkey = "G";
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_blue_ca.paa);
|
|
|
|
priority = 2.2;
|
|
|
|
hotkey = "B";
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_yellow_ca.paa);
|
|
|
|
priority = 2.1;
|
|
|
|
hotkey = "Y";
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_white_ca.paa);
|
|
|
|
priority = 2.5;
|
|
|
|
hotkey = "N";
|
|
|
|
};
|
|
|
|
};
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_management_ca.paa);
|
|
|
|
hotkey = "J";
|
|
|
|
};
|
|
|
|
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-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;
|
|
|
|
icon = PATHTOF(UI\team\team_management_ca.paa);
|
|
|
|
hotkey = "M";
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_red_ca.paa);
|
|
|
|
hotkey = "R";
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_green_ca.paa);
|
|
|
|
hotkey = "G";
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_blue_ca.paa);
|
|
|
|
hotkey = "B";
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_yellow_ca.paa);
|
|
|
|
hotkey = "Y";
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_white_ca.paa);
|
|
|
|
hotkey = "N";
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_white_ca.paa);
|
|
|
|
hotkey = "L";
|
|
|
|
};
|
|
|
|
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;
|
|
|
|
icon = PATHTOF(UI\team\team_management_ca.paa);
|
|
|
|
hotkey = "M";
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class ACE_Gestures {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "canStand _target";
|
|
|
|
statement = "";
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 3.5;
|
|
|
|
icon = PATHTOF(UI\gestures_ca.paa);
|
|
|
|
hotkey = "G";
|
2015-01-14 04:47:39 +00:00
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
/*class ACE_Gesture_Advance {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures_Attack);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = "canStand _target";
|
|
|
|
statement = "_target playActionNow 'gestureAttack';";
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2.0;
|
|
|
|
};*/
|
|
|
|
class ACE_Gesture_Advance {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures_Advance);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureAdvance';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.9;
|
|
|
|
hotkey = "1";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Go {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures_Go);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow ([ARR_2('gestureGo','gestureGoB')] select floor random 2););
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.8;
|
|
|
|
hotkey = "2";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Follow {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures_Follow);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureFollow';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.7;
|
|
|
|
hotkey = "3";
|
|
|
|
};
|
|
|
|
/*class ACE_Gesture_Point {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures_Point);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gesturePoint';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.6;
|
|
|
|
};*/
|
|
|
|
class ACE_Gesture_Up {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures_Up);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureUp';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.5;
|
|
|
|
hotkey = "4";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Cover {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures_Cover);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureCover';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.4;
|
|
|
|
hotkey = "5";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_CeaseFire {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures_Cease_Fire);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureCeaseFire';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.3;
|
|
|
|
hotkey = "6";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Freeze {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures_Freeze);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureFreeze';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.2;
|
|
|
|
hotkey = "7";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Yes {
|
2015-08-08 16:02:20 +00:00
|
|
|
displayName = ECSTRING(common,Yes);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow ([ARR_2('gestureYes','gestureNod')] select floor random 2););
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.1;
|
|
|
|
hotkey = "8";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_No {
|
2015-08-08 16:02:20 +00:00
|
|
|
displayName = ECSTRING(common,No);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureNo';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.0;
|
|
|
|
hotkey = "9";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Hi {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Gestures_Hi);
|
2015-05-09 20:25:48 +00:00
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow ([ARR_3('gestureHi','gestureHiB','gestureHiC')] select floor random 3););
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 0.9;
|
|
|
|
hotkey = "0";
|
|
|
|
};
|
|
|
|
};
|
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
|
|
|
|
hotkey = "E";
|
|
|
|
};
|
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);
|
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
|
|
|
};
|
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);
|
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 {
|
|
|
|
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-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);
|
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 Ship;
|
|
|
|
class Ship_F: Ship {
|
|
|
|
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";
|
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;
|
2015-09-28 12:35:05 +00:00
|
|
|
condition = QUOTE(getMass _target <= 2600 && {alive _target} && {vectorMagnitude velocity _target < 3});
|
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";
|
|
|
|
distance = 2;
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2015-05-09 20:25:48 +00:00
|
|
|
class thingX;
|
|
|
|
class ReammoBox_F: thingX {
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2015-07-03 20:29:29 +00:00
|
|
|
class ACE_RepairItem_Base: thingX {
|
|
|
|
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-03-01 04:35:06 +00:00
|
|
|
};
|