Skip to content

Commit

Permalink
Vic attributes, templates.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
RetardedFoX committed Oct 13, 2024
1 parent 81d6187 commit eb865d9
Show file tree
Hide file tree
Showing 15 changed files with 159 additions and 35 deletions.
123 changes: 123 additions & 0 deletions A3A/addons/core/Templates/Templates.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,129 @@ class Templates
file = "VN_Civ";
};

// ***************************** Aegis *****************************
class Aegis_Base : Vanilla_Base
{
requiredAddons[] = {"A3_Aegis_Weapons_F_Aegis"};
logo = "\A3_Aegis\Data_F_Aegis\Logos\arma3_aegis_logo_CA.paa";
basepath = QPATHTOFOLDER(Templates\Templates\Aegis)
priority = 25;
};

class Aegis_Iran : Aegis_Base
{
side = "Inv";
flagTexture = "\A3_Aegis\Data_F_Aegis\Flags\flag_Iran_CO.paa";
name = "Aegis Iran";
file = "Aegis_AI_Iran";
climate[] = {"arid", "arctic"};
};
class Aegis_China : Aegis_Iran
{
flagTexture = "\A3_Aegis\Data_F_Aegis\Flags\flag_China_CO.paa";
name = "Aegis China";
file = "Aegis_AI_China";
climate[] = {"tropical"};
forceDLC[] = {"expansion"};
};
class Aegis_Russia : Aegis_Iran
{
flagTexture = "a3_aegis\data_f_aegis\flags\flag_rus_co.paa";
name = "Aegis Russia";
file = "Aegis_AI_Russia";
climate[] = {"temperate"};
forceDLC[] = {"enoch"};
};
class Aegis_US_Arid : Aegis_Base
{
side = "Occ";
flagTexture = "\A3_Aegis\data_f_aegis\Flags\flag_USA_51_CO.paa";
name = "Aegis US Arid";
file = "Aegis_AI_US_Arid";
climate[] = {"arid"};
};
class Aegis_US_Tropical : Aegis_US_Arid
{
name = "Aegis US Tropical";
file = "Aegis_AI_US_Tropical";
climate[] = {"tropical"};
};
class Aegis_US_Temperate : Aegis_US_Arid
{
name = "Aegis US Temperate";
file = "Aegis_AI_US_Temperate";
climate[] = {"temperate", "arctic"};
};
class Aegis_BAF_Arid : Aegis_Base
{
side = "Occ";
flagTexture = "\A3\Data_F\Flags\Flag_uk_CO.paa";
name = "Aegis BAF Arid";
file = "Aegis_AI_BAF_Arid";
climate[] = {"arid"};
forceDLC[] = {"enoch"};
};
class Aegis_BAF_Tropical : Aegis_BAF_Arid
{
name = "Aegis BAF Tropical";
file = "Aegis_BAF_Tropical";
climate[] = {"tropical"};
forceDLC[] = {"enoch"};
};
class Aegis_BAF_Temperate : Aegis_BAF_Arid
{
name = "Aegis BAF Temperate";
file = "Aegis_AI_BAF_Temperate";
climate[] = {"temperate", "arctic"};
forceDLC[] = {"enoch"};
};
class Aegis_LDF : Aegis_Base
{
side = "Occ";
flagTexture = "a3\data_f_enoch\flags\flag_enoch_co.paa";
name = "Aegis LDF";
file = "Aegis_AI_LDF";
maps[] = {"enoch","vt7"};
climate[] = {"temperate"};
forceDLC[] = {"enoch"};
};
class Aegis_AAF : Aegis_Base
{
side = "Occ";
flagTexture = "a3\data_f\flags\flag_aaf_co.paa";
name = "Aegis AAF";
file = "Aegis_AI_AAF";
maps[] = {"altis"};
climate[] = {"arid"};
};

class Aegis_FIA : Aegis_Base
{
side = "Reb";
flagTexture = "a3\data_f\flags\flag_fia_co.paa";
name = "Aegis FIA";
file = "Aegis_Reb_FIA";
};

class Aegis_SDK : Aegis_Base
{
side = "Reb";
flagTexture = "\A3\Data_F_exp\Flags\Flag_Synd_CO.paa";
name = "Aegis SDK";
file = "Aegis_Reb_SDK";
maps[] = {"Tanoa"};
climate[] = {"tropical"};
forceDLC[] = {"expansion"};
};

class Aegis_Civ : Aegis_Base
{
side = "Civ";
flagTexture = "a3\data_f\flags\flag_aaf_co.paa";
name = "Aegis";
file = "Aegis_Civ";
};

// ***************************** RHS *****************************

class RHS_Base
Expand Down
2 changes: 1 addition & 1 deletion A3A/addons/core/Templates/Templates/Aegis/Aegis_AI_AAF.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ if ("orange" in A3A_enabledDLC) then {
["vehiclesMilitiaCars", _vehiclesMilitiaCars] call _fnc_saveToTemplate;
["vehiclesMilitiaLightArmed", _vehiclesMilitiaLightArmed] call _fnc_saveToTemplate;

#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
["name", "BAF"] call _fnc_saveToTemplate;
["spawnMarkerName", "BAF support corridor"] call _fnc_saveToTemplate;

["flag", "Flag_NATO_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3\Data_F\Flags\Flag_NATO_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_NATO"] call _fnc_saveToTemplate;
["flag", "Flag_UK_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3\Data_F\Flags\Flag_uk_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_UK"] call _fnc_saveToTemplate;

//////////////////////////
// Vehicles //
Expand Down Expand Up @@ -75,7 +75,7 @@
["minefieldAT", ["ATMine"]] call _fnc_saveToTemplate;
["minefieldAPERS", ["APERSMine"]] call _fnc_saveToTemplate;

#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
["name", "BAF"] call _fnc_saveToTemplate;
["spawnMarkerName", "BAF support corridor"] call _fnc_saveToTemplate;

["flag", "Flag_NATO_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3\Data_F\Flags\Flag_NATO_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_NATO"] call _fnc_saveToTemplate;
["flag", "Flag_UK_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3\Data_F\Flags\Flag_uk_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_UK"] call _fnc_saveToTemplate;

//////////////////////////
// Vehicles //
Expand Down Expand Up @@ -74,7 +74,7 @@
["minefieldAT", ["ATMine"]] call _fnc_saveToTemplate;
["minefieldAPERS", ["APERSMine"]] call _fnc_saveToTemplate;

#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
["name", "BAF"] call _fnc_saveToTemplate;
["spawnMarkerName", "BAF support corridor"] call _fnc_saveToTemplate;

["flag", "Flag_NATO_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3\Data_F\Flags\Flag_NATO_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_NATO"] call _fnc_saveToTemplate;
["flag", "Flag_UK_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3\Data_F\Flags\Flag_uk_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_UK"] call _fnc_saveToTemplate;

//////////////////////////
// Vehicles //
Expand Down Expand Up @@ -74,7 +74,7 @@
["minefieldAT", ["ATMine"]] call _fnc_saveToTemplate;
["minefieldAPERS", ["APERSMine"]] call _fnc_saveToTemplate;

#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
8 changes: 4 additions & 4 deletions A3A/addons/core/Templates/Templates/Aegis/Aegis_AI_China.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
["name", "China"] call _fnc_saveToTemplate;
["spawnMarkerName", "China Support Corridor"] call _fnc_saveToTemplate;

["flag", "Flag_CSAT_F"] call _fnc_saveToTemplate;
["flagTexture", "A3\Data_F\Flags\Flag_CSAT_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_CSAT"] call _fnc_saveToTemplate;
["flag", "Flag_China_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3_Aegis\Data_F_Aegis\Flags\flag_China_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_China"] call _fnc_saveToTemplate;

//////////////////////////
// Vehicles //
Expand Down Expand Up @@ -96,7 +96,7 @@ if ("orange" in A3A_enabledDLC) then {
["vehiclesIFVs", _vehiclesIFVs] call _fnc_saveToTemplate;
["vehiclesCargoTrucks", _cargoTrucks] call _fnc_saveToTemplate;

#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
10 changes: 5 additions & 5 deletions A3A/addons/core/Templates/Templates/Aegis/Aegis_AI_Iran.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
["name", "Iran"] call _fnc_saveToTemplate;
["spawnMarkerName", "Iran Support Corridor"] call _fnc_saveToTemplate;

["flag", "Flag_CSAT_F"] call _fnc_saveToTemplate;
["flagTexture", "A3\Data_F\Flags\Flag_CSAT_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_CSAT"] call _fnc_saveToTemplate;
["flag", "Flag_Iran_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3_Aegis\Data_F_Aegis\Flags\flag_Iran_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_Iran"] call _fnc_saveToTemplate;

//////////////////////////
// Vehicles //
Expand Down Expand Up @@ -68,7 +68,7 @@ private _vehiclesPolice = ["B_GEN_Offroad_01_gen_F"];

["mortarMagazineHE", "8Rnd_82mm_Mo_shells"] call _fnc_saveToTemplate;
["mortarMagazineSmoke", "8Rnd_82mm_Mo_Smoke_white"] call _fnc_saveToTemplate;
["mortarMagazineFlare", "8Rnd_82mm_Mo_Flare_white"] call _fnc_saveToTemplate; // ENTER ONLY ONE OPTION
["mortarMagazineFlare", "8Rnd_82mm_Mo_Flare_white"] call _fnc_saveToTemplate;

//Minefield definition
["minefieldAT", ["ATMine"]] call _fnc_saveToTemplate;
Expand Down Expand Up @@ -107,7 +107,7 @@ if ("orange" in A3A_enabledDLC) then {

["vehiclesPolice", _vehiclesPolice] call _fnc_saveToTemplate;

#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
2 changes: 1 addition & 1 deletion A3A/addons/core/Templates/Templates/Aegis/Aegis_AI_LDF.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if ("orange" in A3A_enabledDLC) then {
["vehiclesPolice", _vehiclesPolice] call _fnc_saveToTemplate;
["vehiclesMilitiaTrucks", _vehiclesMilitiaTrucks] call _fnc_saveToTemplate;

#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if ("tanks" in A3A_enabledDLC) then {
["vehiclesAA", _AA] call _fnc_saveToTemplate;


#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
["spawnMarkerName", "US support corridor"] call _fnc_saveToTemplate;

["flag", "Flag_NATO_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3\Data_F\Flags\Flag_NATO_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_NATO"] call _fnc_saveToTemplate;
["flagTexture", "\A3_Aegis\data_f_aegis\Flags\flag_USA_51_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_USA"] call _fnc_saveToTemplate;

//////////////////////////
// Vehicles //
Expand Down Expand Up @@ -110,7 +110,7 @@ if ("orange" in A3A_enabledDLC) then {

["vehiclesPolice", _vehiclesPolice] call _fnc_saveToTemplate;

#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
["spawnMarkerName", "US support corridor"] call _fnc_saveToTemplate;

["flag", "Flag_NATO_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3\Data_F\Flags\Flag_NATO_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_NATO"] call _fnc_saveToTemplate;
["flagTexture", "\A3_Aegis\data_f_aegis\Flags\flag_USA_51_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_USA"] call _fnc_saveToTemplate;

//////////////////////////
// Vehicles //
Expand Down Expand Up @@ -111,7 +111,7 @@ if ("orange" in A3A_enabledDLC) then {

["vehiclesPolice", _vehiclesPolice] call _fnc_saveToTemplate;

#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
["spawnMarkerName", "US Support Corridor"] call _fnc_saveToTemplate;

["flag", "Flag_NATO_F"] call _fnc_saveToTemplate;
["flagTexture", "\A3\Data_F\Flags\Flag_NATO_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_NATO"] call _fnc_saveToTemplate;
["flagTexture", "\A3_Aegis\data_f_aegis\Flags\flag_USA_51_CO.paa"] call _fnc_saveToTemplate;
["flagMarkerType", "flag_USA"] call _fnc_saveToTemplate;

//////////////////////////
// Vehicles //
Expand Down Expand Up @@ -110,7 +110,7 @@ if ("orange" in A3A_enabledDLC) then {

["vehiclesPolice", _vehiclesPolice] call _fnc_saveToTemplate;

#include "Vanilla_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

/////////////////////
/// Identities ///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if ("ws" in A3A_enabledDLC) then {
["vehiclesAA", _vehicleAA] call _fnc_saveToTemplate;
["staticAA", _staticAA] call _fnc_saveToTemplate;

#include "Vanilla_Reb_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

///////////////////////////
// Rebel Starting Gear //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if ("ws" in A3A_enabledDLC) then {
["vehiclesAA", _vehicleAA] call _fnc_saveToTemplate;
["staticAA", _staticAA] call _fnc_saveToTemplate;

#include "Vanilla_Reb_Vehicle_Attributes.sqf"
#include "Aegis_Vehicle_Attributes.sqf"

///////////////////////////
// Rebel Starting Gear //
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "..\Vanilla\Vanilla_Vehicle_Attributes.sqf"

0 comments on commit eb865d9

Please sign in to comment.