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

Added equipment tag to allow specialization of equipment #1152

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open
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
323 changes: 323 additions & 0 deletions cScripts/CfgEquipmentTags.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,323 @@
class CfgEquipmentTags {
Common[] = {
"equ_medical_common"
};

CommonBlufor[] = {
"equ_faceWear",
"equ_medical_common",
"equ_medical_level_0"
};

// Bluefor Company
CommonBluforCompanyAlpha[] = {
"coll_weapons_sidearms"
};
CommonBluforCompanyBravo[] = {
"ace_banana"
};
CommonBluforCompanyCharlie[] = {
"coll_weapons_primary_m4"
};

// Platoons
CommonBluforCompanyBravo2[] = {
"coll_weapons_primary_m4"
};

//
// Weapons
//
coll_weapons_primary_all[] = {
"coll_weapons_primary_m4_rifle",
"weap_hk416d10"

};
coll_weapons_primary_m4[] = {
"class_rhs_weap_m4a1",
"class_rhs_weap_m16a4"
};
class_rhs_weap_m4a1[] = {
"rhs_weap_m4a1_carryhandle",
"rhs_weap_m4a1_carryhandle_mstock",
"rhs_weap_m4a1_blockII",
"rhs_weap_m4a1_blockII_bk",
"rhs_weap_m4a1_blockII_M203_bk",
"rhs_weap_m4a1_blockII_KAC_bk",
"rhs_weap_m4a1_blockII_d",
"rhs_weap_m4a1_blockII_M203_d",
"rhs_weap_m4a1_blockII_KAC_d",
"rhs_weap_m4a1_blockII_KAC",
"rhs_weap_m4a1_blockII_wd",
"rhs_weap_m4a1_blockII_KAC_wd",
"rhs_weap_m4a1",
"rhs_weap_m4a1_d",
"rhs_weap_m4a1_mstock",
"rhs_weap_m4a1_wd",
"rhs_weap_m4a1_wd_mstock",

"equ_magazines_basic_stanag",
"equ_magazines_basic_pmag",
"class_rhs_weap_m16a4"
};
class_rhs_weap_m16a4[] = {
"rhs_weap_m16a4",
"rhs_weap_m16a4_carryhandle",
"rhs_weap_m16a4_imod",

"rhs_weap_m16a4_carryhandle_M203",
"rhs_weap_m16a4_imod_M203",

"equ_magazines_basic_stanag",
"equ_magazines_basic_pmag",
"class_rhs_weap_m4a1"
};

// HK416
weap_hk416d10[] = {
"rhs_weap_hk416d10",
"rhs_weap_hk416d10_LMT",
"rhs_weap_hk416d10_LMT_d",
"rhs_weap_hk416d10_LMT_wd",
"rhs_weap_hk416d145",
"rhs_weap_hk416d145_d",
"rhs_weap_hk416d145_d_2",
"rhs_weap_hk416d145_wd",
"rhs_weap_hk416d145_wd_2",

"equ_magazines_basic_stanag",
"equ_magazines_basic_pmag"
};
weap_hk416d10_m320[] = {
"rhs_weap_hk416d10_m320",
"rhs_weap_hk416d145_m320",

"equ_magazines_basic_stanag",
"equ_magazines_basic_pmag"
};

coll_weapons_primary_m4_m203[] = {
"class_rhs_weap_m4a1_m203",
"class_rhs_weap_m16a4_carryhandle_M203"
};
class_rhs_weap_m4a1_m203[] = {
"rhs_weap_m4a1_carryhandle_m203",
"rhs_weap_m4a1_carryhandle_m203S",
"rhs_weap_m4a1_blockII_M203",
"rhs_weap_m4a1_blockII_M203_wd",
"rhs_weap_m4a1_m203s_d",
"rhs_weap_m4a1_d_mstock",
"rhs_weap_m4a1_m203",
"rhs_weap_m4a1_m203s",
"rhs_weap_m4a1_m320",
"rhs_weap_m4a1_m203s_wd",

"equ_magazines_basic_stanag",
"equ_magazines_basic_pmag"
};
class_rhs_weap_m16a4_carryhandle_M203[] = {
"rhs_weap_m16a4_carryhandle_M203",
"rhs_weap_m16a4_imod_M203",

"equ_magazines_basic_stanag",
"equ_magazines_basic_pmag"
};

class_rhs_weap_m249[] = {
"rhs_weap_m249",
"rhs_weap_m249_pip",
"rhs_weap_m249_light_L",
"rhs_weap_m249_pip_L_para",
"rhs_weap_m249_pip_L",
"rhs_weap_m249_pip_ris",
"rhs_weap_m249_light_S",
"rhs_weap_m249_pip_S_para",
"rhs_weap_m249_pip_S",

"equ_magazines_basic_box"
};
class_rhs_weap_m249_pip[] = {"class_rhs_weap_m249"};
class_rhs_weap_m249_pip_L[] = {"class_rhs_weap_m249"};
class_rhs_weap_m249_pip_S[] = {"class_rhs_weap_m249"};

coll_weapons_sidearms[] = {"class_UK3CB_P320_BLK"};
class_UK3CB_P320_BLK[] = {
"UK3CB_P320_BLK",
"acc_flashlight_pistol",
"UK3CB_P320_9x19_17Rnd"
};

//
// Launchers
//
class_rhs_weap_M136[] = {
"rhs_weap_M136",
"rhs_weap_M136_hedp",
"rhs_weap_M136_hp"
};
class_launch_MRAWS_base_F[] = {
"launch_MRAWS_green_rail_F",
"launch_MRAWS_olive_rail_F",
"launch_MRAWS_sand_rail_F",
"launch_MRAWS_green_F",
"launch_MRAWS_olive_F",
"launch_MRAWS_sand_F",

"MRAWS_HE_F",
"MRAWS_HEAT55_F",
"MRAWS_HEAT_F"
};


//
// Magazines
//
equ_magazines_basic_box[] = {
"rhsusf_200Rnd_556x45_mixed_soft_pouch",
"rhsusf_200Rnd_556x45_mixed_soft_pouch_coyote",
"rhsusf_200Rnd_556x45_mixed_soft_pouch_ucp",
"rhsusf_200Rnd_556x45_soft_pouch",
"rhsusf_200Rnd_556x45_soft_pouch_coyote",
"rhsusf_200Rnd_556x45_soft_pouch_ucp",
"rhsusf_100Rnd_556x45_soft_pouch",
"rhsusf_100Rnd_556x45_soft_pouch_coyote",
"rhsusf_100Rnd_556x45_soft_pouch_ucp",
"rhsusf_100Rnd_556x45_mixed_soft_pouch",
"rhsusf_100Rnd_556x45_mixed_soft_pouch_coyote",
"rhsusf_100Rnd_556x45_mixed_soft_pouch_ucp"
};
equ_magazines_basic_stanag[] = {
"rhs_mag_30Rnd_556x45_M855A1_Stanag",
"rhs_mag_30Rnd_556x45_M855A1_Stanag_Tracer_Red",
"rhs_mag_30Rnd_556x45_M855A1_Stanag_Ranger",
"rhs_mag_30Rnd_556x45_M855A1_Stanag_Ranger_Tracer_Red",
"rhs_mag_30Rnd_556x45_M855A1_Stanag_Pull",
"rhs_mag_30Rnd_556x45_M855A1_Stanag_Pull_Tracer_Red",

"rhs_mag_30Rnd_556x45_M855A1_EPM_Pull",
"rhs_mag_30Rnd_556x45_M855A1_EPM_Pull_Tracer_Red",
"rhs_mag_30Rnd_556x45_M855A1_EPM_Ranger",
"rhs_mag_30Rnd_556x45_M855A1_EPM_Ranger_Tracer_Red",
"rhs_mag_30Rnd_556x45_M855A1_EPM",
"rhs_mag_30Rnd_556x45_M855A1_EPM_Tracer_Red"
};
equ_magazines_basic_pmag[] = {
"rhs_mag_30Rnd_556x45_M855A1_PMAG",
"rhs_mag_30Rnd_556x45_M855A1_PMAG_Tracer_Red",

"rhs_mag_30Rnd_556x45_M855A1_PMAG_Tan",
"rhs_mag_30Rnd_556x45_M855A1_PMAG_Tan_Tracer_Red"
};

equ_scopes_basic[] = {};


//
// Grenades
//
coll_throwable[] = {
"equ_grenades",
"equ_smokes",
"equ_chemlights"
};
equ_grenades[] = {
"HandGrenade",
"rhs_mag_m67",

// IR
"B_IR_Grenade",

// Stun
"rhs_mag_mk84",
"ACE_M84",
};
equ_smokes[] = {
// RHS variants
"rhs_mag_m18_green",
"rhs_mag_m18_purple",
"rhs_mag_m18_red",
"rhs_mag_m18_yellow",
// Vanilla variants
"SmokeShell",
"SmokeShellRed",
"SmokeShellBlue",
"SmokeShellGreen",
"SmokeShellOrange",
"SmokeShellYellow",
"SmokeShellPurple",
};
equ_chemlights[] = {
"ACE_Chemlight_HiWhite",
"ACE_Chemlight_HiBlue",
"ACE_Chemlight_HiGreen",
"ACE_Chemlight_HiYellow",
"ACE_Chemlight_HiRed",
"ACE_Chemlight_IR",
};


//
// Communication
//
equ_radio_basic[] = {};
equ_radio_advanced[] = {};


//
// Medical
//
equ_medical_common[] = {"ACE_fieldDressing","ACE_elasticBandage","ACE_packingBandage","ACE_quikclot"};
equ_medical_level_0[] = {"equ_medical_common"};
equ_medical_level_1[] = {};
equ_medical_level_2[] = {};
equ_medical_level_3[] = {};

equ_faceWear[] = {
"G_AirPurifyingRespirator_01_F",
"G_Aviator",
"G_Balaclava_blk",
"G_Blindfold_01_black_F",
"G_Blindfold_01_white_F",
"G_Lowprofile",
"G_Shades_Black",
"G_Shades_Blue",
"G_Shades_Green",
"G_Shades_Red",
"G_Spectacles",
"G_Spectacles_Tinted",
"G_Sport_Blackred",
"G_Sport_BlackWhite",
"G_Sport_Blackyellow",
"G_Sport_Checkered",
"G_Sport_Greenblack",
"G_Sport_Red",
"G_Squares",
"G_Squares_Tinted",
"kat_mask_M04",
"kat_mask_M50",
"rhs_ess_black",
"rhs_googles_black",
"rhs_googles_clear",
"rhs_googles_orange",
"rhs_googles_yellow",
"rhsusf_oakley_goggles_blk",
"rhsusf_oakley_goggles_clr",
"rhsusf_oakley_goggles_ylw",
"rhsusf_shemagh_gogg_grn",
"rhsusf_shemagh_gogg_od",
"rhsusf_shemagh_gogg_tan",
"rhsusf_shemagh_gogg_white",
"rhsusf_shemagh_grn",
"rhsusf_shemagh_od",
"rhsusf_shemagh_tan",
"rhsusf_shemagh_white",
"rhsusf_shemagh2_gogg_grn",
"rhsusf_shemagh2_gogg_od",
"rhsusf_shemagh2_gogg_tan",
"rhsusf_shemagh2_gogg_white",
"rhsusf_shemagh2_grn",
"rhsusf_shemagh2_od",
"rhsusf_shemagh2_tan",
"rhsusf_shemagh2_white"
};
};
Loading
Loading