Skip to content

Commit

Permalink
Add realistic names to dynamic loadout classes (#5185)
Browse files Browse the repository at this point in the history
  • Loading branch information
kymckay authored May 26, 2017
1 parent 9791eb9 commit 2496628
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 5 deletions.
55 changes: 50 additions & 5 deletions addons/realisticnames/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,18 +293,27 @@ class CfgVehicles {
displayName = CSTRING(Heli_Attack_01_Name);
};

class Heli_Attack_01_dynamicLoadout_base_F;
class B_Heli_Attack_01_dynamicLoadout_F: Heli_Attack_01_dynamicLoadout_base_F {
displayName = CSTRING(Heli_Attack_01_Name);
};

class Heli_Light_01_unarmed_base_F;
class B_Heli_Light_01_F: Heli_Light_01_unarmed_base_F {
displayName = CSTRING(Heli_Light_01_Name);
};
class Heli_Light_01_civil_base_F: Heli_Light_01_unarmed_base_F {
displayName = CSTRING(Heli_Light_01_civil_Name);
};

class Heli_Light_01_armed_base_F;
class B_Heli_Light_01_armed_F: Heli_Light_01_armed_base_F {
displayName = CSTRING(Heli_Light_01_armed_Name);
};

class Heli_Light_01_civil_base_F: Heli_Light_01_unarmed_base_F {
displayName = CSTRING(Heli_Light_01_civil_Name);
class Heli_Light_01_dynamicLoadout_base_F;
class B_Heli_Light_01_dynamicLoadout_F: Heli_Light_01_dynamicLoadout_base_F {
displayName = CSTRING(Heli_Light_01_armed_Name);
};

class Heli_Transport_03_base_F;
Expand All @@ -328,6 +337,11 @@ class CfgVehicles {
displayName = CSTRING(Heli_Light_02_unarmed_Name);
};

class Heli_Light_02_dynamicLoadout_base_F;
class O_Heli_Light_02_dynamicLoadout_F: Heli_Light_02_dynamicLoadout_base_F {
displayName = CSTRING(Heli_Light_02_Name);
};

class Heli_light_03_base_F;
class I_Heli_light_03_F: Heli_light_03_base_F {
displayName = CSTRING(Heli_light_03_Name);
Expand All @@ -338,6 +352,11 @@ class CfgVehicles {
displayName = CSTRING(Heli_light_03_unarmed_Name);
};

class Heli_light_03_dynamicLoadout_base_F;
class I_Heli_light_03_dynamicLoadout_F: Heli_light_03_dynamicLoadout_base_F {
displayName = CSTRING(Heli_light_03_Name);
};

class Heli_Transport_02_base_F;
class I_Heli_Transport_02_F: Heli_Transport_02_base_F {
displayName = CSTRING(Heli_Transport_02_Name);
Expand All @@ -349,11 +368,21 @@ class CfgVehicles {
displayName = CSTRING(Plane_CAS_01_Name);
};

class Plane_CAS_01_dynamicLoadout_base_F;
class B_Plane_CAS_01_dynamicLoadout_F: Plane_CAS_01_dynamicLoadout_base_F {
displayName = CSTRING(Plane_CAS_01_Name);
};

class Plane_CAS_02_base_F;
class O_Plane_CAS_02_F: Plane_CAS_02_base_F {
displayName = CSTRING(Plane_CAS_02_Name);
};

class Plane_CAS_02_dynamicLoadout_base_F;
class O_Plane_CAS_02_dynamicLoadout_F: Plane_CAS_02_dynamicLoadout_base_F {
displayName = CSTRING(Plane_CAS_02_Name);
};

class Plane_Fighter_03_base_F;
class I_Plane_Fighter_03_CAS_F: Plane_Fighter_03_base_F {
displayName = CSTRING(Plane_Fighter_03_CAS_Name);
Expand All @@ -363,6 +392,11 @@ class CfgVehicles {
displayName = CSTRING(Plane_Fighter_03_AA_Name);
};

class Plane_Fighter_03_dynamicLoadout_base_F;
class I_Plane_Fighter_03_dynamicLoadout_F: Plane_Fighter_03_dynamicLoadout_base_F {
displayName = CSTRING(Plane_Fighter_03_Name);
};

// uavs
class UAV_02_base_F;
class B_UAV_02_F: UAV_02_base_F {
Expand All @@ -375,7 +409,7 @@ class CfgVehicles {
displayName = CSTRING(UAV_02_Name);
};

class UAV_02_CAS_base_F: UAV_02_base_F {};
class UAV_02_CAS_base_F;
class B_UAV_02_CAS_F: UAV_02_CAS_base_F {
displayName = CSTRING(UAV_02_CAS_Name);
};
Expand All @@ -386,6 +420,17 @@ class CfgVehicles {
displayName = CSTRING(UAV_02_CAS_Name);
};

class UAV_02_dynamicLoadout_base_F;
class B_UAV_02_dynamicLoadout_F: UAV_02_dynamicLoadout_base_F {
displayName = CSTRING(UAV_02_Name);
};
class O_UAV_02_dynamicLoadout_F: UAV_02_dynamicLoadout_base_F {
displayName = CSTRING(UAV_02_Name);
};
class I_UAV_02_dynamicLoadout_F: UAV_02_dynamicLoadout_base_F {
displayName = CSTRING(UAV_02_Name);
};

// pistols
class Pistol_Base_F;
class Weapon_hgun_P07_F: Pistol_Base_F {
Expand Down Expand Up @@ -525,11 +570,11 @@ class CfgVehicles {
class Weapon_SMG_02_F: Weapon_Base_F {
displayName = CSTRING(SMG_02_Name);
};

class Weapon_SMG_05_F: Weapon_Base_F {
displayName = CSTRING(SMG_05);
};

class Weapon_hgun_PDW2000_F: Weapon_Base_F {
displayName = CSTRING(hgun_PDW2000_Name);
};
Expand Down
14 changes: 14 additions & 0 deletions addons/realisticnames/stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,20 @@
<Japanese>AW101 マーリン</Japanese>
<Korean>AW101 Merlin</Korean>
</Key>
<Key ID="STR_ACE_RealisticNames_Plane_Fighter_03_Name">
<English>L-159 ALCA</English>
<German>L-159 ALCA</German>
<Spanish>L-159 ALCA</Spanish>
<Polish>L-159 ALCA</Polish>
<Czech>L-159 ALCA</Czech>
<French>L-159 ALCA</French>
<Russian>L-159 Альбатрос</Russian>
<Portuguese>L-159 ALCA</Portuguese>
<Hungarian>L-159 ALCA</Hungarian>
<Italian>L-159 ALCA</Italian>
<Japanese>L-159 アルカ</Japanese>
<Korean>L-159 ALCA</Korean>
</Key>
<Key ID="STR_ACE_RealisticNames_Plane_Fighter_03_CAS_Name">
<English>L-159 ALCA (CAS)</English>
<German>L-159 ALCA (CAS)</German>
Expand Down

0 comments on commit 2496628

Please sign in to comment.