Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v11.1.0 (#306) #4

Merged
merged 2 commits into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions A3A/addons/core/CfgMarkers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ class CfgMarkers
texture = QPATHTOFOLDER(Pictures\Markers\marker_aaf_torn_co.paa);
};

class a3a_flag_LRI: flag_NATO
{
name = "LRI";
icon = QPATHTOFOLDER(Pictures\Markers\marker_lri_co.paa);
texture = QPATHTOFOLDER(Pictures\Markers\marker_lri_co.paa);
};

class a3a_flag_cdf: flag_NATO
{
name = "CDF";
Expand Down
8 changes: 6 additions & 2 deletions A3A/addons/core/CfgSounds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@ class CfgSounds
sound[] = {EQPATHTOFOLDER(core,Sounds\Misc\RadioIntercept.ogg), 1, 1, 100};
titles[] = { 1, "" };
};


class HelmetLoss
{
name = "HelmetLoss";
sound[] = {EQPATHTOFOLDER(core,Sounds\Misc\HelmetLoss.ogg), 5, 1, 100};
titles[] = { 1, "" };
};
class Typing
{
name = "Typing";
Expand Down
2 changes: 1 addition & 1 deletion A3A/addons/core/Includes/script_version.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define MAJOR 11
#define MINOR 0
#define MINOR 1
#define PATCHLVL 0
#define BUILD 0
11 changes: 9 additions & 2 deletions A3A/addons/core/Params.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ class Params
class swayEnabled
{
title = $STR_A3AU_sway_enabled;
values[] = {0,1};
texts[] = {$STR_antistasi_dialogs_generic_button_no_text,$STR_antistasi_dialogs_generic_button_yes_text};
values[] = {0,0.25,0.5,0.75,1};
texts[] = {"0%","25%","50%","75%","100%"};
default = 1;
};

Expand Down Expand Up @@ -619,6 +619,13 @@ class Params
texts[] = {$STR_params_helmetLossChance_0,$STR_params_helmetLossChance_1,$STR_params_helmetLossChance_2,$STR_params_helmetLossChance_3};
default = 33;
};
class helmetLossSound
{
title = $STR_params_helmetLossSound;
values[] = {0,1};
texts[] = {$STR_antistasi_dialogs_generic_button_no_text,$STR_antistasi_dialogs_generic_button_yes_text};
default = 1;
};
class reviveKitsEnabled
{
title = $STR_params_reviveKitsEnabled;
Expand Down
Binary file not shown.
Binary file added A3A/addons/core/Sounds/Misc/HelmetLoss.ogg
Binary file not shown.
10 changes: 5 additions & 5 deletions A3A/addons/core/Stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5819,11 +5819,11 @@
<French>Activer la fatigue (Vanilla)</French>
</Key>
<Key ID="STR_A3AU_sway_enabled">
<Original>Enable Sway (Vanilla)</Original>
<English>Enable Sway (Vanilla)</English>
<Russian>Включить раскачку оружия (Vanilla)</Russian>
<Korean>무기 흔들림 활성화 (바닐라)</Korean>
<French>Activer l'oscillation (Vanilla)</French>
<Original>Weapon Sway % (Vanilla)</Original>
<English>Weapon Sway % (Vanilla)</English>
<Russian>раскачивание оружия % (Vanilla)</Russian>
<Korean>무기 흔들림 % (바닐라)</Korean>
<French>% de balancement de l'arme (Vanilla)</French>
</Key>
</Container>
</Package>
Expand Down
63 changes: 63 additions & 0 deletions A3A/addons/core/Templates/Templates.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,69 @@ class Templates
file = "VN_Civ";
description = $STR_A3AP_setupFactionsTab_vietcivs;
};

//***************************** CSLA *****************************
class CSLA_Base : Vanilla_Base
{
requiredAddons[] = {"CSLA"};
logo = "\csla_cfg\Images\Logos\csla_logo_text.paa"; // csla\csla_cfg\Images\Logos\csla_logo_text.paa
basepath = QPATHTOFOLDER(Templates\Templates\CSLA);
priority = 50;
forceDLC[] = {"CSLA"};
climate[] = {"temperate","tropical","arid"};
};
class CSLA_CIV : CSLA_Base
{
side = "Civ";
flagTexture = "\csla_misc\signs\flags\cssr_flag.paa";
name = "CSLA Civs";
file = "CSLA_CIV";
//maps[] = {"stozec"};
};
class CSLA_FIA : CSLA_Base
{
side = "Reb";
flagTexture = "\csla_misc\signs\flags\fia_flag.paa";
name = "FIA";
file = "CSLA_FIA";
//maps[] = {"stozec"};
};
class CSLA_US : CSLA_Base
{
side = "Occ";
flagTexture = "\csla_misc\signs\flags\flag_us_co.paa";
name = "US85";
file = "CSLA_AI_US";
//maps[] = {"stozec"};
};

class CSLA_SEPARATISTS : CSLA_Base
{
side = "Riv";
flagTexture = "\A3\Data_F\Flags\Flag_red_CO.paa";
name = "CSLA Separatists";
file = "CSLA_Riv_Separatists";
climate[] = {"arid", "temperate", "arctic"};
description = $STR_A3AP_setupFactionsTab_separatistsCSLA;
};

class CSLA_CS : CSLA_Base
{
side = "Inv";
flagTexture = "\csla_misc\signs\flags\cssr_flag.paa";
name = "CSLA";
file = "CSLA_AI_CSLA";
//maps[] = {"stozec"};
};

class CSLA_AFMC : CSLA_Base
{
side = "Occ";
flagTexture = "\csla_misc\signs\flags\flag_afmc_co.paa";
name = "AFMC";
file = "CSLA_AI_AFMC";
//maps[] = {"stozec"};
};

// ***************************** CUP *****************************

Expand Down
26 changes: 22 additions & 4 deletions A3A/addons/core/Templates/Templates/CSA38/CSA_AI_UK_Arctic.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

["vehiclesBasic", ["LIB_UK_Willys_MB_w"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_UK_Willys_MB_w","LIB_UK_Willys_MB_Hood_w"]] call _fnc_saveToTemplate;
["vehiclesLightArmed",["LIB_UK_Willys_MB_M1919_w","LIB_UniversalCarrier_w"]] call _fnc_saveToTemplate;
private _vehiclesLightArmed = ["LIB_UK_Willys_MB_M1919_w","LIB_UniversalCarrier_w"];
["vehiclesTrucks", ["LIB_US_GMC_Tent_w","LIB_US_GMC_Open_w"]] call _fnc_saveToTemplate;
["vehiclesCargoTrucks", ["LIB_US_GMC_Tent_w","LIB_US_GMC_Open_w"]] call _fnc_saveToTemplate;
["vehiclesAmmoTrucks", ["LIB_US_GMC_Ammo_w"]] call _fnc_saveToTemplate;
Expand All @@ -36,13 +36,31 @@
["vehiclesAirborne", ["LIB_UniversalCarrier_w"]] call _fnc_saveToTemplate;
["vehiclesLightTanks", ["csa38_valentineMkIIW"]] call _fnc_saveToTemplate;

if (isClass (configFile >> "CfgPatches" >> "FA_WW2_Armored_Cars")) then {
_vehiclesLightArmed append ["FA_DaimlerMk2"];
};
["vehiclesLightArmed", _vehiclesLightArmed] call _fnc_saveToTemplate;

["vehiclesTransportBoats", ["LIB_LCVP"]] call _fnc_saveToTemplate;
["vehiclesGunBoats", ["LIB_LCM3_Armed", "LIB_LCI"]] call _fnc_saveToTemplate;
["vehiclesAmphibious", []] call _fnc_saveToTemplate;

["vehiclesPlanesCAS", ["LIB_P47"]] call _fnc_saveToTemplate;
["vehiclesPlanesAA", ["LIB_RAF_P39"]] call _fnc_saveToTemplate;
["vehiclesPlanesTransport", ["LIB_C47_Skytrain"]] call _fnc_saveToTemplate;
private _vehiclesPlanesCAS = ["LIB_P47"];
private _vehiclesPlanesAA = ["LIB_RAF_P39"];
["vehiclesPlanesTransport", ["LIB_C47_RAF"]] call _fnc_saveToTemplate;

if (isClass (configFile >> "CfgPatches" >> "sab_flyinglegends")) then {
_vehiclesPlanesCAS = ["sab_fl_hurricane_2","sab_fl_tempest","sab_fl_dh98"];
_vehiclesPlanesAA = ["sab_fl_hurricane","sab_fl_spitfire_mk1","sab_fl_spitfire_mk5","sab_fl_spitfire_mkxiv"];
};

if (isClass (configFile >> "CfgPatches" >> "sab_sw_i16")) then {
_vehiclesPlanesLargeCAS append ["sab_sw_halifax"];
};

["vehiclesPlanesCAS", _vehiclesPlanesCAS] call _fnc_saveToTemplate;
["vehiclesPlanesLargeCAS", _vehiclesPlanesLargeCAS] call _fnc_saveToTemplate;
["vehiclesPlanesAA", _vehiclesPlanesAA] call _fnc_saveToTemplate;

["vehiclesHelisLight", []] call _fnc_saveToTemplate;
["vehiclesHelisTransport", []] call _fnc_saveToTemplate;
Expand Down
26 changes: 22 additions & 4 deletions A3A/addons/core/Templates/Templates/CSA38/CSA_AI_UK_Arid.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

["vehiclesBasic", ["LIB_UK_DR_Willys_MB"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_UK_DR_Willys_MB","LIB_UK_DR_Willys_MB_Hood"]] call _fnc_saveToTemplate;
["vehiclesLightArmed",["LIB_UK_DR_Willys_MB_M1919","LIB_UniversalCarrier_desert"]] call _fnc_saveToTemplate;
private _vehiclesLightArmed = ["LIB_UK_DR_Willys_MB_M1919","LIB_UniversalCarrier_desert"];
["vehiclesTrucks", ["LIB_US_NAC_GMC_Tent","LIB_US_NAC_GMC_Open"]] call _fnc_saveToTemplate;
["vehiclesCargoTrucks", ["LIB_US_NAC_GMC_Tent","LIB_US_NAC_GMC_Open"]] call _fnc_saveToTemplate;
["vehiclesAmmoTrucks", ["LIB_US_NAC_GMC_Ammo"]] call _fnc_saveToTemplate;
Expand All @@ -36,13 +36,31 @@
["vehiclesAirborne", ["LIB_UniversalCarrier_desert"]] call _fnc_saveToTemplate;
["vehiclesLightTanks", ["csa38_valentineMkII6"]] call _fnc_saveToTemplate;

if (isClass (configFile >> "CfgPatches" >> "FA_WW2_Armored_Cars")) then {
_vehiclesLightArmed append ["FA_T17E1"];
};
["vehiclesLightArmed", _vehiclesLightArmed] call _fnc_saveToTemplate;

["vehiclesTransportBoats", ["LIB_LCVP"]] call _fnc_saveToTemplate;
["vehiclesGunBoats", ["LIB_LCM3_Armed", "LIB_LCI"]] call _fnc_saveToTemplate;
["vehiclesAmphibious", []] call _fnc_saveToTemplate;

["vehiclesPlanesCAS", ["LIB_P47"]] call _fnc_saveToTemplate;
["vehiclesPlanesAA", ["LIB_RAF_P39"]] call _fnc_saveToTemplate;
["vehiclesPlanesTransport", ["LIB_C47_Skytrain"]] call _fnc_saveToTemplate;
private _vehiclesPlanesCAS = ["LIB_P47"];
private _vehiclesPlanesAA = ["LIB_RAF_P39"];
["vehiclesPlanesTransport", ["LIB_C47_RAF"]] call _fnc_saveToTemplate;

if (isClass (configFile >> "CfgPatches" >> "sab_flyinglegends")) then {
_vehiclesPlanesCAS = ["sab_fl_hurricane_2","sab_fl_tempest","sab_fl_dh98"];
_vehiclesPlanesAA = ["sab_fl_hurricane","sab_fl_spitfire_mk1","sab_fl_spitfire_mk5","sab_fl_spitfire_mkxiv"];
};

if (isClass (configFile >> "CfgPatches" >> "sab_sw_i16")) then {
_vehiclesPlanesLargeCAS append ["sab_sw_halifax"];
};

["vehiclesPlanesCAS", _vehiclesPlanesCAS] call _fnc_saveToTemplate;
["vehiclesPlanesLargeCAS", _vehiclesPlanesLargeCAS] call _fnc_saveToTemplate;
["vehiclesPlanesAA", _vehiclesPlanesAA] call _fnc_saveToTemplate;

["vehiclesHelisLight", []] call _fnc_saveToTemplate;
["vehiclesHelisTransport", []] call _fnc_saveToTemplate;
Expand Down
26 changes: 22 additions & 4 deletions A3A/addons/core/Templates/Templates/CSA38/CSA_AI_UK_Temperate.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

["vehiclesBasic", ["LIB_UK_Willys_MB"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_UK_Willys_MB","LIB_UK_Willys_MB_Hood"]] call _fnc_saveToTemplate;
["vehiclesLightArmed",["LIB_UK_Willys_MB_M1919","LIB_UniversalCarrier"]] call _fnc_saveToTemplate;
private _vehiclesLightArmed = ["LIB_UK_Willys_MB_M1919","LIB_UniversalCarrier"];
["vehiclesTrucks", ["LIB_US_GMC_Tent","LIB_US_GMC_Open"]] call _fnc_saveToTemplate;
["vehiclesCargoTrucks", ["LIB_US_GMC_Tent","LIB_US_GMC_Open"]] call _fnc_saveToTemplate;
["vehiclesAmmoTrucks", ["LIB_US_GMC_Ammo"]] call _fnc_saveToTemplate;
Expand All @@ -36,13 +36,31 @@
["vehiclesAirborne", ["LIB_UniversalCarrier"]] call _fnc_saveToTemplate;
["vehiclesLightTanks", ["csa38_valentineMkIIgreen"]] call _fnc_saveToTemplate;

if (isClass (configFile >> "CfgPatches" >> "FA_WW2_Armored_Cars")) then {
_vehiclesLightArmed append ["FA_DaimlerMk2"];
};
["vehiclesLightArmed", _vehiclesLightArmed] call _fnc_saveToTemplate;

["vehiclesTransportBoats", ["LIB_LCVP"]] call _fnc_saveToTemplate;
["vehiclesGunBoats", ["LIB_LCM3_Armed", "LIB_LCI"]] call _fnc_saveToTemplate;
["vehiclesAmphibious", []] call _fnc_saveToTemplate;

["vehiclesPlanesCAS", ["LIB_P47"]] call _fnc_saveToTemplate;
["vehiclesPlanesAA", ["LIB_RAF_P39"]] call _fnc_saveToTemplate;
["vehiclesPlanesTransport", ["LIB_C47_Skytrain"]] call _fnc_saveToTemplate;
private _vehiclesPlanesCAS = ["LIB_P47"];
private _vehiclesPlanesAA = ["LIB_RAF_P39"];
["vehiclesPlanesTransport", ["LIB_C47_RAF"]] call _fnc_saveToTemplate;

if (isClass (configFile >> "CfgPatches" >> "sab_flyinglegends")) then {
_vehiclesPlanesCAS = ["sab_fl_hurricane_2","sab_fl_tempest","sab_fl_dh98"];
_vehiclesPlanesAA = ["sab_fl_hurricane","sab_fl_spitfire_mk1","sab_fl_spitfire_mk5","sab_fl_spitfire_mkxiv"];
};

if (isClass (configFile >> "CfgPatches" >> "sab_sw_i16")) then {
_vehiclesPlanesLargeCAS append ["sab_sw_halifax"];
};

["vehiclesPlanesCAS", _vehiclesPlanesCAS] call _fnc_saveToTemplate;
["vehiclesPlanesLargeCAS", _vehiclesPlanesLargeCAS] call _fnc_saveToTemplate;
["vehiclesPlanesAA", _vehiclesPlanesAA] call _fnc_saveToTemplate;

["vehiclesHelisLight", []] call _fnc_saveToTemplate;
["vehiclesHelisTransport", []] call _fnc_saveToTemplate;
Expand Down
27 changes: 23 additions & 4 deletions A3A/addons/core/Templates/Templates/CSA38/CSA_AI_WEH_Arctic.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
["vehiclesLightAPCs", ["LIB_SdKfz251_FFV_w","LIB_SdKfz251_w"]] call _fnc_saveToTemplate;
["vehiclesAPCs", ["LIB_SdKfz_7_AA_w", "LIB_SdKfz251_FFV_w","LIB_SdKfz251_w"]] call _fnc_saveToTemplate;
["vehiclesIFVs", ["LIB_PzKpfwIV_H_w", "LIB_StuG_III_G_w", "CSA38_pzIIID_W", "CSA38_pzIVC_W"]] call _fnc_saveToTemplate;
["vehiclesTanks", ["LIB_PzKpfwV_w", "LIB_PzKpfwVI_E_w"]] call _fnc_saveToTemplate;
["vehiclesTanks", ["LIB_PzKpfwV_w", "LIB_PzKpfwV_w", "LIB_PzKpfwV_w", "LIB_PzKpfwVI_E_w", "LIB_PzKpfwVI_B_w"]] call _fnc_saveToTemplate;
["vehiclesAA", ["LIB_FlakPanzerIV_Wirbelwind_w"]] call _fnc_saveToTemplate;
["vehiclesAirborne", ["LIB_SdKfz251_w"]] call _fnc_saveToTemplate;
["vehiclesLightTanks", ["CSA38_pzkpfwIA_W","CSA38_pzkpfwI_W","CSA38_pzII_W","CSA38_ltm35_W","CSA38_ltm38_W","CSA38_ltm38_FR2_W"]] call _fnc_saveToTemplate;
Expand All @@ -40,9 +40,28 @@
["vehiclesGunBoats", []] call _fnc_saveToTemplate;
["vehiclesAmphibious", []] call _fnc_saveToTemplate;

["vehiclesPlanesCAS", ["LIB_Ju87_w"]] call _fnc_saveToTemplate;
["vehiclesPlanesAA", ["LIB_FW190F8_w"]] call _fnc_saveToTemplate;
["vehiclesPlanesTransport", ["A3U_LIB_C47_German"]] call _fnc_saveToTemplate;
private _vehiclesPlanesCAS = ["LIB_Ju87_w"];
private _vehiclesPlanesLargeCAS = [];
private _vehiclesPlanesAA = ["LIB_FW190F8_w"];
private _vehiclesPlanesTransport = ["A3U_LIB_C47_German"];

if (isClass (configFile >> "CfgPatches" >> "sab_flyinglegends")) then {
_vehiclesPlanesCAS append ["sab_fl_bf109g"];
_vehiclesPlanesLargeCAS append ["sab_fl_ju88a","sab_fl_ju86"];
_vehiclesPlanesAA append ["sab_fl_bf109e","sab_fl_bf109f","sab_fl_bf109g","sab_fl_bf109k","sab_fl_fw190a","sab_fl_fw190d"];
_vehiclesPlanesTransport = ["sab_fl_ju52"];
};

if (isClass (configFile >> "CfgPatches" >> "sab_sw_i16")) then {
_vehiclesPlanesCAS append ["sab_sw_bf110"];
_vehiclesPlanesLargeCAS append ["sab_sw_he111","sab_sw_he177"];
_vehiclesPlanesAA append ["sab_sw_me262","sab_sw_bf110"];
};

["vehiclesPlanesCAS", _vehiclesPlanesCAS] call _fnc_saveToTemplate;
["vehiclesPlanesLargeCAS", _vehiclesPlanesLargeCAS] call _fnc_saveToTemplate;
["vehiclesPlanesAA", _vehiclesPlanesAA] call _fnc_saveToTemplate;
["vehiclesPlanesTransport", _vehiclesPlanesTransport] call _fnc_saveToTemplate;

["vehiclesHelisLight", []] call _fnc_saveToTemplate;
["vehiclesHelisTransport", []] call _fnc_saveToTemplate;
Expand Down
25 changes: 22 additions & 3 deletions A3A/addons/core/Templates/Templates/CSA38/CSA_AI_WEH_Arid.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,28 @@
["vehiclesGunBoats", []] call _fnc_saveToTemplate;
["vehiclesAmphibious", []] call _fnc_saveToTemplate;

["vehiclesPlanesCAS", ["LIB_DAK_Ju87"]] call _fnc_saveToTemplate;
["vehiclesPlanesAA", ["LIB_DAK_FW190F8"]] call _fnc_saveToTemplate;
["vehiclesPlanesTransport", ["A3U_LIB_C47_German"]] call _fnc_saveToTemplate;
private _vehiclesPlanesCAS = ["LIB_DAK_Ju87"];
private _vehiclesPlanesLargeCAS = [];
private _vehiclesPlanesAA = ["LIB_DAK_FW190F8"];
private _vehiclesPlanesTransport = ["A3U_LIB_C47_German"];

if (isClass (configFile >> "CfgPatches" >> "sab_flyinglegends")) then {
_vehiclesPlanesCAS append ["sab_fl_bf109g"];
_vehiclesPlanesLargeCAS append ["sab_fl_ju88a","sab_fl_ju86"];
_vehiclesPlanesAA append ["sab_fl_bf109e","sab_fl_bf109f","sab_fl_bf109g","sab_fl_bf109k","sab_fl_fw190a","sab_fl_fw190d"];
_vehiclesPlanesTransport = ["sab_fl_ju52"];
};

if (isClass (configFile >> "CfgPatches" >> "sab_sw_i16")) then {
_vehiclesPlanesCAS append ["sab_sw_bf110"];
_vehiclesPlanesLargeCAS append ["sab_sw_he111","sab_sw_he177"];
_vehiclesPlanesAA append ["sab_sw_me262","sab_sw_bf110"];
};

["vehiclesPlanesCAS", _vehiclesPlanesCAS] call _fnc_saveToTemplate;
["vehiclesPlanesLargeCAS", _vehiclesPlanesLargeCAS] call _fnc_saveToTemplate;
["vehiclesPlanesAA", _vehiclesPlanesAA] call _fnc_saveToTemplate;
["vehiclesPlanesTransport", _vehiclesPlanesTransport] call _fnc_saveToTemplate;

["vehiclesHelisLight", []] call _fnc_saveToTemplate;
["vehiclesHelisTransport", []] call _fnc_saveToTemplate;
Expand Down
25 changes: 22 additions & 3 deletions A3A/addons/core/Templates/Templates/CSA38/CSA_AI_WEH_Temperate.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,28 @@
["vehiclesGunBoats", []] call _fnc_saveToTemplate;
["vehiclesAmphibious", []] call _fnc_saveToTemplate;

["vehiclesPlanesCAS", ["LIB_Ju87"]] call _fnc_saveToTemplate;
["vehiclesPlanesAA", ["LIB_FW190F8"]] call _fnc_saveToTemplate;
["vehiclesPlanesTransport", ["A3U_LIB_C47_German"]] call _fnc_saveToTemplate;
private _vehiclesPlanesCAS = ["LIB_Ju87"];
private _vehiclesPlanesLargeCAS = [];
private _vehiclesPlanesAA = ["LIB_FW190F8"];
private _vehiclesPlanesTransport = ["A3U_LIB_C47_German"];

if (isClass (configFile >> "CfgPatches" >> "sab_flyinglegends")) then {
_vehiclesPlanesCAS append ["sab_fl_bf109g"];
_vehiclesPlanesLargeCAS append ["sab_fl_ju88a","sab_fl_ju86"];
_vehiclesPlanesAA append ["sab_fl_bf109e","sab_fl_bf109f","sab_fl_bf109g","sab_fl_bf109k","sab_fl_fw190a","sab_fl_fw190d"];
_vehiclesPlanesTransport = ["sab_fl_ju52"];
};

if (isClass (configFile >> "CfgPatches" >> "sab_sw_i16")) then {
_vehiclesPlanesCAS append ["sab_sw_bf110"];
_vehiclesPlanesLargeCAS append ["sab_sw_he111","sab_sw_he177"];
_vehiclesPlanesAA append ["sab_sw_me262","sab_sw_bf110"];
};

["vehiclesPlanesCAS", _vehiclesPlanesCAS] call _fnc_saveToTemplate;
["vehiclesPlanesLargeCAS", _vehiclesPlanesLargeCAS] call _fnc_saveToTemplate;
["vehiclesPlanesAA", _vehiclesPlanesAA] call _fnc_saveToTemplate;
["vehiclesPlanesTransport", _vehiclesPlanesTransport] call _fnc_saveToTemplate;

["vehiclesHelisLight", []] call _fnc_saveToTemplate;
["vehiclesHelisTransport", []] call _fnc_saveToTemplate;
Expand Down
2 changes: 1 addition & 1 deletion A3A/addons/core/Templates/Templates/CSA38/CSA_Reb_CZE.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private _initialRebelEquipment = [
"csa38_czvz22","CSA38_9mm_8xBrowning",
["LIB_Faustpatrone", 50],
["LIB_Ladung_Small_MINE_mag", 10], ["LIB_Ladung_Big_MINE_mag", 3],
"lib_shg24",
"LIB_Shg24",
"V_csa38_equip_CZ01","V_csa38_equip_CZ02","V_csa38_equip_CZ12",
"csa38_GeMedicbag", "csa38_pouzdrovz23",
"CSA38_Binocular", "csa38_Binocular2"
Expand Down
Loading