From 0d38505ea3500cb4cba09627f6289936d240216d Mon Sep 17 00:00:00 2001 From: Brandon Danyluk Date: Sun, 2 May 2021 00:17:13 -0600 Subject: [PATCH] localise maverick --- addons/maverick/CfgMagazines.hpp | 20 ++++++++++---------- addons/maverick/CfgWeapons.hpp | 4 ++-- addons/maverick/stringtable.xml | 21 +++++++++++++++++++++ 3 files changed, 33 insertions(+), 12 deletions(-) diff --git a/addons/maverick/CfgMagazines.hpp b/addons/maverick/CfgMagazines.hpp index 975be11d7a..28b18084f1 100644 --- a/addons/maverick/CfgMagazines.hpp +++ b/addons/maverick/CfgMagazines.hpp @@ -17,62 +17,62 @@ class CfgMagazines { class GVAR(D_magazine): 6Rnd_Missile_AGM_02_F { ammo = QGVAR(D); author = "Brandon (TCVM)"; - displayName = "AGM-65D [ACE]"; + displayName = CSTRING(d_mag_x1); }; class GVAR(D_pylonRack_1Rnd): PylonRack_1Rnd_Missile_AGM_02_F { ammo = QGVAR(D); author = "Brandon (TCVM)"; - displayName = "1x AGM-65D [ACE]"; + displayName = CSTRING(d_mag_x1); pylonWeapon = QGVAR(D_Launcher); }; class GVAR(D_pylonRack_3Rnd): PylonRack_3Rnd_Missile_AGM_02_F { ammo = QGVAR(D); author = "Brandon (TCVM)"; - displayName = "3x AGM-65D [ACE]"; + displayName = CSTRING(d_mag_x3); pylonWeapon = QGVAR(D_Launcher); }; class GVAR(G_magazine_x1) : magazine_Missile_AGM_02_x1 { ammo = QGVAR(G); author = "Brandon (TCVM)"; - displayName = "AGM-65G [ACE]"; + displayName = CSTRING(g_mag_x1); }; class GVAR(G_pylonmissile_x1) : PylonMissile_Missile_AGM_02_x1 { ammo = QGVAR(G); author = "Brandon (TCVM)"; - displayName = "1x AGM-65G [ACE]"; + displayName = CSTRING(g_mag_x1); pylonWeapon = QGVAR(G_Launcher); }; class GVAR(G_pylonmissile_x2) : PylonMissile_Missile_AGM_02_x2 { ammo = QGVAR(G); author = "Brandon (TCVM)"; - displayName = "2x AGM-65G [ACE]"; + displayName = CSTRING(g_mag_x2); pylonWeapon = QGVAR(G_Launcher); }; class GVAR(G_pylonRack_1Rnd) : PylonRack_1Rnd_Missile_AGM_02_F { ammo = QGVAR(G); author = "Brandon (TCVM)"; - displayName = "1x AGM-65G [ACE]"; + displayName = CSTRING(g_mag_x1); pylonWeapon = QGVAR(G_Launcher); }; class GVAR(G_PylonRack_3Rnd) : PylonRack_3Rnd_Missile_AGM_02_F { ammo = QGVAR(G); author = "Brandon (TCVM)"; - displayName = "3x AGM-65G [ACE]"; + displayName = CSTRING(g_mag_x3); pylonWeapon = QGVAR(G_Launcher); }; class GVAR(G_PylonRack_x1) : PylonRack_Missile_AGM_02_x1 { ammo = QGVAR(G); author = "Brandon (TCVM)"; - displayName = "1x AGM-65G [ACE]"; + displayName = CSTRING(g_mag_x1); pylonWeapon = QGVAR(G_Launcher); }; class GVAR(G_PylonRack_x2) : PylonRack_Missile_AGM_02_x2 { ammo = QGVAR(G); author = "Brandon (TCVM)"; - displayName = "2x AGM-65G [ACE]"; + displayName = CSTRING(g_mag_x2); pylonWeapon = QGVAR(G_Launcher); }; diff --git a/addons/maverick/CfgWeapons.hpp b/addons/maverick/CfgWeapons.hpp index a51b024214..b921963fde 100644 --- a/addons/maverick/CfgWeapons.hpp +++ b/addons/maverick/CfgWeapons.hpp @@ -8,7 +8,7 @@ class CfgWeapons { class GVAR(D_Launcher): Missile_AGM_02_Plane_CAS_01_F { author = "Brandon (TCVM)"; - displayname = "AGM-65D [ACE]"; + displayname = CSTRING(D); magazines[] = {QGVAR(D_magazine), QGVAR(D_pylonRack_1Rnd), QGVAR(D_pylonRack_3Rnd)}; weaponLockDelay = 0.1; weaponLockSystem = 2; @@ -16,7 +16,7 @@ class CfgWeapons { class GVAR(G_Launcher): weapon_AGM_65Launcher { author = "Brandon (TCVM)"; - displayname = "AGM-65G [ACE]"; + displayname = CSTRING(G); magazines[] = {QGVAR(G_magazine_x1), QGVAR(G_pylonmissile_x1), QGVAR(G_pylonmissile_x2), QGVAR(G_pylonRack_1Rnd), QGVAR(G_PylonRack_3Rnd), QGVAR(G_PylonRack_x1), QGVAR(G_PylonRack_x2)}; weaponLockDelay = 0.1; weaponLockSystem = 2; diff --git a/addons/maverick/stringtable.xml b/addons/maverick/stringtable.xml index a0af914c3c..60c20dd6f3 100644 --- a/addons/maverick/stringtable.xml +++ b/addons/maverick/stringtable.xml @@ -95,6 +95,27 @@ 1x Kh-25ML [ACE] 1x Kh-25ML [ACE] + + AGM-65 Maverick D + + + AGM-65 Maverick G + + + AGM-65 Maverick D [ACE] + + + 3x AGM-65 Maverick D [ACE] + + + AGM-65 Maverick G [ACE] + + + 2x AGM-65 Maverick G [ACE] + + + 3x AGM-65 Maverick G [ACE] +