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

Takistan Army and Police OPPFOR #549

Merged
merged 1 commit into from
May 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 148 additions & 0 deletions Vindicta.Altis/Templates/Factions/3CB_TNA_O.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
_array = [];

_array set [T_SIZE-1, nil]; //Make an array having the size equal to the number of categories first

// Name, description, faction, addons, etc
_array set [T_NAME, "t3CB_TNA_O"];
_array set [T_DESCRIPTION, "Takistan's National Army OPPFOR edition. Requires 3CB's Faction pack and RHS."];
_array set [T_DISPLAY_NAME, "3CB Takistan National Army OPP"];
_array set [T_FACTION, T_FACTION_Military];
_array set [T_REQUIRED_ADDONS, [
"rhs_c_troops", // RHSAFRF
"rhsusf_c_troops", // RHSUSAF
"rhsgref_c_troops", // RHSGREF
"uk3cb_factions_TKA", // 3CB Factions
"ace_compat_rhs_afrf3", // ACE Compat - RHS Armed Forces of the Russian Federation
"ace_compat_rhs_gref3", // ACE Compat - RHS: GREF
"ace_compat_rhs_usf3" // ACE Compat - RHS United States Armed Forces
]];

//==== Infantry ====
_inf = [];
_inf resize T_INF_SIZE;
_inf set [T_INF_default, ["UK3CB_TKA_O_RIF_1"]];

_inf set [T_INF_SL, ["UK3CB_TKA_O_SL"]];
_inf set [T_INF_TL, ["UK3CB_TKA_O_TL"]];
_inf set [T_INF_officer, ["UK3CB_TKA_O_OFF"]];
_inf set [T_INF_GL, ["UK3CB_TKA_O_GL"]];
_inf set [T_INF_rifleman, ["UK3CB_TKA_O_RIF_1", "UK3CB_TKA_O_RIF_2"]];
_inf set [T_INF_marksman, ["UK3CB_TKA_O_MK"]];
_inf set [T_INF_sniper, ["UK3CB_TKA_O_SF_SNI"]];
_inf set [T_INF_spotter, ["UK3CB_TKA_O_SF_SPOT"]];
_inf set [T_INF_exp, ["UK3CB_TKA_O_DEM"]];
_inf set [T_INF_ammo, ["UK3CB_TKA_O_STATIC_TRI_AGS30", "UK3CB_TKA_O_STATIC_TRI_DSHKM_HIGH", "UK3CB_TKA_O_STATIC_TRI_DSHKM_LOW", "UK3CB_TKA_O_STATIC_TRI_KORD", "UK3CB_TKA_O_STATIC_TRI_KORNET", "UK3CB_TKA_O_STATIC_TRI_METIS", "UK3CB_TKA_O_STATIC_TRI_NSV", "UK3CB_TKA_O_STATIC_TRI_PODNOS", "UK3CB_TKA_O_STATIC_TRI_SPG9", "UK3CB_TKA_O_AA_ASST", "UK3CB_TKA_O_AT_ASST"]];
_inf set [T_INF_LAT, ["UK3CB_TKA_O_LAT"]];
_inf set [T_INF_AT, ["UK3CB_TKA_O_AT"]];
_inf set [T_INF_AA, ["UK3CB_TKA_O_AA"]];
_inf set [T_INF_LMG, ["UK3CB_TKA_O_AR"]];
_inf set [T_INF_HMG, ["UK3CB_TKA_O_MG"]];
_inf set [T_INF_medic, ["UK3CB_TKA_O_MD"]];
_inf set [T_INF_engineer, ["UK3CB_TKA_O_ENG"]];
_inf set [T_INF_crew, ["UK3CB_TKA_O_CREW"]];
_inf set [T_INF_crew_heli, ["UK3CB_TKA_O_HELI_CREW"]];
_inf set [T_INF_pilot, ["UK3CB_TKA_O_JET_PILOT"]];
_inf set [T_INF_pilot_heli, ["UK3CB_TKA_O_HELI_PILOT"]];
//_inf set [T_INF_survivor, [""]];
//_inf set [T_INF_unarmed, [""]];

// Recon
_inf set [T_INF_recon_TL, ["UK3CB_TKA_O_SF_TL"]];
_inf set [T_INF_recon_rifleman, ["UK3CB_TKA_O_SF_RIF_2"]];
_inf set [T_INF_recon_medic, ["UK3CB_TKA_O_SF_MD"]];
_inf set [T_INF_recon_exp, ["UK3CB_TKA_O_SF_DEM"]];
_inf set [T_INF_recon_LAT, ["UK3CB_TKA_O_SF_LAT"]];
_inf set [T_INF_recon_marksman, ["UK3CB_TKA_O_SF_MK"]];
_inf set [T_INF_recon_JTAC, ["UK3CB_TKA_O_SF_SL"]];


// Divers, still vanilla
//_inf set [T_INF_diver_TL, ["B_diver_TL_F"]];
//_inf set [T_INF_diver_rifleman, ["B_diver_F"]];
//_inf set [T_INF_diver_exp, ["B_diver_exp_F"]];



//==== Vehicles ====
_veh = +(tDefault select T_VEH);
_veh set [T_VEH_SIZE-1, nil];
_veh set [T_VEH_DEFAULT, ["UK3CB_TKA_O_Hilux_Open"]];

_veh set [T_VEH_car_unarmed, ["UK3CB_TKA_O_Hilux_Open", "UK3CB_TKA_O_Hilux_Closed", "UK3CB_TKA_O_UAZ_Closed", "UK3CB_TKA_O_UAZ_Open"]];
_veh set [T_VEH_car_armed, ["UK3CB_TKA_O_Hilux_GMG", "UK3CB_TKA_O_Hilux_Dshkm", "UK3CB_TKA_O_Hilux_Pkm", "UK3CB_TKA_O_Hilux_Spg9"]];

_veh set [T_VEH_MRAP_unarmed, ["UK3CB_TKA_O_BRDM2_UM", "UK3CB_TKA_O_BRDM2_HQ", "UK3CB_TKA_O_Tigr", "UK3CB_TKA_O_GAZ_Vodnik"]];
_veh set [T_VEH_MRAP_HMG, ["UK3CB_TKA_O_BRDM2", "UK3CB_TKA_O_BRDM2_HQ", "UK3CB_TKA_O_BMP2K", "UK3CB_TKA_O_GAZ_Vodnik_KVPT", "UK3CB_TKA_O_GAZ_Vodnik_HMG", "UK3CB_TKA_O_GAZ_Vodnik_HMG"]];
_veh set [T_VEH_MRAP_GMG, ["UK3CB_TKA_B_M1025_MK19", "UK3CB_TKA_O_GAZ_Vodnik_GMG", "UK3CB_TKA_O_GAZ_Vodnik_Cannon"]];

_veh set [T_VEH_IFV, ["UK3CB_TKA_O_BMP1", "UK3CB_TKA_O_BMP2", "UK3CB_TKA_O_BMP2K"]];
_veh set [T_VEH_APC, ["UK3CB_TKA_O_BTR40", "UK3CB_TKA_O_BTR40_MG", "UK3CB_TKA_O_BTR60", "UK3CB_TKA_O_BTR70", "UK3CB_TKA_O_BTR80", "UK3CB_TKA_O_BTR80a", "UK3CB_TKA_O_M113_M2", "UK3CB_TKA_O_M113_AMB", "UK3CB_TKA_O_M113_supply", "UK3CB_TKA_O_M113_unarmed", "UK3CB_TKA_O_MTLB_PKT"]];
_veh set [T_VEH_MBT, ["UK3CB_TKA_O_T34", "UK3CB_TKA_O_T55", "UK3CB_TKA_O_T72A", "UK3CB_TKA_O_T72BM", "UK3CB_TKA_O_T72B"]];
_veh set [T_VEH_MRLS, ["UK3CB_TKA_O_RIF_1"]];
_veh set [T_VEH_SPA, ["rhsusf_m109d_usarmy"]];
_veh set [T_VEH_SPAA, ["UK3CB_TKA_O_Hilux_Zu23", "UK3CB_TKA_O_BRDM2_ATGM"]];

_veh set [T_VEH_stat_HMG_high, ["UK3CB_TKA_O_DSHKM"]];
//_veh set [T_VEH_stat_GMG_high, []];
_veh set [T_VEH_stat_HMG_low, ["UK3CB_TKA_O_NSV", "UK3CB_TKA_O_KORD", "UK3CB_TKA_O_DSHkM_Mini_TriPod"]];
_veh set [T_VEH_stat_GMG_low, ["UK3CB_TKA_O_AGS"]];
_veh set [T_VEH_stat_AA, ["UK3CB_TKA_O_ZU23", "UK3CB_TKA_O_Igla_AA_pod"]];
_veh set [T_VEH_stat_AT, ["UK3CB_TKA_O_SPG9", "UK3CB_TKA_O_Kornet", "UK3CB_TKA_O_Metis"]];

_veh set [T_VEH_stat_mortar_light, ["UK3CB_TKA_O_2b14_82mm"]];
_veh set [T_VEH_stat_mortar_heavy, ["UK3CB_TKA_O_D30"]];

_veh set [T_VEH_heli_light, ["UK3CB_TKA_O_UH1H"]];
_veh set [T_VEH_heli_heavy, ["UK3CB_TKA_O_Mi8AMTSh"]];
_veh set [T_VEH_heli_cargo, ["UK3CB_TKA_O_UH1H", "UK3CB_TKA_O_Mi8"]];
_veh set [T_VEH_heli_attack, ["UK3CB_TKA_O_Mi_24P", "UK3CB_TKA_O_Mi_24V"]];

//_veh set [T_VEH_plane_attack, [""]];
//_veh set [T_VEH_plane_fighter, [""]];
//_veh set [T_VEH_plane_cargo, [""]];
//_veh set [T_VEH_plane_unarmed, [""]];
//_veh set [T_VEH_plane_VTOL, [""]];

//_veh set [T_VEH_Boat_unarmed, [""]];
_veh set [T_VEH_Boat_armed, ["UK3CB_TKA_O_RHIB", "UK3CB_TKA_O_RHIB_Gunboat"]];

_veh set [T_VEH_personal, ["O_G_Quadbike_01_F"]];

_veh set [T_VEH_truck_inf, ["UK3CB_TKA_O_Ural", "UK3CB_TKA_O_Ural_Open"]];
_veh set [T_VEH_truck_cargo, ["UK3CB_TKA_O_Ural", "UK3CB_TKA_O_Ural_Open"]];
_veh set [T_VEH_truck_ammo, ["UK3CB_TKA_O_Ural_Ammo"]];
_veh set [T_VEH_truck_repair, ["UK3CB_TKA_O_Ural_Repair"]];
_veh set [T_VEH_truck_medical , ["UK3CB_TKA_O_Ural"]];
_veh set [T_VEH_truck_fuel, ["UK3CB_TKA_O_Ural_Fuel"]];

//_veh set [T_VEH_submarine, ["B_SDV_01_F"]];

//==== Drones ====
_drone = +(tDefault select T_DRONE);
//_drone set [T_DRONE_SIZE-1, nil];
//_drone set [T_DRONE_DEFAULT, ["I_UGV_01_F"]];
//_drone set [T_DRONE_UGV_unarmed, ["I_UGV_01_F"]];
//_drone set [T_DRONE_UGV_armed, ["I_UGV_01_rcws_F"]];
//_drone set [T_DRONE_plane_attack, ["I_UAV_02_dynamicLoadout_F"]];
//_drone set [T_DRONE_plane_unarmed, ["I_UAV_02_dynamicLoadout_F"]];
//_drone set [T_DRONE_heli_attack, ["I_UAV_02_dynamicLoadout_F"]];
//_drone set [T_DRONE_quadcopter, ["I_UAV_01_F"]];
//_drone set [T_DRONE_designator, [""]];
//_drone set [T_DRONE_stat_HMG_low, ["I_HMG_01_A_F"]];
//_drone set [T_DRONE_stat_GMG_low, ["I_GMG_01_A_F"]];
//_drone set [T_DRONE_stat_AA, [""]];

//==== Cargo ====
_cargo = +(tDefault select T_CARGO);

//==== Groups ====
_group = +(tDefault select T_GROUP);

//==== Set arrays ====
_array set [T_INF, _inf];
_array set [T_VEH, _veh];
_array set [T_DRONE, _drone];
_array set [T_CARGO, _cargo];
_array set [T_GROUP, _group];

_array // End template
54 changes: 54 additions & 0 deletions Vindicta.Altis/Templates/Factions/3CB_TPD_O.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
_array = [];

_array set [T_SIZE-1, nil];

_array set [T_NAME, "t3CB_TPD_O"];
_array set [T_DESCRIPTION, "Takistan Police Department OPPFOR Edition. Requires 3CB Factions and RHS"];
_array set [T_DISPLAY_NAME, "Takistan Police OPP"];
_array set [T_FACTION, T_FACTION_Police];
_array set [T_REQUIRED_ADDONS, [
"rhs_c_troops", // RHSAFRF
"rhsusf_c_troops", // RHSUSAF
"rhsgref_c_troops", // RHSGREF
"uk3cb_factions_TKA", // 3CB Factions
"ace_compat_rhs_afrf3", // ACE Compat - RHS Armed Forces of the Russian Federation
"ace_compat_rhs_gref3", // ACE Compat - RHS: GREF
"ace_compat_rhs_usf3" // ACE Compat - RHS United States Armed Forces
]];


_inf = [];
_inf resize T_INF_SIZE;
_inf set [T_INF_DEFAULT, ["UK3CB_TKP_O_RIF_1"]];

_inf set [T_INF_SL, ["UK3CB_TKP_O_SL", "UK3CB_TKP_O_QRF_SL"]];
_inf set [T_INF_TL, ["UK3CB_TKP_O_TL", "UK3CB_TKP_O_QRF_TL"]];
_inf set [T_INF_officer, ["UK3CB_TKP_O_RIF_2", "UK3CB_TKP_O_RIF_1", "UK3CB_TKP_O_MK", "UK3CB_TKP_O_MD", "UK3CB_TKP_O_AR", "UK3CB_TKP_O_ENG", "UK3CB_TKP_O_MG", "UK3CB_TKP_O_QRF_AR", "UK3CB_TKP_O_QRF_ENG", "UK3CB_TKP_O_QRF_MG", "UK3CB_TKP_O_QRF_MK", "UK3CB_TKP_O_QRF_MD", "UK3CB_TKP_O_QRF_RIF_1", "UK3CB_TKP_O_QRF_RIF_2"]];



_veh = +(tDefault select T_VEH);
_veh set [T_VEH_SIZE-1, nil];
_veh set [T_VEH_DEFAULT, ["UK3CB_TKP_O_Datsun_Pickup"]];

_veh set [T_VEH_car_unarmed, ["UK3CB_TKP_O_Datsun_Pickup", "UK3CB_TKP_O_Hilux_Closed", "UK3CB_TKP_O_Datsun_Pickup", "UK3CB_TKP_O_Lada_Police", "UK3CB_TKP_O_LandRover_Closed", "UK3CB_TKP_O_LandRover_Open", "UK3CB_TKP_O_Offroad", "UK3CB_TKP_O_UAZ_Closed", "UK3CB_TKP_O_UAZ_Open"]]; // = 1 – REQUIRED


_drone = +(tDefault select T_DRONE);


_cargo = +(tDefault select T_CARGO);


_group = +(tDefault select T_GROUP);




_array set [T_INF, _inf];
_array set [T_VEH, _veh];
_array set [T_DRONE, _drone];
_array set [T_CARGO, _cargo];
_array set [T_GROUP, _group];

_array
4 changes: 3 additions & 1 deletion Vindicta.Altis/Templates/initFactions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
["Templates\Factions\WW2_UK.sqf", T_FACTION_Military ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\3CB_BAF.sqf", T_FACTION_Military ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\3CB_TNA_B.sqf", T_FACTION_Military ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\3CB_TNA_O.sqf", T_FACTION_Military ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\Russians2035.sqf", T_FACTION_Military ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\BWA.sqf", T_FACTION_Military ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\GM_WestGer.sqf", T_FACTION_Military ] call t_fnc_initializeTemplateFromFile;
Expand Down Expand Up @@ -54,4 +55,5 @@
["Templates\Factions\GSG9.sqf", T_FACTION_Police ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\GM_WestGer_Police.sqf", T_FACTION_Police ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\GEXP_Police.sqf", T_FACTION_Police ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\3CB_TPD.sqf", T_FACTION_Police ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\3CB_TPD.sqf", T_FACTION_Police ] call t_fnc_initializeTemplateFromFile;
["Templates\Factions\3CB_TPD_O.sqf", T_FACTION_Police ] call t_fnc_initializeTemplateFromFile;