Gunter Severloh 4070 Posted August 12, 2023 Spearhead 1944 Virtual Arsenal Whitelist's Hello Spearhead 1944 fans! Looking for a way to only restrict or show gear, magazines, and weapons for the faction you are playing with, for SPE 1944 in arsenal, either for yourself, your unit or group? Tired of playing missions with people who break the immersion by wearing and using modern gear and equipment they chose from arsenal? This script is your solution! Did you create this? Yes and no i did not create the script itself, but i did compile all the classnames for SPE 1944 found on this page -----> Spearhead 1944 Wiki and created 3 scripts using Alex150201's script as a template, i give props and credits to Alex150201 from the linked thread, you can see the code he wrote there which i used to create my own -----> LINK What does this script do and how is it used? When you go to an ammo box ingame that has arsenal attached to it, this script will whitelist or remove all vanilla/dlc gear, uniforms, weapons, items, ect,. and show only those gear, items, weapons, magazines, ect,. for the Spearhead 1944 Creator DLC and for each faction separately based on the script you use in your mission's ammo box. What is whitelisted? Headgear - contains: Headgear, binoculars, Tripod, Gloves, items, & tool kits Uniforms Vests Backpacks - contains: Backpacks, bags, parachute, & tripods Magazines - contains: Weapon mags, rocket mags, grenades, smoke grenades, rifle grenades, & mines Weapons - contains: Pistols, sub machineguns, rifles, machineguns, sniper rifles, & launchers The Scripts Below are scripts for each faction, each whitelist contains classnames specific to their faction. Notes: I had compiled all the classnames for each faction into their own scripts: Germans, US, and the FIF/FLA, the script for the FIF and FLA classes are together in one script. Create the scripts German Faction Script Step 1 - Copy the following code from the code box below: //Init _crate = _this select 0; ["AmmoboxInit",[_crate,false,{true}]] spawn BIS_fnc_arsenal; //SPE 1944 German gear & weapons _availiableHeadgear = [ "H_SPE_ST_Helmet", "H_SPE_ST_Helmet2", "H_SPE_ST_Helmet3", "H_SPE_ST_Helmet4", "H_SPE_GER_Fieldcap", "H_SPE_GER_Fieldcap2", "H_SPE_GER_ST_Tanker_Cap", "H_SPE_GER_ST_Tanker_Cap2", "H_SPE_GER_TankOfficerCap", "H_SPE_GER_TankOfficerCap2", "H_SPE_GER_TankPrivateCap", "H_SPE_GER_TankPrivateCap2", "H_SPE_GER_TankPrivateCap3", "H_SPE_GER_TankOffzCap", "H_SPE_GER_TankOffzCap2", "H_SPE_GER_TankOffzCap3", "H_SPE_GER_SPGPrivateCap", "H_SPE_GER_SPGPrivateCap2", "H_SPE_GER_Helmet", "H_SPE_GER_Helmet_net", "H_SPE_GER_Helmet_ns", "H_SPE_GER_Helmet_ns_wire", "H_SPE_GER_Helmet_os", "H_SPE_GER_Helmet_Medic", "H_SPE_GER_Helmet_painted", "H_SPE_GER_Helmet_net_painted", "H_SPE_GER_Helmet_ns_painted", "H_SPE_GER_Helmet_os_painted", "H_SPE_GER_Helmet_Glasses", "H_SPE_GER_Helmet_Glasses_painted", "H_SPE_GER_HelmetUtility", "H_SPE_GER_HelmetUtility_OS", "H_SPE_GER_HelmetUtility_Grass", "H_SPE_GER_HelmetUtility_Grass_OS", "H_SPE_GER_HelmetUtility_Oak", "H_SPE_GER_HelmetUtility_Oak_OS", "H_SPE_GER_HelmetCamo", "H_SPE_GER_HelmetCamo2", "H_SPE_GER_HelmetCamo3", "H_SPE_GER_HelmetCamo3_OS", "H_SPE_GER_HelmetCamo4", "H_SPE_GER_OfficerCap", "H_SPE_GER_ArtOfficerCap", "H_SPE_GER_PzgrenOfficerCap", "H_SPE_GER_Cap", "H_SPE_GER_Cap_Offz", "H_SPE_GER_LW_PilotHelmet", "H_SPE_GER_LW_S_PilotHelmet", "H_SPE_GER_LW_PilotHelmet_Mask", "H_SPE_GER_LW_PilotHelmet_S_Mask", "ItemMap", "SPE_GER_ItemWatch", "SPE_GER_ItemCompass", "SPE_GER_ItemCompass_deg", "SPE_GER_FirstAidKit", "SPE_GER_Medkit", "SPE_ACC_K98_Bayo", "SPE_ACC_GW_SB_Empty", "SPE_Binocular_GER", "SPE_ToolKit", "SPE_GER_Headset", "G_SPE_Cigar_Moza", "G_SPE_Cigarette_Belomorkanal", "G_SPE_Cigarette_Grundstein", "G_SPE_Cigarette_Strike_Outs", "G_SPE_Pipe_Sir_Winston", "G_SPE_Dienst_Brille", "G_SPE_Sunglasses_GER_Red", "G_SPE_Sunglasses_GER_Brown", "G_SPE_Dust_Goggles", "G_SPE_Dust_Goggles_2" ]; // Uniforms _availiableUniforms = [ "U_SPE_ST_Soldier_E44", "U_SPE_ST_Untersturmfuhrer", "U_SPE_ST_Obersturmfuhrer", "U_SPE_ST_Hauptsturmfuhrer", "U_SPE_ST_Standartenfuhrer", "U_SPE_ST_MGunner_E44", "U_SPE_ST_Medic_E44", "U_SPE_ST_Unterofficier_E44", "U_SPE_ST_Mix_E44", "U_SPE_ST_Mix_E44_roll", "U_SPE_ST_Soldier_E44_Camo", "U_SPE_ST_Soldier_E44_Camo2", "U_SPE_ST_Soldier_Camo", "U_SPE_ST_Soldier_Camo2", "U_SPE_ST_Sniper", "U_SPE_ST_Sniper2", "U_SPE_ST_Tank_crew_spring", "U_SPE_ST_Tank_crew_autumn", "U_SPE_ST_Tank_crew_spring_open", "U_SPE_ST_Tank_crew_autumn_open", "U_SPE_GER_Tank_crew_private", "U_SPE_GER_Tank_crew_unterofficer", "U_SPE_GER_Tank_crew_leutnant", "U_SPE_GER_tank_hbt_crew_private", "U_SPE_GER_tank_hbt_crew_unterofficer", "U_SPE_GER_tank_hbt_crew_leutnant", "U_SPE_GER_Spg_crew_private", "U_SPE_GER_Spg_crew_unterofficer", "U_SPE_GER_Spg_crew_leutnant", "U_SPE_GER_Spg_hbt_crew_private", "U_SPE_GER_Spg_hbt_crew_unterofficer", "U_SPE_GER_Spg_hbt_crew_leutnant", "U_SPE_GER_lehr_private", "U_SPE_GER_lehr_gefreiter", "U_SPE_GER_lehr_unterofficer", "U_SPE_GER_lehr_leutnant", "U_SPE_GER_Soldier_Gaiters", "U_SPE_GER_Soldier_Unbloused", "U_SPE_GER_Soldier_Boots", "U_SPE_GER_Soldier_camo", "U_SPE_GER_Soldier_camo2", "U_SPE_GER_Soldier_camo3", "U_SPE_GER_Soldier_camo4", "U_SPE_GER_Soldier_camo5", "U_SPE_GER_Soldier_camo_lieutenant", "U_SPE_GER_Soldier_camo_lieutenant_2", "U_SPE_GER_LW_pilot", "U_SPE_GER_LW_pilot_alt", "U_SPE_GER_LW_pilot_weiss", "U_SPE_GER_LW_pilot_weiss_alt", "U_SPE_GER_LW_pilot_trop", "U_SPE_GER_LW_pilot_trop_alt", "U_SPE_GER_Art_schutze", "U_SPE_GER_Oberschutze", "U_SPE_GER_Gefreiter", "U_SPE_GER_Gefreiter_Gaiters", "U_SPE_GER_Unterofficer", "U_SPE_GER_Art_unterofficer", "U_SPE_GER_Medic", "U_SPE_GER_Leutnant", "U_SPE_GER_Art_leutnant", "U_SPE_GER_Oberleutnant", "U_SPE_GER_Hauptmann", "U_SPE_GER_Oberst", "U_SPE_GER_MG_schutze", "U_SPE_GER_Schutze_HBT", "U_SPE_GER_Unterofficer_HBT", "U_SPE_GER_MG_schutze_HBT" ]; // Vests _availiableVests = [ "V_SPE_GER_TankPrivateBelt", "V_SPE_GER_VestMP40", "V_SPE_GER_VestSTG", "V_SPE_GER_VestKar98", "V_SPE_GER_VestG43", "V_SPE_GER_SniperBelt", "V_SPE_GER_VestMG", "V_SPE_GER_VestUnterofficer", "V_SPE_GER_FieldOfficer", "V_SPE_GER_PistolBelt", "V_SPE_GER_PioneerVest", "V_SPE_GER_FWOVest", "V_SPE_GER_SaniVest", "V_SPE_GER_SaniVest2", "V_SPE_DAK_VestMP40", "V_SPE_DAK_VestSTG", "V_SPE_DAK_VestKar98", "V_SPE_DAK_VestG43", "V_SPE_DAK_VestMG", "V_SPE_DAK_PioneerVest", "V_SPE_DAK_FWOVest", "V_SPE_DAK_SaniVest2", "V_SPE_GER_LW_Schwimm" ]; // Backpacks _availiableBackpacks = [ "B_SPE_GER_Flammenwerfer_41", "B_SPE_GER_Radio", "B_SPE_GER_Belt_bag", "B_SPE_GER_Belt_bag_zelt", "B_SPE_GER_Belt_bag_zelt_trop", "B_SPE_GER_Belt_bag_ST_zelt", "B_SPE_GER_Belt_bag_ST_zelt_trop", "B_SPE_GER_A_frame", "B_SPE_GER_A_frame_Full", "B_SPE_GER_A_frame_kit", "B_SPE_GER_A_frame_sturm", "B_SPE_GER_A_frame_sturm_licht", "B_SPE_GER_A_frame_zeltbahn", "B_SPE_GER_A_frame_zeltbahn_licht", "B_SPE_GER_A_frame_MGCan", "B_SPE_GER_A_frame_MGCan_zelt", "B_SPE_GER_A_frame_ST", "B_SPE_GER_A_frame_ST_Full", "B_SPE_GER_A_frame_ST_zeltbahn", "B_SPE_GER_A_frame_ST_zeltbahn_licht", "B_SPE_GER_A_frame_ST_MGCan", "B_SPE_GER_A_frame_ST_MGCan_zelt", "B_SPE_GER_Radio_battery", "B_SPE_GER_Tonister34_canvas", "B_SPE_GER_MedicBackpack_Empty", "B_SPE_GER_Tonister41_Frame", "B_SPE_GER_Tonister41_Frame_Full", "B_SPE_GER_Tonister41_Frame_ST", "B_SPE_GER_Tonister41_Frame_Full_ST", "B_SPE_GER_LW_Paradrop", "B_SPE_GER_Respawn_Tent", "B_SPE_GER_Respawn_Tent_ST" ]; // Magazines _availiablemagazinecargoWest = [ "SPE_8Rnd_9x19_P08", "SPE_32Rnd_9x19", "SPE_32rnd_9x19_t", "SPE_5Rnd_792x57", "SPE_10Rnd_792x57", "SPE_30Rnd_792x33", "SPE_30rnd_792x33_t", "SPE_50Rnd_792x57", "SPE_100Rnd_792x57", "SPE_Flammenwerfer41_Mag", "SPE_1Rnd_PzFaust_30m", "SPE_1Rnd_PzFaust_60m", "SPE_1Rnd_Faustpatrone", "SPE_1Rnd_60mm_M6", "SPE_Shg24", "SPE_Shg24_Frag", "SPE_Shg24x7", "SPE_NB39", "SPE_Handrauchzeichen_Red", "SPE_Handrauchzeichen_Violet", "SPE_Handrauchzeichen_Yellow", "SPE_Rauchsichtzeichen_Orange", "SPE_1Rnd_G_SPRGR_30", "SPE_1Rnd_G_PZGR_30", "SPE_1Rnd_G_PZGR_40", "SPE_1Rnd_G_NBGR_42", "SPE_1Rnd_G_FLGR", "SPE_5Rnd_792x57_t", "SPE_5Rnd_792x57_sS", "SPE_5Rnd_792x57_SMK", "SPE_10Rnd_792x57_T", "SPE_10Rnd_792x57_T2", "SPE_10Rnd_792x57_sS", "SPE_10Rnd_792x57_SMK", "SPE_50Rnd_792x57_sS", "SPE_100Rnd_792x57_sS", "SPE_50Rnd_792x57_SMK", "SPE_100Rnd_792x57_SMK", "SPE_Shg24x7_Improvised_Mine_mag", "SPE_TMI_42_MINE_mag", "SPE_SMI_35_1_MINE_mag", "SPE_SMI_35_MINE_mag", "SPE_SMI_35_Pressure_MINE_mag", "SPE_STMI_MINE_mag", "SPE_shumine_42_MINE_mag", "SPE_Ladung_Small_MINE_mag", "SPE_Ladung_Big_MINE_mag", "SPE_3Rnd_GER_SmokeLauncherMag", "SPE_3Rnd_GER_LeftMineLauncherMag", "SPE_3Rnd_GER_RightMineLauncherMag" ]; // Weapons _availiableWeaponsWest = [ "SPE_P08", "SPE_MP40", "SPE_K98", "SPE_G43", "SPE_STG44", "SPE_MG42", "SPE_MG34", "SPE_K98ZF39", "SPE_K98_Bayonet", "SPE_K98_GW", "SPE_K98_Late", "SPE_K98_Late_Bayonet", "SPE_K98_Late_GW", "SPE_Flammenwerfer41", "SPE_PzFaust_30m", "SPE_PzFaust_60m", "SPE_Faustpatrone", "SPE_Flammenwerfer41", "SPE_Lafette_Tripod", "SPE_GrW278_1_Stand", "SPE_GrW278_1_Barrel" ]; // Populate with predefined items and whatever is already in the crate [_crate,((backpackCargo _crate) + _availiableBackpacks)] call BIS_fnc_addVirtualBackpackCargo; [_crate,((itemCargo _crate) + _availiableHeadgear + _availiableUniforms + _availiableVests)] call BIS_fnc_addVirtualItemCargo; [_crate,((magazineCargo _crate) + _availiablemagazinecargoWest)] call BIS_fnc_addVirtualMagazineCargo; [_crate,((weaponCargo _crate) + _availiableWeaponsWest)] call BIS_fnc_addVirtualWeaponCargo; Step 2 - Open a notepad or a notepad++ document and paste the code into it. Step 3 - Save the document with the following name: (NOTE) You can name the script whatever you want, just make sure the name is the same for the code you put in the ammobox's init. SPEGerman_virtual_arsenal_init.sqf Step 4 - Move the virtual_arsenal_init.sqf to your mission's folder. Step 5 - Go ingame to your ammobox, and in the ammobox's init box paste (type) the following code: null = [this] execVM "SPEGerman_virtual_arsenal_init.sqf" Step 6 - Play test your mission, when you open arsenal, each category should only contain items from the chosen faction and nothing else will be seen. US Faction Script Step 1 - Copy the following code from the code box below: //Init _crate = _this select 0; ["AmmoboxInit",[_crate,false,{true}]] spawn BIS_fnc_arsenal; //SPE 1944 USA gear & weapons _availiableHeadgear = [ "H_SPE_US_Helmet_Pilot", "H_SPE_US_Helmet_Pilot_Op", "H_SPE_US_Helmet_Pilot_Glasses_Up", "H_SPE_US_Helmet_Pilot_Glasses_Down", "H_SPE_US_Helmet_Pilot_Respirator", "H_SPE_US_Helmet_Pilot_Respirator_Glasses_Up", "H_SPE_US_Helmet_Pilot_Respirator_Glasses_Down", "H_SPE_US_Helmet_Pilot_SWDG_Respirator", "H_SPE_US_Helmet_Pilot_SWDG_low_Respirator", "H_SPE_US_Helmet_H15", "H_SPE_US_Helmet_H15_Op", "H_SPE_US_Helmet_H15_SWDG", "H_SPE_US_Helmet_H15_SWDG_low", "H_SPE_US_Helmet_H15_O2", "H_SPE_US_Helmet_H15_B7_O2", "H_SPE_US_Helmet_H15_B7_low_O2", "H_SPE_US_Helmet_H15_SWDG_O2", "H_SPE_US_Helmet_H15_SWDG_low_O2", "H_SPE_US_Pilot_Cap", "H_SPE_US_Pilot_Cap_Khaki", "H_SPE_US_Helmet", "H_SPE_US_Helmet_ns", "H_SPE_US_Helmet_os", "H_SPE_US_Helmet_Net", "H_SPE_US_Helmet_Net_ns", "H_SPE_US_Helmet_Net_os", "H_SPE_US_Helmet_band_ns", "H_SPE_US_Helmet_band_os", "H_SPE_US_Helmet_band_net", "H_SPE_US_Helmet_band_net_ns", "H_SPE_US_Helmet_band_net_os", "H_SPE_US_Helmet_Scrim", "H_SPE_US_Helmet_Scrim_ns", "H_SPE_US_Helmet_Scrim_os", "H_SPE_US_Helmet_polar", "H_SPE_US_Helmet_polar_ns", "H_SPE_US_Helmet_polar_os", "H_SPE_US_Helmet_polar_net", "H_SPE_US_Helmet_polar_net_ns", "H_SPE_US_Helmet_polar_net_os", "H_SPE_US_Helmet_polar_Scrim", "H_SPE_US_Helmet_polar_Scrim_ns", "H_SPE_US_Helmet_polar_Scrim_os", "H_SPE_US_Helmet_Med", "H_SPE_US_Helmet_Med_ns", "H_SPE_US_Helmet_Med_os", "H_SPE_US_Helmet_Cap", "H_SPE_US_Helmet_CO", "H_SPE_US_Helmet_CO_Net", "H_SPE_US_Helmet_NCO", "H_SPE_US_Helmet_NCO_net", "H_SPE_US_Helmet_NCO_scrim", "H_SPE_US_Helmet_First_lieutenant", "H_SPE_US_Helmet_Second_lieutenant", "H_SPE_US_Helmet_29ID", "H_SPE_US_Helmet_29ID_ns", "H_SPE_US_Helmet_29ID_os", "H_SPE_US_Helmet_29ID_Net", "H_SPE_US_Helmet_29ID_Net_ns", "H_SPE_US_Helmet_29ID_Net_os", "H_SPE_US_Helmet_29ID_Scrim", "H_SPE_US_Helmet_29ID_Scrim_ns", "H_SPE_US_Helmet_29ID_Scrim_os", "H_SPE_US_Helmet_29ID_CO", "H_SPE_US_Helmet_29ID_NCO", "H_SPE_US_MP_Helmet_White", "H_SPE_US_MP_Helmet_White_ns", "H_SPE_US_MP_Helmet_White_os", "H_SPE_US_Helmet_Tank", "H_SPE_US_Helmet_Tank_M1_OS", "H_SPE_US_Helmet_Tank_M1_NS", "H_SPE_US_Helmet_Tank_M1_Scrim", "H_SPE_US_Helmet_Tank_polar", "H_SPE_US_Helmet_Tank_polar_tapes", "H_SPE_US_Helmet_Tank_polar_low", "H_SPE_US_Helmet_Tank_NG", "H_SPE_US_Helmet_Tank_tapes", "H_SPE_US_Helmet_Tank_Nun", "H_SPE_US_Rangers_Helmet", "H_SPE_US_Rangers_Helmet_ns", "H_SPE_US_Rangers_Helmet_os", "H_SPE_US_Rangers_Helmet_Cap", "H_SPE_US_Rangers_Helmet_First_lieutenant", "H_SPE_US_Rangers_Helmet_Second_lieutenant", "H_SPE_US_Rangers_Helmet_NCO", "ItemMap", "SPE_US_ItemWatch", "SPE_US_ItemCompass", "SPE_US_FirstAidKit", "SPE_US_Medkit", "SPE_ACC_M3_Suppressor_45acp", "SPE_ACC_M1_Bayo", "SPE_ACC_M1905_Bayo", "SPE_ACC_GW_SB_Empty", "SPE_ACC_GL_M7", "SPE_ACC_GL_M1", "SPE_ACC_GL_M8", "SPE_M1918A2_BAR_Bipod", "SPE_M1918A2_BAR_Handle", "SPE_ToolKit", "G_SPE_Cigar_Moza", "G_SPE_Cigarette_Belomorkanal", "G_SPE_Cigarette_Grundstein", "G_SPE_Cigarette_Strike_Outs", "G_SPE_Pipe_Sir_Winston", "G_SPE_Ful_Vue", "G_SPE_Ful_Vue_Reinforced", "G_SPE_Sunglasses_US_Red", "G_SPE_Sunglasses_US_Yellow", "G_SPE_Polar_Goggles", "G_SPE_SWDG_Goggles" ]; // Uniforms _availiableUniforms = [ "U_SPE_US_Pilot", "U_SPE_US_Pilot_glove", "U_SPE_US_Pilot_boot", "U_SPE_US_Pilot_lthr", "U_SPE_US_Pilot_lthr_glove", "U_SPE_US_Pilot_lthr_boot", "U_SPE_US_S31A", "U_SPE_US_S31A_glove", "U_SPE_US_S31A_boot", "U_SPE_US_S31_erla", "U_SPE_US_S31_erla_glove", "U_SPE_US_S31_erla_boot", "U_SPE_US_Private", "U_SPE_US_Private_1st", "U_SPE_US_Corp", "U_SPE_US_Sergeant", "U_SPE_US_Technician", "U_SPE_US_Med", "U_SPE_US_Private_late", "U_SPE_US_Med_late", "U_SPE_US_HBT44", "U_SPE_US_HBT44_Med", "U_SPE_US_HBT44_trop", "U_SPE_US_HBT44_roll", "U_SPE_US_HBT44_late", "U_SPE_US_HBT44_late_roll", "U_SPE_US_HBT44_Half", "U_SPE_US_HBT44_FrogSkin_Jungle", "U_SPE_US_HBT44_FrogSkin_Jungle_Half", "U_SPE_US_HBT44_FrogSkin_Jungle_trop", "U_SPE_US_HBT44_FrogSkin_Jungle_roll", "U_SPE_US_CC_EM", "U_SPE_US_CC_EM_roll", "U_SPE_US_CC_EM_trop", "U_SPE_US_CC_EM_trop_roll", "U_SPE_US_CC_HBT_EM", "U_SPE_US_CC_HBT_EM_roll", "U_SPE_US_CC_HBT_EM_trop", "U_SPE_US_CC_HBT_EM_trop_roll", "U_SPE_US_CC_HBT_camo", "U_SPE_US_CC_HBT_camo_roll", "U_SPE_US_CC_HBT_camo_trop", "U_SPE_US_CC_HBT_camo_trop_roll", "U_SPE_US_Tank_Coverall", "U_SPE_US_Tank_Coverall_Trop", "U_SPE_US_Tank_Coverall_Legging", "U_SPE_US_Tank_Crew", "U_SPE_US_Tank_Crew2", "U_SPE_US_Tank_Crew3", "U_SPE_US_Tank_Crew4", "U_SPE_US_Tank_Crew_camo", "U_SPE_US_Tank_Crew_camo2", "U_SPE_US_Tank_Crew_medic", "U_SPE_US_Tank_Crew_medic_camo", "U_SPE_US_Rangers_Uniform", "U_SPE_US_Rangers_Private_1st", "U_SPE_US_Rangers_Corp", "U_SPE_US_Rangers_Sergeant", "U_SPE_US_Rangers_Technician", "U_SPE_US_Rangers_Med" ]; // Vests _availiableVests = [ "V_SPE_US_LifeVest", "V_SPE_US_Vest_Bar", "V_SPE_US_Vest_Bar_assist", "V_SPE_US_Vest_M1919", "V_SPE_US_Vest_Asst_MG", "V_SPE_US_Vest_Carbine", "V_SPE_US_Vest_Carbine_eng", "V_SPE_US_Vest_Carbine_pick", "V_SPE_US_Vest_Carbine_mk2", "V_SPE_US_Vest_Carbine_m43", "V_SPE_US_Vest_Carbine_nco", "V_SPE_US_Vest_Carbine_nco_Radio", "V_SPE_US_Vest_Garand", "V_SPE_US_Vest_Garand_M43", "V_SPE_US_Vest_Garand_gp", "V_SPE_US_Vest_Garand_mk2", "V_SPE_US_Vest_Garand_eng", "V_SPE_US_Vest_Garand_45", "V_SPE_US_Vest_Garand_map", "V_SPE_US_Vest_Grenadier", "V_SPE_US_Vest_Medic", "V_SPE_US_Vest_Medic2", "V_SPE_US_Vest_Medic3", "V_SPE_US_Vest_Thompson", "V_SPE_US_Vest_Thompson_M43", "V_SPE_US_Vest_Thompson_nco", "V_SPE_US_Vest_Thompson_nco_Radio", "V_SPE_US_Vest_45", "V_SPE_US_Vest_45_off", "V_SPE_US_Assault_Vest", "V_SPE_US_Assault_Vest_alt", "V_SPE_US_Assault_Vest_Light", "V_SPE_US_Assault_Vest_eng", "V_SPE_US_Assault_Vest_rifle", "V_SPE_US_Assault_Vest_rifle_M43", "V_SPE_US_Assault_Vest_Bag", "V_SPE_US_Assault_Vest_dday", "V_SPE_US_Assault_Vest_dday_Bag" ]; // Backpacks _availiableBackpacks = [ "B_SPE_US_M2Flamethrower", "B_SPE_US_Radio", "B_SPE_US_TypeA3", "B_SPE_US_QAC", "B_SPE_US_Backpack", "B_SPE_US_Backpack_dday", "B_SPE_US_Backpack_Mk2", "B_SPE_US_Backpack_Bandoleer", "B_SPE_US_Backpack_pick", "B_SPE_US_Backpack_M43", "B_SPE_US_Backpack_M43_GP", "B_SPE_US_Backpack_roll", "B_SPE_US_Backpack_roll_gp", "B_SPE_US_M36", "B_SPE_US_M36_Bandoleer", "B_SPE_US_Respawn_Tent", "B_SPE_US_Backpack_RocketBag_Empty", "B_SPE_US_RocketBag_Empty", "B_SPE_US_Radio_alt", "B_SPE_US_Radio_packboard", "B_SPE_US_Radio_packboard_light", "B_SPE_US_packboard_eng", "B_SPE_US_packboard_ammo", "B_SPE_US_packboard_mortar", "B_SPE_US_Bandoleer", "B_SPE_US_Bandoleer_2", "B_SPE_US_Bandoleer_3", "B_SPE_US_Suspender", "B_SPE_US_Suspender_band", "B_SPE_US_Suspender_band_right", "B_SPE_US_Suspender_band_left", "B_SPE_US_Suspender_RocketBag", "B_SPE_US_GP_Bag", "B_SPE_US_MGbag", "B_SPE_US_Suspender_m43_open", "B_SPE_US_Suspender_m43" ]; // Magazines _availiablemagazinecargoindependent = [ "SPE_5Rnd_762x63", "SPE_5Rnd_762x63_t", "SPE_5Rnd_762x63_M1", "SPE_5Rnd_762x63_M2_AP", "SPE_8Rnd_762x63", "SPE_8Rnd_762x63_t", "SPE_8Rnd_762x63_M1", "SPE_8Rnd_762x63_M2_AP", "SPE_50Rnd_762x63", "SPE_100Rnd_762x63", "SPE_50Rnd_762x63_M1", "SPE_100Rnd_762x63_M1", "SPE_50Rnd_762x63_M2_AP", "SPE_100Rnd_762x63_M2_AP", "SPE_20Rnd_762x63", "SPE_20Rnd_762x63_M1", "SPE_20Rnd_762x63_M2_AP", "SPE_15Rnd_762x33", "SPE_15Rnd_762x33_t", "SPE_30Rnd_Thompson_45ACP", "SPE_20Rnd_Thompson_45ACP", "SPE_30Rnd_M3_GreaseGun_45ACP", "SPE_30Rnd_Thompson_45ACP_t", "SPE_20Rnd_Thompson_45ACP_t", "SPE_30Rnd_M3_GreaseGun_45ACP_t", "SPE_7Rnd_45ACP_1911", "SPE_7Rnd_45ACP", "SPE_M2_Flamethrower_Mag", "SPE_M39", "SPE_US_Mk_2", "SPE_US_Mk_2_Yellow", "SPE_US_Mk_3", "SPE_US_M15", "SPE_US_AN_M14", "SPE_US_M18", "SPE_US_M18_Red", "SPE_US_M18_Green", "SPE_US_M18_Yellow", "SPE_US_M18_Violet", "SPE_US_Mk_1", "SPE_NBK39b", "SPE_1Rnd_G_Mk2", "SPE_1Rnd_G_M9A1", "SPE_1Rnd_G_M2_ANM8", "SPE_1Rnd_G_M2_M18_Red", "SPE_1Rnd_G_M2_M18_Yellow", "SPE_1Rnd_G_M2_M18_Green", "SPE_1Rnd_G_M2_M18_Violet", "SPE_1Rnd_G_M2_AN_M14", "SPE_1Rnd_G_M17A1", "SPE_1Rnd_G_M19A1", "SPE_1Rnd_G_M21A1", "SPE_1Rnd_G_M51A1", "SPE_US_M1A1_ATMINE_mag", "SPE_US_M3_MINE_mag", "SPE_US_M3_Pressure_MINE_mag", "SPE_US_TNT_4pound_mag", "SPE_US_TNT_half_pound_mag", "SPE_US_Bangalore_mag", "SPE_24Rnd_SmokeLauncherMag", "SPE_FAKE_SHELL", "SPE_1Rnd_81mmHE_M1_M43A1", "SPE_1Rnd_81mm_FA_Mle_1932_HE", "SPE_1Rnd_81mmWP_M1_M57", "SPE_8rnd_81mm_M1_M57_SmokeShell", "SPE_8Rnd_81mm_FA_Mle_1932_Smoke", "SPE_81mm_M1_M57_SmokeShell", "SPE_81mm_FA_Mle_1932_Smoke", "SPE_8Rnd_81mm_FA_Mle_1932_Illu", "SPE_81mm_FA_Mle_1932_Illu" ]; // Weapons _availiableWeaponsindependent = [ "SPE_M1911", "SPE_M3_GreaseGun", "SPE_M1A1_Thompson", "SPE_M1903A3_Springfield", "SPE_M1_Garand", "SPE_M1_Carbine", "SPE_M1919A4", "SPE_M1918A2_BAR", "SPE_M1903A4_Springfield", "SPE_M1903A3_Springfield_M1_Bayonet", "SPE_M1903A3_Springfield_M1905_Bayonet", "SPE_M1903A3_Springfield_M1_GL", "SPE_M1_Garand_Bayonet", "SPE_M1_Garand_M1905_Bayonet", "SPE_M1_Garand_M7", "SPE_M2_Flamethrower", "SPE_M1919A6", "SPE_M1A1_Bazooka", "SPE_M1919A6", "SPE_M2_Tripod", "SPE_M1_81_Stand", "SPE_M1_81_Barrel" ]; // Populate with predefined items and whatever is already in the crate [_crate,((backpackCargo _crate) + _availiableBackpacks)] call BIS_fnc_addVirtualBackpackCargo; [_crate,((itemCargo _crate) + _availiableHeadgear + _availiableUniforms + _availiableVests)] call BIS_fnc_addVirtualItemCargo; [_crate,((magazineCargo _crate) + _availiablemagazinecargoindependent)] call BIS_fnc_addVirtualMagazineCargo; [_crate,((weaponCargo _crate) + _availiableWeaponsindependent)] call BIS_fnc_addVirtualWeaponCargo; Step 2 - Open a notepad or a notepad++ document and paste the code into it. Step 3 - Save the document with the following name: (NOTE) You can name the script whatever you want, just make sure the name is the same for the code you put in the ammobox's init. SPEUS_virtual_arsenal_init.sqf Step 4 - Move the virtual_arsenal_init.sqf to your mission's folder. Step 5 - Go ingame to your ammobox, and in the ammobox's init box paste (type) the following code: null = [this] execVM "SPEUS_virtual_arsenal_init.sqf" Step 6 - Play test your mission, when you open arsenal, each category should only contain items from the chosen faction and nothing else will be seen. FIF & FLA Faction Script Step 1 - Copy the following code from the code box below: //Init _crate = _this select 0; ["AmmoboxInit",[_crate,false,{true}]] spawn BIS_fnc_arsenal; //SPE 1944 FFI FR gear & weapons _availiableHeadgear = [ "H_SPE_CIV_Worker_Cap_1", "H_SPE_CIV_Worker_Cap_2", "H_SPE_CIV_Worker_Cap_3", "H_SPE_CIV_Fedora_Cap_1", "H_SPE_CIV_Fedora_Cap_2", "H_SPE_CIV_Fedora_Cap_3", "H_SPE_CIV_Fedora_Cap_4", "H_SPE_CIV_Fedora_Cap_5", "H_SPE_CIV_Fedora_Cap_6", "H_SPE_FR_Adrian", "H_SPE_FR_Adrian_Medic", "H_SPE_FR_Adrian_Medic_ns", "H_SPE_FR_Adrian_ns", "H_SPE_FR_US_Helmet", "H_SPE_FR_US_Helmet_ns", "H_SPE_FR_US_Helmet_os", "ItemMap", "SPE_US_ItemWatch", "SPE_US_ItemCompass", "SPE_US_FirstAidKit", "SPE_US_Medkit", "SPE_ACC_M3_Suppressor_45acp", "SPE_ACC_M1_Bayo", "SPE_ACC_M1905_Bayo", "SPE_ACC_GW_SB_Empty", "SPE_ACC_GL_M7", "SPE_ACC_GL_M1", "SPE_ACC_GL_M8", "SPE_ToolKit", "G_SPE_Cigar_Moza", "G_SPE_Cigarette_Belomorkanal", "G_SPE_Cigarette_Grundstein", "G_SPE_Cigarette_Strike_Outs", "G_SPE_Pipe_Sir_Winston", "G_SPE_Binoculars", "G_SPE_Ful_Vue", "G_SPE_Ful_Vue_Reinforced", "G_SPE_SWDG_Goggles" ]; // Uniforms _availiableUniforms = [ "U_SPE_FFI_Casual_1", "U_SPE_FFI_Casual_1_trop", "U_SPE_FFI_Casual_2", "U_SPE_FFI_Casual_2_trop", "U_SPE_FFI_Casual_3", "U_SPE_FFI_Casual_3_trop", "U_SPE_FFI_Casual_4", "U_SPE_FFI_Casual_4_trop", "U_SPE_FFI_Casual_5", "U_SPE_FFI_Casual_5_trop", "U_SPE_FFI_Casual_6", "U_SPE_FFI_Casual_6_trop", "U_SPE_FFI_Casual_7", "U_SPE_FFI_Casual_7_trop", "U_SPE_FFI_Worker_1", "U_SPE_FFI_Worker_1_trop", "U_SPE_FFI_Worker_2", "U_SPE_FFI_Worker_2_trop", "U_SPE_FFI_Worker_3", "U_SPE_FFI_Worker_3_trop", "U_SPE_FFI_Worker_4", "U_SPE_FFI_Worker_4_trop", "U_SPE_FFI_Jacket_bruin", "U_SPE_FFI_Jacket_bruin_swetr", "U_SPE_FFI_Jacket_grijs", "U_SPE_FFI_Jacket_grijs_swetr", "U_SPE_FFI_Jacket_zwart", "U_SPE_FFI_Jacket_zwart_swetr", "U_SPE_FFI_Jacket_zwart_Alt", "U_SPE_FR_HBT_Uniform", "U_SPE_FR_HBT_Uniform_Trop", "U_SPE_FR_Tank_Crew", "U_SPE_FR_Tank_Crew2", "U_SPE_FR_Tank_Crew3" ]; // Vests _availiableVests = [ "V_SPE_FFI_Vest_rifle", "V_SPE_FFI_Vest_rifle_frag", "V_SPE_FFI_Vest_rifle_pouch", "V_SPE_FFI_Vest_SMG", "V_SPE_FFI_Vest_SMG_frag", "V_SPE_FFI_Vest_SMG_pouch", "V_SPE_FFI_Vest_Pouch", "V_SPE_FFI_Vest_Pouch_frag" ]; // Magazines _availiablemagazinecargoindependent = [ "SPE_8Rnd_9x19_P08", "SPE_8rnd_MUZZLE_FAKEMAG", "SPE_32Rnd_9x19", "SPE_32rnd_9x19_t", "SPE_32rnd_MUZZLE_FAKEMAG", "SPE_32Rnd_9x19_Sten", "SPE_30Rnd_M3_GreaseGun_45ACP", "SPE_30Rnd_M3_GreaseGun_45ACP_t", "SPE_30rnd_MUZZLE_FAKEMAG", "SPE_30Rnd_Thompson_45ACP", "SPE_30Rnd_Thompson_45ACP_t", "SPE_20Rnd_Thompson_45ACP", "SPE_20Rnd_Thompson_45ACP_t", "SPE_5Rnd_762x63", "SPE_5Rnd_762x63_t", "SPE_5Rnd_762x63_M1", "SPE_5Rnd_762x63_M2_AP", "SPE_5rnd_MUZZLE_FAKEMAG", "SPE_8Rnd_762x63", "SPE_8Rnd_762x63_t", "SPE_8Rnd_762x63_M1", "SPE_8Rnd_762x63_M2_AP", "SPE_8rnd_MUZZLE_FAKEMAG", "SPE_15Rnd_762x33", "SPE_15Rnd_762x33_t", "SPE_1Rnd_G_Mk2", "SPE_1Rnd_G_M9A1", "SPE_1Rnd_G_M2_AN_M14", "SPE_1Rnd_G_M2_ANM8", "SPE_1Rnd_G_M2_M18_Red", "SPE_1Rnd_G_M2_M18_Green", "SPE_1Rnd_G_M2_M18_Yellow", "SPE_1Rnd_G_M2_M18_Violet", "SPE_1Rnd_G_M17A1", "SPE_1Rnd_G_M19A1", "SPE_1Rnd_G_M21A1", "SPE_1Rnd_G_M51A1", "SPE_5Rnd_792x57", "SPE_5Rnd_792x57_t", "SPE_5Rnd_792x57_sS", "SPE_5Rnd_792x57_SMK", "SPE_5rnd_MUZZLE_FAKEMAG", "SPE_10Rnd_792x57", "SPE_10Rnd_792x57_T", "SPE_10Rnd_792x57_T2", "SPE_10Rnd_792x57_sS", "SPE_10Rnd_792x57_SMK", "SPE_50Rnd_762x63", "SPE_50Rnd_762x63_M1", "SPE_50Rnd_762x63_M2_AP", "SPE_50Rnd_762x63_Tracer", "SPE_50rnd_MUZZLE_FAKEMAG", "SPE_1Rnd_60mm_M6", "SPE_25Rnd_75x54", "SPE_25Rnd_75x54_35P_AP", "SPE_2Rnd_12x65_Pellets", "SPE_2Rnd_12x65_Slug", "SPE_2Rnd_12x65_No4_Buck", "SPE_M2_Flamethrower_Mag", "SPE_Flamethrower_Mag_Empty", "SPE_1Rnd_PzFaust_60m" ]; // Weapons _availiableWeaponsindependent = [ "SPE_P08", "SPE_M1911", "SPE_G43", "SPE_MP40", "SPE_M3_GreaseGun", "SPE_Sten_Mk2", "SPE_M1A1_Thompson", "SPE_M1903A3_Springfield", "SPE_M1_Garand", "SPE_M1_Carbine", "SPE_M1919A4", "SPE_FM_24_M29", "SPE_K98ZF39", "SPE_M1903A4_Springfield", "SPE_M1A1_Bazooka", "SPE_Sten_Mk2_Suppressed", "SPE_M3_GreaseGun_Suppressed", "SPE_K98_Late", "SPE_K98_Late_GW", "SPE_M1_Carbine_M8", "SPE_M2_Flamethrower", "SPE_Fusil_Mle_208_12", "SPE_Fusil_Mle_208_12_Sawedoff", "SPE_PzFaust_60m", "SPE_M2_Tripod", "SPE_MLE_27_31_Stand", "SPE_MLE_27_31_Barrel" ]; // Populate with predefined items and whatever is already in the crate [_crate,((itemCargo _crate) + _availiableHeadgear + _availiableUniforms + _availiableVests)] call BIS_fnc_addVirtualItemCargo; [_crate,((magazineCargo _crate) + _availiablemagazinecargoindependent)] call BIS_fnc_addVirtualMagazineCargo; [_crate,((weaponCargo _crate) + _availiableWeaponsindependent)] call BIS_fnc_addVirtualWeaponCargo; Step 2 - Open a notepad or a notepad++ document and paste the code into it. Step 3 - Save the document with the following name: (NOTE) You can name the script whatever you want, just make sure the name is the same for the code you put in the ammobox's init. SPEFFI_FR_virtual_arsenal_init.sqf Step 4 - Move the virtual_arsenal_init.sqf to your mission's folder. Step 5 - Go ingame to your ammobox, and in the ammobox's init box paste (type) the following code: null = [this] execVM "SPEFFI_FR_virtual_arsenal_init.sqf" Step 6 - Play test your mission, when you open arsenal, each category should only contain items from the chosen faction and nothing else will be seen. ============ I hope this helps you guys save time, and gives you more focus on the assets you want to use instead of having to navigate arsenal! If there is any classname among the 3 scripts that dont belong, or is a classname that is missing from any of the lists, please let me know and i'll update the list/s accordingly. Cheers! Share this post Link to post Share on other sites