localise sam

This commit is contained in:
Brandon Danyluk 2021-05-02 01:28:28 -06:00
parent f45ee879ac
commit 0a28e3e5a3
4 changed files with 44 additions and 12 deletions

View File

@ -1,19 +1,19 @@
class CfgMagazines {
class magazine_Missile_mim145_x4;
class GVAR(patriot): magazine_Missile_mim145_x4 {
displayName = "MIM-104 Patriot Missile";
displayName = CSTRING(patriot_missile);
ammo = QGVAR(patriot);
};
class magazine_Missile_rim162_x8;
class GVAR(RIM162): magazine_Missile_rim162_x8 {
displayName = "RIM-162 ESSM";
displayName = CSTRING(essm_missile);
ammo = QGVAR(RIM162);
};
class magazine_Missile_s750_x4;
class GVAR(s400): magazine_Missile_s750_x4 {
displayName = "S-400";
displayName = CSTRING(s400_missile);
ammo = QGVAR(s400);
};
};

View File

@ -11,7 +11,7 @@ class CfgVehicles {
// RIM-162
class SAM_System_02_base_F: StaticMGWeapon {
displayName = "Mk-29";
displayName = CSTRING(essm);
class AnimationSources {
class Missiles_revolving {
source = "revolving";
@ -20,7 +20,7 @@ class CfgVehicles {
};
class Turrets: Turrets {
class MainTurret: MainTurret {
gunnerName = "Mk-29 Operator";
gunnerName = CSTRING(essm_operator);
weapons[] = {
QGVAR(RIM162)
};
@ -32,7 +32,7 @@ class CfgVehicles {
};
// Patriot
class SAM_System_03_base_F: StaticMGWeapon {
displayName = "MIM-104 Patriot";
displayName = CSTRING(patriot);
class AnimationSources {
class Missiles_revolving {
source = "revolving";
@ -41,7 +41,7 @@ class CfgVehicles {
};
class Turrets: Turrets {
class MainTurret: MainTurret {
gunnerName = "MIM-104 Patriot Operator";
gunnerName = CSTRING(patriot_operator);
weapons[] = {
QGVAR(patriot)
};
@ -53,7 +53,7 @@ class CfgVehicles {
};
// S-400
class SAM_System_04_base_F: StaticMGWeapon {
displayName = "S-400";
displayName = CSTRING(s400);
class AnimationSources {
class Missiles_revolving {
source = "revolving";
@ -62,7 +62,7 @@ class CfgVehicles {
};
class Turrets: Turrets {
class MainTurret: MainTurret {
gunnerName = "S-400 Operator";
gunnerName = CSTRING(s400_operator);
weapons[] = {
QGVAR(s400)
};

View File

@ -2,7 +2,7 @@ class CfgWeapons {
class weapon_mim145Launcher;
class GVAR(patriot): weapon_mim145Launcher {
author = "Brandon (TCVM)";
displayName = "MIM-104 Patriot";
displayName = CSTRING(patriot);
magazines[] = { QGVAR(patriot) };
weaponLockDelay = 0.5;
};
@ -10,7 +10,7 @@ class CfgWeapons {
class weapon_rim162Launcher;
class GVAR(RIM162): weapon_rim162Launcher {
author = "Brandon (TCVM)";
displayName = "Mk-29 ESSM";
displayName = CSTRING(essm);
magazines[] = { QGVAR(RIM162) };
weaponLockDelay = 0.5;
};
@ -18,7 +18,7 @@ class CfgWeapons {
class weapon_s750Launcher;
class GVAR(s400): weapon_s750Launcher {
author = "Brandon (TCVM)";
displayName = "S-400";
displayName = CSTRING(s400);
magazines[] = { QGVAR(s400) };
weaponLockDelay = 0.5;
};

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<Project name="ACE">
<Package name="sam">
<Key ID="STR_ACE_sam_patriot">
<English>MIM-104 Patriot</English>
</Key>
<Key ID="STR_ACE_sam_patriot_operator">
<English>MIM-104 Operator</English>
</Key>
<Key ID="STR_ACE_sam_patriot_missile">
<English>Patriot Missile</English>
</Key>
<Key ID="STR_ACE_sam_essm">
<English>Mk-29 ESSM</English>
</Key>
<Key ID="STR_ACE_sam_essm_operator">
<English>Mk-29 Operator</English>
</Key>
<Key ID="STR_ACE_sam_essm_missile">
<English>RIM-162 ESSM</English>
</Key>
<Key ID="STR_ACE_sam_s400">
<English>S-400</English>
</Key>
<Key ID="STR_ACE_sam_s400_operator">
<English>S-400 Operator</English>
</Key>
<Key ID="STR_ACE_sam_s400_missile">
<English>S-400 Missile</English>
</Key>
</Package>
</Project>