Macroize huntIR

This commit is contained in:
PabstMirror 2015-06-07 12:39:24 -05:00
parent fb9c1e14a3
commit 3bf9592a5d
5 changed files with 20 additions and 20 deletions

View File

@ -2,7 +2,7 @@
class CfgMagazines { class CfgMagazines {
class 1Rnd_HE_Grenade_shell; class 1Rnd_HE_Grenade_shell;
class ACE_HuntIR_M203: 1Rnd_HE_Grenade_shell { class ACE_HuntIR_M203: 1Rnd_HE_Grenade_shell {
displayName = $STR_ACE_HUNTIR_ROUND; displayName = CSTRING(magazine_displayName);
displayNameShort = "HuntIR"; displayNameShort = "HuntIR";
descriptionShort = ""; descriptionShort = "";
picture = PATHTOF(UI\m_m1070_ca.paa); picture = PATHTOF(UI\m_m1070_ca.paa);

View File

@ -5,7 +5,7 @@ class CfgVehicles {
class ACE_SelfActions { class ACE_SelfActions {
class ACE_Equipment { class ACE_Equipment {
class GVAR(open) { class GVAR(open) {
displayName = $STR_ACE_HUNTIR_MON_ACT; displayName = CSTRING(activateMonitor);
condition = QUOTE([ARR_2(ACE_player,'ACE_HuntIR_monitor')] call EFUNC(common,hasItem)); condition = QUOTE([ARR_2(ACE_player,'ACE_HuntIR_monitor')] call EFUNC(common,hasItem));
statement = QUOTE(call FUNC(huntir)); statement = QUOTE(call FUNC(huntir));
showDisabled = 0; showDisabled = 0;
@ -34,7 +34,7 @@ class CfgVehicles {
class ACE_Item_HuntIR_monitor: Item_Base_F { class ACE_Item_HuntIR_monitor: Item_Base_F {
scope = 2; scope = 2;
scopeCurator = 2; scopeCurator = 2;
displayName = $STR_ACE_HUNTIR_MON; displayName = CSTRING(monitor_displayName);
vehicleClass = "Items"; vehicleClass = "Items";
class TransportItems { class TransportItems {
class ACE_HuntIR_monitor { class ACE_HuntIR_monitor {

View File

@ -5,9 +5,9 @@ class CfgWeapons {
class ACE_HuntIR_monitor: ACE_ItemCore { class ACE_HuntIR_monitor: ACE_ItemCore {
scope = 2; scope = 2;
displayName = $STR_ACE_HUNTIR_MON; displayName = CSTRING(STR_ACE_HUNTIR_monitor_displayName);
picture = PATHTOF(UI\w_huntir_monitor_ca.paa); picture = PATHTOF(UI\w_huntir_monitor_ca.paa);
descriptionShort = $STR_ACE_HUNTIR_MON; descriptionShort = CSTRING(STR_ACE_HUNTIR_monitor_displayName);
model = PATHTOF(data\ace_huntir_monitor.p3d); model = PATHTOF(data\ace_huntir_monitor.p3d);
class ItemInfo: InventoryItem_Base_F { class ItemInfo: InventoryItem_Base_F {

View File

@ -137,7 +137,7 @@ class ace_huntir_cam_dialog {
soundEscape[] = { "", 0, 1 }; soundEscape[] = { "", 0, 1 };
x = __X + (2*0.8); y = __Y + 0.045; x = __X + (2*0.8); y = __Y + 0.045;
w = 0.05; h = 0.02; w = 0.05; h = 0.02;
text = "$STR_ACE_HUNTIR_HELP"; text = CSTRING(HELP);
action = "createDialog 'ace_huntir_help_dialog'"; action = "createDialog 'ace_huntir_help_dialog'";
}; };
class CAM_BG { class CAM_BG {
@ -173,11 +173,11 @@ class ace_huntir_cam_dialog {
}; };
class CAM_ALT: CAM_HEIGHT { class CAM_ALT: CAM_HEIGHT {
x = __X + 0.35; x = __X + 0.35;
text = "$STR_ACE_HUNTIR_ALT"; text = CSTRING(ALT);
}; };
class CAM_No: CAM_HEIGHT { class CAM_No: CAM_HEIGHT {
x = __X + __W - 0.64; x = __X + __W - 0.64;
text = "$STR_ACE_HUNTIR_CAM"; text = CSTRING(CAM);
}; };
class CAM_NO_x: CAM_HEIGHT { class CAM_NO_x: CAM_HEIGHT {
idc = 2; idc = 2;
@ -189,7 +189,7 @@ class ace_huntir_cam_dialog {
x = __X + 0.35; x = __X + 0.35;
y = __Y + __H - 0.65; y = __Y + __H - 0.65;
w = 0.12; w = 0.12;
text = "$STR_ACE_HUNTIR_TIME"; text = CSTRING(TIME);
}; };
class CAM_TIME_REMAIN: CAM_TIME { class CAM_TIME_REMAIN: CAM_TIME {
idc = 3; idc = 3;
@ -272,7 +272,7 @@ class ace_huntir_cam_dialog_inactive: ace_huntir_cam_dialog {
sizeEx = 0.02; sizeEx = 0.02;
colorText[] = {1, 1, 1, 1}; colorText[] = {1, 1, 1, 1};
colorBackground[] = {0,0,0,0}; colorBackground[] = {0,0,0,0};
text = "$STR_ACE_HUNTIR_ESC"; text = CSTRING(ESC);
blinkingPeriod = 0; blinkingPeriod = 0;
}; };
class CAM_BG: CAM_BG {}; class CAM_BG: CAM_BG {};
@ -371,31 +371,31 @@ class ace_huntir_help_dialog: ace_huntir_cam_dialog {
sizeEx = 0.022; sizeEx = 0.022;
colorText[] = { 1, 1, 1, 1 }; colorText[] = { 1, 1, 1, 1 };
colorBackground[] = {0,0,0,1}; colorBackground[] = {0,0,0,1};
text = "$STR_ACE_HUNTIR_HELP_EXIT"; text = CSTRING(HELP_EXIT);
blinkingPeriod = 0; blinkingPeriod = 0;
}; };
class HELP1: HELP0 { class HELP1: HELP0 {
y = __Y + 0.06; y = __Y + 0.06;
text = "$STR_ACE_HUNTIR_HELP_ZOOM"; text = CSTRING(HELP_ZOOM);
}; };
class HELP2: HELP0 { class HELP2: HELP0 {
y = __Y + 0.09; y = __Y + 0.09;
text = "$STR_ACE_HUNTIR_HELP_CAM"; text = CSTRING(HELP_CAM);
}; };
class HELP3: HELP0 { class HELP3: HELP0 {
y = __Y + 0.12; y = __Y + 0.12;
text = "$STR_ACE_HUNTIR_HELP_ROT"; text = CSTRING(HELP_ROT);
}; };
class HELP4: HELP0 { class HELP4: HELP0 {
y = __Y + 0.15; y = __Y + 0.15;
text = "$STR_ACE_HUNTIR_HELP_ELV"; text = CSTRING(HELP_ELV);
}; };
class HELP5: HELP0 { class HELP5: HELP0 {
y = __Y + 0.18; y = __Y + 0.18;
text = "$STR_ACE_HUNTIR_HELP_MOD"; text = CSTRING(HELP_MOD);
}; };
class HELP6: HELP0 { class HELP6: HELP0 {
y = __Y + 0.21; y = __Y + 0.21;
text = "$STR_ACE_HUNTIR_HELP_RES"; text = CSTRING(HELP_RES);
}; };
}; };

View File

@ -12,7 +12,7 @@
<French>HuntIR Transport Box</French> <French>HuntIR Transport Box</French>
<Hungarian>HuntIR Transport Box</Hungarian> <Hungarian>HuntIR Transport Box</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_HUNTIR_ROUND"> <Key ID="STR_ACE_HUNTIR_magazine_displayName">
<English>HuntIR Round</English> <English>HuntIR Round</English>
<German>HuntIR Granate</German> <German>HuntIR Granate</German>
<Spanish>HuntIR Round</Spanish> <Spanish>HuntIR Round</Spanish>
@ -23,7 +23,7 @@
<French>Munition HuntIR</French> <French>Munition HuntIR</French>
<Hungarian>HuntIR lövedék</Hungarian> <Hungarian>HuntIR lövedék</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_HUNTIR_MON"> <Key ID="STR_ACE_HUNTIR_monitor_displayName">
<English>HuntIR monitor</English> <English>HuntIR monitor</English>
<German>HuntIR Monitor</German> <German>HuntIR Monitor</German>
<Spanish>HuntIR monitor</Spanish> <Spanish>HuntIR monitor</Spanish>
@ -34,7 +34,7 @@
<French>Ecran HuntIR</French> <French>Ecran HuntIR</French>
<Hungarian>HuntIR monitor</Hungarian> <Hungarian>HuntIR monitor</Hungarian>
</Key> </Key>
<Key ID="STR_ACE_HUNTIR_MON_ACT"> <Key ID="STR_ACE_HUNTIR_activateMonitor">
<English>Activate HuntIR monitor</English> <English>Activate HuntIR monitor</English>
<German>HuntIR Monitor aktivieren</German> <German>HuntIR Monitor aktivieren</German>
<Spanish>Activate HuntIR monitor</Spanish> <Spanish>Activate HuntIR monitor</Spanish>