Skip to content

Commit

Permalink
Cold War US Army
Browse files Browse the repository at this point in the history
US Rifle Squad (1980)
  • Loading branch information
Neciota committed Apr 11, 2019
1 parent 3bbc8d6 commit 522547a
Show file tree
Hide file tree
Showing 6 changed files with 243 additions and 412 deletions.
9 changes: 5 additions & 4 deletions @twc_config/addons/twc_opfor_Misc/CfgFactionClasses.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ class CfgFactionClasses {
side = 3;
};

class twc_usa_1970 {
displayName = "USA 1970";
priority = 1;
side = 1;
class TWC_BLUFOR_Units_USA_1980 {
displayName = "USA (1980)";
author = "[TWC] Rik";
priority = 2;
side = 2;
};

class Russian_Federation {
Expand Down
64 changes: 64 additions & 0 deletions @twc_config/addons/twc_opfor_Misc/compositions/1980_usa.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
class TWC_Operation_BLUFOR_USA_1980 {
name = "USA 1980";

class TWC_Operation_BLUFOR_USA_1980_Squad {
name = "Squad";
faction = "TWC_BLUFOR_Units_USA_1980";
side = 1;

class Unit0 {
side = 1;
vehicle = "TWC_BLUFOR_USA_1980_SquadLeader";
rank = "SERGEANT";
position[] = {0,0,0};
};
class Unit1 {
side = 1;
vehicle = "TWC_BLUFOR_USA_1980_TeamLeader";
rank = "CORPORAL";
position[] = {2,0,0};
};
class Unit2 {
side = 1;
vehicle = "TWC_BLUFOR_USA_1980_Rifleman";
rank = "PRIVATE";
position[] = {4,0,0};
};
class Unit3 {
side = 1;
vehicle = "TWC_BLUFOR_USA_1980_Rifleman_AT";
rank = "PRIVATE";
position[] = {6,0,0};
};
class Unit4 {
side = 1;
vehicle = "TWC_BLUFOR_USA_1980_AR";
rank = "PRIVATE";
position[] = {8,0,0};
};
class Unit5 {
side = 1;
vehicle = "TWC_BLUFOR_USA_1980_TeamLeader";
rank = "CORPORAL";
position[] = {10,0,0};
};
class Unit6 {
side = 1;
vehicle = "TWC_BLUFOR_USA_1980_Rifleman";
rank = "PRIVATE";
position[] = {12,0,0};
};
class Unit7 {
side = 1;
vehicle = "TWC_BLUFOR_USA_1980_Rifleman_AT";
rank = "PRIVATE";
position[] = {14,0,0};
};
class Unit8 {
side = 1;
vehicle = "TWC_BLUFOR_USA_1980_AR";
rank = "PRIVATE";
position[] = {16,0,0};
};
};
};
32 changes: 29 additions & 3 deletions @twc_config/addons/twc_opfor_Misc/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,18 @@ class cfgWeapons
};

class CfgGroups {
class East {
class WEST {
name = "BLUFOR";
side = 1;
class TWC_Operation_BLUFOR_ColdWar {
name = "TWC Operations - Cold War";

/* COLDWAR COMPOSITIONS - GROUP DEFINES */
#include "compositions\1980_USA.hpp"
};
};

class EAST {
name = "OPFOR";
side = 0;

Expand All @@ -207,7 +218,7 @@ class CfgGroups {
};
};

class Independent {
class INDEP {
name = "INDEPENDENT";
side = 2;
class TWC_Operation_INDEP_ColdWar {
Expand All @@ -220,6 +231,21 @@ class CfgGroups {
};

class CfgVehicles {
#define MEDICAL_LOADOUT "ACE_EarPlugs","ACE_fieldDressing","ACE_fieldDressing","ACE_fieldDressing","ACE_fieldDressing","ACE_packingBandage","ACE_packingBandage","ACE_packingBandage","ACE_packingBandage","ACE_packingBandage","ACE_packingBandage","ACE_elasticBandage","ACE_elasticBandage","ACE_elasticBandage","ACE_elasticBandage","ACE_elasticBandage","ACE_elasticBandage","ACE_quikclot","ACE_quikclot","ACE_quikclot","ACE_quikclot","ACE_morphine","ACE_morphine","ACE_epinephrine","ACE_tourniquet","ACE_tourniquet"
#define MAG_2(a) a, a
#define MAG_3(a) a, a, a
#define MAG_4(a) a, a, a, a
#define MAG_5(a) a, a, a, a, a
#define MAG_6(a) a, a, a, a, a, a
#define MAG_7(a) a, a, a, a, a, a, a
#define MAG_8(a) a, a, a, a, a, a, a, a
#define MAG_9(a) a, a, a, a, a, a, a, a, a
#define MAG_10(a) a, a, a, a, a, a, a, a, a, a
#define MAG_11(a) a, a, a, a, a, a, a, a, a, a, a
#define MAG_12(a) a, a, a, a, a, a, a, a, a, a, a, a
#define CATEGORY(a) editorSubcategory = a;\
vehicleClass= a;

// Time saving MACROs - NC = Non-Conflict
#define maga_nc(a,b) class _nc_##a {magazine = a; count = b;}
#define weap_nc(a,b) class _nc_##a {weapon = a; count = b;}
Expand Down Expand Up @@ -248,7 +274,7 @@ class CfgVehicles {
// #include "USSRAfghan.hpp"

#include "units\takistan.hpp"
#include "units\usa_1970.hpp"
#include "units\usa_1980.hpp"
#include "units\pirates.hpp"
#include "units\WaPArmy_Taviana.hpp"
#include "units\aden.hpp"
Expand Down
Loading

0 comments on commit 522547a

Please sign in to comment.