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

Add WW2 Factions #283

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
added radio spaw, fixed planespawn, improved loadouts
AdlerSalbei committed Aug 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit d6e9c3fbce9cb7355ac2d9a2191bcdaa3ab192f9
150 changes: 32 additions & 118 deletions BC_buyables/factions/usSPEBlufor.hpp
Original file line number Diff line number Diff line change
@@ -9,17 +9,13 @@ class usSPEBlufor {

// needs to be in every faction
class StartVehicle {
type = "rhsusf_m998_w_4dr";
type = "UK3CB_CW_US_B_EARLY_Willys_Jeep_Open";
condition = "false";

class rhsusf_m998_w_4dr {
class UK3CB_CW_US_B_EARLY_Willys_Jeep_Open {
condition = "BC_IS_WOODLAND";
code = "[(_this select 0)] call BC_buyables_fnc_configureBluforStartVehicle;";
};

class rhsusf_m998_d_4dr {
condition = "!BC_IS_WOODLAND";
};
};

class Logistics {
@@ -28,99 +24,55 @@ class usSPEBlufor {
maxBuyCount = 9;
minPlayerCount = 0;

class rhsusf_M1083A1P2_WD_fmtv_usarmy {
displayName = "FMTV M1083";
class SPE_US_M3_Halftrack_Unarmed_Open {
displayName = "M3 Unarmed";
description = "Carries soldiers decently armored.";
price = 10;
stock = 7;
spawnEmpty = 1;
wheelCargo = 4;
condition = "BC_IS_WOODLAND";
vehicleInit = "[['rhs_woodland',1],['hide_cover',0,'hide_spare',0,'hide_scaffold',0,'hide_bench',0]]";
};

class rhsusf_M1083A1P2_D_fmtv_usarmy: rhsusf_M1083A1P2_WD_fmtv_usarmy {
condition = "!BC_IS_WOODLAND";
vehicleInit = "[['rhs_desert',1],['hide_cover',0,'hide_spare',0,'hide_scaffold',0,'hide_bench',0]]";
vehicleInit = "[[],[]]";
};

class rhsusf_mrzr4_d {
displayName = "MRZR 4";
description = "Fast but protectionless.";
class UK3CB_CW_US_B_EARLY_Willys_Jeep_Open {
displayName = "Willys Jeep";
description = "Carries soldiers decently armored.";
price = 10;
stock = 7;
spawnEmpty = 1;
wheelCargo = 2;
condition = "true";
code = "[(_this select 0), [['mud','mud_olive'] select BC_IS_WOODLAND,1], ['tailgateHide',0,'tailgate_open',0,'cage_fold',0]] call BIS_fnc_initVehicle;";
vehicleInit = "[[],[]]";
};

class rhsusf_M978A4_usarmy_wd{
displayName = "HEMMTT FUEL";
description = "Fuel Truck.";
stock = 1;
spawnEmpty = 1;
wheelCargo = 3;
wheelCargo = 4;
condition = "BC_IS_WOODLAND";
vehicleInit = "[['rhs_woodland',1],['hide_spare',0]]";
code = "(_this select 0) setVariable ['ace_rearm_isSupplyVehicle', false, true]; (_this select 0) setVariable ['ACE_isRepairVehicle', false, true];";
};

class rhsusf_M978A4_usarmy_d: rhsusf_M978A4_usarmy_wd {
condition = "!BC_IS_WOODLAND";
vehicleInit = "[['rhs_desert',1],['hide_spare',0]]";
vehicleInit = "[[],[]]";
};
};


class Recon {
displayName = "Recon";
kindOf = "Vehicles";
maxBuyCount = 2;
minPlayerCount = 20;

class RHS_MELB_H6M {
displayName = "OH-6M";
description = "1 GPS\nNO Thermals\nNO Benches";
price = 10;
stock = 1;
code = "(_this select 0) addItemCargoGlobal ['ACE_NVG_Wide',2];(_this select 0) addItemCargoGlobal ['ItemGPS',1];(_this select 0) disableTIEquipment true; [(_this select 0)] call BC_setup_fnc_fuelDrain;";
spawnEmpty = 1;
vehicleInit = "[[],[]]";
};

class rhsusf_CGRCAT1A2_usmc_wd {
displayName = "Cougar IMV";
description = "Perfect commander limousine.";
class SPE_US_M3_Halftrack {
displayName = "M3 Halftrack";
description = "";
price = 10;
stock = 2;
spawnEmpty = 1;
wheelCargo = 2;
condition = "BC_IS_WOODLAND";
vehicleInit = "[['rhs_woodland',1],['DUKE_Hide',1]]";
};

class rhsusf_CGRCAT1A2_usmc_d: rhsusf_CGRCAT1A2_usmc_wd {
condition = "!BC_IS_WOODLAND";
vehicleInit = "[['rhs_desert',1],['DUKE_Hide',1]]";
vehicleInit = "[[],[]]";
};


class rhsusf_M1078A1R_SOV_M2_WD_fmtv_socom {
displayName = "FMTV M2";
description = "A big target with a big gun.";
stock = 2;
class SPE_P47 {
displayName = "P47 Mustang";
description = "8x 50 cal";
price = 10;
stock = 1;
spawnEmpty = 1;
wheelCargo = 3;
condition = "BC_IS_WOODLAND";
vehicleInit = "[['rhs_woodland',1],['hide_spare',0]]";
code = "(_this select 0) setVariable ['ace_rearm_isSupplyVehicle', false, true]; (_this select 0) setVariable ['ACE_isRepairVehicle', false, true];";
};

class rhsusf_M1078A1R_SOV_M2_D_fmtv_socom: rhsusf_M1078A1R_SOV_M2_WD_fmtv_socom {
condition = "!BC_IS_WOODLAND";
vehicleInit = "[['rhs_desert',1],['hide_spare',0]]";
vehicleInit = "[[],[]]";
code = "deleteVehicle (_this select 0); ['SPE_P47'] remoteExecCall ['BC_ww2_fnc_openGui', blufor_teamlead, false];"
};
};

@@ -130,35 +82,13 @@ class usSPEBlufor {
maxBuyCount = 1;
minPlayerCount = 40;

class rhsusf_m1025_w_m2 {
displayName = "HMMWV M2";
description = "Fast, reliable, deadly.";
class SPE_US_M16_Halftrack {
displayName = "M16 Halftrack, AA";
description = "";
price = 10;
stock = 1;
spawnEmpty = 1;
wheelCargo = 2;
condition = "BC_IS_WOODLAND";
vehicleInit = "[['standard',1],['hide_snorkel',1,'hide_CIP',1,'hide_BFT',0,'hide_Antenna',0,'hide_A2_Parts',0,'Hide_A2Bumper',0,'Hide_Brushguard',1]]";
};

class rhsusf_m1025_d_m2: rhsusf_m1025_w_m2 {
condition = "!BC_IS_WOODLAND";
vehicleInit = "[['Desert',1],['hide_snorkel',1,'hide_CIP',1,'hide_BFT',0,'hide_Antenna',0,'hide_A2_Parts',0,'Hide_A2Bumper',0,'Hide_Brushguard',1]]";
};

class rhsusf_m113_usarmy_M2_90 {
displayName = "M113 Alt";
description = "Versatile APC.";
stock = 1;
spawnEmpty = 1;
trackCargo = 3;
condition = "BC_IS_WOODLAND";
vehicleInit = "[['standard',1],['IFF_Panels_Hide',1]]";
};

class rhsgref_hidf_m113a3_mk19: rhsusf_m113_usarmy_M2_90 {
condition = "!BC_IS_WOODLAND";
vehicleInit = "[['Desert',1],['IFF_Panels_Hide',1]]";
vehicleInit = "[[],[]]";
};
};

@@ -168,26 +98,19 @@ class usSPEBlufor {
maxBuyCount = 1;
minPlayerCount = 60;

class rhsusf_m1045_w {
displayName = "HMMWV TOW";
description = "Tank hunter with fly-by-wire AT.";
class SPE_M18_Hellcat {
displayName = "M18 Hellcat";
description = "Tank hunter";
stock = 1;
spawnEmpty = 1;
wheelCargo = 2;
condition = "BC_IS_WOODLAND";
vehicleInit = "[['standard',1], ['hide_snorkel',1,'hide_CIP',0,'hide_BFT',0,'hide_Antenna',0,'hide_A2_Parts',0,'Hide_A2Bumper',0,'Hide_Brushguard',1]]";
};

class rhsusf_m1045_d: rhsusf_m1045_w {
condition = "!BC_IS_WOODLAND";
vehicleInit = "[['Desert',1], ['hide_snorkel',1,'hide_CIP',0,'hide_BFT',0,'hide_Antenna',0,'hide_A2_Parts',0,'Hide_A2Bumper',0,'Hide_Brushguard',1]]";
vehicleInit = "[[],[]]";
};

class RHS_UH60M2 {
displayName = "UH-60M";
description = "1 GPS\nFRIES equipped";
class SPE_M10 {
displayName = "M10 Wolverine";
description = "Tank hunter";
stock = 1;
code = "(_this select 0) addItemCargoGlobal ['ACE_NVG_Wide',2];(_this select 0) addItemCargoGlobal ['ItemGPS',1];[(_this select 0)] call ace_fastroping_fnc_equipFRIES;[(_this select 0)] call BC_setup_fnc_fuelDrain;";
spawnEmpty = 1;
vehicleInit = "[[],[]]";
};
@@ -215,14 +138,5 @@ class usSPEBlufor {
code = "(_this select 1) addItemCargoGlobal ['ACE_wirecutter',2];(_this select 1) addItemCargoGlobal ['ACE_Clacker',2];(_this select 1) addMagazineCargoGlobal ['DemoCharge_Remote_Mag', 2];";
spawnEmpty = 1;
};

class Land_JumpTarget_F {
kindOf = "Special";
displayName = "Hunt IR Equipment";
description = "Hunt IR Equipment in Start Vehicle.";
stock = 1;
code = "(_this select 1) addItemCargoGlobal ['ACE_HuntIR_monitor',2];(_this select 1) addMagazineCargoGlobal ['ACE_HuntIR_M203',4];";
spawnEmpty = 1;
};
};
};
Loading