Skip to content

Commit

Permalink
Replacements - Update Lootboxes (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF authored Sep 6, 2023
1 parent a146d93 commit 75bd2fe
Show file tree
Hide file tree
Showing 7 changed files with 254 additions and 250 deletions.
5 changes: 1 addition & 4 deletions addons/replacements/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {
QCLASS(Replacement_Box)
};
units[] = {QCLASS(Replacement_Box)};
weapons[] = {};
magazines[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {
"tacgt_main",
Expand Down
78 changes: 41 additions & 37 deletions addons/replacements/lootboxes/gl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,76 +3,80 @@ class CLASS(Lootbox_GL): tac_supplies_randomizedBox {
picture = QPATHTOF(ui\lootbox_gl_ca.paa);
displayName = "Lootbox (GL)";
tac_supplies_possibleItems[] = {
"arifle_AK12_GL_F",
"arifle_AK12_GL_arid_F",
"arifle_AK12_GL_F",
"arifle_AK12_GL_lush_F",
"tacs_MK20_EGLM_Black_F",
"tacgt_GTAR21_EGLM_Black",
"arifle_SPAR_01_GL_blk_F",
"arifle_SPAR_01_GL_khk_F",
"arifle_SPAR_01_GL_snd_F",
"arifle_CTAR_GL_blk_F",
"arifle_katiba_gl_f",
"arifle_MSBS65_GL_F",
"arifle_MSBS65_GL_black_F",
"arifle_MSBS65_GL_camo_F",
"arifle_MSBS65_GL_F",
"arifle_MSBS65_GL_sand_F",
"arifle_MX_GL_F",
"arifle_MX_GL_Black_F",
"tacs_MX_GL_BlackCamo",
"arifle_MX_GL_F",
"arifle_MX_GL_khk_F",
"arifle_CTAR_GL_blk_F",
"CUP_arifle_AK47_GL_top_rail",
"CUP_arifle_AK103_GL_top_rail",
"arifle_SLR_GL_lxWS",
"arifle_SLR_V_GL_lxWS",
"arifle_SPAR_01_GL_blk_F",
"arifle_SPAR_01_GL_khk_F",
"arifle_SPAR_01_GL_snd_F",
"arifle_VelkoR5_GL_lxWS",
"CUP_arifle_AK103_GL_railed",
"CUP_arifle_AK107_GL_top_rail",
"CUP_arifle_AK103_GL_top_rail",
"CUP_arifle_AK107_GL_railed",
"CUP_arifle_AK109_GL_top_rail",
"CUP_arifle_AK107_GL_top_rail",
"CUP_arifle_AK109_GL_railed",
"CUP_arifle_AK109_GL_top_rail",
"CUP_arifle_AK12_GP34_bicolor",
"CUP_arifle_AK12_GP34_black",
"CUP_arifle_AK19_GP34_bicolor",
"CUP_arifle_AK19_GP34_black",
"CUP_arifle_AK47_GL_top_rail",
"CUP_arifle_AK74_GL_top_rail",
"CUP_arifle_AK74M_GL_railed",
"CUP_arifle_AK74M_GL_top_rail",
"CUP_arifle_AKM_GL_top_rail",
"CUP_arifle_AKMS_GL_top_rail",
"CUP_arifle_AK74M_GL_top_rail",
"CUP_arifle_AK74M_GL_railed",
"CUP_arifle_AK74_GL_top_rail",
"CUP_arifle_AKS74_GL_top_rail",
"CUP_arifle_AK12_GP34_black",
"CUP_arifle_AK12_GP34_bicolor",
"CUP_arifle_AK19_GP34_black",
"CUP_arifle_AK19_GP34_bicolor",
"CUP_arifle_CZ805_GL",
"CUP_arifle_CZ805_GL_blk",
"CUP_arifle_CZ805_GL_coyote",
"CUP_CZ_BREN2_762_14_GL",
"CUP_CZ_BREN2_556_11_GL",
"CUP_CZ_BREN2_556_14_GL",
"CUP_arifle_HK416_CQB_M203_Black",
"CUP_arifle_HK416_CQB_M203_Desert",
"CUP_arifle_HK416_CQB_M203_Wood",
"CUP_arifle_DSA_SA58_OSW_M203",
"CUP_arifle_HK416_AGL_Black",
"CUP_arifle_HK416_AGL_Desert",
"CUP_arifle_HK416_AGL_Wood",
"CUP_arifle_HK416_CQB_AG36",
"CUP_arifle_HK416_CQB_AG36_Desert",
"CUP_arifle_HK416_CQB_AG36_Wood",
"CUP_arifle_HK416_CQB_M203_Black",
"CUP_arifle_HK416_CQB_M203_Desert",
"CUP_arifle_HK416_CQB_M203_Wood",
"CUP_arifle_HK416_M203_Black",
"CUP_arifle_HK416_M203_Desert",
"CUP_arifle_HK416_M203_Wood",
"CUP_arifle_HK416_AGL_Black",
"CUP_arifle_HK416_AGL_Desert",
"CUP_arifle_HK416_AGL_Wood",
"CUP_arifle_HK417_12_M203",
"CUP_arifle_HK417_12_AG36",
"CUP_arifle_HK417_12_M203",
"CUP_arifle_L85A2_GL",
"CUP_arifle_M16A4_GL",
"CUP_arifle_M4A1_BUIS_GL",
"CUP_arifle_mk18_m203_black",
"CUP_arifle_DSA_SA58_OSW_M203",
"CUP_arifle_Mk17_CQC_EGLM",
"CUP_arifle_Mk16_STD_EGLM",
"CUP_arifle_Mk16_CQC_EGLM",
"CUP_arifle_Mk16_CQC_EGLM_black",
"CUP_arifle_Mk16_STD_EGLM",
"CUP_arifle_Mk16_STD_EGLM_black",
"CUP_arifle_Mk17_CQC_EGLM",
"CUP_arifle_Mk17_CQC_EGLM_black",
"CUP_arifle_mk18_m203_black",
"CUP_CZ_BREN2_556_11_GL",
"CUP_CZ_BREN2_556_14_GL",
"CUP_CZ_BREN2_762_14_GL",
"hlc_rifle_auga3_GL",
"hlc_rifle_auga3_GL_BL",
"hlc_rifle_auga3_GL_B",
"hlc_rifle_auga3_GL_BL",
"hlc_rifle_SG550_TAC_GL",
"hlc_rifle_SG551LB_TAC_GL",
"hlc_rifle_SG551SB_TAC_GL"
"hlc_rifle_SG551SB_TAC_GL",
"tacgt_GTAR21_EGLM_Black",
"tacs_MK20_EGLM_Black_F",
"tacs_MX_GL_BlackCamo"
};
};
60 changes: 21 additions & 39 deletions addons/replacements/lootboxes/handgun.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,40 @@ class CLASS(Lootbox_Handgun): tac_supplies_randomizedBox {
picture = QPATHTOF(ui\lootbox_handgun_ca.paa);
displayName = "Lootbox (Handgun)";
tac_supplies_possibleItems[] = {
"hgun_Pistol_heavy_02_F",
"tacgt_Rhino_357",
"tacgt_Rhino_44",
"hgun_ACPC2_F",
"hgun_Pistol_heavy_01_F",
"hgun_Pistol_heavy_01_green_F",
"hgun_Pistol_01_F",
"hgun_rook40_f",
"hgun_P07_F",
"hgun_P07_khk_F",
"CUP_hgun_Browning_HP",
"CUP_hgun_Compact",
"CUP_hgun_Duty",
"CUP_hgun_Phantom",
"CUP_hgun_Deagle",
"CUP_hgun_Glock17",
"CUP_hgun_Glock17_blk",
"bnae_r1_c_virtual",
"bnae_r1_m_virtual",
"bnae_r1_t_virtual",
"bnae_r1_virtual",
"CUP_hgun_Glock17_tan",
"CUP_hgun_M17_Black",
"CUP_hgun_M9",
"CUP_hgun_M9A1",
"CUP_hgun_M17_Black",
"CUP_hgun_Mk23",
"tacgt_hgun_Glock18_Black",
"tacgt_hgun_Glock18_Tan",
"CUP_hgun_MP7",
"CUP_hgun_MP7_desert",
"hgun_Pistol_heavy_02_F",
"hlc_Pistol_M11",
"hlc_pistol_Mk25",
"hlc_pistol_P226WestGerman",
"hlc_Pistol_P228",
"hlc_Pistol_M11A1",
"hlc_pistol_P226US",
"hlc_pistol_Mk25",
"hlc_pistol_P226R",
"hlc_pistol_P226R_Combat",
"hlc_pistol_P226R_Elite",
"hlc_pistol_P229R",
"hlc_pistol_P229R_Combat",
"hlc_pistol_P239",
"hlc_pistol_P226R_357",
"hlc_pistol_P226R_357Combat",
"hlc_pistol_P226R_357Elite",
"hlc_pistol_P226R_40",
"hlc_pistol_P226R_40Combat",
"hlc_pistol_P226R_40Elite",
"hlc_pistol_P226R_Combat",
"hlc_pistol_P226R_Elite",
"hlc_pistol_P226US",
"hlc_pistol_P226WestGerman",
"hlc_Pistol_P228",
"hlc_pistol_P229R",
"hlc_pistol_P229R_357",
"hlc_pistol_P229R_40",
"hlc_pistol_P229R_40Combat",
"hlc_pistol_P229R_357Combat",
"hlc_pistol_P229R_Combat",
"hlc_pistol_P239",
"hlc_pistol_P239_357",
"hlc_pistol_P239_40",
"bnae_r1_virtual",
"bnae_r1_c_virtual",
"bnae_r1_m_virtual",
"bnae_r1_t_virtual",
"tacgt_hgun_Glock18_Black",
"tacgt_hgun_Glock18_Tan",
"tacgt_Rhino_357",
"tacgt_Rhino_44",
"tacs_Walther_P99",
"tacs_Walther_P99_Tan"
};
Expand Down
47 changes: 25 additions & 22 deletions addons/replacements/lootboxes/lmg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,46 @@ class CLASS(Lootbox_LMG): tac_supplies_randomizedBox {
picture = QPATHTOF(ui\lootbox_lmg_ca.paa);
displayName = "Lootbox (LMG)";
tac_supplies_possibleItems[] = {
"LMG_03_F",
"arifle_SPAR_02_blk_F",
"arifle_SPAR_02_khk_F",
"arifle_SPAR_02_snd_F",
"arifle_MX_SW_khk_F",
"arifle_MX_SW_F",
"arifle_MX_SW_Black_F",
"arifle_CTARS_blk_F",
"LMG_Mk200_F",
"LMG_Mk200_black_F",
"arifle_RPK12_F",
"arifle_MX_SW_Black_F",
"arifle_MX_SW_F",
"arifle_MX_SW_khk_F",
"arifle_RPK12_arid_F",
"arifle_RPK12_F",
"arifle_RPK12_lush_F",
"tacgt_lmg_lamg",
"arifle_SPAR_02_blk_F",
"arifle_SPAR_02_khk_F",
"arifle_SPAR_02_snd_F",
"CUP_arifle_HK_M27",
"CUP_arifle_HK_M27_VFG",
"CUP_arifle_L86A2",
"CUP_arifle_RPK74",
"CUP_arifle_RPK74_45",
"CUP_arifle_RPK74_45_top_rail",
"CUP_arifle_RPK74_top_rail",
"CUP_arifle_RPK74M",
"CUP_arifle_RPK74M_railed",
"CUP_arifle_RPK74M_top_rail",
"CUP_lmg_m249_pip1",
"CUP_lmg_m249_pip3",
"CUP_lmg_m249_SQuantoon",
"CUP_arifle_HK_M27",
"CUP_arifle_HK_M27_VFG",
"CUP_lmg_M60E4",
"CUP_lmg_Mk48_nohg",
"CUP_lmg_Mk48_nohg_des",
"CUP_lmg_Mk48_nohg_od",
"CUP_lmg_Mk48_nohg_tan",
"CUP_lmg_Mk48_nohg_wdl",
"CUP_lmg_PKMN",
"CUP_lmg_Pecheneg_top_rail_B50_vfg",
"CUP_arifle_RPK74",
"CUP_arifle_RPK74_top_rail",
"CUP_arifle_RPK74_45",
"CUP_arifle_RPK74_45_top_rail",
"CUP_arifle_RPK74M",
"CUP_arifle_RPK74M_top_rail",
"CUP_arifle_RPK74M_railed",
"CUP_lmg_PKMN",
"hlc_lmg_mk46",
"hlc_lmg_mk48",
"hlc_lmg_mk48mod1"
"hlc_lmg_mk48mod1",
"LMG_03_F",
"LMG_Mk200_black_F",
"LMG_Mk200_F",
"LMG_S77_Compact_lxWS",
"LMG_S77_lxWS",
"LMG_Zafir_F",
"tacgt_lmg_lamg"
};
};
44 changes: 24 additions & 20 deletions addons/replacements/lootboxes/marksman.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,45 @@ class CLASS(Lootbox_Marksman): tac_supplies_randomizedBox {
picture = QPATHTOF(ui\lootbox_marksman_ca.paa);
displayName = "Lootbox (Marksman)";
tac_supplies_possibleItems[] = {
"arifle_SPAR_03_blk_F",
"arifle_SPAR_03_khk_F",
"arifle_SPAR_03_snd_F",
"srifle_EBR_F",
"tacs_EBR_Black_F",
"arifle_MSBS65_Mark_F",
"arifle_MSBS65_Mark_black_F",
"arifle_MSBS65_Mark_camo_F",
"arifle_MSBS65_Mark_F",
"arifle_MSBS65_Mark_sand_F",
"arifle_MXM_F",
"arifle_MXM_Black_F",
"arifle_MXM_F",
"arifle_MXM_khk_F",
"srifle_DMR_02_F",
"srifle_DMR_07_blk_F",
"srifle_DMR_07_ghex_F",
"srifle_DMR_07_hex_F",
"srifle_DMR_03_F",
"srifle_DMR_03_multicam_F",
"srifle_DMR_03_khaki_F",
"srifle_DMR_03_tan_F",
"srifle_DMR_03_woodland_F",
"CUP_arifle_Mk16_SV_black",
"arifle_SPAR_03_blk_F",
"arifle_SPAR_03_khk_F",
"arifle_SPAR_03_snd_F",
"bnae_falkor_blk_virtual",
"bnae_falkor_snd_virtual",
"CUP_arifle_DSA_SA58_DMR",
"CUP_arifle_HK417_20",
"CUP_arifle_Mk16_SV",
"CUP_arifle_Mk16_SV_black",
"CUP_arifle_Mk20",
"CUP_arifle_Mk20_black",
"CUP_srifle_L129A1",
"CUP_srifle_L129A1_HG",
"CUP_arifle_HK417_20",
"CUP_srifle_M110_black",
"CUP_srifle_M14_DMR",
"CUP_srifle_Mk12SPR",
"CUP_arifle_DSA_SA58_DMR",
"CUP_srifle_SVD",
"CUP_srifle_SVD_top_rail",
"CUP_srifle_SVD_wdl",
"CUP_srifle_SVD_wdl_top_rail",
"hlc_rifle_SAMR2",
"hlc_rifle_SG550Sniper_RIS"
"hlc_rifle_SG550Sniper_RIS",
"srifle_DMR_02_F",
"srifle_DMR_03_F",
"srifle_DMR_03_khaki_F",
"srifle_DMR_03_multicam_F",
"srifle_DMR_03_tan_F",
"srifle_DMR_03_woodland_F",
"srifle_DMR_07_blk_F",
"srifle_DMR_07_ghex_F",
"srifle_DMR_07_hex_F",
"srifle_EBR_F",
"tacs_EBR_Black_F"
};
};
Loading

0 comments on commit 75bd2fe

Please sign in to comment.