Jump to content

Recommended Posts

IFA3 Virtual Arsenal Whitelist's

Hello Iron Front IFA3 fans!

Looking for a way to only restrict or show gear, magazines, and weapons for the faction you are playing with, for IFA3 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!

 

What is this script?

What this does is when you go to an ammo box ingame that has arsenal attached to it, this script will whitelist or remove all vanilla gear, uniforms, weapons, items, ect,.

and show only those gear, items, weapons, magazines, ect,. for IFA3 and for each faction separately based on the script you implement into the mission's ammobox.

         Below are scripts for each faction, each whitelist contains classnames specific to a faction, currently only the German faction is available atm.

 

Did you create this? or what exactly did you do?

Yes and no i did not create this script, i give props and credits to Alex150201 from this thread, you can see the code

he wrote here which i used to create my own---> LINK

 

     What i did was gather all the classnames for IFA3 which can be found on this page -----> IFA3 Wiki Weapon Classnames

then i copied the entire page's classnames and pasted them all onto a notepad doc, then removed all the descriptions, ect,. so only the classnames themselves were listed

which made it alot easier to copy entire sections based on faction to the specific areas in the script, and then adding all the quotes, and commas so the game could read it.

          Thanks to @.kju for reminding me where the classnames were, and @Kerc Kasha for explaining how the configs work in relation to how arsenal will use them as

well as some insights on code!

 

Video Overview

 

What is whitelisted in the script is the following:

  • Headgear - contains:  Headgear, binoculars, Tripod, Gloves, items, & toolkits
  • 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, Light machineguns, Sniper rifles, & Launchers

Note - Some factions have more or less then others or not at all.

Germany Faction Script

Step 1 - Copy the following code from the box below:

Spoiler

//Init 
_crate = _this select 0;
["AmmoboxInit",[_crate,false,{true}]] spawn BIS_fnc_arsenal;

//IFA3 German gear & weapons
_availableHeadgear = [
"H_LIB_GER_FSJ_M38_Helmet", 	
"H_LIB_GER_FSJ_M38_Helmet_os", 	
"H_LIB_GER_FSJ_M38_Helmet_grey_os", 	
"H_LIB_GER_FSJ_M38_Helmet_DAK", 	
"H_LIB_GER_FSJ_M38_Helmet_Cover", 	
"H_LIB_GER_FSJ_M44_Helmet", 	
"H_LIB_GER_FSJ_M44_Helmet_os", 	
"H_LIB_GER_FSJ_M44_HelmetCamo1", 	
"H_LIB_GER_FSJ_M44_HelmetCamo2", 	
"H_LIB_GER_FSJ_M44_Helmet_Medic", 	
"H_LIB_GER_FSJ_M44_Helmet_Winter", 	
"H_LIB_GER_FSJ_M44_HelmetUtility", 	
"H_LIB_ST_Helmet", 	
"H_LIB_ST_Helmet2", 	
"H_LIB_GER_Fieldcap", 	
"H_LIB_GER_Fieldcap2", 	
"H_LIB_GER_TankOfficerCap", 	
"H_LIB_GER_TankOfficerCap2", 	
"H_LIB_GER_TankPrivateCap", 	
"H_LIB_GER_TankPrivateCap2", 	
"H_LIB_GER_SPGPrivateCap", 	
"H_LIB_GER_Helmet",	
"H_LIB_GER_Helmet_net",
"H_LIB_GER_Helmet_ns", 	
"H_LIB_GER_Helmet_os", 	
"H_LIB_GER_Helmet_Medic", 	
"H_LIB_GER_Helmet_painted", 	
"H_LIB_GER_Helmet_net_painted", 	
"H_LIB_GER_Helmet_ns_painted", 	
"H_LIB_GER_Helmet_os_painted", 	
"H_LIB_GER_Helmet_Glasses", 	
"H_LIB_GER_HelmetUtility", 	
"H_LIB_GER_HelmetUtility_Grass", 	
"H_LIB_GER_HelmetUtility_Oak", 	
"H_LIB_GER_HelmetCamo", 	
"H_LIB_GER_HelmetCamo2", 	
"H_LIB_GER_HelmetCamo3", 	
"H_LIB_GER_HelmetCamo4", 	
"H_LIB_GER_OfficerCap", 	
"H_LIB_GER_Cap", 	
"H_LIB_GER_LW_PilotHelmet", 	
"H_LIB_GER_Ushanka",
"H_LIB_DAK_PithHelmet", 	
"H_LIB_DAK_Helmet_2", 	
"H_LIB_DAK_Helmet_net_2", 	
"H_LIB_DAK_Helmet_ns", 	
"H_LIB_DAK_Helmet_ns_2", 	
"H_LIB_DAK_Helmet_Glasses", 	
"H_LIB_DAK_OfficerCap", 	
"H_LIB_DAK_Cap", 		
"H_LIB_GER_Helmet_w", 	
"H_LIB_GER_Helmet_net_w", 	
"H_LIB_GER_Helmet_ns_w", 	
"H_LIB_GER_HelmetCamo_w", 	
"H_LIB_GER_HelmetCamob_w", 	
"H_LIB_GER_HelmetCamo2_w", 	
"H_LIB_GER_HelmetCamo2b_w", 	
"H_LIB_GER_HelmetCamo4_w", 	
"H_LIB_GER_Helmet_Glasses_w", 	
"H_LIB_GER_Fieldcap_w",
"LIB_Binocular_GER", 	 	
"LIB_ACC_K98_Bayo", 	 	
"LIB_ACC_GW_SB_Empty", 	
"LIB_Laffete_Tripod", 		
"LIB_GrWr34_Tripod", 	
"LIB_GrWr34_Tripod_g", 	
"LIB_GrWr34_Barrel", 	
"LIB_GrWr34_Barrel_g", 	
"LIB_GER_Headset", 	
"LIB_Headwrap", 	
"LIB_Headwrap_gloves", 		
"LIB_GER_Gloves1",	
"LIB_GER_Gloves2", 	
"LIB_GER_Gloves3", 	
"LIB_GER_Gloves4", 	
"LIB_GER_Gloves5", 
"ItemWatch", 	
"ItemCompass", 	
"ItemMap", 	
"FirstAidKit", 	
"ToolKit", 		
"LIB_ToolKit" 
];

// Uniforms
_availableUniforms = [
"U_LIB_FSJ_Soldier", 	
"U_LIB_FSJ_Soldier_camo", 	
"U_LIB_FSJ_Soldier_dak", 	
"U_LIB_FSJ_Soldier_dak_camo", 	
"U_LIB_ST_Soldier_E44", 	
"U_LIB_ST_MGunner_E44", 	
"U_LIB_ST_Medic_E44", 	
"U_LIB_ST_Unterofficier_E44", 	
"U_LIB_ST_Soldier_E44_Camo", 	
"U_LIB_ST_Soldier_E44_Camo2", 	
"U_LIB_ST_Soldier_Camo", 	
"U_LIB_ST_Soldier_Camo2", 	
"U_LIB_ST_Sniper", 	
"U_LIB_ST_Sniper2", 	
"U_LIB_GER_Tank_crew_private",
"U_LIB_GER_Tank_crew_unterofficer", 	
"U_LIB_GER_Tank_crew_leutnant", 	
"U_LIB_GER_Spg_crew_private", 	
"U_LIB_GER_Spg_crew_unterofficer", 	
"U_LIB_GER_Spg_crew_leutnant", 	
"U_LIB_GER_Soldier2",	
"U_LIB_GER_Soldier3",	
"U_LIB_GER_Schutze", 	
"U_LIB_GER_Schutze_HBT", 	
"U_LIB_GER_Soldier_camo", 	
"U_LIB_GER_Soldier_camo2", 	
"U_LIB_GER_Soldier_camo3", 	
"U_LIB_GER_Soldier_camo4", 	
"U_LIB_GER_Soldier_camo5", 	
"U_LIB_GER_Pionier", 	
"U_LIB_GER_LW_pilot", 	
"U_LIB_GER_Funker", 	
"U_LIB_GER_Art_schutze", 	
"U_LIB_GER_Oberschutze", 	
"U_LIB_GER_Gefreiter", 	
"U_LIB_GER_Unterofficer", 	
"U_LIB_GER_Unterofficer_HBT", 	
"U_LIB_GER_Art_unterofficer", 	
"U_LIB_GER_Recruit", 	
"U_LIB_GER_Medic", 	
"U_LIB_GER_Leutnant", 	
"U_LIB_GER_Art_leutnant", 	
"U_LIB_GER_Oberleutnant", 	
"U_LIB_GER_Hauptmann", 	
"U_LIB_GER_Oberst", 	
"U_LIB_GER_Scharfschutze", 	
"U_LIB_GER_MG_schutze", 	
"U_LIB_GER_MG_schutze_HBT" 	
	
];

// Vests
_availableVests = [
"V_LIB_GER_FSJ_VestKar98", 	
"V_LIB_GER_FSJ_VestKar98_Camo", 	
"V_LIB_GER_FSJ_VestKar98_DAK", 	
"V_LIB_GER_TankPrivateBelt", 	
"V_LIB_GER_VestMP40", 	
"V_LIB_GER_VestSTG", 
"V_LIB_GER_VestKar98", 
"V_LIB_GER_VestG43", 	
"V_LIB_GER_SniperBelt", 	
"V_LIB_GER_VestMG", 	
"V_LIB_GER_VestUnterofficer", 	
"V_LIB_GER_FieldOfficer", 	
"V_LIB_GER_OfficerVest", 	
"V_LIB_GER_OfficerBelt", 	
"V_LIB_GER_PrivateBelt",
"V_LIB_GER_PioneerVest",
"V_LIB_WP_MP40Vest", 	
"V_LIB_WP_STGVest", 	
"V_LIB_WP_Kar98Vest", 	
"V_LIB_WP_G43Vest", 	
"V_LIB_WP_SniperBela", 	
"V_LIB_WP_MGVest", 	
"V_LIB_WP_OfficerVest",
"V_LIB_DAK_VestMP40", 	
"V_LIB_DAK_VestSTG", 	
"V_LIB_DAK_VestKar98", 	
"V_LIB_DAK_VestG43", 	
"V_LIB_DAK_SniperBelt", 	
"V_LIB_DAK_VestMG", 	
"V_LIB_DAK_VestUnterofficer", 	
"V_LIB_DAK_FieldOfficer", 	
"V_LIB_DAK_OfficerVest", 	
"V_LIB_DAK_OfficerBelt", 	
"V_LIB_DAK_PrivateBelt",
"V_LIB_DAK_PioneerVest" 
];

// Backpacks
_availableBackpacks = [
"B_LIB_AssaultPack_Base", 	
"B_LIB_BasicBag",  
"BasicBag", 
"B_LIB_GER_Bag",  	
"B_LIB_GER_GrenadesBag",  	
"GerBag_gr",  	
"B_LIB_GER_K89AmmoBag",  	
"GerBag_K98",  	
"B_LIB_GER_MGAmmoBag",  	
"GerBag_MG",  	
"B_LIB_GER_MineBag", 	
"GerBag_sap",  	
"B_LIB_GER_ExplosivesBag",  	
"GerBag_sap2",  
"B_LIB_FunkBag 	Radioset",  
"FunkBag",  
"B_LIB_FunkBag_Empty",  		 	
"LIB_Tripod_Bag",  	
"LIB_GrWr34_Bag",  	 	
"LIB_MG42_Tripod_Disasm",  	
"LIB_MG42_Tripod_High",  	
"B_LIB_GER_Radio", 
"B_LIB_GER_A_frame",  	
"B_LIB_GER_A_frame_kit",  	
"B_LIB_GER_A_frame_zeltbahn",  	
"B_LIB_GER_A_frame_AT",  	
"B_LIB_GER_A_frame_Gef",  	
"B_LIB_GER_Radio_Empty",  	
"B_LIB_GER_Backpack",  	
"B_LIB_GER_Backpack_KOTH",  	
"B_LIB_GER_SapperBackpack_empty",  	
"B_LIB_GER_SapperBackpack_empty_KOTH",  	
"B_LIB_GER_SapperBackpack",  	
"B_LIB_GER_SapperBackpack2",  	
"B_LIB_GER_MedicBackpack",  	
"B_LIB_GER_MedicBackpack_Empty",  	
"B_LIB_GER_MedicBackpack_Big_Empty",  	
"B_LIB_GER_Tonister34_cowhide",  	
"B_LIB_GER_LW_Paradrop",  	
"B_LIB_GER_Panzer",  	
"B_LIB_GER_Panzer_Empty",  
"B_LIB_GER_Panzer_Big_Empty",  
"B_LIB_DAK_A_frame",  	
"B_LIB_DAK_A_frame_kit",  	
"B_LIB_DAK_A_frame_AT",  	
"B_LIB_DAK_A_frame_Gef",  
"B_LIB_SD_WEHRMACHT_LMG",  	 	
"LIB_GrWr34_Tripod_Deployed",  	
"LIB_GrWr34_Tripod_Deployed_g"  	
];

// Magazines
_availablemagazinecargoWest = [
"LIB_8Rnd_9x19", 	
"LIB_8Rnd_9x19_P08",  	
"LIB_10Rnd_9x19_M1896", 	
"LIB_7Rnd_765x17_PPK",  	
"LIB_7Rnd_9x19",  		 	
"LIB_1Rnd_flare_white",  	
"LIB_1Rnd_flare_red",  	
"LIB_1Rnd_flare_green",  	
"LIB_1Rnd_flare_yellow",  	  	
"LIB_32rnd_9x19",  	
"LIB_32rnd_9x19_t",  	
"LIB_32Rnd_9x19",  	 	 	 	
"LIB_5Rnd_792x57",  	
"LIB_5Rnd_792x57_t",  	
"LIB_5Rnd_792x57_sS",  	
"LIB_5Rnd_792x57_SMK",  	
"LIB_5Rnd_762x54",  	
"LIB_5Rnd_762x54_t46",  	
"LIB_5Rnd_762x54_t30",  	
"LIB_5Rnd_762x54_D",  	
"LIB_5Rnd_762x54_b30",  	
"LIB_5Rnd_762x63",  	
"LIB_5Rnd_762x63_t",  	
"LIB_30rnd_792x33",  	
"LIB_30rnd_792x33_t",  	
"LIB_20Rnd_792x57",  	 	
"LIB_10Rnd_792x57", 	
"LIB_10Rnd_792x57_T",  	
"LIB_10Rnd_792x57_T2",  	
"LIB_10Rnd_792x57_sS",  	
"LIB_10Rnd_792x57_SMK",  	
"LIB_10Rnd_792x57_clip",  			 	 	 	
"LIB_50Rnd_792x57",  	
"LIB_50Rnd_792x57_SMK",  	
"LIB_50Rnd_792x57_sS",  	
"LIB_50Rnd_762x63", 	 		
"LIB_75Rnd_792x57",  	
"LIB_1Rnd_PzFaust_30m",  	
"LIB_1Rnd_RPzB",  		
"LIB_1Rnd_PzFaust_60m",  	
"LIB_1Rnd_Faustpatrone",
"LIB_Shg24", 	
"LIB_Shg24x7", 	
"LIB_M39", 	 	
"LIB_Pwm", 		
"LIB_NB39", 		
"LIB_1Rnd_G_SPRGR_30", 	
"LIB_1Rnd_G_PZGR_30", 	
"LIB_1Rnd_G_PZGR_40", 	
"LIB_TMI_42_MINE_mag", 	
"LIB_SMI_35_1_MINE_mag", 	
"LIB_pomzec_MINE_mag", 	
"LIB_SMI_35_MINE_mag", 	
"LIB_STMI_MINE_mag", 	
"LIB_shumine_42_MINE_mag", 	
"LIB_Ladung_Small_MINE_mag", 	
"LIB_Ladung_Big_MINE_mag", 	
"LIB_M3_MINE_mag", 	
"LIB_PMD6_MINE_mag", 	
"LIB_TM44_MINE_mag", 	
"LIB_TROTIL_MINE_mag", 		
"LIB_PP_MINE_mag", 	
"LIB_PM_MINE_mag", 	
"LIB_PM_Provod_50", 	
"LIB_PM_Provod_75", 		
"LIB_PM_Provod_100", 		
"LIB_Ladung_PM_MINE_mag", 
"LIB_MARKER_MINE_mag" 
 
];

// Weapons
_availableWeaponsWest = [
"LIB_P38", 	
"LIB_P08", 	
"LIB_M1896", 	
"LIB_WaltherPPK", 			
"LIB_FLARE_PISTOL",  	
"LIB_MP40", 	
"LIB_MP38", 	
"LIB_K98", 	
"LIB_G3340",	
"LIB_MP44", 	
"LIB_FG42G", 		
"LIB_G43", 	
"LIB_G41", 			
"LIB_K98_Bayonet", 	
"LIB_K98_GW", 	
"LIB_K98_Late", 
"LIB_K98_Late_Bayonet", 	
"LIB_K98_Late_GW",
"LIB_G3340_Bayonet", 
"LIB_MP44_GW", 
"LIB_MG42",	
"LIB_MG34",
"LIB_MG34_PT", 	
"LIB_K98ZF39", 	
"LIB_PzFaust_30m", 	
"LIB_RPzB", 		
"LIB_PzFaust_60m", 
"LIB_Faustpatrone", 	
"LIB_RPzB_w" 	
];

//Populate with predefined items and whatever is already in the crate
[_crate,((backpackCargo _crate) + _availableBackpacks)] call BIS_fnc_addVirtualBackpackCargo;
[_crate,((itemCargo _crate) + _availableHeadgear + _availableUniforms + _availableVests)] call BIS_fnc_addVirtualItemCargo;
[_crate,((magazineCargo _crate) + _availablemagazinecargoWest)] call BIS_fnc_addVirtualMagazineCargo;
[_crate,((weaponCargo _crate) + _availableWeaponsWest)] 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: 

German_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 "German_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.

 

USSR Faction Script

Step 1 - Copy the following code from the box below:

Spoiler

//Init 
_crate = _this select 0;
["AmmoboxInit",[_crate,false,{true}]] spawn BIS_fnc_arsenal;

//IFA3 USSR gear & weapons
_availableHeadgear = [
"H_LIB_SOV_RA_PrivateCap", 	
"H_LIB_SOV_RA_OfficerCap", 	
"H_LIB_SOV_RA_Helmet", 	
"H_LIB_SOV_TankHelmet", 	
"H_LIB_SOV_PilotHelmet", 	
"H_LIB_SOV_Ushanka", 	
"H_LIB_SOV_Ushanka2",
"H_LIB_NKVD_PrivateCap", 	
"H_LIB_NKVD_OfficerCap", 
"H_LIB_SOV_RA_Helmet_w",
"LIB_Binocular_SU",
"ItemWatch", 	
"ItemCompass", 	
"ItemMap", 	
"FirstAidKit", 	
"ToolKit", 		
"LIB_ToolKit" 
];

// Uniforms
_availableUniforms = [
"U_LIB_SOV_Strelok", 	
"U_LIB_SOV_Strelok_summer", 	
"U_LIB_SOV_Strelokart", 	
"U_LIB_SOV_Tank_private_field", 	
"U_LIB_SOV_Starshina", 	
"U_LIB_SOV_Efreitor", 	
"U_LIB_SOV_Efreitor_summer", 	
"U_LIB_SOV_Sergeant", 	
"U_LIB_SOV_Sergeant_inset_pocket", 	
"U_LIB_SOV_Stsergeant", 	
"U_LIB_SOV_Leutenant", 	
"U_LIB_SOV_Pilot", 	
"U_LIB_SOV_Leutenant_inset_pocket", 	
"U_LIB_SOV_Artleutenant", 	
"U_LIB_SOV_Stleutenant", 	
"U_LIB_SOV_Kapitan", 	
"U_LIB_SOV_Kapitan_summer", 	
"U_LIB_SOV_Razvedchik_am", 	
"U_LIB_SOV_Razvedchik_lis", 	
"U_LIB_SOV_Razvedchik_mix", 	
"U_LIB_SOV_Razvedchik_autumn", 	
"U_LIB_SOV_Sniper", 	
"U_LIB_SOV_Sniper_spring", 	
"U_LIB_SOV_Sniper_autumn", 	
"U_LIB_SOV_Tank_ryadovoi", 	
"U_LIB_SOV_Tank_sergeant", 	
"U_LIB_SOV_Tank_leutenant", 	
"U_LIB_SOV_Tank_kapitan",
"U_LIB_NKVD_Efreitor", 	
"U_LIB_NKVD_Strelok", 	
"U_LIB_NKVD_Starshina",	
"U_LIB_NKVD_Sergeant", 	
"U_LIB_NKVD_Leutenant", 	
"U_LIB_NKVD_StLeutenant"  	
	
];

// Vests
_availableVests = [
"V_LIB_SOV_IShBrVestMG", 	
"V_LIB_SOV_IShBrVestPPShMag", 	
"V_LIB_SOV_IShBrVestPPShDisc", 	
"V_LIB_SOV_RA_OfficerVest", 	
"V_LIB_SOV_RA_SniperVest", 	
"V_LIB_SOV_RA_Belt", 	
"V_LIB_SOV_RA_TankOfficerSet", 	
"V_LIB_SOV_RA_PPShBelt", 	
"V_LIB_SOV_RA_MosinBelt", 	
"V_LIB_SOV_RA_SVTBelt", 	
"V_LIB_SOV_RA_MGBelt", 	
"V_LIB_SOV_RAZV_SVTBelt", 	
"V_LIB_SOV_RAZV_OfficerVest", 	
"V_LIB_SOV_RAZV_MGBelt", 	
"V_LIB_SOV_RAZV_PPShBelt" 
];

// Backpacks
_availableBackpacks = [
"B_LIB_SOV_Bag", 	
"RusBag_gr", 	
"B_LIB_SOV_PPShAmmoBag", 	
"RusBag_ppsh", 	
"B_LIB_SOV_MinesBag", 	
"RusBag_sap", 	
"B_LIB_SOV_ExplosivesBag", 	
"RusBag_sap2", 	
"B_LIB_SOV_MosinAmmoBag", 	
"RusBag_mos", 	
"B_LIB_SOV_DPAmmoBag", 	
"RusBag_DP",
"B_LIB_GER_Panzer", 	
"B_LIB_GER_Panzer_Empty", 
"B_LIB_GER_Panzer_Big_Empty", 
"LIB_Tripod_Bag",
"LIB_BM37_Bag",
"LIB_Maxim_Bag",
"B_LIB_SOV_RA_Radio",
"B_LIB_SOV_RA_Radio_ACRE2",
"B_LIB_SOV_RA_GasBag",
"B_LIB_SOV_RA_Paradrop",
"B_LIB_SOV_RA_MedicalBag",
"B_LIB_SOV_RA_MedicalBag_Empty",
"B_LIB_SOV_RA_MedicalBag_Big_Empty", 	
"B_LIB_SOV_RA_Radio_Empty", 	
"B_LIB_SOV_RA_Rucksack", 	
"B_LIB_SOV_RA_Rucksack_KOTH", 	
"B_LIB_SOV_RA_Rucksack_Green", 	
"B_LIB_SOV_RA_Rucksack2", 
"B_LIB_SOV_RA_Rucksack2_Green", 	
"B_LIB_SOV_RA_Shinel", 	
"B_LIB_SOV_RA_RucksackMines", 	
"B_LIB_SOV_RA_RucksackMines2", 
"B_LIB_SOV_RA_PTRDAmmo", 	
"B_LIB_SOV_RA_MGAmmoBag", 	
"B_LIB_SOV_RA_MGAmmoBag_Empty", 	
"B_LIB_SOV_RA_MGAmmoBag_Big_Empty",
"B_LIB_SD_RKKA_LMG",
"LIB_BM37_Tripod_Deployed"		
];

// Magazines
_availablemagazinecargoEast = [
"LIB_8Rnd_762x25",
"LIB_1Rnd_flare_white", 	
"LIB_1Rnd_flare_red", 	
"LIB_1Rnd_flare_green", 	
"LIB_1Rnd_flare_yellow",
"LIB_35Rnd_762x25", 	
"LIB_35Rnd_762x25_t", 	
"LIB_35Rnd_762x25_t2", 	
"LIB_35Rnd_762x25_ap", 	
"LIB_71Rnd_762x25", 	
"LIB_71Rnd_762x25_t", 	
"LIB_71Rnd_762x25_t2", 	
"LIB_71Rnd_762x25_ap",
"LIB_5Rnd_762x54", 	
"LIB_5Rnd_762x54_t46", 	
"LIB_5Rnd_762x54_t30", 	
"LIB_5Rnd_762x54_D", 	
"LIB_5Rnd_762x54_b30",
"LIB_10Rnd_762x54", 	
"LIB_10Rnd_762x54_t46", 	
"LIB_10Rnd_762x54_t30", 	
"LIB_10Rnd_762x54_t462", 	
"LIB_10Rnd_762x54_t302", 	
"LIB_10Rnd_762x54_d", 	
"LIB_10Rnd_762x54_b30",
"LIB_47Rnd_762x54", 	
"LIB_47Rnd_762x54d",	
"LIB_63Rnd_762x54", 	
"LIB_63Rnd_762x54d",
"LIB_1Rnd_G_DYAKONOV",
"LIB_F1", 	
"LIB_Rg42", 	
"LIB_Rpg6",
"LIB_RDG",
"LIB_1Rnd_RPzB", 
"LIB_TMI_42_MINE_mag", 	
"LIB_SMI_35_1_MINE_mag", 	
"LIB_pomzec_MINE_mag", 	
"LIB_SMI_35_MINE_mag", 	
"LIB_STMI_MINE_mag", 		
"LIB_PMD6_MINE_mag", 	
"LIB_TM44_MINE_mag", 			
"LIB_PP_MINE_mag", 	
"LIB_PM_MINE_mag", 	
"LIB_PM_Provod_50", 	
"LIB_PM_Provod_75", 		
"LIB_PM_Provod_100", 			
"LIB_MARKER_MINE_mag" 
];

// Weapons
_availableWeaponsEast = [
"LIB_TT33", 	
"LIB_M1895",
"LIB_FLARE_PISTOL",
"LIB_PPSh41_m",
"LIB_M9130", 	
"LIB_M38", 	
"LIB_M44",
"LIB_SVT_40",
"LIB_PTRD",
"LIB_M9130_Bayonet",
"LIB_M9130_DYAKONOV",
"LIB_DP28", 	
"LIB_DT", 
"LIB_DT_OPTIC",
"LIB_M9130PU",
"LIB_RPzB" 	
];

//Populate with predefined items and whatever is already in the crate
[_crate,((backpackCargo _crate) + _availableBackpacks)] call BIS_fnc_addVirtualBackpackCargo;
[_crate,((itemCargo _crate) + _availableHeadgear + _availableUniforms + _availableVests)] call BIS_fnc_addVirtualItemCargo;
[_crate,((magazineCargo _crate) + _availablemagazinecargoEast)] call BIS_fnc_addVirtualMagazineCargo;
[_crate,((weaponCargo _crate) + _availableWeaponsEast)] 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: 

USSR_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 "USSR_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.

 

Americans Faction Script

Step 1 - Copy the following code from the box below:

Spoiler

//Init 
_crate = _this select 0;
["AmmoboxInit",[_crate,false,{true}]] spawn BIS_fnc_arsenal;

//IFA3 American gear & weapons
_availableHeadgear = [
"H_LIB_US_AB_Helmet", 	
"H_LIB_US_AB_Helmet_2", 	
"H_LIB_US_AB_Helmet_3", 	
"H_LIB_US_AB_Helmet_4", 	
"H_LIB_US_AB_Helmet_5", 	
"H_LIB_US_AB_Helmet_Jump_1", 	
"H_LIB_US_AB_Helmet_Jump_2", 	
"H_LIB_US_AB_Helmet_Clear_1", 	
"H_LIB_US_AB_Helmet_Clear_2", 	
"H_LIB_US_AB_Helmet_Clear_3", 	
"H_LIB_US_AB_Helmet_Medic_1", 	
"H_LIB_US_AB_Helmet_Plain_1", 	
"H_LIB_US_AB_Helmet_Plain_2", 	
"H_LIB_US_AB_Helmet_Plain_3", 	
"H_LIB_US_AB_Helmet_NCO_1", 	
"H_LIB_US_AB_Helmet_NCO_2", 	
"H_LIB_US_AB_Helmet_CO_1", 	
"H_LIB_US_AB_Helmet_CO_2", 	
"H_LIB_US_Helmet_Pilot", 	
"H_LIB_US_Helmet_Pilot_Glasses_Up", 	
"H_LIB_US_Helmet_Pilot_Glasses_Down", 	
"H_LIB_US_Helmet_Pilot_Respirator", 	
"H_LIB_US_Helmet_Pilot_Respirator_Glasses_Up", 	
"H_LIB_US_Helmet_Pilot_Respirator_Glasses_Down", 	
"H_LIB_US_Pilot_Cap", 	
"H_LIB_US_Pilot_Cap_Khaki", 	
"H_LIB_US_Helmet", 	
"H_LIB_US_Helmet_ns", 	
"H_LIB_US_Helmet_os", 	
"H_LIB_US_Helmet_Net", 	
"H_LIB_US_Helmet_Net_ns", 	
"H_LIB_US_Helmet_Net_os", 	
"H_LIB_US_Helmet_Med", 	
"H_LIB_US_Helmet_Med_ns", 	
"H_LIB_US_Helmet_Med_os", 	
"H_LIB_US_Helmet_Cap", 	
"H_LIB_US_Helmet_CO", 	
"H_LIB_US_Helmet_NCO", 	
"H_LIB_US_Helmet_First_lieutenant", 	
"H_LIB_US_Helmet_Second_lieutenant", 	
"H_LIB_US_Helmet_Tank", 	
"H_LIB_US_Rangers_Helmet", 	
"H_LIB_US_Rangers_Helmet_ns", 	
"H_LIB_US_Rangers_Helmet_os", 	
"H_LIB_US_Rangers_Helmet_Cap", 	
"H_LIB_US_Rangers_Helmet_First_lieutenant",
"H_LIB_US_Rangers_Helmet_Second_lieutenant", 	
"H_LIB_US_Rangers_Helmet_NCO",
"H_LIB_US_Helmet_w", 	
"H_LIB_US_Helmet_Cover_w", 	
"H_LIB_US_Helmet_Net_w", 	
"H_LIB_US_Helmet_Med_w", 	
"H_LIB_US_Helmet_Cap_w", 	
"H_LIB_US_Helmet_First_lieutenant_w", 	
"H_LIB_US_Helmet_Second_lieutenant_w",
"LIB_Binocular_US",
"ItemWatch", 	
"ItemCompass", 	
"ItemMap", 	
"FirstAidKit", 	
"ToolKit", 		
"LIB_ToolKit" 
];

// Uniforms
_availableUniforms = [
"U_LIB_US_AB_Uniform_M42", 	
"U_LIB_US_AB_Uniform_M42_Medic", 	
"U_LIB_US_AB_Uniform_M42_506", 	
"U_LIB_US_AB_Uniform_M42_Gas", 	
"U_LIB_US_AB_Uniform_M42_FC", 	
"U_LIB_US_AB_Uniform_M42_corporal", 	
"U_LIB_US_AB_Uniform_M42_NCO", 	
"U_LIB_US_AB_Uniform_M43", 	
"U_LIB_US_AB_Uniform_M43_Medic", 	
"U_LIB_US_AB_Uniform_M43_Flag", 	
"U_LIB_US_AB_Uniform_M43_FC", 	
"U_LIB_US_AB_Uniform_M43_corporal", 	
"U_LIB_US_AB_Uniform_M43_NCO", 	
"U_LIB_US_Pilot", 	
"U_LIB_US_Pilot_2", 	
"U_LIB_US_Bomber_Pilot", 	
"U_LIB_US_Bomber_Crew", 	
"U_LIB_US_Private", 	
"U_LIB_US_Private_1st", 	
"U_LIB_US_Corp", 	
"U_LIB_US_Sergeant", 	
"U_LIB_US_Eng", 	
"U_LIB_US_Med", 	
"U_LIB_US_Tank_Crew", 	
"U_LIB_US_Tank_Crew2", 	
"U_LIB_US_NAC_Uniform", 	
"U_LIB_US_NAC_Uniform_2", 	
"U_LIB_US_NAC_Med", 	
"U_LIB_US_Rangers_Uniform", 	
"U_LIB_US_Rangers_Private_1st", 	
"U_LIB_US_Rangers_Corp", 	
"U_LIB_US_Rangers_Sergeant", 	
"U_LIB_US_Rangers_Eng", 	
"U_LIB_US_Rangers_Med"  	
	
];

// Vests
_availableVests = [
"V_LIB_US_AB_Vest_Bar", 	
"V_LIB_US_AB_Vest_M1919", 	
"V_LIB_US_AB_Vest_Asst_MG", 	
"V_LIB_US_AB_Vest_Carbine", 	
"V_LIB_US_AB_Vest_Carbine_eng", 	
"V_LIB_US_AB_Vest_Carbine_nco", 	
"V_LIB_US_AB_Vest_Carbine_nco_Radio", 	
"V_LIB_US_AB_Vest_Garand", 	
"V_LIB_US_AB_Vest_Grenadier", 	
"V_LIB_US_AB_Vest_Thompson", 	
"V_LIB_US_AB_Vest_Thompson_nco", 	
"V_LIB_US_AB_Vest_Thompson_nco_Radio", 	
"V_LIB_US_AB_Vest_45", 	
"V_LIB_US_AB_Vest_Padded_Bar", 	
"V_LIB_US_AB_Vest_Padded_M1919", 	
"V_LIB_US_AB_Vest_Padded_Asst_MG", 	
"V_LIB_US_AB_Vest_Padded_Carbine", 	
"V_LIB_US_AB_Vest_Padded_Carbine_eng", 	
"V_LIB_US_AB_Vest_Padded_Carbine_nco", 	
"V_LIB_US_AB_Vest_Padded_Carbine_nco_Radio",	
"V_LIB_US_AB_Vest_Padded_Garand", 	
"V_LIB_US_AB_Vest_Padded_Grenadier", 	
"V_LIB_US_AB_Vest_Padded_Thompson", 	
"V_LIB_US_AB_Vest_Padded_Thompson_nco", 
"V_LIB_US_AB_Vest_Padded_Thompson_nco_Radio", 	
"V_LIB_US_AB_Vest_Padded_45", 	
"V_LIB_US_LifeVest", 	
"V_LIB_US_Vest_Bar", 	
"V_LIB_US_Vest_M1919", 	
"V_LIB_US_Vest_Asst_MG", 	
"V_LIB_US_Vest_Carbine", 	
"V_LIB_US_Vest_Carbine_eng", 	
"V_LIB_US_Vest_Carbine_nco", 	
"V_LIB_US_Vest_Carbine_nco_Radio", 	
"V_LIB_US_Vest_Garand", 	
"V_LIB_US_Vest_Grenadier", 	
"V_LIB_US_Vest_Medic", 	
"V_LIB_US_Vest_Medic2", 	
"V_LIB_US_Vest_Thompson", 	
"V_LIB_US_Vest_Thompson_nco", 	
"V_LIB_US_Vest_Thompson_nco_Radio", 	
"V_LIB_US_Vest_45", 	
"V_LIB_US_Assault_Vest", 	
"V_LIB_US_Assault_Vest_Light", 	
"V_LIB_US_Assault_Vest_Thompson", 	
"V_LIB_US_Assault_Vest_dday" 
];

// Backpacks
_availableBackpacks = [
"B_LIB_US_Bag", 	
"LIB_Backpack_us", 	
"B_LIB_US_BARBag",	
"LIB_Backpack_US_BAR", 	
"B_LIB_US_BazBag", 	
"LIB_Backpack_US_Baz", 	
"B_LIB_US_MineBag", 	
"LIB_Backpack_US_Mine", 	
"B_LIB_FunkBag", 	
"FunkBag", 	
"B_LIB_FunkBag_Empty", 	
"B_LIB_RadioBag", 
"RadioBag", 	
"B_LIB_RadioBag_Empty", 	
"LIB_Tripod_Bag", 	
"LIB_M2_Tripod_Bag", 		
"LIB_M2_60_Bag", 	
"B_LIB_US_Radio",		
"B_LIB_US_Radio_ACRE2",
"B_LIB_US_M36", 	
"B_LIB_US_M36_KOTH",
"B_LIB_US_M36_Rope", 	
"B_LIB_US_M36_Bandoleer", 	
"B_LIB_US_Type5", 	
"B_LIB_US_M36_Rocketbag", 	
"B_LIB_US_M36_Rocketbag_Empty", 	
"B_LIB_US_M36_Rocketbag_Big_Empty", 	
"B_LIB_US_M36_MGbag", 	
"B_LIB_US_TypeA3", 	
"B_LIB_US_Backpack", 	
"B_LIB_US_Backpack_dday",	
"B_LIB_US_Backpack_Mk2", 	
"B_LIB_US_Backpack_Bandoleer", 	
"B_LIB_US_Backpack_eng", 	
"B_LIB_US_MedicBackpack", 	
"B_LIB_US_MedicBackpack_Empty", 	
"B_LIB_US_MedicBackpack_Big_Empty", 	
"B_LIB_US_Backpack_RocketBag", 	
"B_LIB_US_Backpack_RocketBag_Empty", 	
"B_LIB_US_Backpack_RocketBag_Big_Empty", 	
"B_LIB_US_RocketBag", 	
"B_LIB_US_RocketBag_Empty", 	
"B_LIB_US_RocketBag_Big_Empty", 	
"B_LIB_US_Radio_Empty", 	
"B_LIB_US_Bandoleer", 	
"B_LIB_US_MGbag", 
"B_LIB_US_MGbag_Empty", 	
"B_LIB_US_MGbag_Big_Empty", 	
"B_LIB_US_M2Flamethrower",
"B_LIB_SD_US_Army_LMG", 	
"B_LIB_SD_US_Army_AR", 	
"B_LIB_SD_US_Airborne_LMG",
"LIB_M2_60_Tripod_Deployed"		
];

// Magazines
_availablemagazinecargoindependent  = [
"LIB_7Rnd_45ACP", 	
"LIB_1Rnd_flare_white", 	
"LIB_1Rnd_flare_red", 	
"LIB_1Rnd_flare_green", 	
"LIB_1Rnd_flare_yellow",
"LIB_30Rnd_45ACP", 	
"LIB_30Rnd_45ACP_t", 	
"LIB_30Rnd_M3_GreaseGun_45ACP", 		
"LIB_50Rnd_45ACP",
"LIB_5Rnd_762x63", 	
"LIB_5Rnd_762x63_t",
"LIB_8Rnd_762x63", 	
"LIB_8Rnd_762x63_t", 	
"LIB_15Rnd_762x33", 	
"LIB_15Rnd_762x33_t", 	
"LIB_1Rnd_145x114", 	
"LIB_M2_Flamethrower_Mag", 	
"LIB_M2_Flamethrower_Mag_Empty",
"LIB_50Rnd_762x63", 	
"LIB_20Rnd_762x63",
"LIB_1Rnd_60mm_M6",
"LIB_US_Mk_2",
"LIB_US_M18", 	
"LIB_US_M18_Red", 	
"LIB_US_M18_Green", 	
"LIB_US_M18_Yellow",
"LIB_1Rnd_G_Mk2", 
"LIB_1Rnd_G_M9A1",
"LIB_US_M1A1_ATMINE_mag", 	
"LIB_US_M3_MINE_mag", 	
"LIB_US_TNT_4pound_mag" 
   
];

// Weapons
_availableWeaponsindependent  = [
"LIB_Colt_M1911",
"LIB_FLARE_PISTOL", 
"LIB_M1A1_Thompson",
"LIB_M3_GreaseGun",
"LIB_M1928_Thompson",
"LIB_M1928A1_Thompson",
"LIB_M1903A3_Springfield",
"LIB_M1_Garand", 	
"LIB_M1_Carbine",
"LIB_M2_Flamethrower",
"LIB_M1903A3_Springfield_Bayonet",
"LIB_M1_Garand_Bayonet", 
"LIB_M1_Garand_M7", 
"LIB_M1A1_Carbine",
"LIB_M1919A4", 	
"LIB_M1918A2_BAR", 		
"LIB_M1919A6",
"LIB_M1903A4_Springfield",
"LIB_M1A1_Bazooka"   	
];

//Populate with predefined items and whatever is already in the crate
[_crate,((backpackCargo _crate) + _availableBackpacks)] call BIS_fnc_addVirtualBackpackCargo;
[_crate,((itemCargo _crate) + _availableHeadgear + _availableUniforms + _availableVests)] call BIS_fnc_addVirtualItemCargo;
[_crate,((magazineCargo _crate) + _availablemagazinecargoindependent )] call BIS_fnc_addVirtualMagazineCargo;
[_crate,((weaponCargo _crate) + _availableWeaponsindependent )] 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: 

Americans_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 "Americans_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.

 

British Faction Script

Step 1 - Copy the following code from the box below:

Spoiler

//Init 
_crate = _this select 0;
["AmmoboxInit",[_crate,false,{true}]] spawn BIS_fnc_arsenal;

//IFA3 British gear & weapons
_availableHeadgear = [
"H_LIB_WP_Helmet", 	
"H_LIB_WP_Helmet_camo", 	
"H_LIB_WP_Helmet_med", 	
"H_LIB_WP_Cap", 	
"H_LIB_UK_Helmet_Mk2", 	
"H_LIB_WP_Helmet_Mk2", 	
"H_LIB_WP_Helmet_Mk2_Desert", 	
"H_LIB_UK_Helmet_Mk2_FAK", 	
"H_LIB_UK_Helmet_Mk2_Bowed", 	
"H_LIB_WP_Helmet_Mk2_Bowed", 
"H_LIB_WP_Helmet_Mk2_Desert_Bowed", 	
"H_LIB_UK_Para_Helmet_Mk2", 	
"H_LIB_WP_Para_Helmet_Mk2",
"H_LIB_UK_Para_Helmet_Mk2_Net", 	
"H_LIB_UK_Para_Helmet_Mk2_Camo", 	
"H_LIB_UK_Para_Beret", 	
"H_LIB_UK_Helmet_Mk2_Net", 	
"H_LIB_UK_Helmet_Mk2_Camo", 	
"H_LIB_UK_Helmet_Mk2_Beachgroup", 	
"H_LIB_UK_Helmet_Mk2_FAK_Camo", 	
"H_LIB_UK_Helmet_Mk2_Cover", 	
"H_LIB_UK_Helmet_Mk3", 	
"H_LIB_UK_Helmet_Mk3_Net", 	
"H_LIB_UK_Helmet_Mk3_Camo", 	
"H_LIB_UK_Pilot_Cap", 	
"H_LIB_UK_Beret", 	
"H_LIB_UK_Beret_Tankist", 
"H_LIB_UK_Beret_Headset", 	
"H_LIB_UK_Beret_Commando", 	
"H_LIB_UK_Beret_Commando_Kieffer", 	
"H_LIB_UK_Balmoral", 	
"H_LIB_UK_Helmet_Mk2_Desert", 	
"H_LIB_UK_Helmet_Mk2_Desert_Bowed",
"H_LIB_UK_Helmet_Mk2_Cover_w", 	
"H_LIB_UK_Helmet_Mk2_w", 	
"H_LIB_UK_Helmet_Mk2_Net_w", 	
"H_LIB_UK_Helmet_Mk3_w", 	
"H_LIB_UK_Para_Helmet_Mk2_w", 	
"H_LIB_UK_Para_Helmet_Mk2_Net_w", 	  	
"LIB_Binocular_UK", 		
"ItemWatch", 	
"ItemCompass", 	
"ItemMap", 	
"FirstAidKit", 	
"ToolKit", 		
"LIB_ToolKit" 
];

// Uniforms
_availableUniforms = [
"U_LIB_UK_DenisonSmock", 	
"U_LIB_UK_P37", 	
"U_LIB_UK_P37Jerkins", 	
"U_LIB_UK_P37_LanceCorporal", 	
"U_LIB_UK_P37Jerkins_LanceCorporal", 	
"U_LIB_UK_P37_Corporal", 	
"U_LIB_UK_P37Jerkins_Corporal", 	
"U_LIB_UK_P37_Sergeant", 	
"U_LIB_UK_P37Jerkins_Sergeant", 	
"U_LIB_UK_KhakiDrills",
"U_LIB_UK_P37_w", 	
"U_LIB_UK_P37Jerkins_w", 	
"U_LIB_UK_DenisonSmock_w"   	
	
];

// Vests
_availableVests = [
"V_LIB_UK_P37_Rifleman", 	
"V_LIB_UK_P37_Gasmask", 	
"V_LIB_UK_P37_Sten", 	
"V_LIB_UK_P37_Holster", 	
"V_LIB_UK_P37_Heavy", 	
"V_LIB_UK_P37_Officer", 	
"V_LIB_UK_P37_Crew", 	
"V_LIB_UK_P37_Rifleman_Blanco", 	
"V_LIB_UK_P37_Gasmask_Blanco", 	
"V_LIB_UK_P37_Sten_Blanco", 	
"V_LIB_UK_P37_Holster_Blanco", 	
"V_LIB_UK_P37_Heavy_Blanco", 	
"V_LIB_UK_P37_Officer_Blanco ",
"LIB_ACC_No4_Mk2_Bayo", 		
"LIB_ACC_GL_Enfield_CUP_Empty", 
"LIB_ACC_GL_DYAKONOV_Empty" 	 
];

// Backpacks
_availableBackpacks = [
"B_LIB_UK_HSack", 	
"B_LIB_UK_HSack_Cape", 	
"B_LIB_UK_HSack_Tea", 	
"B_LIB_UK_HSack_Blanco", 	
"B_LIB_UK_HSack_Blanco_Cape", 	
"B_LIB_UK_HSack_Blanco_Tea", 	
"B_LIB_UK_HSack_Medic", 	
"B_LIB_UK_HSack_Blanco_Medic", 	
"B_LIB_UK_HSack_AT", 	
"B_LIB_UK_HSack_Blanco_AT",
"B_LIB_SD_UK_Army_LMG", 	
"B_LIB_SD_UK_Army_AR", 	
"B_LIB_SD_UK_Army_LMG_Blanco", 	
"B_LIB_SD_UK_Army_AR_Blanco",
"LIB_ACC_No4_Mk2_Bayo",
"LIB_ACC_GL_Enfield_CUP_Empty" 	
];

// Magazines
_availablemagazinecargoindependent  = [
"LIB_6Rnd_455", 	
"LIB_6Rnd_9x19_Welrod",
"LIB_7Rnd_765x17",
"LIB_1Rnd_flare_white", 	
"LIB_1Rnd_flare_red", 	
"LIB_1Rnd_flare_green", 	
"LIB_1Rnd_flare_yellow",
"LIB_32Rnd_9x19_Sten",
"LIB_10Rnd_770x56", 	
"LIB_1Rnd_89m_G_PIAT",
"LIB_1Rnd_89m_PIAT",
"LIB_30Rnd_770x56",
"LIB_MillsBomb",
"LIB_No82",
"LIB_No77",
"LIB_1Rnd_G_MillsBomb"  
   
];

// Weapons
_availableWeaponsindependent  = [
"LIB_FLARE_PISTOL", 
"LIB_Webley_mk6",
"LIB_Welrod_mk1",
"LIB_Sten_Mk2",
"LIB_Sten_Mk5",
"LIB_Sten_Mk5_Bayonet",
"LIB_DELISLE",
"LIB_LeeEnfield_No4",
"LIB_PIAT_Rifle",
"LIB_LeeEnfield_No4_Bayonet",
"LIB_LeeEnfield_No4_CUP",	
"LIB_LeeEnfield_No1",
"LIB_LeeEnfield_No1_Bayonet",
"LIB_LeeEnfield_No1_CUP",
"LIB_Bren_Mk2",
"LIB_LeeEnfield_No4_Scoped",
"LIB_LeeEnfield_No4_Scoped_CUP",
"LIB_PIAT"       	
];

//Populate with predefined items and whatever is already in the crate
[_crate,((backpackCargo _crate) + _availableBackpacks)] call BIS_fnc_addVirtualBackpackCargo;
[_crate,((itemCargo _crate) + _availableHeadgear + _availableUniforms + _availableVests)] call BIS_fnc_addVirtualItemCargo;
[_crate,((magazineCargo _crate) + _availablemagazinecargoindependent )] call BIS_fnc_addVirtualMagazineCargo;
[_crate,((weaponCargo _crate) + _availableWeaponsindependent )] 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: 

British_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 "British_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.

====================

 

Important note

Just to let you know that while using any of the scripts, that if you are loading an existing loadout in arsenal that has any modern equipment or is nothing but modern equipment

it will still load, the scripts are ideal for creating new loadouts with those gear and weapons seen on the lists.

     If you have existing loadouts with only IFA3 gear/weapons then they should work np, just be warned that modern gear can and will show if you have them in a existing loadouts.

 

Spearhead 1944 Virtual Arsenal Whitelist's

https://forums.bohemia.net/forums/topic/243239-spearhead-1944-virtual-arsenal-whitelists/

  • Like 4
  • Thanks 2

Share this post


Link to post
Share on other sites

Update

added the USSR Faction script!

 

Please let me know if there are any missing items so i can update the code accordingly.

Share this post


Link to post
Share on other sites

Update

added British Faction Script!

 

A note for the British faction, there is only one weapon showing under weapons,

the remaining weapons such as the following:

 

Weapons

  • LIB_Sten_Mk2
  • LIB_Sten_Mk5
  • LIB_LeeEnfield_No4
  • LIB_LeeEnfield_No4_Scoped
  • LIB_LeeEnfield_No1
  • LIB_M1918A2_BAR - (USA)
  • LIB_Bren_Mk2
  • LIB_PIAT
  • LIB_PIAT_Rifle

Magazines

  • LIB_ACC_P1903_Bayo
  • LIB_ACC_No4_Mk2_Bayo
  • LIB_M1918A2_BAR_Bipod
  • LIB_32Rnd_9x19_Sten
  • LIB_30Rnd_770x56
  • LIB_20Rnd_762x63
  • LIB_1Rnd_89m_PIAT
  • LIB_1Rnd_89m_G_PIAT

Theses were removed in IFA3's recent update, classnames remain but no weapons/mags attached to them yet,

until a new update adding these weapons/mags back in the script works regardless making available what is ingame through the arsenal.

Share this post


Link to post
Share on other sites

See my post here, the classnames should still work:

https://forums.bohemia.net/forums/topic/190809-iron-front-in-arm3-lite-preview-versions/?do=findComment&comment=3222378

Another way to get them is in the editor:

  1. Go to props and set the search box (arrow) on the IFA3.
  2. Then scroll down to all the weapons.
  3.  Then place them all on the ground, once you have what you want, dont forget launchers too.
  4. The highlight them all (draw a box around all of them).
  5. Then right click and log the classnames.
  6. Go to your desktop startup a notepad doc and then press ctrl V and everything on your clipboard will paste all the classnames there.
  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×