Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisum committed May 19, 2021
2 parents 4b51325 + 7551bde commit 9e2a377
Show file tree
Hide file tree
Showing 32 changed files with 1,254 additions and 26 deletions.
4 changes: 3 additions & 1 deletion BC_buyables/factions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
#include "factions\usa.hpp"
#include "factions\bwTank.hpp"
#include "factions\sovjetGM.hpp"
#include "factions\USVN.hpp"

/// OPFOR
#include "factions\nvaGM.hpp"
#include "factions\russia.hpp"
#include "factions\russiaTank.hpp"
#include "factions\mudscha.hpp"
#include "factions\rebels.hpp"
#include "factions\rebels.hpp"
#include "factions\PAVN.hpp"
173 changes: 173 additions & 0 deletions BC_buyables/factions/PAVN.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
//a different set of buyables
class PAVN {
side = "Opfor";
loadout = "pavn";
mode = "conquer";

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

class vn_o_wheeled_z157_03_nva65 {
condition = "true";
vehicleInit = "[[],['ClanLogo_Hide',1]]";
code = "[(_this select 0)] call BC_buyables_fnc_configureOpforStartVehicle;";
};
};

class Logistics {
displayName = "Logistics";
kindOf = "Vehicles";
maxBuyCount = 9;
minPlayerCount = 0;

class vn_o_wheeled_z157_02_nva65 {
displayName = "Z-157";
description = "The workhorse of your army.";
price = 10;
stock = 7;
spawnEmpty = 1;
wheelCargo = 2;
condition = "true";
vehicleInit = "[[],['ClanLogo_Hide',1]]";
};

class vn_o_bicycle_01_nva65 {
displayName = "Bike";
description = "Faster and smaller footprint but cant transport as many.";
price = 10;
stock = 7;
spawnEmpty = 1;
wheelCargo = 2;
condition = "true";
vehicleInit = "[[],[]]";
};
};


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

class vn_o_wheeled_btr40_mg_01_nva65 {
displayName = "BTR-40 RPD";
description = "The perfect commander limousine.";
price = 10;
stock = 2;
wheelCargo = 2;
spawnEmpty = 1;
condition = "true";
vehicleInit = "[['btr_03',1],['chairs_hide',0,'canopy_hide',1,'refuel_can_hide',0,'saw_hide',0,'sparewheel_hide',0,'shovel_hide',0,'toolbox_hide',0]]";
};

class vn_o_wheeled_z157_mg_01_nva65 {
displayName = "Z-157 Dshkm";
description = "Fast and a deadly gun against ground and air targets.";
price = 10;
stock = 2;
spawnEmpty = 1;
wheelCargo = 2;
condition = "true";
vehicleInit = "[[],['ClanLogo_Hide',1]]";
};

};


class Support {
displayName = "Support";
kindOf = "Vehicles";
maxBuyCount = 1;
minPlayerCount = 40;


class vn_o_wheeled_z157_repair {
displayName = "Z-157 Repair";
description = "Repair Vehicle (can repair wrecks)";
stock = 1;
spawnEmpty = 1;
wheelCargo = 2;
condition = "true";
vehicleInit = "[[],['ClanLogo_Hide',1]]";
};

class vn_o_wheeled_z157_fuel {
displayName = "Z-157 Fuelbomb";
description = "Fuel Truck (rolling bomb). Destroy and get a huge blast.";
stock = 1;
spawnEmpty = 1;
wheelCargo = 2;
condition = "true";
vehicleInit = "[[],['ClanLogo_Hide',1]]";
code = "[(_this select 0)] remoteExec ['BC_vietnam_fnc_addKilledExplosionEH', 2];";
};
};

class Armor {
displayName = "Armor";
kindOf = "Vehicles";
maxBuyCount = 1;
minPlayerCount = 60;

class vn_o_armor_type63_01 {
displayName = "Type-63 Tank";
description = "Heavy tank, best vehicle you can get.";
stock = 1;
spawnEmpty = 1;
trackCargo = 2;
condition = "true";
vehicleInit = "[['type63_04',1],['hide_axe',0,'hide_barrels',0,'hide_dshkm_boxes',0,'hide_shovel',0,'hide_tracks',0,'hide_cable',0,'hide_tarpaulin',0]]";
};

class vn_o_armor_m41_01 {
displayName = "M41A3 Walker";
description = "Carries more soldiers but is less protected.";
stock = 1;
spawnEmpty = 1;
trackCargo = 2;
condition = "true";
vehicleInit = "[['m41_08',1],true]";
};
};

class Special {
displayName = "Special";
kindOf = "Special";
maxBuyCount = 2;

class vn_o_boat_01_mg_03 {
kindOf = "Boat";
displayName = "Boat";
description = "Boat.";
stock = 1;
code = "diag_log str (_this); (_this select 1) setVariable ['grad_carryBoatCargo', 1, true];[(_this select 1), 'vn_o_boat_01_mg_03'] remoteExec ['BC_buymenu_fnc_addBoatInteraction', [0,-2] select isDedicated];";
};

class vn_o_vc_spiderhole_02 {
kindOf = "Spiderhole and Shelter";
displayName = "Spiderhole + Shelter";
description = "Placeable Spiderhole and Shelters. 1 of each.";
stock = 3;
code = "diag_log str (_this); [(_this select 1), 'vn_o_vc_spiderhole_02', 1] call grad_fortifications_fnc_addFort; [(_this select 1), 'Land_vn_o_shelter_01', 1] call grad_fortifications_fnc_addFort; [(_this select 1), 'Land_vn_o_shelter_02', 1] call grad_fortifications_fnc_addFort; [(_this select 1), 'Land_vn_o_wallfoliage_01', 1] call grad_fortifications_fnc_addFort; [(_this select 1), 'Land_vn_o_platform_06', 1] call grad_fortifications_fnc_addFort;";
spawnEmpty = 1;
};

class Land_WeldingTrolley_01_F {
kindOf = "Special";
displayName = "Radio Truck Armor";
description = "Selfmade armor for radio truck to shield it from discovery.";
stock = 1;
code = "diag_log str (_this); [(_this select 1)] call BC_vietnam_fnc_applyTruckCamo;";
};
};
};
Loading

0 comments on commit 9e2a377

Please sign in to comment.