mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Aegis Compat - Overwrite some Aegis changes (#10173)
* Overwrite some Aegis changes * Preemptively overwrite upcoming changes to Aegis
This commit is contained in:
parent
b7f48a912f
commit
70c8322392
1
addons/compat_aegis/$PBOPREFIX$
Normal file
1
addons/compat_aegis/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\compat_aegis
|
82
addons/compat_aegis/CfgVehicles.hpp
Normal file
82
addons/compat_aegis/CfgVehicles.hpp
Normal file
@ -0,0 +1,82 @@
|
||||
class CfgVehicles {
|
||||
class Tank;
|
||||
class Tank_F: Tank {
|
||||
class Turrets {
|
||||
class MainTurret;
|
||||
};
|
||||
};
|
||||
|
||||
class MBT_01_base_F: Tank_F {
|
||||
class Turrets: Turrets {
|
||||
class MainTurret: MainTurret {
|
||||
// Overwrite the changes Aegis makes for the .338 coax MG on the Slammer/Merkava
|
||||
// The idea is:
|
||||
// 1) keep it as realistic as possible
|
||||
// 2) easier to overwrite something with skipWhenMissingDependencies than to not overwrite something if another mod is loaded
|
||||
weapons[] = {"cannon_120mm", "ACE_LMG_coax_MAG58_mem3"}; // Base 1.82: "cannon_120mm","LMG_coax"
|
||||
magazines[] = {
|
||||
"24Rnd_120mm_APFSDS_shells_Tracer_Red",
|
||||
"12Rnd_120mm_HE_shells_Tracer_Red",
|
||||
"12Rnd_120mm_HEAT_MP_T_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"4Rnd_120mm_LG_cannon_missiles" // Aegis adds laser-guided munitions
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class B_MBT_01_base_F: MBT_01_base_F {};
|
||||
class B_MBT_01_cannon_F: B_MBT_01_base_F {};
|
||||
class B_MBT_01_TUSK_F: B_MBT_01_cannon_F {
|
||||
class Turrets: Turrets {
|
||||
class MainTurret: MainTurret {
|
||||
weapons[] = {"cannon_120mm", "ACE_LMG_coax_MAG58_mem3"}; // Base 1.82: "cannon_120mm","LMG_coax"
|
||||
magazines[] = {
|
||||
"24Rnd_120mm_APFSDS_shells_Tracer_Red",
|
||||
"12Rnd_120mm_HE_shells_Tracer_Red",
|
||||
"12Rnd_120mm_HEAT_MP_T_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"200Rnd_762x51_Belt_Red",
|
||||
"4Rnd_120mm_LG_cannon_missiles" // Aegis adds laser-guided munitions
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
18
addons/compat_aegis/config.cpp
Normal file
18
addons/compat_aegis/config.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
name = COMPONENT_NAME;
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_vehicles", "A3_Aegis_Armor_F_Aegis_MBT_01"};
|
||||
skipWhenMissingDependencies = 1;
|
||||
author = ECSTRING(common,ACETeam);
|
||||
authors[] = {"johnb43"};
|
||||
url = ECSTRING(main,URL);
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgVehicles.hpp"
|
5
addons/compat_aegis/script_component.hpp
Normal file
5
addons/compat_aegis/script_component.hpp
Normal file
@ -0,0 +1,5 @@
|
||||
#define COMPONENT compat_aegis
|
||||
#define COMPONENT_BEAUTIFIED Aegis Compatibility
|
||||
|
||||
#include "\z\ace\addons\main\script_mod.hpp"
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
Loading…
Reference in New Issue
Block a user