mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Aegis Compat - Add some realistic names (#10253)
This commit is contained in:
parent
42d2322ac0
commit
ed1d42f71d
@ -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);
|
||||
};
|
||||
};
|
26
addons/compat_aegis/compat_aegis_realisticnames/config.cpp
Normal file
26
addons/compat_aegis/compat_aegis_realisticnames/config.cpp
Normal 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"
|
@ -0,0 +1,3 @@
|
||||
#define SUBCOMPONENT realisticnames
|
||||
#define SUBCOMPONENT_BEAUTIFIED Realistic Names
|
||||
#include "..\script_component.hpp"
|
@ -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>
|
@ -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 Turrets: Turrets {
|
||||
class MainTurret: MainTurret {
|
25
addons/compat_aegis/compat_aegis_vehicles/config.cpp
Normal file
25
addons/compat_aegis/compat_aegis_vehicles/config.cpp
Normal 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"
|
@ -0,0 +1,3 @@
|
||||
#define SUBCOMPONENT vehicles
|
||||
#define SUBCOMPONENT_BEAUTIFIED Vehicles
|
||||
#include "..\script_component.hpp"
|
@ -6,13 +6,14 @@ class CfgPatches {
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_vehicles", "A3_Aegis_Armor_F_Aegis_MBT_01"};
|
||||
requiredAddons[] = {"ace_common"};
|
||||
skipWhenMissingDependencies = 1;
|
||||
author = ECSTRING(common,ACETeam);
|
||||
authors[] = {"johnb43"};
|
||||
url = ECSTRING(main,URL);
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgVehicles.hpp"
|
||||
// this prevents any patched class from requiring this addon
|
||||
addonRootClass = "A3_Characters_F";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user