Moved base ACE_ZeusActions to ace_interaction

This commit is contained in:
SilentSpike 2015-06-06 17:33:13 +01:00
parent 5cc6abd49a
commit 822dd11ec6
4 changed files with 26 additions and 16 deletions

View File

@ -23,5 +23,3 @@ class CfgPatches {
class ACE_Extensions { class ACE_Extensions {
extensions[] += {"ace_break_line"}; extensions[] += {"ace_break_line"};
}; };
#include "ACE_ZeusActions.hpp"

View File

@ -1,16 +1,10 @@
class ACE_ZeusActions { class ACE_ZeusActions {
// _target = curatorLogic // _target = curatorLogic
// curatorSelected = [objects,groups,waypoints,markers] // curatorSelected = [objects,groups,waypoints,markers]
class ZeusUnits { class ZeusUnits {
displayName = "$STR_A3_RscDisplayCurator_ModeUnits_tooltip"; displayName = "$STR_A3_RscDisplayCurator_ModeUnits_tooltip";
icon = "\A3\UI_F_Curator\Data\Displays\RscDisplayCurator\modeUnits_ca.paa"; icon = "\A3\UI_F_Curator\Data\Displays\RscDisplayCurator\modeUnits_ca.paa";
class remoteControl {
displayName = "$STR_A3_CfgVehicles_ModuleRemoteControl_F";
icon = "\A3\Modules_F_Curator\Data\portraitRemoteControl_ca.paa";
statement = "_unit = objNull; { if ((side _x in [east,west,resistance,civilian]) && !(isPlayer _x)) exitWith { _unit = _x; }; } forEach (curatorSelected select 0); bis_fnc_curatorObjectPlaced_mouseOver = ['OBJECT',_unit]; (group _target) createUnit ['ModuleRemoteControl_F',[0,0,0],[],0,''];";
};
class stance { class stance {
displayName = "$STR_A3_RscAttributeUnitPos_Title"; displayName = "$STR_A3_RscAttributeUnitPos_Title";
@ -35,16 +29,21 @@ class ACE_ZeusActions {
statement = "{_x setUnitPos 'AUTO';} forEach (curatorSelected select 0);"; statement = "{_x setUnitPos 'AUTO';} forEach (curatorSelected select 0);";
}; };
}; };
class remoteControl {
displayName = "$STR_A3_CfgVehicles_ModuleRemoteControl_F";
icon = "\A3\Modules_F_Curator\Data\portraitRemoteControl_ca.paa";
statement = "_unit = objNull; { if ((side _x in [east,west,resistance,civilian]) && !(isPlayer _x)) exitWith { _unit = _x; }; } forEach (curatorSelected select 0); bis_fnc_curatorObjectPlaced_mouseOver = ['OBJECT',_unit]; (group _target) createUnit ['ModuleRemoteControl_F',[0,0,0],[],0,''];";
};
}; };
class ZeusGroups { class ZeusGroups {
displayName = "$STR_A3_RscDisplayCurator_ModeGroups_tooltip"; displayName = "$STR_A3_RscDisplayCurator_ModeGroups_tooltip";
icon = "\A3\UI_F_Curator\Data\Displays\RscDisplayCurator\modeGroups_ca.paa"; icon = "\A3\UI_F_Curator\Data\Displays\RscDisplayCurator\modeGroups_ca.paa";
class behaviour { class behaviour {
displayName = "$STR_disp_arcwp_semaphore"; displayName = CSTRING(Zeus_Behaviour);
class careless { class careless {
displayName = "$STR_careless"; displayName = CSTRING(Zeus_Behaviour_careless);
statement = "{ _x setBehaviour 'CARELESS'; } forEach (curatorSelected select 1);"; statement = "{ _x setBehaviour 'CARELESS'; } forEach (curatorSelected select 1);";
}; };
class safe { class safe {
@ -69,7 +68,7 @@ class ACE_ZeusActions {
}; };
}; };
class speed { class speed {
displayName = "$STR_disp_arcwp_speed"; displayName = CSTRING(Zeus_Speed);
class limited { class limited {
displayName = "$STR_speed_limited"; displayName = "$STR_speed_limited";
@ -112,7 +111,7 @@ class ACE_ZeusActions {
}; };
}; };
class formation { class formation {
displayName = "$STR_disp_arcwp_form"; displayName = CSTRING(Zeus_Formation);
class wedge { class wedge {
displayName = "$STR_wedge"; displayName = "$STR_wedge";
@ -166,10 +165,10 @@ class ACE_ZeusActions {
icon = "\A3\UI_F_Curator\Data\CfgCurator\waypoint_ca.paa"; icon = "\A3\UI_F_Curator\Data\CfgCurator\waypoint_ca.paa";
class behaviour { class behaviour {
displayName = "$STR_disp_arcwp_semaphore"; displayName = CSTRING(Zeus_Behaviour);
class careless { class careless {
displayName = "$STR_careless"; displayName = CSTRING(Zeus_Behaviour_careless);
statement = "{ _x setWaypointBehaviour 'CARELESS'; } forEach (curatorSelected select 2);"; statement = "{ _x setWaypointBehaviour 'CARELESS'; } forEach (curatorSelected select 2);";
}; };
class safe { class safe {
@ -194,7 +193,7 @@ class ACE_ZeusActions {
}; };
}; };
class speed { class speed {
displayName = "$STR_disp_arcwp_speed"; displayName = CSTRING(Zeus_Speed);
class limited { class limited {
displayName = "$STR_speed_limited"; displayName = "$STR_speed_limited";
@ -213,7 +212,7 @@ class ACE_ZeusActions {
}; };
}; };
class formation { class formation {
displayName = "$STR_disp_arcwp_form"; displayName = CSTRING(Zeus_Formation);
class wedge { class wedge {
displayName = "$STR_wedge"; displayName = "$STR_wedge";

View File

@ -16,3 +16,4 @@ class CfgPatches {
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
#include "Menu_Config.hpp" #include "Menu_Config.hpp"
#include "ACE_Settings.hpp" #include "ACE_Settings.hpp"
#include "ACE_ZeusActions.hpp"

View File

@ -816,5 +816,17 @@
<Polish>Na zarządzanie drużyną składa się: przydział kolorów dla członków drużyny, przejmowanie dowodzenia, dołączanie/opuszczanie drużyn.</Polish> <Polish>Na zarządzanie drużyną składa się: przydział kolorów dla członków drużyny, przejmowanie dowodzenia, dołączanie/opuszczanie drużyn.</Polish>
<German>Die Gruppenverwaltung erlaubt die Zuweisung von Farben für Einheiten, die Kommandierung und das Beitreten/Verlassen einer Gruppe.</German> <German>Die Gruppenverwaltung erlaubt die Zuweisung von Farben für Einheiten, die Kommandierung und das Beitreten/Verlassen einer Gruppe.</German>
</Key> </Key>
<Key ID="STR_ACE_Interaction_Zeus_Behaviour">
<English>Behaviour</English>
</Key>
<Key ID="STR_ACE_Interaction_Zeus_Behaviour_careless">
<English>Careless</English>
</Key>
<Key ID="STR_ACE_Interaction_Zeus_Formation">
<English>Formation</English>
</Key>
<Key ID="STR_ACE_Interaction_Zeus_Speed">
<English>Speed Mode</English>
</Key>
</Package> </Package>
</Project> </Project>