Added functions and expanded base item lists

This commit is contained in:
Ghostrider-DbD-
2017-05-24 21:23:46 -04:00
parent 0d2cf1b5c3
commit ab493d5c65
10 changed files with 1034 additions and 92 deletions

View File

@ -13,126 +13,263 @@
_knownWeapons = [
// // Assault Rifles
"arifle_AK107",
"arifle_AK12_F",
"arifle_AK47",
"arifle_AK74",
"arifle_AKM",
"arifle_AKM_F",
"arifle_AKS",
"arifle_AKS_F",
"arifle_AKS_Gold",
"arifle_CTAR_blk_F",
"arifle_CTAR_ghex_F",
"arifle_CTAR_hex_F",
"arifle_CTARS_blk_F",
"arifle_CTARS_ghex_F",
"arifle_CTARS_hex_F",
// Assault Rifles
"Rifle",
"Rifle_Base_F",
"Rifle_Short_Base_F",
"Rifle_Long_Base_F",
"arifle_Katiba_Base_F",
"arifle_Katiba_F",
"arifle_Katiba_C_F",
"mk20_base_F",
"arifle_Mk20_F",
"arifle_Mk20_plain_F",
"arifle_Mk20C_F",
"arifle_Mk20C_plain_F",
"arifle_MX_F",
"arifle_MX_Black_F",
"arifle_MX_khk_F",
"arifle_MX_Base_F",
"arifle_MXC_F",
"arifle_MXC_Black_F",
"arifle_MXC_khk_F",
"arifle_MXM_Black_F",
"arifle_MX_F",
"arifle_MXM_F",
"arifle_MXM_khk_F",
"arifle_RPK74",
"arifle_MXC_Black_F",
"arifle_MX_Black_F",
"arifle_MXM_Black_F",
"SDAR_base_F",
"arifle_SDAR_F",
"Tavor_base_F",
"arifle_TRG21_F",
"arifle_TRG20_F",
"pdw2000_base_F",
"hgun_PDW2000_F",
"arifle_MX_khk_F",
"arifle_MXC_khk_F",
"arifle_MXM_khk_F",
"arifle_AK12_base_F",
"arifle_AK12_F",
"arifle_AKM_base_F",
"arifle_AKM_F",
"arifle_AKS_base_F",
"arifle_AKS_F",
"arifle_CTAR_base_F",
"arifle_CTAR_blk_F",
"arifle_CTAR_hex_F",
"arifle_CTAR_ghex_F",
"arifle_CTARS_base_F",
"arifle_CTARS_blk_F",
"arifle_CTARS_hex_F",
"arifle_CTARS_ghex_F",
"arifle_SPAR_01_base_F",
"arifle_SPAR_01_blk_F",
"arifle_SPAR_01_khk_F",
"arifle_SPAR_01_snd_F",
"arifle_TRG20_F",
"arifle_TRG21_F",
"exile_arifle_M16A2",
"exile_arifle_M16A4",
"exile_arifle_M4",
"arifle_AK107",
"Exile_Weapon_AK107",
"Exile_Weapon_AK47",
"arifle_AK74",
"Exile_Weapon_AK74",
"arifle_AK47",
"Exile_Weapon_AK47",
"arifle_AKM",
"Exile_Weapon_AKM",
"arifle_AKS",
"Exile_Weapon_AKS",
"arifle_AKS_Gold",
"Exile_Weapon_AKS_Gold",
"Exile_Weapon_CZ550",
"Exile_Weapon_DMR",
"Exile_Weapon_ksvk",
"Exile_Weapon_LeeEnfield",
"Exile_Weapon_M1014",
"Exile_Weapon_M16A2",
"exile_arifle_M16A4",
"Exile_Weapon_M16A4",
"exile_arifle_M16A2",
"Exile_Weapon_M16A2",
"exile_arifle_M4",
"Exile_Weapon_M4",
"Exile_Weapon_RPK",
"Exile_Weapon_SVD",
"Exile_Weapon_SVDCamo",
"Exile_Weapon_VSSVintorez",
"hgun_PDW2000_F",
"srifle_DMR",
"Exile_Weapon_DMR",
"ksvk",
"M1014",
"Exile_Weapon_ksvk",
"srifle_LeeEnfield",
"Exile_Weapon_LeeEnfield",
"srifle_CZ550_base",
"Exile_Weapon_CZ550",
"srifle_SVD",
"Exile_Weapon_SVD",
"srifle_SVD_des",
"Exile_Weapon_SVDCamo",
"srifle_VSSVintorez",
"Exile_Weapon_VSSVintorez",
"arifle_RPK74",
"Exile_Weapon_RPK",
"M1014",
"Exile_Weapon_M1014",
"arifle_AK_Base",
"arifle_AKS_Base",
"arifle_AK107_Base",
"exile_arifle_M16A4_base",
"srifle_CZ550_shit_1",
"srifle_CZ550_shit_2",
"srifle_DMR",
"srifle_LeeEnfield",
"srifle_SVD",
"srifle_SVD_des",
"srifle_VSSVintorez",
// Assault Rifles with GL
"arifle_AK107_GL",
"arifle_AK12_GL_F",
"arifle_AK74_GL",
"arifle_ARX_blk_F",
"arifle_ARX_ghex_F",
"arifle_ARX_hex_F",
"arifle_CTAR_GL_blk_F",
"arifle_CTAR_GL_ghex_F",
"arifle_CTAR_GL_hex_F",
"arifle_Katiba_GL_F",
"arifle_Mk20_GL_F",
"arifle_Mk20_GL_plain_F",
"arifle_MX_GL_F",
"arifle_MX_GL_Black_F",
"arifle_TRG21_GL_F",
"arifle_MX_GL_khk_F",
"arifle_AK12_GL_base_F",
"arifle_AK12_GL_F",
"arifle_ARX_base_F",
"arifle_ARX_blk_F",
"arifle_ARX_ghex_F",
"arifle_ARX_hex_F",
"arifle_CTAR_GL_base_F",
"arifle_CTAR_GL_blk_F",
"arifle_CTAR_GL_hex_F",
"arifle_CTAR_GL_ghex_F",
"arifle_SPAR_01_GL_base_F",
"arifle_SPAR_01_GL_blk_F",
"arifle_SPAR_01_GL_khk_F",
"arifle_SPAR_01_GL_snd_F",
"arifle_TRG21_GL_F",
"arifle_AK107_GL",
"Exile_Weapon_AK107_GL",
"arifle_AK74_GL",
"Exile_Weapon_AK74_GL",
// LMGs
"arifle_MX_SW_Black_F",
"LMG_Mk200_F",
"LMG_Zafir_F",
"arifle_MX_SW_F",
"arifle_MX_SW_Black_F",
"MMG_01_hex_F",
"MMG_02_camo_F",
"MMG_01_tan_F",
"MMG_02_black_F",
"MMG_02_sand_F",
"arifle_MX_SW_khk_F",
"LMG_03_base_F",
"LMG_03_F",
"arifle_SPAR_02_base_F",
"arifle_SPAR_02_blk_F",
"arifle_SPAR_02_khk_F",
"arifle_SPAR_02_snd_F",
"Exile_Weapon_PK",
"Exile_Weapon_PKP",
"LMG_03_F",
"LMG_Mk200_F",
"lmg_UK59",
"LMG_Zafir_F",
"MMG_01_hex_F",
"MMG_01_tan_F",
"MMG_02_black_F",
"MMG_02_camo_F",
"MMG_02_sand_F",
"Pecheneg",
"PKP",
"Exile_Weapon_PK",
"Pecheneg",
"Exile_Weapon_PKP",
"lmg_UK59",
// SMGs
"SMG_01_Base",
"SMG_01_F",
"SMG_02_base_F",
"SMG_02_F",
"SMG_05_F"
"SMG_05_base_F",
"SMG_05_F",
// Snipers
"DMR_01_base_F",
"srifle_DMR_01_F",
"EBR_base_F",
"srifle_EBR_F",
"GM6_base_F",
"srifle_GM6_F",
"srifle_GM6_camo_F",
"LRR_base_F",
"srifle_LRR_F",
"srifle_LRR_camo_F",
"DMR_02_base_F",
"DMR_03_base_F",
"DMR_04_base_F",
"DMR_05_base_F",
"DMR_06_base_F",
"srifle_DMR_02_F",
"srifle_DMR_02_camo_F",
"srifle_DMR_02_sniper_F",
"srifle_DMR_03_F",
"srifle_DMR_03_khaki_F",
"srifle_DMR_03_tan_F",
"srifle_DMR_03_multicam_F",
"srifle_DMR_03_woodland_F",
"srifle_DMR_04_F",
"srifle_DMR_04_Tan_F",
"srifle_DMR_05_blk_F",
"srifle_DMR_05_hex_F",
"srifle_DMR_05_tan_f",
"srifle_DMR_06_camo_F",
"srifle_DMR_06_olive_F",
"srifle_LRR_tna_F",
"srifle_GM6_ghex_F",
"DMR_07_base_F",
"srifle_DMR_07_blk_F",
"srifle_DMR_07_hex_F",
"srifle_DMR_07_ghex_F",
"arifle_SPAR_03_base_F",
"arifle_SPAR_03_blk_F",
"arifle_SPAR_03_khk_F",
"arifle_SPAR_03_snd_F",
"exile_weapons_m107",
"Exile_Weapon_m107",
// DMRs
// Launchers
"Launcher",
"Launcher_Base_F",
"launch_NLAW_F",
"launch_RPG32_F",
"launch_Titan_base",
"launch_Titan_short_base",
"launch_B_Titan_F",
"launch_I_Titan_F",
"launch_O_Titan_F",
"launch_Titan_F",
"launch_B_Titan_short_F",
"launch_I_Titan_short_F",
"launch_O_Titan_short_F",
"launch_Titan_short_F",
"launch_RPG32_ghex_F",
"launch_RPG7_F",
"launch_B_Titan_tna_F",
"launch_B_Titan_short_tna_F",
"launch_O_Titan_ghex_F",
"launch_O_Titan_short_ghex_F",
// Handguns
"HandGunBase",
"Pistol",
"Pistol_Base_F",
"hgun_ACPC2_F",
"hgun_P07_F",
"hgun_Pistol_heavy_01_F",
"hgun_Pistol_heavy_02_F",
"hgun_Rook40_F",
"hgun_Pistol_Signal_F",
"hgun_P07_khk_F",
"hgun_Pistol_01_F",
"Colt1911",
"Exile_Weapon_Colt1911",
"Makarov",
"Exile_Weapon_Makarov",
"TaurusTracker455",
"Exile_Weapon_Taurus",
"TaurusTracker455_gold",
"Exile_Weapon_TaurusGold",
"exile_rifle_SA61",
"Exile_Weapon_SA61",
"Makarov_light",
// Shotguns
// Throwables
"Exile_Melee_Abstract",
"Exile_Melee_Axe",
"Exile_Melee_Shovel",
"Exile_Melee_SledgeHammer"
// Unknown
];

View File

@ -0,0 +1,500 @@
_baseWearables = [
// // Uniforms
"Uniform_Base",
"U_BasicBody",
"U_B_CombatUniform_mcam",
"U_B_CombatUniform_mcam_tshirt",
"U_B_CombatUniform_mcam_vest",
"U_B_GhillieSuit",
"U_B_HeliPilotCoveralls",
"U_B_Wetsuit",
"U_O_CombatUniform_ocamo",
"U_O_GhillieSuit",
"U_O_PilotCoveralls",
"U_O_Wetsuit",
"U_C_Poloshirt_blue",
"U_C_Poloshirt_burgundy",
"U_C_Poloshirt_stripped",
"U_C_Poloshirt_tricolour",
"U_C_Poloshirt_salmon",
"U_C_Poloshirt_redwhite",
"U_C_Commoner1_1",
"U_C_Commoner1_2",
"U_C_Commoner1_3",
"U_Rangemaster",
"U_NikosBody",
"U_OrestesBody",
"U_B_CombatUniform_mcam_worn",
"U_B_CombatUniform_wdl",
"U_B_CombatUniform_wdl_tshirt",
"U_B_CombatUniform_wdl_vest",
"U_B_CombatUniform_sgg",
"U_B_CombatUniform_sgg_tshirt",
"U_B_CombatUniform_sgg_vest",
"U_B_SpecopsUniform_sgg",
"U_B_PilotCoveralls",
"U_O_CombatUniform_oucamo",
"U_O_SpecopsUniform_ocamo",
"U_O_SpecopsUniform_blk",
"U_O_OfficerUniform_ocamo",
"U_I_CombatUniform",
"U_I_CombatUniform_tshirt",
"U_I_CombatUniform_shortsleeve",
"U_I_pilotCoveralls",
"U_I_HeliPilotCoveralls",
"U_I_GhillieSuit",
"U_I_OfficerUniform",
"U_I_Wetsuit",
"U_Competitor",
"U_MillerBody",
"U_KerryBody",
"U_AttisBody",
"U_AntigonaBody",
"U_IG_Menelaos",
"U_C_Novak",
"U_OI_Scientist",
"U_IG_Guerilla1_1",
"U_IG_Guerilla2_1",
"U_IG_Guerilla2_2",
"U_IG_Guerilla2_3",
"U_IG_Guerilla3_1",
"U_IG_Guerilla3_2",
"U_IG_leader",
"U_BG_Guerilla1_1",
"U_BG_Guerilla2_1",
"U_BG_Guerilla2_2",
"U_BG_Guerilla2_3",
"U_BG_Guerilla3_1",
"U_BG_Guerilla3_2",
"U_BG_leader",
"U_OG_Guerilla1_1",
"U_OG_Guerilla2_1",
"U_OG_Guerilla2_2",
"U_OG_Guerilla2_3",
"U_OG_Guerilla3_1",
"U_OG_Guerilla3_2",
"U_OG_leader",
"U_C_Poor_1",
"U_C_Poor_2",
"U_C_Scavenger_1",
"U_C_Scavenger_2",
"U_C_Farmer",
"U_C_Fisherman",
"U_C_WorkerOveralls",
"U_C_FishermanOveralls",
"U_C_WorkerCoveralls",
"U_C_HunterBody_grn",
"U_C_HunterBody_brn",
"U_C_Commoner2_1",
"U_C_Commoner2_2",
"U_C_Commoner2_3",
"U_C_PriestBody",
"U_C_Poor_shorts_1",
"U_C_Poor_shorts_2",
"U_C_Commoner_shorts",
"U_C_ShirtSurfer_shorts",
"U_C_TeeSurfer_shorts_1",
"U_C_TeeSurfer_shorts_2",
"U_B_CTRG_1",
"U_B_CTRG_2",
"U_B_CTRG_3",
"U_B_survival_uniform",
"U_I_G_Story_Protagonist_F",
"U_I_G_resistanceLeader_F",
"U_C_Journalist",
"U_C_Scientist",
"U_NikosAgedBody",
"U_B_Protagonist_VR",
"U_O_Protagonist_VR",
"U_I_Protagonist_VR",
"U_IG_Guerrilla_6_1",
"U_BG_Guerrilla_6_1",
"U_OG_Guerrilla_6_1",
"U_B_Soldier_VR",
"U_O_Soldier_VR",
"U_I_Soldier_VR",
"U_C_Soldier_VR",
"U_C_Driver_1",
"U_C_Driver_2",
"U_C_Driver_3",
"U_C_Driver_4",
"U_Marshal",
"U_C_Driver_1_black",
"U_C_Driver_1_blue",
"U_C_Driver_1_green",
"U_C_Driver_1_red",
"U_C_Driver_1_white",
"U_C_Driver_1_yellow",
"U_C_Driver_1_orange",
"U_B_FullGhillie_lsh",
"U_B_FullGhillie_sard",
"U_B_FullGhillie_ard",
"U_O_FullGhillie_lsh",
"U_O_FullGhillie_sard",
"U_O_FullGhillie_ard",
"U_I_FullGhillie_lsh",
"U_I_FullGhillie_sard",
"U_I_FullGhillie_ard",
"U_VirtualMan_F",
"Exile_Uniform_BambiOverall",
"Exile_Uniform_ExileCustoms",
"Exile_Uniform_Wetsuit_NATO",
"Exile_Uniform_Wetsuit_CSAT",
"Exile_Uniform_Wetsuit_AAF",
"Exile_Uniform_Woodland",
"U_B_T_Soldier_F",
"U_B_T_Soldier_AR_F",
"U_B_T_Soldier_SL_F",
"U_B_T_Sniper_F",
"U_B_T_FullGhillie_tna_F",
"U_B_CTRG_Soldier_F",
"U_B_CTRG_Soldier_2_F",
"U_B_CTRG_Soldier_3_F",
"U_B_GEN_Soldier_F",
"U_B_GEN_Commander_F",
"U_O_T_Soldier_F",
"U_O_T_Officer_F",
"U_O_T_Sniper_F",
"U_O_T_FullGhillie_tna_F",
"U_O_V_Soldier_Viper_F",
"U_O_V_Soldier_Viper_hex_F",
"U_I_C_Soldier_Para_1_F",
"U_I_C_Soldier_Para_2_F",
"U_I_C_Soldier_Para_3_F",
"U_I_C_Soldier_Para_4_F",
"U_I_C_Soldier_Para_5_F",
"U_I_C_Soldier_Bandit_1_F",
"U_I_C_Soldier_Bandit_2_F",
"U_I_C_Soldier_Bandit_3_F",
"U_I_C_Soldier_Bandit_4_F",
"U_I_C_Soldier_Bandit_5_F",
"U_I_C_Soldier_Camo_F",
"U_C_man_sport_1_F",
"U_C_man_sport_2_F",
"U_C_man_sport_3_F",
"U_C_Man_casual_1_F",
"U_C_Man_casual_2_F",
"U_C_Man_casual_3_F",
"U_C_Man_casual_4_F",
"U_C_Man_casual_5_F",
"U_C_Man_casual_6_F",
"U_B_CTRG_Soldier_urb_1_F",
"U_B_CTRG_Soldier_urb_2_F",
"U_B_CTRG_Soldier_urb_3_F",
// Headgear / Masks
"HelmetBase",
"H_HelmetB",
"H_HelmetB_camo",
"H_HelmetB_paint",
"H_HelmetB_light",
"H_Booniehat_khk",
"H_Booniehat_oli",
"H_Booniehat_indp",
"H_Booniehat_mcamo",
"H_Booniehat_grn",
"H_Booniehat_tan",
"H_Booniehat_dirty",
"H_Booniehat_dgtl",
"H_Booniehat_khk_hs",
"H_HelmetB_plain_mcamo",
"H_HelmetB_plain_blk",
"H_HelmetSpecB",
"H_HelmetSpecB_paint1",
"H_HelmetSpecB_paint2",
"H_HelmetSpecB_blk",
"H_HelmetSpecB_snakeskin",
"H_HelmetSpecB_sand",
"H_HelmetIA",
"H_HelmetIA_net",
"H_HelmetIA_camo",
"H_Helmet_Kerry",
"H_HelmetB_grass",
"H_HelmetB_snakeskin",
"H_HelmetB_desert",
"H_HelmetB_black",
"H_HelmetB_sand",
"H_Cap_red",
"H_Cap_blu",
"H_Cap_oli",
"H_Cap_headphones",
"H_Cap_tan",
"H_Cap_blk",
"H_Cap_blk_CMMG",
"H_Cap_brn_SPECOPS",
"H_Cap_tan_specops_US",
"H_Cap_khaki_specops_UK",
"H_Cap_grn",
"H_Cap_grn_BI",
"H_Cap_blk_Raven",
"H_Cap_blk_ION",
"H_Cap_oli_hs",
"H_Cap_press",
"H_Cap_usblack",
"H_Cap_surfer",
"H_Cap_police",
"H_HelmetCrew_B",
"H_HelmetCrew_O",
"H_HelmetCrew_I",
"H_PilotHelmetFighter_B",
"H_PilotHelmetFighter_O",
"H_PilotHelmetFighter_I",
"H_PilotHelmetHeli_B",
"H_PilotHelmetHeli_O",
"H_PilotHelmetHeli_I",
"H_CrewHelmetHeli_B",
"H_CrewHelmetHeli_O",
"H_CrewHelmetHeli_I",
"H_HelmetO_ocamo",
"H_HelmetLeaderO_ocamo",
"H_MilCap_ocamo",
"H_MilCap_mcamo",
"H_MilCap_oucamo",
"H_MilCap_rucamo",
"H_MilCap_gry",
"H_MilCap_dgtl",
"H_MilCap_blue",
"H_HelmetB_light_grass",
"H_HelmetB_light_snakeskin",
"H_HelmetB_light_desert",
"H_HelmetB_light_black",
"H_HelmetB_light_sand",
"H_BandMask_blk",
"H_BandMask_khk",
"H_BandMask_reaper",
"H_BandMask_demon",
"H_HelmetO_oucamo",
"H_HelmetLeaderO_oucamo",
"H_HelmetSpecO_ocamo",
"H_HelmetSpecO_blk",
"H_Bandanna_surfer",
"H_Bandanna_khk",
"H_Bandanna_khk_hs",
"H_Bandanna_cbr",
"H_Bandanna_sgg",
"H_Bandanna_sand",
"H_Bandanna_surfer_blk",
"H_Bandanna_surfer_grn",
"H_Bandanna_gry",
"H_Bandanna_blu",
"H_Bandanna_camo",
"H_Bandanna_mcamo",
"H_Shemag_khk",
"H_Shemag_tan",
"H_Shemag_olive",
"H_Shemag_olive_hs",
"H_ShemagOpen_khk",
"H_ShemagOpen_tan",
"H_Beret_blk",
"H_Beret_blk_POLICE",
"H_Beret_red",
"H_Beret_grn",
"H_Beret_grn_SF",
"H_Beret_brn_SF",
"H_Beret_ocamo",
"H_Beret_02",
"H_Beret_Colonel",
"H_Watchcap_blk",
"H_Watchcap_cbr",
"H_Watchcap_khk",
"H_Watchcap_camo",
"H_Watchcap_sgg",
"H_TurbanO_blk",
"H_StrawHat",
"H_StrawHat_dark",
"H_Hat_blue",
"H_Hat_brown",
"H_Hat_camo",
"H_Hat_grey",
"H_Hat_checker",
"H_Hat_tan",
"H_RacingHelmet_1_F",
"H_RacingHelmet_2_F",
"H_RacingHelmet_3_F",
"H_RacingHelmet_4_F",
"H_RacingHelmet_1_black_F",
"H_RacingHelmet_1_blue_F",
"H_RacingHelmet_1_green_F",
"H_RacingHelmet_1_red_F",
"H_RacingHelmet_1_white_F",
"H_RacingHelmet_1_yellow_F",
"H_RacingHelmet_1_orange_F",
"H_Cap_marshal",
"Exile_Cap_Exile",
"H_Helmet_Skate",
"H_HelmetB_TI_tna_F",
"H_HelmetO_ViperSP_hex_F",
"H_HelmetO_ViperSP_ghex_F",
"H_HelmetB_tna_F",
"H_HelmetB_Enh_tna_F",
"H_HelmetB_Light_tna_F",
"H_HelmetSpecO_ghex_F",
"H_HelmetLeaderO_ghex_F",
"H_HelmetO_ghex_F",
"H_HelmetCrew_O_ghex_F",
"H_MilCap_tna_F",
"H_MilCap_ghex_F",
"H_Booniehat_tna_F",
"H_Beret_gen_F",
"H_MilCap_gen_F",
"H_Cap_oli_Syndikat_F",
"H_Cap_tan_Syndikat_F",
"H_Cap_blk_Syndikat_F",
"H_Cap_grn_Syndikat_F",
// Goggles
"GoggleItem",
// Vests
"Vest_Camo_Base",
"Vest_NoCamo_Base",
"V_Rangemaster_belt",
"V_BandollierB_khk",
"V_BandollierB_cbr",
"V_BandollierB_rgr",
"V_BandollierB_blk",
"V_BandollierB_oli",
"V_PlateCarrier1_rgr",
"V_PlateCarrier2_rgr",
"V_PlateCarrier2_blk",
"V_PlateCarrier3_rgr",
"V_PlateCarrierGL_rgr",
"V_PlateCarrierGL_blk",
"V_PlateCarrierGL_mtp",
"V_PlateCarrier1_blk",
"V_PlateCarrierSpec_rgr",
"V_PlateCarrierSpec_blk",
"V_PlateCarrierSpec_mtp",
"V_Chestrig_khk",
"V_Chestrig_rgr",
"V_Chestrig_blk",
"V_Chestrig_oli",
"V_TacVest_khk",
"V_TacVest_brn",
"V_TacVest_oli",
"V_TacVest_blk",
"V_TacVest_camo",
"V_TacVest_blk_POLICE",
"V_TacVestIR_blk",
"V_TacVestCamo_khk",
"V_HarnessO_brn",
"V_HarnessOGL_brn",
"V_HarnessO_gry",
"V_HarnessOGL_gry",
"V_HarnessOSpec_brn",
"V_HarnessOSpec_gry",
"V_PlateCarrierIA1_dgtl",
"V_PlateCarrierIA2_dgtl",
"V_PlateCarrierIAGL_dgtl",
"V_PlateCarrierIAGL_oli",
"V_RebreatherB",
"V_RebreatherIR",
"V_RebreatherIA",
"V_PlateCarrier_Kerry",
"V_PlateCarrierL_CTRG",
"V_PlateCarrierH_CTRG",
"V_I_G_resistanceLeader_F",
"V_Press_F",
"Exile_Vest_Rebreather_NATO",
"Exile_Vest_Rebreather_AAF",
"Exile_Vest_Rebreather_CSAT",
"Exile_Vest_Snow",
"V_TacChestrig_grn_F",
"V_TacChestrig_oli_F",
"V_TacChestrig_cbr_F",
"V_PlateCarrier1_tna_F",
"V_PlateCarrier2_tna_F",
"V_PlateCarrierSpec_tna_F",
"V_PlateCarrierGL_tna_F",
"V_HarnessO_ghex_F",
"V_HarnessOGL_ghex_F",
"V_BandollierB_ghex_F",
"V_TacVest_gen_F",
"V_PlateCarrier1_rgr_noflag_F",
"V_PlateCarrier2_rgr_noflag_F",
"V_DeckCrew_base_F",
"V_DeckCrew_yellow_F",
"V_DeckCrew_blue_F",
"V_DeckCrew_green_F",
"V_DeckCrew_red_F",
"V_DeckCrew_white_F",
"V_DeckCrew_brown_F",
"V_DeckCrew_violet_F",
// Backpacks
//Glasses
"None",
"G_Spectacles",
"G_Spectacles_Tinted",
"G_Combat",
"G_Lowprofile",
"G_Shades_Black",
"G_Shades_Green",
"G_Shades_Red",
"G_Squares",
"G_Squares_Tinted",
"G_Sport_BlackWhite",
"G_Sport_Blackyellow",
"G_Sport_Greenblack",
"G_Sport_Checkered",
"G_Sport_Red",
"G_Tactical_Black",
"G_Aviator",
"G_Lady_Mirror",
"G_Lady_Dark",
"G_Lady_Red",
"G_Lady_Blue",
"G_Diving",
"G_B_Diving",
"G_O_Diving",
"G_I_Diving",
"G_Goggles_VR",
"G_Balaclava_blk",
"G_Balaclava_oli",
"G_Balaclava_combat",
"G_Balaclava_lowprofile",
"G_Bandanna_blk",
"G_Bandanna_oli",
"G_Bandanna_khk",
"G_Bandanna_tan",
"G_Bandanna_beast",
"G_Bandanna_shades",
"G_Bandanna_sport",
"G_Bandanna_aviator",
"G_Shades_Blue",
"G_Sport_Blackred",
"G_Tactical_Clear",
"Exile_Glasses_Diving_AAF",
"Exile_Glasses_Diving_CSAT",
"Exile_Glasses_Diving_NATO",
"G_Balaclava_TI_blk_F",
"G_Balaclava_TI_tna_F",
"G_Balaclava_TI_G_blk_F",
"G_Balaclava_TI_G_tna_F",
"G_Combat_Goggles_tna_F",
// NVG
"NVGoggles",
"NVGoggles_OPFOR",
"NVGoggles_INDEP",
"Integrated_NVG_F",
"Integrated_NVG_TI_0_F",
"Integrated_NVG_TI_1_F",
"O_NVGoggles_hex_F",
"O_NVGoggles_urb_F",
"O_NVGoggles_ghex_F",
"NVGoggles_tna_F",
"NVGogglesB_blk_F",
"NVGogglesB_grn_F",
"NVGogglesB_gry_F"
];

View File

@ -14,13 +14,17 @@ DBD_priceConfiguration = "Exile"; // Options are "Exile" or "Epoch". This conf
player addAction["Run vehiclesConfig","vehiclesConfig.sqf"];
player addAction["Run vehiclesPricelist","vehiclesPriceList.sqf"];
player addAction["Run weaponsConfig","weaponsConfig.sqf"];
player addAction["Run weaponsPriceList","weaponsPriceList.sqf"];
player addAction["Run magazinesConfig","magazinesConfig.sqf"];
player addAction["Run magazinesPriceList","magazinesPriceList.sqf"];
player addAction["Run wearablesConfig","wearablesConfig.sqf"];
player addAction["Run wearablesPriceList","wearablesPriceList.sqf"];
player addAction["Run headgearConfig","headgearConfig.sqf"];
player addAction["Run headgearPriceList","headgearPriceList.sqf"];
player addAction["Run vestsConfig","vestsConfig.sqf"];
player addAction["Run vestsPriceList","vestsPriceList.sqf"];
player addAction["Run uniformsConfig","uniformsConfig.sqf"];
player addAction["Run uniformsPriceList","uniformsPriceList.sqf"];
player addAction["Run weaponsConfig","weaponsConfig.sqf"];
player addAction["Run weaponsPriceList","weaponsPriceList.sqf"];
player addAction["Run magazinesConfig","magazinesConfig.sqf"];
player addAction["Run magazinesPriceList","magazinesPriceList.sqf"];

View File

@ -10,10 +10,8 @@
_baseMagazines = [];
#include "baseMagazines.sqf"
//systemChat format["%1%2 end",_baseUniforms,endl];
//uiSleep 5;
_veh = (configfile >> "CfgMagazines") call BIS_fnc_getCfgSubClasses;
_veh sort true;
//_veh sort true;
systemChat format[" _veh contains %1 entries",count _veh];
_cars = [];
_clipboard = "";

View File

@ -10,10 +10,8 @@
_baseUniforms = [];
#include "baseUniforms.sqf"
//systemChat format["%1%2 end",_baseUniforms,endl];
//uiSleep 5;
_veh = (configfile >> "CfgWeapons") call BIS_fnc_getCfgSubClasses;
_veh sort true;
//_veh sort true;
systemChat format[" _veh contains %1 entries",count _veh];
_index = 0;
_cars = [];
@ -35,7 +33,5 @@ _clipboard = "";
_clipboard = _clipboard + format['"%1",%2',_x,endl];
};
}forEach _veh;
systemChat format["number of type of Uniform_Base = %1", _index];
systemChat format["number of Exile uniforms = %1",_exile];
copyToClipboard _clipboard;

View File

@ -11,7 +11,7 @@
_vehiclesBase = [];
#include "vehiclesBase.sqf"
_veh = (configfile >> "CfgVehicles") call BIS_fnc_getCfgSubClasses;
_veh sort true;
//_veh sort true;
systemChat format[" _veh contains %1 entries",count _veh];
_index = 0;
_cars = [];
@ -32,7 +32,5 @@ _clipboard = "";
_clipboard = _clipboard + format['"%1",%2',_x,endl];
};
}forEach _veh;
systemChat format["number of type of Car_F = %1", _index];
systemChat format["number of Exile cars = %1",_exile];
copyToClipboard _clipboard;

View File

@ -10,10 +10,8 @@
_baseVests = [];
#include "baseVests.sqf"
//systemChat format["%1%2 end",_baseUniforms,endl];
//uiSleep 5;
_veh = (configfile >> "CfgWeapons") call BIS_fnc_getCfgSubClasses;
_veh sort true;
//_veh sort true;
systemChat format[" _veh contains %1 entries",count _veh];
_index = 0;
_cars = [];
@ -35,7 +33,5 @@ _clipboard = "";
_clipboard = _clipboard + format['"%1",%2',_x,endl];
};
}forEach _veh;
systemChat format["number of type of Vests = %1", _index];
systemChat format["number of Exile Vests = %1",_exile];
copyToClipboard _clipboard;

View File

@ -30,7 +30,7 @@ _wpnUnknown = []; //Misc
_aBaseNames = [];
_wpList = (configFile >> "cfgWeapons") call BIS_fnc_getCfgSubClasses;
_wpList sort true;
//_wpList sort true;
{
_item = _x;
_isWeap = false;

View File

@ -0,0 +1,118 @@
/*
some of the algorithm/script is based on a script by KiloSwiss
https://epochmod.com/forum/topic/32239-howto-get-available-weapons-mod-independent/
Modified and enhanced by GhostriderDbD
5/22/17
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
_baseWearables = [];
#include "baseWearables.sqf"
_allWearableRoots = ["Pistol","Rifle","Launcher"];
_allWearableTypes = ["AssaultRifle","MachineGun","SniperRifle","Shotgun","Rifle","Pistol","SubmachineGun","Handgun","MissileLauncher","RocketLauncher","Throw","GrenadeCore"];
_addedBaseNames = [];
_allBannedWearables = [];
_uniforms = []; //Assault Rifles
_headgear = []; //Assault Rifles with GL
_glasses = []; //Light Machine Guns
_masks = []; //Sub Machine Guns
_backpacks = []; //Designated Marksman Rifles
_vests = [];
_goggles = []; //Sniper rifles
_binocs = []; //HandGuns/Pistols
_NVG = []; //Shotguns // NVGoggles
//_wpnThrow = []; // throwables
//_wpnUnknown = []; //Misc
_wpList = (configfile >> "cfgGlasses") call BIS_fnc_getCfgSubClasses;
{
if ( !(_x in _baseWearables) && !(_x in _addedBaseNames) ) then
{
_addedBaseNames pushBack _x;
_glasses pushBack _x;
};
}forEach _wpList;
_aBaseNames = [];
_wpList = (configFile >> "cfgWeapons") call BIS_fnc_getCfgSubClasses;
//_wpList sort true;
{
if ( !(_x in _baseWearables) && !(_x in _addedBaseNames) ) then
{
_addedBaseNames pushBack _x;
// Uniforms
if (_x isKindOF ["Uniform_Base", configFile >> "CfgWeapons"]) then {_uniforms pushBack _x};
// Headgear / Masks
if ( (_x isKindOF ["HelmetBase", configFile >> "CfgWeapons"]) or (_x isKindOF ["H_HelmetB", configFile >> "CfgWeapons"]) ) then {_headgear pushBack _x};
// Goggles
if (_x isKindOF ["GoggleItem", configFile >> "CfgWeapons"]) then {_goggles pushBack _x};
// NVG
if (_x isKindOF ["NVGoggles", configFile >> "CfgWeapons"]) then {_NVG pushBack _x};
// Masks
// Vests
if ( (_x isKindOF ["Vest_Camo_Base", configFile >> "CfgWeapons"]) or (_x isKindOF ["Vest_NoCamo_Base", configFile >> "CfgWeapons"]) ) then {_vests pushBack _x};
// Backpacks
if (_x isKindOF ["Bag_Base", configFile >> "CfgVehicles"]) then {_backpacks pushBack _x};
};
} foreach _wpList;
_clipBoard = format["%2%3// // Uniforms %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl];
}forEach _uniforms;
_clipBoard = _clipBoard + format["%2%3// Headgear / Masks %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl]
}forEach _headgear;
_clipBoard = _clipBoard + format["%2%3// Goggles %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl]
}forEach _goggles;
_clipBoard = _clipBoard + format["%2%3// Vests %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl]
}forEach _vests;
_clipBoard = _clipBoard + format["%2%3// Backpacks %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl]
}forEach _backpacks;
_clipBoard = _clipBoard + format["%2%3//Glasses %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl]
}forEach _glasses;
_clipBoard = _clipBoard + format["%2%3// NVG %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl]
}forEach _NVG;
/*
_clipBoard = _clipBoard + format["%2%3// Handguns %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl]
}forEach _wpnHandGun;
_clipBoard = _clipBoard + format["%2%3// Shotguns %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl]
}forEach _wpnShotGun;
_clipBoard = _clipBoard + format["%2%3// Throwables %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl]
}forEach _wpnThrow;
_clipBoard = _clipBoard + format["%2%3// Unknown %1",endl,endl,endl];
{
_clipBoard = _clipBoard + format['"%1%",%2',_x,endl]
}forEach _wpnUnknown;
*/
copyToClipboard _clipBoard;

View File

@ -0,0 +1,195 @@
/*
some of the algorithm/script is based on a script by KiloSwiss
https://epochmod.com/forum/topic/32239-howto-get-available-weapons-mod-independent/
Modified and enhanced by GhostriderDbD
5/22/17
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
http://creativecommons.org/licenses/by-nc-sa/4.0/
*/
_baseWearables = [];
#include "baseWearables.sqf"
_allWearableRoots = ["Pistol","Rifle","Launcher"];
_allWearableTypes = ["AssaultRifle","MachineGun","SniperRifle","Shotgun","Rifle","Pistol","SubmachineGun","Handgun","MissileLauncher","RocketLauncher","Throw","GrenadeCore"];
_addedBaseNames = [];
_allBannedWearables = [];
_uniforms = []; //Assault Rifles
_headgear = []; //Assault Rifles with GL
_glasses = []; //Light Machine Guns
_masks = []; //Sub Machine Guns
_backpacks = []; //Designated Marksman Rifles
_vests = [];
_goggles = []; //Sniper rifles
_binocs = []; //HandGuns/Pistols
_NVG = []; //Shotguns // NVGoggles
//_wpnThrow = []; // throwables
//_wpnUnknown = []; //Misc
_wpList = (configfile >> "cfgGlasses") call BIS_fnc_getCfgSubClasses;
{
if ( !(_x in _baseWearables) && !(_x in _addedBaseNames) ) then
{
_addedBaseNames pushBack _x;
_glasses pushBack _x;
};
}forEach _wpList;
_aBaseNames = [];
_wpList = (configFile >> "cfgWeapons") call BIS_fnc_getCfgSubClasses;
//_wpList sort true;
{
if ( !(_x in _baseWearables) && !(_x in _addedBaseNames) ) then
{
_addedBaseNames pushBack _x;
// Uniforms
if (_x isKindOF ["Uniform_Base", configFile >> "CfgWeapons"]) then {_uniforms pushBack _x};
// Headgear / Masks
if ( (_x isKindOF ["HelmetBase", configFile >> "CfgWeapons"]) or (_x isKindOF ["H_HelmetB", configFile >> "CfgWeapons"]) ) then {_headgear pushBack _x};
// Goggles
if (_x isKindOF ["GoggleItem", configFile >> "CfgWeapons"]) then {_goggles pushBack _x};
// NVG
if (_x isKindOF ["NVGoggles", configFile >> "CfgWeapons"]) then {_NVG pushBack _x};
// Masks
// Vests
if ( (_x isKindOF ["Vest_Camo_Base", configFile >> "CfgWeapons"]) or (_x isKindOF ["Vest_NoCamo_Base", configFile >> "CfgWeapons"]) ) then {_vests pushBack _x};
// Backpacks
if (_x isKindOF ["Bag_Base", configFile >> "CfgVehicles"]) then {_backpacks pushBack _x};
};
} foreach _wpList;
_clipBoard = format["%2%3// // Uniforms %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _uniforms;
_clipBoard = _clipBoard + format["%2%3// Headgear / Masks %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _headgear;
_clipBoard = _clipBoard + format["%2%3// Goggles %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _goggles;
_clipBoard = _clipBoard + format["%2%3// Vests %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _vests;
_clipBoard = _clipBoard + format["%2%3// Backpacks %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _backpacks;
_clipBoard = _clipBoard + format["%2%3//Glasses %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _glasses;
_clipBoard = _clipBoard + format["%2%3// NVG %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _NVG;
/*
_clipBoard = _clipBoard + format["%2%3// Handguns %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _wpnHandGun;
_clipBoard = _clipBoard + format["%2%3// Shotguns %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _wpnShotGun;
_clipBoard = _clipBoard + format["%2%3// Throwables %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _wpnThrow;
_clipBoard = _clipBoard + format["%2%3// Unknown %1",endl,endl,endl];
{
if (DBD_priceConfiguration == "Exile") then
{
_clipboard = _clipboard + format["class %1 { quality = 3; price = 150; };%2",_x,endl];
};
if (DBD_priceConfiguration == "Epoch") then
{
_clipboard = _clipboard + format["class %1 { price = 150; };%2",_x,endl];
};
}forEach _wpnUnknown;
*/
copyToClipboard _clipBoard;