Skip to content

Commit

Permalink
Merge pull request #247 from gruppe-adler/bwTank
Browse files Browse the repository at this point in the history
add bw tanks of gm
  • Loading branch information
nomisum authored Jul 30, 2019
2 parents e034b97 + 1d0afb2 commit 0c05cd8
Show file tree
Hide file tree
Showing 12 changed files with 348 additions and 55 deletions.
2 changes: 1 addition & 1 deletion BC_buyables/factions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// BLUFOR
#include "factions\bwGM.hpp"
#include "factions\usa.hpp"
#include "factions\usaTank.hpp"
#include "factions\bwTank.hpp"

/// OPFOR
#include "factions\nvaGM.hpp"
Expand Down
3 changes: 1 addition & 2 deletions BC_buyables/factions/bwGM.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,8 @@ class bwGM {

class gm_ge_army_m113a1g_apc_milan_oli {
displayName = "Armed carrier (tracked).";
description = "1 GPS\nFRIES equipped";
description = "";
stock = 7;
code = "(_this select 0) addItemCargoGlobal ['ACE_NVG_Wide',2];(_this select 0) addItemCargoGlobal ['ItemGPS',1];[(_this select 0)] call ace_fastroping_fnc_equipFRIES;";
spawnEmpty = 1;
crewHelmet = "gm_ge_headgear_crewhat_80_blk";
condition = "BC_IS_WOODLAND";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,47 +1,45 @@
//a different set of buyables
class USATank {
class bwTank {
side = "Blufor";
loadout = "usa";
loadout = "bwFle";
mode = "destroy";

// needs to be in every faction
class StartVehicle {
deployAction = "";
retractAction = "";
condition = "false";
terminalPositionOffset = [0.3,-2.85,0.7];
terminalVectorDirAndUp = [[0,1,0.3],[0,0,0.7]];
driverGps = "true";
crewHelmet = "";
disableTIEquipment = "true";

class rhsusf_m1a2sep1wd_usarmy {
class gm_ge_army_Leopard1a3a1_wdl {
condition = "true";
code = "[(_this select 0)] call BC_buyables_fnc_configureBluforStartVehicle;";
code = "[(_this select 0)] call BC_buyables_fnc_configureBluforStartVehicle; (_this select 0) addWeaponCargoGlobal ['rhs_weap_m72a7', 12];";
};
};

class Light {
displayName = "Light";
kindOf = "Vehicles";
maxBuyCount = 1;
maxBuyCount = 3;
minPlayerCount = 0;
driverGps = "true";
crewHelmet = "";
disableTIEquipment = "true";

class RHS_M2A3_wd {
displayName = "M2A3";
class gm_ge_army_m113a1g_apc_milan_wdl {
displayName = "M113 Milan";
description = "";
price = 10;
stock = 1;
stock = 3;
itemCargo = "";
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_m72a7', 3];";
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_m72a7', 6];";
magazineCargo = "";
trackCargo = 2;
spawnEmpty = 1;
condition = "true";
vehicleInit = "[['standard',1],['IFF_Panels_Hide',1,'Select_TOW',1,'Select_Stinger',0]]";
vehicleInit = "[[],[]]";
};
};

Expand All @@ -50,44 +48,44 @@ class USATank {
displayName = "Heavy";
kindOf = "Vehicles";
maxBuyCount = 2;
minPlayerCount = 10;
minPlayerCount = 0;
driverGps = "true";
crewHelmet = "";
disableTIEquipment = "true";

class rhsusf_m1a1aimwd_usarmy {
displayName = "M1A1";
class gm_ge_army_Leopard1a3a1_wdl {
displayName = "Leopard 1 A3";
description = "";
price = 10;
stock = 2;
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_m72a7', 3];";
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_m72a7', 6];";
itemCargo = "";
magazineCargo = "";
trackCargo = 2;
spawnEmpty = 1;
condition = "true";
vehicleInit = "[['woodland',1],['IFF_Panels_Hide',1,'Miles_Hide',1]]";
vehicleInit = "[[],[]]";
};
};


class Support {
displayName = "Support";
kindOf = "Vehicles";
maxBuyCount = 1;
minPlayerCount = 20;
maxBuyCount = 2;
minPlayerCount = 0;
driverGps = "true";
crewHelmet = "";
disableTIEquipment = "true";

class rhsusf_m966_w {
class redd_tank_wiesel_1a2_tow {
displayName = "HMMWV-TOW";
description = "";
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_m72a7', 3];";
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_m72a7', 6];";
stock = 2;
spawnEmpty = 1;
condition = "true";
vehicleInit = "[[standard,1], [hide_snorkel,1,hide_CIP,0,hide_BFT,0,hide_Antenna,0,hide_A2_Parts,0,Hide_A2Bumper,1,Hide_Brushguard,1]]";
vehicleInit = "[[],[]]";
};
};
};
49 changes: 25 additions & 24 deletions BC_buyables/factions/russiaTank.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,85 +15,86 @@ class RussiaTank {
disableTIEquipment = "true";
canMoveDuringTransmission = "true";

class rhs_t80bvk {
displayName = "T-80BVK";
class gm_gc_army_t55a_oli {
displayName = "T-55A";
description = "";
price = 10;
stock = 2;
spawnEmpty = 1;
condition = "true";
vehicleInit = "[[], ['kshield_unhide',0,'kdeck_unhide',1,'sideskirt_unhide',0,'fbskirt_unhide',0,'ftskirt_unhide',0,'log_unhide',1,'snorkel_unhide',0]]";
removeMagazines = "['rhs_mag_3of26_5', [0]]";
vehicleInit = "[['gm_gc_oli',1], ['camoNet_01_unhide',0]]";
crewHelmet = "gm_gc_army_headgear_crewhat_80_blk";
terminalPositionOffset = "[0.3,-2.85,0.7]";
terminalVectorDirAndUp = "[[0,1,0.3],[0,0,0.7]]";
antennaOffset = "[0,-3.2,-0.1]";
code = "[(_this select 0)] call BC_buyables_fnc_configureOpforStartVehicle; (_this select 0) addWeaponCargoGlobal ['rhs_weap_rpg26', 3];";
code = "[(_this select 0)] call BC_buyables_fnc_configureOpforStartVehicle; (_this select 0) addWeaponCargoGlobal ['rhs_weap_rpg26', 12];";
};
};

class Light {
displayName = "Light";
kindOf = "Vehicles";
maxBuyCount = 1;
maxBuyCount = 3;
minPlayerCount = 0;
driverGps = "true";
crewHelmet = "rhs_tsh4";
disableTIEquipment = "true";

class rhs_bmp2d_vmf {
displayName = "BMP2-D";
description = "";
class gm_gc_army_bmp1sp2_oli {
displayName = "BMP1-D";
description = "Carries more soldiers than T-55A but is less protected.";
price = 10;
stock = 7;
stock = 3;
spawnEmpty = 1;
condition = "true";
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_rpg26', 3];";
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_rpg26', 6];";
itemCargo = "";
magazineCargo = "[['HandGrenade', 5]]";
trackCargo = 2;
removeMagazines = "['rhs_mag_og15v_20', [0]]";
vehicleInit = "[['standard',1], ['crate_l1_unhide',1,'crate_l2_unhide',1,'crate_l3_unhide',1,'crate_r1_unhide',1,'crate_r2_unhide',1,'crate_r3_unhide',1,'wood_1_unhide',1,'maljutka_hide_source',1,'cargoHandler1',0]]";
};
crewHelmet = "gm_gc_army_headgear_crewhat_80_blk";
vehicleInit = "[['gm_gc_oli',1],['spareTracks_1_1_unhide',0,'spareTracks_1_2_unhide',0,'spareTracks_2_1_unhide',0,'wheelChock_1_1_unhide',0,'wheelChock_1_2_unhide',0,'woodenBeam_01_unhide',0,'tarpRoll_01_unhide',0]]";
};
};


class Heavy {
displayName = "Heavy";
kindOf = "Vehicles";
maxBuyCount = 2;
minPlayerCount = 10;
minPlayerCount = 0;
driverGps = "true";
crewHelmet = "rhs_tsh4";
disableTIEquipment = "true";

class rhs_t80bvk {
displayName = "T-80BVK";
class gm_gc_army_t55a_oli {
displayName = "T-55A";
description = "";
price = 10;
stock = 2;
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_rpg26', 3];";
spawnEmpty = 1;
condition = "true";
vehicleInit = "[[], ['kshield_unhide',0,'kdeck_unhide',1,'sideskirt_unhide',0,'fbskirt_unhide',0,'ftskirt_unhide',0,'log_unhide',1,'snorkel_unhide',0]]";
removeMagazines = "['rhs_mag_3of26_5', [0]]";
vehicleInit = "[['gm_gc_oli',1], ['camoNet_01_unhide',0]]";
crewHelmet = "gm_gc_army_headgear_crewhat_80_blk";
antennaOffset = "[0,-3.2,-0.1]";
code = "[(_this select 0)] call BC_buyables_fnc_configureOpforStartVehicle; (_this select 0) addWeaponCargoGlobal ['rhs_weap_rpg26', 6];";
};
};


class Support {
displayName = "Support";
kindOf = "Vehicles";
maxBuyCount = 1;
minPlayerCount = 20;
maxBuyCount = 2;
minPlayerCount = 0;
driverGps = "true";
crewHelmet = "rhs_tsh4";
disableTIEquipment = "true";

class rhsgref_BRDM2_ATGM_msv {
displayName = "BRDM-AT";
description = "";
stock = 7;
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_rpg26', 3];";
stock = 2;
code = "(_this select 0) addWeaponCargoGlobal ['rhs_weap_rpg26', 6];";
spawnEmpty = 1;
condition = "true";
vehicleInit = "[['olive', 1], ['driverViewHatch',0,'commanderViewHatch',0,'hatchCommander',1]]";
Expand Down
6 changes: 3 additions & 3 deletions BC_buyables/params.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ class BUYABLES_BLUFOR
{
title = "Blufor";
values[] = {0, 1, 2};
texts[] = {"bwGM", "USA", "USATanks"};
default = 1;
texts[] = {"bwGM", "USA", "BWTanks"};
default = 2;
};

class BUYABLES_OPFOR
{
title = "Opfor";
values[] = {0, 1, 2};
texts[] = {"nvaGM", "Russia", "RussiaTanks"};
default = 1;
default = 2;
};
4 changes: 3 additions & 1 deletion BC_loadouts/factions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
#include "factions\usa.hpp"

#include "factions\bwGM.hpp"
#include "factions\nvaGM.hpp"
#include "factions\nvaGM.hpp"

#include "factions\bwFle.hpp"
Loading

0 comments on commit 0c05cd8

Please sign in to comment.