Skip to content

Commit 017a732

Browse files
Compat Atlas - Add new addon for Atlas compatibility (#11206)
Create Atlas compat Create compat for Atlas, fix Bundeswehr Nyx AA not having any missiles
1 parent 92f0314 commit 017a732

File tree

6 files changed

+85
-0
lines changed

6 files changed

+85
-0
lines changed

addons/compat_atlas/$PBOPREFIX$

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
z\ace\addons\compat_atlas
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
class CfgVehicles {
2+
class Tank_F;
3+
4+
class LT_01_base_F: Tank_F {
5+
class Turrets;
6+
};
7+
8+
class LT_01_AA_base_F: LT_01_base_F {
9+
class Turrets: Turrets {
10+
class MainTurret;
11+
};
12+
};
13+
14+
class Atlas_B_G_LT_01_AA_F: LT_01_AA_base_F {
15+
class Turrets: Turrets {
16+
class MainTurret: MainTurret {
17+
weapons[] = {"SmokeLauncher", QEGVAR(missile_manpad,FIM92), "HMG_127"};
18+
magazines[] = {
19+
"SmokeLauncherMag",
20+
QEGVAR(missile_manpad,stinger),
21+
QEGVAR(missile_manpad,stinger),
22+
"100Rnd_127x99_mag_Tracer_Red",
23+
"100Rnd_127x99_mag_Tracer_Red",
24+
"100Rnd_127x99_mag_Tracer_Red",
25+
"100Rnd_127x99_mag_Tracer_Red"
26+
};
27+
};
28+
};
29+
};
30+
};
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#include "script_component.hpp"
2+
3+
class CfgPatches {
4+
class SUBADDON {
5+
name = COMPONENT_NAME;
6+
units[] = {};
7+
weapons[] = {};
8+
requiredVersion = REQUIRED_VERSION;
9+
requiredAddons[] = {
10+
"A3_Atlas_Armor_F_Atlas_LT_01",
11+
"ace_missile_manpad"
12+
};
13+
skipWhenMissingDependencies = 1;
14+
author = ECSTRING(common,ACETeam);
15+
authors[] = {"ThomasAngel"};
16+
url = ECSTRING(main,URL);
17+
VERSION_CONFIG;
18+
19+
// this prevents any patched class from requiring this addon
20+
addonRootClass = "A3_Characters_F";
21+
};
22+
};
23+
24+
#include "CfgVehicles.hpp"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#define SUBCOMPONENT missile_manpad
2+
#define SUBCOMPONENT_BEAUTIFIED MANPAD
3+
#include "..\script_component.hpp"

addons/compat_atlas/config.cpp

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#include "script_component.hpp"
2+
3+
class CfgPatches {
4+
class ADDON {
5+
name = COMPONENT_NAME;
6+
units[] = {};
7+
weapons[] = {};
8+
requiredVersion = REQUIRED_VERSION;
9+
requiredAddons[] = {
10+
"A3_Atlas_Data_F_Atlas_Loadorder",
11+
"ace_common"
12+
};
13+
skipWhenMissingDependencies = 1;
14+
author = ECSTRING(common,ACETeam);
15+
authors[] = {"ThomasAngel"};
16+
url = ECSTRING(main,URL);
17+
VERSION_CONFIG;
18+
19+
// this prevents any patched class from requiring this addon
20+
addonRootClass = "A3_Characters_F";
21+
};
22+
};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#define COMPONENT compat_atlas
2+
#define COMPONENT_BEAUTIFIED Atlas Compatibility
3+
4+
#include "\z\ace\addons\main\script_mod.hpp"
5+
#include "\z\ace\addons\main\script_macros.hpp"

0 commit comments

Comments
 (0)