2015-01-14 04:47:39 +00:00
|
|
|
class CfgVehicles {
|
|
|
|
|
|
|
|
class Module_F;
|
|
|
|
class ACE_ModuleInteraction: Module_F {
|
2015-01-14 13:28:04 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-14 04:47:39 +00:00
|
|
|
category = "ACE";
|
|
|
|
displayName = "Interaction System";
|
|
|
|
function = "ACE_Interaction_fnc_moduleInteraction";
|
|
|
|
scope = 2;
|
|
|
|
isGlobal = 1;
|
2015-03-23 19:02:35 +00:00
|
|
|
icon = PATHTOF(UI\Icon_Module_Interaction_ca.paa);
|
2015-01-14 04:47:39 +00:00
|
|
|
class Arguments {
|
|
|
|
class EnableTeamManagement {
|
|
|
|
displayName = "Enable Team Management";
|
|
|
|
description = "Should players be allowed to use the Team Management Menu? Default: Yes";
|
|
|
|
typeName = "BOOL";
|
|
|
|
class values {
|
|
|
|
class Yes { default = 1; name = "Yes"; value = 1;};
|
|
|
|
class No { name = "No"; value = 0; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class Man;
|
|
|
|
class CAManBase: Man {
|
|
|
|
class ACE_Actions {
|
2015-02-19 18:36:27 +00:00
|
|
|
class ACE_MainActions {
|
|
|
|
displayName = "$STR_ACE_Interaction_MainAction";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-02-19 18:36:27 +00:00
|
|
|
condition = QUOTE(true);
|
2015-01-14 04:47:39 +00:00
|
|
|
statement = "";
|
2015-02-19 18:36:27 +00:00
|
|
|
icon = "\a3\ui_f\data\IGUI\Cfg\Actions\eject_ca.paa";
|
2015-03-21 14:01:38 +00:00
|
|
|
selection = "pelvis";
|
2015-01-14 04:47:39 +00:00
|
|
|
|
2015-02-19 18:36:27 +00:00
|
|
|
class ACE_TeamManagement {
|
|
|
|
displayName = "$STR_ACE_Interaction_TeamManagement";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-02-19 18:36:27 +00:00
|
|
|
condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player} && {GVAR(EnableTeamManagement)});
|
|
|
|
statement = "";
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 3.2;
|
|
|
|
icon = PATHTOF(UI\team\team_management_ca.paa);
|
|
|
|
hotkey = "M";
|
|
|
|
|
|
|
|
class ACE_JoinTeamRed {
|
|
|
|
displayName = "$STR_ACE_Interaction_JoinTeamRed";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-02-19 18:36:27 +00:00
|
|
|
condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player});
|
|
|
|
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_JoinTeamGreen {
|
|
|
|
displayName = "$STR_ACE_Interaction_JoinTeamGreen";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-02-19 18:36:27 +00:00
|
|
|
condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player});
|
|
|
|
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_JoinTeamBlue {
|
|
|
|
displayName = "$STR_ACE_Interaction_JoinTeamBlue";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-02-19 18:36:27 +00:00
|
|
|
condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player});
|
|
|
|
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_JoinTeamYellow {
|
|
|
|
displayName = "$STR_ACE_Interaction_JoinTeamYellow";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-02-19 18:36:27 +00:00
|
|
|
condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player});
|
|
|
|
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_LeaveTeam {
|
|
|
|
displayName = "$STR_ACE_Interaction_LeaveTeam";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-02-19 18:36:27 +00:00
|
|
|
condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player} && {assignedTeam _player != '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-01-14 04:47:39 +00:00
|
|
|
};
|
2015-02-19 18:36:27 +00:00
|
|
|
|
|
|
|
class ACE_JoinGroup {
|
|
|
|
displayName = "$STR_ACE_Interaction_JoinGroup";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-02-19 18:36:27 +00:00
|
|
|
condition = QUOTE(side group _player == side group _target && {group _player != group _target});
|
|
|
|
statement = QUOTE([_player] joinSilent group _target;);
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2.6;
|
|
|
|
icon = PATHTOF(UI\team\team_management_ca.paa);
|
|
|
|
hotkey = "J";
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
2015-02-19 18:36:27 +00:00
|
|
|
|
|
|
|
class ACE_GetDown {
|
|
|
|
displayName = "$STR_ACE_Interaction_GetDown";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-03-03 02:30:11 +00:00
|
|
|
condition = QUOTE([_target] call DFUNC(canInteractWithCivilian));
|
2015-02-19 18:36:27 +00:00
|
|
|
statement = QUOTE([_target] call DFUNC(getDown));
|
|
|
|
showDisabled = 0;
|
2015-01-14 04:47:39 +00:00
|
|
|
priority = 2.2;
|
|
|
|
};
|
2015-02-19 18:36:27 +00:00
|
|
|
class ACE_SendAway {
|
|
|
|
displayName = "$STR_ACE_Interaction_SendAway";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-03-03 02:30:11 +00:00
|
|
|
condition = QUOTE([_target] call DFUNC(canInteractWithCivilian));
|
2015-02-19 18:36:27 +00:00
|
|
|
statement = QUOTE([_target] call DFUNC(sendAway));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = 2.0;
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
2015-02-19 18:36:27 +00:00
|
|
|
class ACE_Pardon {
|
|
|
|
displayName = "$STR_ACE_Interaction_Pardon";
|
2015-02-28 20:48:46 +00:00
|
|
|
distance = 5;
|
2015-02-19 18:36:27 +00:00
|
|
|
condition = QUOTE(rating _target < -2000 && {alive _target} && {side group _player == side group _target});
|
|
|
|
statement = QUOTE([ARR_3(_target,'{_this addRating -rating _this}',_target)] call DEFUNC(common,execRemoteFnc));
|
|
|
|
showDisabled = 0;
|
2015-01-14 04:47:39 +00:00
|
|
|
priority = 2.5;
|
|
|
|
};
|
|
|
|
};
|
2015-03-21 14:01:38 +00:00
|
|
|
class ACE_Torso {
|
|
|
|
displayName = "$STR_ACE_Interaction_Torso";
|
|
|
|
selection = "spine3";
|
|
|
|
distance = 1.50;
|
|
|
|
condition = "";
|
|
|
|
statement = "";
|
|
|
|
};
|
2015-03-01 03:52:08 +00:00
|
|
|
class ACE_Head {
|
|
|
|
displayName = "$STR_ACE_Interaction_Head";
|
|
|
|
selection = "pilot";
|
2015-03-21 14:01:38 +00:00
|
|
|
distance = 1.50;
|
2015-03-01 03:52:08 +00:00
|
|
|
condition = "";
|
|
|
|
statement = "";
|
|
|
|
};
|
|
|
|
class ACE_ArmLeft {
|
|
|
|
displayName = "$STR_ACE_Interaction_ArmLeft";
|
|
|
|
selection = "LeftForeArm";
|
2015-03-21 14:01:38 +00:00
|
|
|
distance = 1.50;
|
2015-03-01 03:52:08 +00:00
|
|
|
condition = "";
|
|
|
|
statement = "";
|
|
|
|
};
|
|
|
|
class ACE_ArmRight {
|
|
|
|
displayName = "$STR_ACE_Interaction_ArmRight";
|
|
|
|
selection = "RightForeArm";
|
2015-03-21 14:01:38 +00:00
|
|
|
distance = 1.50;
|
2015-03-01 03:52:08 +00:00
|
|
|
condition = "";
|
|
|
|
statement = "";
|
|
|
|
};
|
|
|
|
class ACE_LegLeft {
|
|
|
|
displayName = "$STR_ACE_Interaction_LegLeft";
|
|
|
|
selection = "LKnee";
|
2015-03-21 14:01:38 +00:00
|
|
|
distance = 1.50;
|
2015-03-01 03:52:08 +00:00
|
|
|
condition = "";
|
|
|
|
statement = "";
|
|
|
|
};
|
|
|
|
class ACE_LegRight {
|
|
|
|
displayName = "$STR_ACE_Interaction_LegRight";
|
|
|
|
selection = "RKnee";
|
2015-03-21 14:01:38 +00:00
|
|
|
distance = 1.50;
|
2015-03-01 03:52:08 +00:00
|
|
|
condition = "";
|
|
|
|
statement = "";
|
|
|
|
};
|
2015-03-01 04:32:21 +00:00
|
|
|
class ACE_Weapon {
|
|
|
|
displayName = "$STR_ACE_Interaction_Weapon";
|
|
|
|
selection = "weapon";
|
2015-03-21 14:01:38 +00:00
|
|
|
distance = 1.50;
|
2015-03-01 04:32:21 +00:00
|
|
|
condition = "";
|
|
|
|
statement = "";
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
|
2015-02-19 22:45:46 +00:00
|
|
|
class ACE_TapShoulderRight {
|
2015-01-14 04:47:39 +00:00
|
|
|
displayName = "$STR_ACE_Interaction_TapShoulder";
|
2015-02-19 18:36:27 +00:00
|
|
|
selection = "rightshoulder";
|
2015-02-19 22:45:46 +00:00
|
|
|
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 {
|
|
|
|
displayName = "$STR_ACE_Interaction_TapShoulder";
|
|
|
|
selection = "leftshoulder";
|
|
|
|
distance = 2.0;
|
2015-01-14 04:47:39 +00:00
|
|
|
condition = QUOTE([ARR_2(_player, _target)] call DFUNC(canTapShoulder));
|
2015-02-19 22:45:46 +00:00
|
|
|
statement = QUOTE([ARR_3(_player, _target, 1)] call DFUNC(tapShoulder));
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_TeamManagement {
|
|
|
|
displayName = "$STR_ACE_Interaction_TeamManagement";
|
|
|
|
condition = QUOTE(GVAR(EnableTeamManagement));
|
2015-03-24 18:43:49 +00:00
|
|
|
exceptions[] = {"isNotInside"};
|
2015-01-14 04:47:39 +00:00
|
|
|
statement = "";
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 3.2;
|
|
|
|
icon = PATHTOF(UI\team\team_management_ca.paa);
|
|
|
|
hotkey = "M";
|
|
|
|
|
|
|
|
class ACE_JoinTeamRed {
|
|
|
|
displayName = "$STR_ACE_Interaction_JoinTeamRed";
|
|
|
|
condition = QUOTE(true);
|
2015-03-24 18:43:49 +00:00
|
|
|
exceptions[] = {"isNotInside"};
|
2015-01-14 04:47:39 +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 {
|
|
|
|
displayName = "$STR_ACE_Interaction_JoinTeamGreen";
|
|
|
|
condition = QUOTE(true);
|
2015-03-24 18:43:49 +00:00
|
|
|
exceptions[] = {"isNotInside"};
|
2015-01-14 04:47:39 +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 {
|
|
|
|
displayName = "$STR_ACE_Interaction_JoinTeamBlue";
|
|
|
|
condition = QUOTE(true);
|
2015-03-24 18:43:49 +00:00
|
|
|
exceptions[] = {"isNotInside"};
|
2015-01-14 04:47:39 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,'BLUE')] call FUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2.2;
|
|
|
|
icon = PATHTOF(UI\team\team_blue_ca.paa);
|
|
|
|
hotkey = "B";
|
|
|
|
};
|
|
|
|
class ACE_JoinTeamYellow {
|
|
|
|
displayName = "$STR_ACE_Interaction_JoinTeamYellow";
|
|
|
|
condition = QUOTE(true);
|
2015-03-24 18:43:49 +00:00
|
|
|
exceptions[] = {"isNotInside"};
|
2015-01-14 04:47:39 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,'YELLOW')] call FUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2.1;
|
|
|
|
icon = PATHTOF(UI\team\team_yellow_ca.paa);
|
|
|
|
hotkey = "Y";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_LeaveTeam {
|
|
|
|
displayName = "$STR_ACE_Interaction_LeaveTeam";
|
|
|
|
condition = QUOTE(assignedTeam _player != 'MAIN');
|
2015-03-24 18:43:49 +00:00
|
|
|
exceptions[] = {"isNotInside"};
|
2015-01-14 04:47:39 +00:00
|
|
|
statement = QUOTE([ARR_2(_player,'MAIN')] call FUNC(joinTeam));
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2.5;
|
|
|
|
icon = PATHTOF(UI\team\team_white_ca.paa);
|
|
|
|
hotkey = "N";
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_BecomeLeader {
|
|
|
|
displayName = "$STR_ACE_Interaction_BecomeLeader";
|
|
|
|
condition = QUOTE(count (units group _player) > 1 && {leader group _player != _player});
|
2015-03-24 18:43:49 +00:00
|
|
|
exceptions[] = {"isNotInside"};
|
2015-01-14 04:47:39 +00:00
|
|
|
statement = QUOTE(_newGroup = createGroup side group _player; (units group _player) joinSilent _newGroup; _newGroup selectLeader _player;);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.0;
|
|
|
|
icon = PATHTOF(UI\team\team_white_ca.paa);
|
|
|
|
hotkey = "L";
|
|
|
|
};
|
|
|
|
class ACE_LeaveGroup {
|
|
|
|
displayName = "$STR_ACE_Interaction_LeaveGroup";
|
|
|
|
condition = QUOTE(count (units group _player) > 1);
|
2015-03-24 18:43:49 +00:00
|
|
|
exceptions[] = {"isNotInside"};
|
2015-01-14 04:47:39 +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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Gestures {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures";
|
|
|
|
condition = "canStand _target";
|
|
|
|
statement = "";
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 3.5;
|
|
|
|
icon = PATHTOF(UI\gestures_ca.paa);
|
|
|
|
hotkey = "G";
|
|
|
|
|
|
|
|
/*class ACE_Gesture_Advance {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Attack";
|
|
|
|
condition = "canStand _target";
|
|
|
|
statement = "_target playActionNow 'gestureAttack';";
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 2.0;
|
|
|
|
};*/
|
|
|
|
class ACE_Gesture_Advance {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Advance";
|
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureAdvance';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.9;
|
|
|
|
hotkey = "1";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Go {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Go";
|
|
|
|
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 {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Follow";
|
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureFollow';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.7;
|
|
|
|
hotkey = "3";
|
|
|
|
};
|
|
|
|
/*class ACE_Gesture_Point {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Point";
|
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gesturePoint';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.6;
|
|
|
|
};*/
|
|
|
|
class ACE_Gesture_Up {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Up";
|
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureUp';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.5;
|
|
|
|
hotkey = "4";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Cover {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Cover";
|
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureCover';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.4;
|
|
|
|
hotkey = "5";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_CeaseFire {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Cease_Fire";
|
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureCeaseFire';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.3;
|
|
|
|
hotkey = "6";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Freeze {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Freeze";
|
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureFreeze';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.2;
|
|
|
|
hotkey = "7";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Yes {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Yes";
|
|
|
|
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 {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_No";
|
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow 'gestureNo';);
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1.0;
|
|
|
|
hotkey = "9";
|
|
|
|
};
|
|
|
|
class ACE_Gesture_Hi {
|
|
|
|
displayName = "$STR_ACE_Interaction_Gestures_Hi";
|
|
|
|
condition = QUOTE(canStand _target);
|
|
|
|
statement = QUOTE(_target playActionNow ([ARR_3('gestureHi','gestureHiB','gestureHiC')] select floor random 3););
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 0.9;
|
|
|
|
hotkey = "0";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class ACE_Equipment {
|
|
|
|
displayName = "$STR_ACE_Interaction_Equipment";
|
|
|
|
condition = QUOTE(true);
|
2015-03-24 19:06:03 +00:00
|
|
|
exceptions[] = {"isNotInside","notOnMap"};
|
2015-01-14 04:47:39 +00:00
|
|
|
statement = "";
|
|
|
|
showDisabled = 1;
|
|
|
|
priority = 4.5;
|
|
|
|
icon = ""; // @todo
|
|
|
|
hotkey = "E";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
class LandVehicle;
|
|
|
|
class Car: LandVehicle {
|
2015-03-01 04:35:06 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-03-01 21:47:49 +00:00
|
|
|
displayName = "$STR_ACE_Interaction_MainAction";
|
2015-03-01 04:35:06 +00:00
|
|
|
selection = "";
|
2015-03-01 21:47:49 +00:00
|
|
|
distance = 10;
|
2015-03-01 04:35:06 +00:00
|
|
|
condition = "true";
|
|
|
|
};
|
|
|
|
};
|
2015-03-20 03:53:58 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
|
|
|
displayName = "$STR_ACE_Interaction_Passengers";
|
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call FUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
class Tank: LandVehicle {
|
2015-03-01 04:35:06 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-03-01 21:47:49 +00:00
|
|
|
displayName = "$STR_ACE_Interaction_MainAction";
|
2015-03-01 04:35:06 +00:00
|
|
|
selection = "";
|
2015-03-01 21:47:49 +00:00
|
|
|
distance = 10;
|
2015-03-01 04:35:06 +00:00
|
|
|
condition = "true";
|
|
|
|
};
|
|
|
|
};
|
2015-03-20 03:53:58 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
|
|
|
displayName = "$STR_ACE_Interaction_Passengers";
|
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call FUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class Air;
|
|
|
|
class Helicopter: Air {
|
2015-03-01 04:35:06 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-03-01 21:47:49 +00:00
|
|
|
displayName = "$STR_ACE_Interaction_MainAction";
|
2015-03-01 04:35:06 +00:00
|
|
|
selection = "";
|
2015-03-01 21:47:49 +00:00
|
|
|
distance = 10;
|
2015-03-01 04:35:06 +00:00
|
|
|
condition = "true";
|
|
|
|
};
|
|
|
|
};
|
2015-03-20 03:53:58 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
|
|
|
displayName = "$STR_ACE_Interaction_Passengers";
|
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call FUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
class Plane: Air {
|
2015-03-01 04:35:06 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-03-01 21:47:49 +00:00
|
|
|
displayName = "$STR_ACE_Interaction_MainAction";
|
2015-03-01 04:35:06 +00:00
|
|
|
selection = "";
|
2015-03-01 21:47:49 +00:00
|
|
|
distance = 10;
|
2015-03-01 04:35:06 +00:00
|
|
|
condition = "true";
|
|
|
|
};
|
|
|
|
};
|
2015-03-20 03:53:58 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
|
|
|
displayName = "$STR_ACE_Interaction_Passengers";
|
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call FUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class Ship;
|
|
|
|
class Ship_F: Ship {
|
|
|
|
class ACE_Actions {
|
2015-03-01 04:35:06 +00:00
|
|
|
class ACE_MainActions {
|
2015-03-01 21:47:49 +00:00
|
|
|
displayName = "$STR_ACE_Interaction_MainAction";
|
2015-03-01 04:35:06 +00:00
|
|
|
selection = "";
|
2015-03-01 21:47:49 +00:00
|
|
|
distance = 10;
|
2015-03-01 04:35:06 +00:00
|
|
|
condition = "true";
|
|
|
|
|
|
|
|
class ACE_Push {
|
|
|
|
displayName = "$STR_ACE_Interaction_Push";
|
|
|
|
distance = 6;
|
|
|
|
condition = QUOTE(getMass _target < 1000 && {alive _target});
|
|
|
|
statement = QUOTE([ARR_2(_target, [ARR_3(2 * (vectorDir _player select 0), 2 * (vectorDir _player select 1), 0.5)])] call FUNC(push););
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = -1;
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
};
|
2015-03-20 03:53:58 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
|
|
|
displayName = "$STR_ACE_Interaction_Passengers";
|
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call FUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class StaticWeapon: LandVehicle {
|
2015-03-01 04:35:06 +00:00
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
2015-03-01 21:47:49 +00:00
|
|
|
displayName = "$STR_ACE_Interaction_MainAction";
|
2015-03-06 04:35:12 +00:00
|
|
|
selection = "gunnerview";
|
|
|
|
distance = 2;
|
2015-03-01 04:35:06 +00:00
|
|
|
condition = "true";
|
|
|
|
};
|
|
|
|
};
|
2015-03-20 03:53:58 +00:00
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_Passengers {
|
|
|
|
displayName = "$STR_ACE_Interaction_Passengers";
|
|
|
|
condition = "true";
|
|
|
|
statement = "";
|
|
|
|
insertChildren = QUOTE(_this call FUNC(addPassengersActions));
|
|
|
|
};
|
|
|
|
};
|
2015-01-14 04:47:39 +00:00
|
|
|
};
|
|
|
|
|
2015-03-16 14:41:55 +00:00
|
|
|
class thingX;
|
|
|
|
class ReammoBox_F: thingX {
|
|
|
|
class ACE_Actions {
|
|
|
|
class ACE_MainActions {
|
|
|
|
displayName = "$STR_ACE_Interaction_MainAction";
|
|
|
|
selection = "";
|
|
|
|
distance = 2;
|
|
|
|
condition = "true";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class ACE_SelfActions {};
|
|
|
|
};
|
|
|
|
|
2015-03-01 04:35:06 +00:00
|
|
|
};
|