mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
localise missile guidance
This commit is contained in:
parent
0d38505ea3
commit
f45ee879ac
@ -4,45 +4,39 @@ class CfgMagazines {
|
||||
class 6Rnd_ACE_Hydra70_DAGR : 12Rnd_PG_missiles {
|
||||
ammo = "ACE_Hydra70_DAGR";
|
||||
count = 12;
|
||||
displayName = "6 Round DAGR";
|
||||
displayNameShort = "6 Round DAGR";
|
||||
descriptionShort = "6 Round DAGR";
|
||||
displayName = CSTRING(Hydra70_DAGR_6x);
|
||||
weight = 36;
|
||||
|
||||
};
|
||||
class 12Rnd_ACE_Hydra70_DAGR : 6Rnd_ACE_Hydra70_DAGR {
|
||||
count = 12;
|
||||
displayName = "16 Round DAGR";
|
||||
displayNameShort = "16 Round DAGR";
|
||||
descriptionShort = "16 Round DAGR";
|
||||
displayName = CSTRING(Hydra70_DAGR_12x);
|
||||
weight = 72;
|
||||
};
|
||||
class 24Rnd_ACE_Hydra70_DAGR : 6Rnd_ACE_Hydra70_DAGR {
|
||||
count = 24;
|
||||
displayName = "24 Round DAGR";
|
||||
displayNameShort = "24 Round DAGR";
|
||||
descriptionShort = "24 Round DAGR";
|
||||
displayName = CSTRING(Hydra70_DAGR_24x);
|
||||
weight = 72;
|
||||
};
|
||||
|
||||
class PylonRack_12Rnd_PG_missiles;
|
||||
class PylonRack_6Rnd_ACE_DAGR: PylonRack_12Rnd_PG_missiles {
|
||||
ammo = "ACE_Hydra70_DAGR";
|
||||
displayName = "6x DAGR [ACE]";
|
||||
displayName = CSTRING(Hydra70_DAGR_6x);
|
||||
count = 6;
|
||||
pylonWeapon = QGVAR(dagr);
|
||||
};
|
||||
|
||||
class PylonRack_12Rnd_ACE_DAGR: PylonRack_12Rnd_PG_missiles {
|
||||
ammo = "ACE_Hydra70_DAGR";
|
||||
displayName = "12x DAGR [ACE]";
|
||||
displayName = CSTRING(Hydra70_DAGR_12x);
|
||||
count = 12;
|
||||
pylonWeapon = QGVAR(dagr);
|
||||
};
|
||||
|
||||
class PylonRack_24Rnd_ACE_DAGR: PylonRack_12Rnd_PG_missiles {
|
||||
ammo = "ACE_Hydra70_DAGR";
|
||||
displayName = "24x DAGR [ACE]";
|
||||
displayName = CSTRING(Hydra70_DAGR_24x);
|
||||
count = 24;
|
||||
pylonWeapon = QGVAR(dagr);
|
||||
};
|
||||
|
@ -16,7 +16,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
class controlsBackground {
|
||||
class Header: RscText {
|
||||
idc = -1;
|
||||
text = "temp a [header]";
|
||||
text = CSTRING(GPS_ui_header);
|
||||
x = 13.5 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
y = 5 * GUI_GRID_H + GUI_GRID_CENTER_Y;
|
||||
w = 18 * GUI_GRID_W;
|
||||
@ -36,7 +36,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
class controls {
|
||||
class TOOButton: RscButton {
|
||||
idc = GPS_UI_TOO;
|
||||
text = "TARGET OF OPPORTUNITY";
|
||||
text = CSTRING(GPS_ui_too);
|
||||
onButtonClick = QUOTE([GPS_UI_TOO] call FUNC(gps_modeSelect));
|
||||
x = 14 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
y = 6.3 * GUI_GRID_H + GUI_GRID_CENTER_Y;
|
||||
@ -49,7 +49,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
|
||||
class PPButton: RscButton {
|
||||
idc = GPS_UI_PB;
|
||||
text = "PRE-PLANNED";
|
||||
text = CSTRING(GPS_ui_pp);
|
||||
onButtonClick = QUOTE([GPS_UI_PB] call FUNC(gps_modeSelect));
|
||||
x = 26 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
y = 6.3 * GUI_GRID_H + GUI_GRID_CENTER_Y;
|
||||
@ -62,7 +62,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
|
||||
class PPMission: RscText {
|
||||
idc = GPS_UI_PB_MISSION;
|
||||
text = "PP 1";
|
||||
text = CSTRING(GPS_ui_pp_short);
|
||||
onButtonClick = "";
|
||||
x = 27.5 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
y = 7.5 * GUI_GRID_H + GUI_GRID_CENTER_Y;
|
||||
@ -103,7 +103,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
|
||||
class TargetPosXText: RscText {
|
||||
idc = -1;
|
||||
text = "Easting";
|
||||
text = CSTRING(GPS_ui_easting);
|
||||
x = 14 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
y = 8.5 * GUI_GRID_H + GUI_GRID_CENTER_Y;
|
||||
w = 3 * GUI_GRID_W;
|
||||
@ -128,7 +128,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
|
||||
class TargetPosYText: RscText {
|
||||
idc = -1;
|
||||
text = "Northing";
|
||||
text = CSTRING(GPS_ui_northing);
|
||||
x = 14 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
y = 9.7 * GUI_GRID_H + GUI_GRID_CENTER_Y;
|
||||
w = 3 * GUI_GRID_W;
|
||||
@ -146,7 +146,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
|
||||
class TargetPosHeightText: RscText {
|
||||
idc = -1;
|
||||
text = "Height";
|
||||
text = CSTRING(GPS_ui_altitude);
|
||||
x = 14 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
y = 11.7 * GUI_GRID_H + GUI_GRID_CENTER_Y;
|
||||
w = 3 * GUI_GRID_W;
|
||||
@ -176,7 +176,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
|
||||
class ImpactAngleText: RscText {
|
||||
idc = -1;
|
||||
text = "Impact Angle";
|
||||
text = CSTRING(GPS_ui_impact_angle);
|
||||
x = 21 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
y = 9.7 * GUI_GRID_H + GUI_GRID_CENTER_Y;
|
||||
w = 4 * GUI_GRID_W;
|
||||
@ -201,7 +201,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
|
||||
class AttackHeadingText: RscText {
|
||||
idc = -1;
|
||||
text = "Attack Heading";
|
||||
text = CSTRING(GPS_ui_attack_heading);
|
||||
x = 21 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
y = 11 * GUI_GRID_H + GUI_GRID_CENTER_Y;
|
||||
w = 5 * GUI_GRID_W;
|
||||
@ -226,7 +226,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
|
||||
class CancelButton: RscButton {
|
||||
idc = -1;
|
||||
text = "temp b [cancel]";
|
||||
text = CSTRING(GPS_ui_cancel);
|
||||
onButtonClick = QUOTE(closeDialog 0);
|
||||
x = 13.5 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
y = 14.2 * GUI_GRID_H + GUI_GRID_CENTER_Y;
|
||||
@ -238,7 +238,7 @@ class GVAR(gpsAttackOptionsUI) {
|
||||
};
|
||||
class ConfirmButton: CancelButton {
|
||||
idc = IDC_TIMER_CONFIRM;
|
||||
text = "temp c [confirm]";
|
||||
text = CSTRING(GPS_ui_confirm);
|
||||
onButtonClick = QUOTE([] call FUNC(gps_confirm));
|
||||
x = 26.5 * GUI_GRID_W + GUI_GRID_CENTER_X;
|
||||
};
|
||||
|
@ -25,7 +25,7 @@
|
||||
};
|
||||
|
||||
[_mode, true] call FUNC(gps_modeSelect);
|
||||
(_display displayCtrl GPS_UI_PB_MISSION) ctrlSetText format ["PP %1", GVAR(gps_pbMode) + 1];
|
||||
(_display displayCtrl GPS_UI_PB_MISSION) ctrlSetText format ["%1 %2", localize LSTRING(GPS_ui_pp_short), GVAR(gps_pbMode) + 1];
|
||||
|
||||
// update current settings
|
||||
GVAR(gps_uiPerFrameHandler) = [{
|
||||
|
@ -32,5 +32,5 @@ if (_direction > 0) then {
|
||||
};
|
||||
|
||||
[GVAR(gps_pbMode)] call FUNC(gps_loadAttackSettings);
|
||||
(_display displayCtrl GPS_UI_PB_MISSION) ctrlSetText format ["PP %1", GVAR(gps_pbMode) + 1];
|
||||
(_display displayCtrl GPS_UI_PB_MISSION) ctrlSetText format ["%1 %2", localize LSTRING(GPS_ui_pp_short), GVAR(gps_pbMode) + 1];
|
||||
|
||||
|
@ -205,5 +205,47 @@
|
||||
<Chinese>循環切換開火模式</Chinese>
|
||||
<Turkish>Ateşleme Modunu Değiştir</Turkish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_Hydra70_DAGR_6x">
|
||||
<English>6x DAGR [ACE]</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_Hydra70_DAGR_12x">
|
||||
<English>12x DAGR [ACE]</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_Hydra70_DAGR_24x">
|
||||
<English>24x DAGR [ACE]</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_header">
|
||||
<English>GPS Weapon Setup</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_too">
|
||||
<English>TARGET OF OPPORTUNITY</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_pp">
|
||||
<English>PRE-PLANNED</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_easting">
|
||||
<English>Easting</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_northing">
|
||||
<English>Northing</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_altitude">
|
||||
<English>Altitude</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_impact_angle">
|
||||
<English>Impact Angle</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_attack_heading">
|
||||
<English>Attack Heading</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_cancel">
|
||||
<English>Cancel</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_confirm">
|
||||
<English>Confirm</English>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_MissileGuidance_GPS_ui_pp_short">
|
||||
<English>PP</English>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user