Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit ea8a26f
Author: ante <[email protected]>
Date:   Fri Jan 5 01:59:34 2024 +0100

    Staszow, initial push

commit 8c4917c
Author: ante <[email protected]>
Date:   Fri Jan 5 01:58:56 2024 +0100

    Sark update, static spawns

commit 4c6a553
Author: ante <[email protected]>
Date:   Fri Jan 5 01:57:30 2024 +0100

    Update IFA_Reb_Vehicle_Attributes.sqf

commit 98c4a58
Author: ante <[email protected]>
Date:   Fri Jan 5 01:57:23 2024 +0100

    Update fn_milBuildings.sqf

commit 895a255
Author: ante <[email protected]>
Date:   Fri Jan 5 01:57:02 2024 +0100

    Update IFA_AI_ALLIES.sqf

commit 0f014e6
Author: ante <[email protected]>
Date:   Tue Jan 2 04:10:35 2024 +0100

    IFA Statics buildings update

commit b92cff7
Author: ante <[email protected]>
Date:   Mon Jan 1 22:26:33 2024 +0100

    Sark updates

commit 4e2ac89
Author: ante <[email protected]>
Date:   Mon Jan 1 22:26:17 2024 +0100

    winter/desert rebel vehicles

commit 560a3e8
Author: ante <[email protected]>
Date:   Mon Jan 1 22:25:57 2024 +0100

    Update mission.sqm

commit 6609521
Author: ante <[email protected]>
Date:   Sat Dec 30 08:03:54 2023 +0100

    Torbruk

commit bd08765
Author: ante <[email protected]>
Date:   Sat Dec 30 08:03:37 2023 +0100

    rebel civilian vehicles

commit cfb56c2
Author: ante <[email protected]>
Date:   Sat Dec 30 08:03:20 2023 +0100

    Comments

commit fae98e5
Author: ante <[email protected]>
Date:   Fri Dec 29 00:11:01 2023 +0100

    Update mission.sqm

commit 4f8d6d1
Author: ante <[email protected]>
Date:   Fri Dec 29 00:02:48 2023 +0100

    Sark testbed update

commit e132fe8
Author: ante <[email protected]>
Date:   Fri Dec 29 00:02:04 2023 +0100

    used launcher categories

commit a341089
Author: ante <[email protected]>
Date:   Fri Dec 29 00:01:54 2023 +0100

    template fixes

commit 5e0d0e4
Author: ante <[email protected]>
Date:   Thu Dec 28 21:52:32 2023 +0100

    Bayonets and weapon tweaks

commit a5f211f
Author: ante <[email protected]>
Date:   Thu Dec 28 21:52:19 2023 +0100

    Home Army

commit 3876116
Author: ante <[email protected]>
Date:   Thu Dec 28 17:31:41 2023 +0100

    Updated flags, added low air attribute

commit 649c593
Author: ante <[email protected]>
Date:   Wed Dec 27 01:03:40 2023 +0100

    REB Vehicle Attributes lines

commit b831536
Author: ante <[email protected]>
Date:   Wed Dec 27 01:03:29 2023 +0100

    "Police" voicelines

commit 8356846
Author: ante <[email protected]>
Date:   Tue Dec 26 23:48:54 2023 +0100

    Arsenal fixed

commit 9d9f9be
Author: ante <[email protected]>
Date:   Tue Dec 26 23:45:01 2023 +0100

    Rebel vehicle and vehicle cost update

commit 2dab3eb
Merge: 55e70b4 e77cf0d
Author: ante <[email protected]>
Date:   Tue Dec 26 22:39:46 2023 +0100

    Merge branch 'unstable' into IFA-AIO
  • Loading branch information
ante185 committed Jan 5, 2024
1 parent d9dee68 commit 7ce3a25
Show file tree
Hide file tree
Showing 25 changed files with 9,970 additions and 622 deletions.
17 changes: 16 additions & 1 deletion A3A/addons/core/Templates/Templates.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -944,9 +944,10 @@ class Templates
{
requiredAddons[] = {"IFA3_Core"};
basepath = QPATHTOFOLDER(Templates\Templates\IFA);
logo = "";
logo = ""; //Can't figure out how to path to the logo at the base of the IFA AiO mod??
priority = 60;
equipFlags[] = {"lowTech"};
//climate[] = {"temperate","tropical"};
forceDLC[] = {};
};
class IFA_WEH : IFA_Base
Expand Down Expand Up @@ -993,6 +994,17 @@ class Templates
name = "IFA French Resistance";
priority = 65;
file = "IFA_REB_FFI";
maps[] = {};
climate[] = {};
};
class IFA_AK : IFA_Base
{
side = "Reb";
flagTexture = QPATHTOFOLDER(Templates\Templates\IFA\flag_ak.paa);
name = "IFA Polish Resistance";
file = "IFA_REB_AK";
maps[] = {"Staszow"};
climate[] = {};
};
class IFA_AK : IFA_Base
{
Expand All @@ -1008,13 +1020,16 @@ class Templates
name = "IFA French";
priority = 65;
file = "IFA_CIV_FR";
climate[] = {};
};
class IFA_CIV_PL : IFA_Base
{
side = "Civ";
flagTexture = QPATHTOFOLDER(Templates\Templates\IFA\flag_pl.paa);
name = "IFA Polish";
file = "IFA_CIV_PL";
maps[] = {"Staszow"};
climate[] = {};
};
// ***************************** SPE with IFA *****************************

Expand Down
65 changes: 47 additions & 18 deletions A3A/addons/core/Templates/Templates/IFA/IFA_AI_ALLIES.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ _loadoutData set ["rangefinders", ["LIB_Binocular_US"]];
_loadoutData set ["uniforms", []];
_loadoutData set ["vests", []];
_loadoutData set ["backpacks", []];
_loadoutData set ["lightBackpacks", ["B_LIB_US_Bandoleer"]];
_loadoutData set ["atBackpacks", ["B_LIB_US_RocketBag_Empty"]];
_loadoutData set ["longRangeRadios", []];
_loadoutData set ["helmets", []];
Expand Down Expand Up @@ -193,10 +194,17 @@ _loadoutData set ["items_unarmed_extras", []];
///////////////////////////////////////

private _sfLoadoutData = _loadoutData call _fnc_copyLoadoutData;
_sfLoadoutData set ["uniforms", ["U_LIB_US_Rangers_Uniform"]];
_sfLoadoutData set ["vests", ["V_LIB_US_Assault_Vest"]];
_sfLoadoutData set ["backpacks", ["B_LIB_US_Backpack"]];
_sfLoadoutData set ["helmets", ["H_LIB_US_Rangers_Helmet"]];
_sfLoadoutData set ["uniforms", ["U_LIB_US_Rangers_Uniform", "U_LIB_US_Rangers_Private_1st"]];
_sfLoadoutData set ["engUniforms", ["U_LIB_US_Rangers_Eng"]];
_sfLoadoutData set ["medUniforms", ["U_LIB_US_Rangers_Med"]];

_sfLoadoutData set ["vests", ["V_LIB_US_Assault_Vest", "V_LIB_US_Assault_Vest_dday"]];
_sfLoadoutData set ["medVests", ["V_LIB_US_Assault_Vest_Light"]];
_sfLoadoutData set ["slVests", ["V_LIB_US_Assault_Vest_Thompson"]];

_sfLoadoutData set ["backpacks", ["B_LIB_US_M36_Bandoleer"]];
_sfLoadoutData set ["helmets", ["H_LIB_US_Rangers_Helmet_ns"]];
_sfLoadoutData set ["slHelmets", ["H_LIB_US_Rangers_Helmet_NCO"]];
_sfLoadoutData set ["atBackpacks", ["B_LIB_US_Backpack_RocketBag_Empty"]];
//["Weapon", "Muzzle", "Rail", "Sight", [], [], "Bipod"];

Expand All @@ -214,10 +222,18 @@ _sfLoadoutData set ["machineGuns", ["LIB_M1918A2_BAR", "LIB_M1919A6"]];
/////////////////////////////////

private _militaryLoadoutData = _loadoutData call _fnc_copyLoadoutData;
_militaryLoadoutData set ["uniforms", ["U_LIB_US_Private"]];
_militaryLoadoutData set ["vests", ["V_LIB_US_Vest_Garand"]];
_militaryLoadoutData set ["uniforms", ["U_LIB_US_Private", "U_LIB_US_Private_1st"]];
_militaryLoadoutData set ["engUniforms", ["U_LIB_US_Eng"]];
_militaryLoadoutData set ["medUniforms", ["U_LIB_US_Med"]];

_militaryLoadoutData set ["vests", ["V_LIB_US_Vest_Garand", "V_LIB_US_Vest_Bar"]];
_militaryLoadoutData set ["medVests", ["V_LIB_US_Vest_Medic", "V_LIB_US_Vest_Medic2"]];
_militaryLoadoutData set ["slVests", ["V_LIB_US_Vest_Thompson_nco_Radio", "V_LIB_US_Vest_Carbine_nco_Radio"]];

_militaryLoadoutData set ["backpacks", ["B_LIB_US_Backpack"]];
_militaryLoadoutData set ["helmets", ["H_LIB_US_Helmet"]];
_militaryLoadoutData set ["helmets", ["H_LIB_US_Helmet_ns"]];
_militaryLoadoutData set ["slHelmets", ["H_LIB_US_Helmet_CO"]];
_militaryLoadoutData set ["medHelmets", ["H_LIB_US_Helmet_Med_ns"]];

_militaryLoadoutData set ["slWeapons", ["LIB_M3_GreaseGun", "LIB_M1A1_Thompson", "LIB_M1_Garand", "LIB_M1_Carbine", "LIB_M1_Carbine"]];
_militaryLoadoutData set ["rifles", [["LIB_M1_Garand", "LIB_ACC_M1_Bayo", "", "", [], [], ""],"LIB_M1_Garand" ]];
Expand Down Expand Up @@ -250,11 +266,20 @@ _policeLoadoutData set ["rifles", [
////////////////////////////////

private _militiaLoadoutData = _loadoutData call _fnc_copyLoadoutData;
_militiaLoadoutData set ["uniforms", ["U_LIB_UK_P37"]];
_militiaLoadoutData set ["uniforms", ["U_LIB_UK_P37", "U_LIB_UK_P37Jerkins"]];
_militiaLoadoutData set ["engUniforms", ["U_LIB_UK_P37_Corporal", "U_LIB_UK_P37Jerkins_Corporal"]];
_militiaLoadoutData set ["medUniforms", []];

_militiaLoadoutData set ["vests", ["V_LIB_UK_P37_Rifleman"]];
_militiaLoadoutData set ["medVests", ["V_LIB_UK_P37_Gasmask", "V_LIB_UK_P37_Heavy"]];
_militiaLoadoutData set ["slVests", ["V_LIB_UK_P37_Holster", "V_LIB_UK_P37_Officer", "V_LIB_UK_P37_Sten"]];

_militiaLoadoutData set ["backpacks", ["B_LIB_UK_HSack"]];
_militiaLoadoutData set ["atBackpacks", ["B_LIB_UK_HSack"]];

_militiaLoadoutData set ["helmets", ["H_LIB_UK_Helmet_Mk2"]];
_militiaLoadoutData set ["slHelmets", ["H_LIB_UK_Beret"]];
_militiaLoadoutData set ["medHelmets", ["H_LIB_UK_Helmet_Mk2_FAK"]];

_militiaLoadoutData set ["binoculars", ["LIB_Binocular_UK"]];
_militiaLoadoutData set ["rangefinders", ["LIB_Binocular_UK"]];
Expand Down Expand Up @@ -302,7 +327,7 @@ _pilotLoadoutData set ["helmets", ["H_LIB_US_Helmet_Pilot"]];
_pilotLoadoutData set ["sidearms", ["LIB_Colt_M1911"]];

private _officerLoadoutData = _militaryLoadoutData call _fnc_copyLoadoutData;
_officerLoadoutData set ["uniforms", ["U_LIB_US_Cap"]];
_officerLoadoutData set ["slUniforms", ["U_LIB_US_Cap"]];
_officerLoadoutData set ["vests", ["V_LIB_US_Vest_Carbine_nco"]];
_officerLoadoutData set ["helmets", ["H_LIB_US_Helmet_Cap"]];

Expand All @@ -319,10 +344,9 @@ _officerLoadoutData set ["slSidearms", ["LIB_Colt_M1911"]];
//However, these exist in case you really do want to do a lot of custom alterations.

private _squadLeaderTemplate = {
["helmets"] call _fnc_setHelmet;
[["slHelmets", "helmets"] call _fnc_fallback] call _fnc_setHelmet;
["facewear"] call _fnc_setFacewear;
["vests"] call _fnc_setVest;
["uniforms"] call _fnc_setUniform;
["slVests"] call _fnc_setVest;

["backpacks"] call _fnc_setBackpack;

Expand Down Expand Up @@ -355,6 +379,8 @@ private _riflemanTemplate = {
["vests"] call _fnc_setVest;
["uniforms"] call _fnc_setUniform;

["lightBackpacks"] call _fnc_setBackpack;

["rifles"] call _fnc_setPrimary;
["primary", 5] call _fnc_addMagazines;

Expand All @@ -372,13 +398,13 @@ private _riflemanTemplate = {
};

private _medicTemplate = {
["helmets"] call _fnc_setHelmet;
[["medHelmets", "helmets"] call _fnc_fallback] call _fnc_setHelmet;
["facewear"] call _fnc_setFacewear;
["vests"] call _fnc_setVest;
["uniforms"] call _fnc_setUniform;
["medVests"] call _fnc_setVest;
[["medUniforms", "engUniforms"] call _fnc_fallback] call _fnc_setUniform;
["backpacks"] call _fnc_setBackpack;

[[selectRandom ["SMGs", "carbines", "rifles"], "rifles"] call _fnc_fallback] call _fnc_setPrimary;
[[selectRandom ["SMGs", "carbines"], "rifles"] call _fnc_fallback] call _fnc_setPrimary;
["primary", 5] call _fnc_addMagazines;

["sidearms"] call _fnc_setHandgun;
Expand Down Expand Up @@ -425,7 +451,7 @@ private _explosivesExpertTemplate = {
["helmets"] call _fnc_setHelmet;
["facewear"] call _fnc_setFacewear;
["vests"] call _fnc_setVest;
["uniforms"] call _fnc_setUniform;
["engUniforms"] call _fnc_setUniform;
["backpacks"] call _fnc_setBackpack;

[[selectRandom ["SMGs", "carbines"], "rifles"] call _fnc_fallback] call _fnc_setPrimary;
Expand Down Expand Up @@ -458,7 +484,7 @@ private _engineerTemplate = {
["helmets"] call _fnc_setHelmet;
["facewear"] call _fnc_setFacewear;
["vests"] call _fnc_setVest;
["uniforms"] call _fnc_setUniform;
["engUniforms"] call _fnc_setUniform;
["backpacks"] call _fnc_setBackpack;

[selectRandom["SMGs", "carbines"]] call _fnc_setPrimary;
Expand Down Expand Up @@ -499,6 +525,7 @@ private _latTemplate = {
["launcher", 1] call _fnc_addMagazines;
["antiInfantryGrenades", 1] call _fnc_addItem;
} else {
["lightBackpacks"] call _fnc_setBackpack;
["antiTankGrenades", 4] call _fnc_addItem;
};

Expand Down Expand Up @@ -583,6 +610,7 @@ private _marksmanTemplate = {
["facewear"] call _fnc_setFacewear;
["vests"] call _fnc_setVest;
["uniforms"] call _fnc_setUniform;
["lightBackpacks"] call _fnc_setBackpack;

["marksmanRifles"] call _fnc_setPrimary;
["primary", 5] call _fnc_addMagazines;
Expand Down Expand Up @@ -632,6 +660,7 @@ private _crewTemplate = {
["facewear"] call _fnc_setFacewear;
["vests"] call _fnc_setVest;
["uniforms"] call _fnc_setUniform;
["lightBackpacks"] call _fnc_setBackpack;

if(random 10 > 5) then
{
Expand Down
2 changes: 1 addition & 1 deletion A3A/addons/core/Templates/Templates/IFA/IFA_AI_WEH.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ for "_i" from 1 to _tankRatio do { _tanks append _mediumTanks; };
["vehiclesPolice", ["LIB_Kfz1_Hood_sernyt","LIB_Kfz1_sernyt", "LIB_Kfz1_MG42_sernyt"]] call _fnc_saveToTemplate;

["staticMGs", ["LIB_MG42_Lafette_low_Deployed","LIB_MG34_Lafette_low_Deployed"]] call _fnc_saveToTemplate;
["staticAT", ["LIB_Pak40_g","LIB_Pak40_g","LIB_FlaK_36","LIB_leFH18_AT"]] call _fnc_saveToTemplate;
["staticAT", ["LIB_Pak40_g","LIB_Pak40_g","LIB_leFH18_AT"]] call _fnc_saveToTemplate;
["staticAA", ["LIB_FlaK_36_AA","LIB_FlaK_30","LIB_FlaK_30","LIB_FlaK_38","LIB_FlaK_38","LIB_Flakvierling_38","LIB_Flakvierling_38"]] call _fnc_saveToTemplate;
["staticMortars", ["LIB_GrWr34","LIB_GrWr34_g"]] call _fnc_saveToTemplate;

Expand Down
20 changes: 19 additions & 1 deletion A3A/addons/core/Templates/Templates/IFA/IFA_REB_AK.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//////////////////////////

["vehiclesBasic", ["LIB_Willys_MB"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_GazM1_SOV"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_GazM1_SOV", "LIB_Willys_MB_Hood"]] call _fnc_saveToTemplate;
["vehiclesLightArmed", ["LIB_UK_Willys_MB_M1919"]] call _fnc_saveToTemplate; //replace with a version in plain green
["vehiclesTruck", ["LIB_Zis5v"]] call _fnc_saveToTemplate;
["vehiclesAT", []] call _fnc_saveToTemplate;
Expand Down Expand Up @@ -54,6 +54,24 @@
["breachingExplosivesAPC", [["LIB_Ladung_Big_MINE_mag", 1], ["LIB_Ladung_Small_MINE_mag", 1]]] call _fnc_saveToTemplate;
["breachingExplosivesTank", [["LIB_US_TNT_4pound_mag", 1], ["LIB_Ladung_Big_MINE_mag", 2]]] call _fnc_saveToTemplate;

switch (A3A_climate) do
{
case "arid": {
["vehiclesBasic", ["LIB_US_NAC_Willys_MB"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_GazM1_SOV_camo_sand", "LIB_US_NAC_Willys_MB_Hood"]] call _fnc_saveToTemplate;
["vehiclesLightArmed", ["LIB_US_NAC_Willys_MB_M1919"]] call _fnc_saveToTemplate;
};
case "arctic": {
["vehiclesBasic", ["LIB_Willys_MB_w"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_GazM1_SOV", "LIB_Willys_MB_Hood_w"]] call _fnc_saveToTemplate;
["vehiclesLightArmed", ["LIB_US_Willys_MB_M1919_w"]] call _fnc_saveToTemplate;
["vehiclesTruck", ["LIB_Zis5v_w"]] call _fnc_saveToTemplate;
["vehiclesMedical", ["LIB_Zis5v_med_w"]] call _fnc_saveToTemplate;

["staticAT", ["LIB_Zis3_w"]] call _fnc_saveToTemplate;
};
};

#include "IFA_Reb_Vehicle_Attributes.sqf"

///////////////////////////
Expand Down
22 changes: 21 additions & 1 deletion A3A/addons/core/Templates/Templates/IFA/IFA_REB_FFI.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//////////////////////////

["vehiclesBasic", ["LIB_Willys_MB"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_GazM1_FFI"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_GazM1_FFI", "LIB_Willys_MB_Hood"]] call _fnc_saveToTemplate;
["vehiclesLightArmed", ["LIB_UK_Willys_MB_M1919"]] call _fnc_saveToTemplate; //replace with a version in plain green
["vehiclesTruck", ["LIB_CIV_FFI_CitC4_5"]] call _fnc_saveToTemplate;
["vehiclesAT", ["LIB_Zis5v_61K"]] call _fnc_saveToTemplate; //Remove maybe
Expand Down Expand Up @@ -54,6 +54,26 @@
["breachingExplosivesAPC", [["LIB_Ladung_Big_MINE_mag", 1], ["LIB_Ladung_Small_MINE_mag", 1]]] call _fnc_saveToTemplate;
["breachingExplosivesTank", [["LIB_US_TNT_4pound_mag", 1], ["LIB_Ladung_Big_MINE_mag", 2]]] call _fnc_saveToTemplate;

switch (A3A_climate) do
{
case "arid": {
["vehiclesBasic", ["LIB_US_NAC_Willys_MB"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_GazM1_FFI_sand", "LIB_US_NAC_Willys_MB_Hood"]] call _fnc_saveToTemplate;
["vehiclesLightArmed", ["LIB_US_NAC_Willys_MB_M1919"]] call _fnc_saveToTemplate;
};
case "arctic": {
["vehiclesBasic", ["LIB_Willys_MB_w"]] call _fnc_saveToTemplate;
["vehiclesLightUnarmed", ["LIB_GazM1_FFI", "LIB_Willys_MB_Hood_w"]] call _fnc_saveToTemplate;
["vehiclesLightArmed", ["LIB_US_Willys_MB_M1919_w"]] call _fnc_saveToTemplate;

["staticAT", ["LIB_Zis3_w"]] call _fnc_saveToTemplate;
["staticAA", ["LIB_FlaK_30_w"]] call _fnc_saveToTemplate;
};
case "tropical": {
["vehiclesLightUnarmed", ["LIB_GazM1_FFI_camo", "LIB_Willys_MB_Hood"]] call _fnc_saveToTemplate;
};
};

#include "IFA_Reb_Vehicle_Attributes.sqf"

///////////////////////////
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,22 @@
//Everything is a touch more expensive to encourage theft.
//Cars
["LIB_Willys_MB", ["rebCost", 200]],
["LIB_Willys_MB_w", ["rebCost", 200]],
["LIB_US_NAC_Willys_MB", ["rebCost", 200]],
["LIB_UK_Willys_MB_M1919", ["rebCost", 1000]],
["LIB_US_Willys_MB_M1919_w", ["rebCost", 1000]],
["LIB_US_NAC_Willys_MB_M1919", ["rebCost", 1000]],
["LIB_GazM1", ["rebCost", 400]],
["LIB_GazM1_dirty", ["rebCost", 400]],
["LIB_Zis5v_61K", ["rebCost", 2000]], //Alternatively we'd make this not purchable?

//Statics
["LIB_M1919_M2", ["rebCost", 800]],
["LIB_Maxim_M30_base", ["rebCost", 800]],
["LIB_Zis3", ["rebCost", 2000]],
["LIB_Zis3_w", ["rebCost", 2000]],
["LIB_M2_60", ["rebCost", 2000]],
["LIB_FlaK_30", ["rebCost", 1200]],
["LIB_FlaK_30_w", ["rebCost", 1200]],
["LIB_61k", ["rebCost", 1700]]
]] call _fnc_saveToTemplate;
11 changes: 6 additions & 5 deletions A3A/addons/core/functions/CREATE/fn_createAIcontrols.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,20 @@ if (_isControl) then
_groupE = grpNull;
if !(A3A_hasIFA) then
{
private _IFAMaps = ["Hyde_Sark"];
private _IFAMaps = ["Hyde_Sark", "iron_excelsior_Tobruk"];
private _ifLowMGs = false;
private _bunkerClass = "Land_BagBunker_01_Small_green_F";
private _offset = [0,0, 0];
private _offset = [0, 0, 0];
_typeVehX = selectRandom (_faction get "staticMGs");
if (worldname == "SPE_Normandy" || worldname in _IFAMaps) then {
_ifLowMGs = true;
if (worldname == "SPE_Normandy") then {
_bunkerClass = "Land_SPE_Sandbag_Nest";
_offset = [-0.200684,-0.91333,-0.421184]
} else {
_bunkerClass = "Fort_EnvelopeSmall";
_offset = [0,1.5,0]
_offset = [0,1.5,-0.15];
_offset = _offset vectorAdd ([[0,0,0], [0,0.2,0.17]] select (_typeVehX == "LIB_M1919_M2"));
};
} else {
if (A3A_climate == "arid") then
Expand All @@ -103,7 +105,6 @@ if (_isControl) then
_pos = getPosATL _bunker;
};
_vehiclesX pushBack _bunker;
_typeVehX = selectRandom (_faction get "staticMGs");
_veh = _typeVehX createVehicle _positionX;
_vehiclesX pushBack _veh;
_veh setPosATL _pos;
Expand All @@ -121,7 +122,7 @@ if (_isControl) then
_bunker setDir _dirveh + 180;
_pos = _bunker modelToWorld _offset;
_vehiclesX pushBack _bunker;
_typeVehX = selectRandom (_faction get "staticMGs");
//_typeVehX = selectRandom (_faction get "staticMGs");
_veh = _typeVehX createVehicle _positionX;
_vehiclesX pushBack _veh;
_veh setPosATL _pos;
Expand Down
Loading

0 comments on commit 7ce3a25

Please sign in to comment.