Small Arms - Add stringtable (#7823)

* Convert Small Arms to Stringtable

- Convert Small Arms component to stringtable
- Added Vector 45 additional magazines still listed as 30 rounds.

* Newlines end of file

* Fix stringtable

* Remove unnecessary string entries

* Apply suggestions from code review

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
TyroneMF 2020-08-09 16:12:30 +01:00 committed by GitHub
parent c2715a2e41
commit 1626d05201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 83 additions and 66 deletions

View File

@ -4,107 +4,50 @@ class CfgMagazines {
// Magazine updates:
// 1. Update all magazines with tracer mix to use 1 in 5 mix. Full tracer mags should not be changed!
// 2. Remove tracers at bottom of magazine.
// 3. Do string updates.
// 6.5mm //////////////////////////////////////////
class 30Rnd_65x39_caseless_mag : CA_Magazine { // MX!!
displayname = "6.5mm 30Rnd Mag";
displaynameshort = "6.5mm";
tracersEvery = 0;
lastRoundsTracer = 0;
};
class 30Rnd_65x39_caseless_mag_Tracer : 30Rnd_65x39_caseless_mag { // MX!!
displayname = "6.5mm 30Rnd Tracer Mag";
displaynameshort = "6.5mm Tracer";
};
class 30Rnd_65x39_caseless_green : 30Rnd_65x39_caseless_mag { // Katiba!!
displayname = "6.5mm 30Rnd Mag";
displaynameshort = "6.5mm";
tracersEvery = 0;
lastRoundsTracer = 0;
};
class 30Rnd_65x39_caseless_green_Tracer : 30Rnd_65x39_caseless_green { // Katiba!!
displayname = "6.5mm 30Rnd Tracer Magazine";
displaynameshort = "6.5mm Tracer";
};
class 100Rnd_65x39_caseless_mag : CA_Magazine {
displayname = "6.5mm 100Rnd Mag";
displaynameshort = "6.5mm";
class 100Rnd_65x39_caseless_mag : CA_Magazine { // Katiba!!
tracersEvery = 5;
lastRoundsTracer = 3;
};
class 100Rnd_65x39_caseless_mag_Tracer : 100Rnd_65x39_caseless_mag {
displayname = "6.5mm 100Rnd Tracer Mag";
displaynameshort = "6.5mm Tracer";
};
class 200Rnd_65x39_cased_Box : 100Rnd_65x39_caseless_mag {
displayname = "6.5mm 200Rnd Box";
displaynameshort = "6.5mm";
tracersEvery = 5;
lastRoundsTracer = 3;
};
class 200Rnd_65x39_cased_Box_Tracer: 200Rnd_65x39_cased_Box {
displayname = "6.5mm 200Rnd Tracer Box";
displaynameshort = "6.5mm Tracer";
};
// 7.62mm //////////////////////////////////////////
class 20Rnd_762x51_Mag: CA_Magazine {
displayname = "7.62mm 20Rnd Mag";
displaynameshort = "7.62mm";
};
class 150Rnd_762x51_Box : CA_Magazine {
displayname = "7.62mm 150Rnd Box";
tracersEvery = 5;
lastRoundsTracer = 3;
};
class 150Rnd_762x51_Box_Tracer : 150Rnd_762x51_Box {
displayname = "7.62mm 150Rnd Tracer Box";
};
// Anti-materiel ///////////////////////////////
class 7Rnd_408_Mag: CA_Magazine {
displayname = ".408 7Rnd Mag";
};
class 5Rnd_127x108_Mag: CA_Magazine {
displayname = "12.7mm 5Rnd Mag";
};
// SMG & Pistol ////////////////////////////
class 30Rnd_9x21_Mag : CA_Magazine {
displayname = "9mm 30Rnd Mag";
displaynameshort = "9mm";
lastRoundsTracer = 0;
};
class 16Rnd_9x21_Mag: 30Rnd_9x21_Mag {
displayname = "9mm 17Rnd Mag";
displaynameshort = "9mm";
displayname = CSTRING(17Rnd_9x19_Name);
count = 17;
};
class 30Rnd_45ACP_Mag_SMG_01 : 30Rnd_9x21_Mag {
displayname = ".45 25Rnd Mag";
displayname = CSTRING(25Rnd_45_Name);
displaynameshort = ".45";
picture = "\A3\weapons_f\data\ui\M_30Rnd_9x21_CA.paa";
@ -115,14 +58,22 @@ class CfgMagazines {
lastRoundsTracer = 0;
};
class 30Rnd_45ACP_Mag_SMG_01_Tracer_Green: 30Rnd_45ACP_Mag_SMG_01 {
displayname = CSTRING(25Rnd_45_Tracer_Green_Name);
};
class 30Rnd_45ACP_Mag_SMG_01_Tracer_Red: 30Rnd_45ACP_Mag_SMG_01 {
displayname = CSTRING(25Rnd_45_Tracer_Red_Name);
};
class 30Rnd_45ACP_Mag_SMG_01_Tracer_Yellow: 30Rnd_45ACP_Mag_SMG_01 {
displayname = CSTRING(25Rnd_45_Tracer_Yellow_Name);
};
class 9Rnd_45ACP_Mag : 30Rnd_45ACP_Mag_SMG_01 {
displayname = ".45 8Rnd Mag";
displayname = CSTRING(8Rnd_45_Name);
displaynameshort = ".45";
count = 8;
};
class 30Rnd_45ACP_Mag_SMG_01_Tracer_Green: 30Rnd_45ACP_Mag_SMG_01 {
displayname = ".45 25Rnd Tracer Mag";
};
};
};

View File

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<Project name="ACE">
<Package name="SmallArms">
<Key ID="STR_ACE_SmallArms_17Rnd_9x19_Name">
<English>9 mm 17Rnd Mag</English>
<Chinese>9 mm 17 發彈匣</Chinese>
<French>Mag. 17 balles 9 mm</French>
<Spanish>Cargador de 17 proyectiles de 9 mm</Spanish>
<Italian>Caricatore 17 colpi 9 mm</Italian>
<Polish>17-nab. mag. 9 mm</Polish>
<Russian>Магазин, 17 патр. 9 мм</Russian>
<German>17-Schuss-9mm-Magazin</German>
<Czech>9 mm, 17ks zásobník</Czech>
<Portuguese>Carregador 17Mun. 9 mm</Portuguese>
<Korean>9mm 17발 탄창</Korean>
<Chinesesimp>9 毫米 17 发弹匣</Chinesesimp>
<Japanese>9mm 17Rnd マガジン</Japanese>
<Turkish>9 mm 17 Merm. Şarjör</Turkish>
</Key>
<Key ID="STR_ACE_SmallArms_25Rnd_45_Name">
<English>.45 ACP 25Rnd Mag</English>
<Polish>25-nab. mag. .45 ACP </Polish>
<French>Mag. 25 balles .45 ACP</French>
<Spanish>Cargador de 25 proyectiles de .45 ACP</Spanish>
<German>25-Schuss-.45-ACP-Magazin</German>
<Czech>.45 ACP, 25ks zásobník</Czech>
<Turkish>.45 ACP 25 Merm. Şarjör</Turkish>
</Key>
<Key ID="STR_ACE_SmallArms_25Rnd_45_Tracer_Green_Name">
<English>.45 ACP 25Rnd Tracers (Green) Mag</English>
<Polish>25-nab. mag. .45 ACP (zielony smugacz)</Polish>
<French>Mag. 25 traçantes (vertes) .45 ACP</French>
<Spanish>Cargador de 25 balas trazadoras (verde) de .45 ACP</Spanish>
<German>25-Schuss-.45-ACP-Vermin-Magazin (Leuchtspur Grün)</German>
<Czech>.45 ACP, 25ks zásobník stopovky (zelené)</Czech>
<Turkish>.45 ACP 25 Merm. İzli (Yeşil) Şarjör</Turkish>
</Key>
<Key ID="STR_ACE_SmallArms_25Rnd_45_Tracer_Red_Name">
<English>.45 ACP 25Rnd Tracers (Red) Mag</English>
<Polish>25-nab. mag. .45 ACP (czerwony smugacz)</Polish>
<French>Mag. 25 traçantes (rouges) .45 ACP</French>
<Spanish>Cargador de 25 balas trazadoras (rojo) de .45 ACP</Spanish>
<German>25-Schuss-.45-ACP-Vermin-Magazin (Leuchtspur Rot)</German>
<Czech>.45 ACP, 25ks zásobník stopovky (červené)</Czech>
<Turkish>.45 ACP 25 Merm. İzli (Kırmızı) Şarjör</Turkish>
</Key>
<Key ID="STR_ACE_SmallArms_25Rnd_45_Tracer_Yellow_Name">
<English>.45 ACP 25Rnd Tracers (Yellow) Mag</English>
<Polish>25-nab. mag. .45 ACP (żółty smugacz)</Polish>
<French>Mag. 25 traçantes (jaunes) .45 ACP</French>
<Spanish>Cargador de 25 balas trazadoras (amarillo) de .45 ACP</Spanish>
<German>25-Schuss-.45-ACP-Vermin-Magazin (Nachlade-Leuchtspur Gelb)</German>
<Czech>.45 ACP, 25ks zásobník stopovky (žluté)</Czech>
<Turkish>.45 ACP 25 Merm. İzli (Sarı) Şarjör</Turkish>
</Key>
<Key ID="STR_ACE_SmallArms_8Rnd_45_Name">
<English>.45 ACP 8Rnd Mag</English>
<Polish>8-nab. mag. .45 ACP </Polish>
<French>Mag. 8 balles .45 ACP</French>
<Spanish>Cargador de 8 proyectiles de .45 ACP</Spanish>
<German>8-Schuss-.45-ACP-Magazin</German>
<Czech>.45 ACP, 8ks zásobník</Czech>
<Turkish>.45 ACP 8 Merm. Şarjör</Turkish>
</Key>
</Package>
</Project>