Aegis Compat - Add some realistic names (#10253)

This commit is contained in:
johnb432 2024-08-24 22:17:39 +02:00 committed by GitHub
parent 42d2322ac0
commit ed1d42f71d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 110 additions and 3 deletions

View File

@ -0,0 +1,21 @@
class CfgVehicles {
class APC_Wheeled_01_base_v2_F;
class B_APC_Wheeled_01_cannon_v2_F: APC_Wheeled_01_base_v2_F {
displayName = ECSTRING(realisticnames,APC_Wheeled_01_cannon_Name);
};
class B_APC_Wheeled_01_base_F;
class B_APC_Wheeled_01_medical_F: B_APC_Wheeled_01_base_F {
displayName = SUBCSTRING(APC_Wheeled_01_medical_Name);
};
class APC_Tracked_02_medical_base_F;
class O_R_APC_Tracked_02_medical_F: APC_Tracked_02_medical_base_F {
displayName = SUBCSTRING(APC_Tracked_02_medical_Name);
};
class APC_Tracked_03_base_v2_F;
class B_A_APC_tracked_03_cannon_v2_F: APC_Tracked_03_base_v2_F {
displayName = ECSTRING(realisticnames,APC_tracked_03_cannon_Name);
};
};

View File

@ -0,0 +1,26 @@
#include "script_component.hpp"
class CfgPatches {
class SUBADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {
"A3_Aegis_Armor_F_Aegis_APC_Wheeled_01",
"A3_Aegis_Armor_F_Aegis_APC_Tracked_02",
"A3_Aegis_Armor_F_Aegis_APC_Tracked_03",
"ace_realisticnames"
};
skipWhenMissingDependencies = 1;
author = ECSTRING(common,ACETeam);
authors[] = {"johnb43"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
// this prevents any patched class from requiring this addon
addonRootClass = "A3_Characters_F";
};
};
#include "CfgVehicles.hpp"

View File

@ -0,0 +1,3 @@
#define SUBCOMPONENT realisticnames
#define SUBCOMPONENT_BEAUTIFIED Realistic Names
#include "..\script_component.hpp"

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project name="ACE">
<Package name="Compat_Aegis_RealisticNames">
<Key ID="STR_ACE_Compat_Aegis_RealisticNames_APC_Wheeled_01_medical_Name">
<English>Badger IFV (Medical)</English>
<German>SPz Badger (Sanitäter)</German>
<French>Badger IFV (Médical)</French>
</Key>
<Key ID="STR_ACE_Compat_Aegis_RealisticNames_APC_Tracked_02_medical_Name">
<English>BM-2T Stalker (Medical)</English>
<German>BM-2T Stalker (Sanitäter)</German>
<French>BM-2T Stalker (Médical)</French>
</Key>
</Package>
</Project>

View File

@ -6,6 +6,19 @@ class CfgVehicles {
}; };
}; };
class APC_Tracked_03_base_F: Tank_F {
class Turrets: Turrets {
class MainTurret: MainTurret {};
};
};
class APC_Tracked_03_base_v2_F: APC_Tracked_03_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
weapons[] = {"autocannon_40mm_CTWS", "ACE_LMG_coax_L94A1_mem3"}; // Aegis upgrades to a 40mm cannon, but we want realistic MG name
};
};
};
class MBT_01_base_F: Tank_F { class MBT_01_base_F: Tank_F {
class Turrets: Turrets { class Turrets: Turrets {
class MainTurret: MainTurret { class MainTurret: MainTurret {

View File

@ -0,0 +1,25 @@
#include "script_component.hpp"
class CfgPatches {
class SUBADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {
"A3_Aegis_Armor_F_Aegis_MBT_01",
"A3_Aegis_Armor_F_Aegis_APC_Tracked_03",
"ace_vehicles"
};
skipWhenMissingDependencies = 1;
author = ECSTRING(common,ACETeam);
authors[] = {"johnb43"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
// this prevents any patched class from requiring this addon
addonRootClass = "A3_Characters_F";
};
};
#include "CfgVehicles.hpp"

View File

@ -0,0 +1,3 @@
#define SUBCOMPONENT vehicles
#define SUBCOMPONENT_BEAUTIFIED Vehicles
#include "..\script_component.hpp"

View File

@ -6,13 +6,14 @@ class CfgPatches {
units[] = {}; units[] = {};
weapons[] = {}; weapons[] = {};
requiredVersion = REQUIRED_VERSION; requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_vehicles", "A3_Aegis_Armor_F_Aegis_MBT_01"}; requiredAddons[] = {"ace_common"};
skipWhenMissingDependencies = 1; skipWhenMissingDependencies = 1;
author = ECSTRING(common,ACETeam); author = ECSTRING(common,ACETeam);
authors[] = {"johnb43"}; authors[] = {"johnb43"};
url = ECSTRING(main,URL); url = ECSTRING(main,URL);
VERSION_CONFIG; VERSION_CONFIG;
// this prevents any patched class from requiring this addon
addonRootClass = "A3_Characters_F";
}; };
}; };
#include "CfgVehicles.hpp"