Jump to content

@MAS weapons Lootspawner script (More weapons!)


BlackPlague_81st

Recommended Posts

Yes, I've just narrowed it down the the LSDeleter.SQF script, every time it runs my server fps/cps drops by about 20 for a few seconds (and it runs every 60 seconds). I think it could do with some optimisation.

 

inLSDeleter.sqf you see at the end

    sleep 60;

Maybe change this to another Value?

 

Iam not sure if i have the same Problem but i will check this.

 

Did you try to change the     sleep 60; Command to higher Value?Iam not sure if it will break the script or some other issue then?!

 

cheers

Link to comment
Share on other sites

If you increase the sleep value you'll still have the performance dips. Just not as often. There's lots of optimization that can be done on that script. Too many 'if' statements that can be consolidated into a single string.

I'm almost wondering if the performance hit that using the deleter causes is even worth it. Seeing as how most folks restart their servers every 4 hours surely there couldn't be enough stuff build up in that amount of time to cause anywhere near the overall performance hit that the deleter itself causes. I suppose it would depend greatly on the amount of players on the server.

Link to comment
Share on other sites

Hi im having a problem. I have downloaded the zip file, depbo my altis, put them into custom/LSpawner folder inside the pbo, added the lines 

 

if (isServer) then {
    fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "custom\LSpawner\fn_LSgetBuildingstospawnLoot.sqf";
    LSdeleter = compile preProcessFileLineNumbers "custom\LSpawner\LSdeleter.sqf";
    execVM "custom\LSpawner\Lootspawner.sqf";
};

 

to my init.sqf

When i start up my server it shows this at the RPT log. The game starts up fine but i see no loot lying on the floor as well. Using TADST to start my server on my computer, any help?

"-- LOOTSPAWNER spawnBuilding_list ready, d: 0s"
"Epoch: Loading buildings"
Cannot create non-ai vehicle Land_A_BuildingWIP,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_A_BuildingWIP has no building positions --"
Cannot create non-ai vehicle Land_A_FuelStation_Build,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_A_FuelStation_Build has no building positions --"
Cannot create non-ai vehicle Land_A_GeneralStore_01,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_A_GeneralStore_01 has no building positions --"
Cannot create non-ai vehicle Land_A_GeneralStore_01a,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_A_GeneralStore_01a has no building positions --"
Cannot create non-ai vehicle Land_A_Hospital,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_A_Hospital has no building positions --"
Cannot create non-ai vehicle Land_A_Pub_01,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_A_Pub_01 has no building positions --"
Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
enhanced_epoch_aiasupport
Cannot load surface info ca\data\Penetration\ironPlate.bisurf
Cannot load surface info ca\data\Penetration\glassPlate.bisurf
Cannot load surface info ca\data\Penetration\bricks.bisurf
Warning Message: Animation source dvere not found in bin\config.bin/CfgVehicles/Land_a_stationhouse/
Warning Message: Animation source vrataL1 not found in bin\config.bin/CfgVehicles/Land_a_stationhouse/
Warning Message: Animation source vrataR1 not found in bin\config.bin/CfgVehicles/Land_a_stationhouse/
Warning Message: Animation source vrataL2 not found in bin\config.bin/CfgVehicles/Land_a_stationhouse/
Warning Message: Animation source vrataL3 not found in bin\config.bin/CfgVehicles/Land_a_stationhouse/
Warning Message: Animation source vrataR2 not found in bin\config.bin/CfgVehicles/Land_a_stationhouse/
Warning Message: Animation source vrataR3 not found in bin\config.bin/CfgVehicles/Land_a_stationhouse/
Warning Message: Cannot open object ca\structures\proxy_buildingparts\gasmeterext\gasmeterext.p3d
Warning Message: Cannot open object ca\structures\proxy_buildingparts\roof\aircondition\aircondition_a.p3d
Cannot create non-ai vehicle Land_A_TVTower_Base,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_A_TVTower_Base has no building positions --"
Cannot create non-ai vehicle Land_Barn_Metal,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Barn_Metal has no building positions --"
Cannot create non-ai vehicle Land_Barn_W_01,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Barn_W_01 has no building positions --"
Cannot create non-ai vehicle Land_Church_03,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Church_03 has no building positions --"
Cannot create non-ai vehicle Land_Farm_Cowshed_a,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Farm_Cowshed_a has no building positions --"
Cannot create non-ai vehicle Land_Farm_Cowshed_b,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Farm_Cowshed_b has no building positions --"
Cannot create non-ai vehicle Land_Farm_Cowshed_c,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Farm_Cowshed_c has no building positions --"
Cannot create non-ai vehicle Land_Hangar_2,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Hangar_2 has no building positions --"
Cannot create non-ai vehicle Land_Hlidac_budka,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Hlidac_budka has no building positions --"
Cannot create non-ai vehicle Land_HouseBlock_A1,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_HouseBlock_A1 has no building positions --"
Cannot create non-ai vehicle Land_HouseB_Tenement,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_HouseB_Tenement has no building positions --"
Cannot create non-ai vehicle Land_HouseV2_01A,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_HouseV2_01A has no building positions --"
Cannot create non-ai vehicle Land_HouseV2_02_Interier,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_HouseV2_02_Interier has no building positions --"
Cannot create non-ai vehicle Land_HouseV2_04_interier,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_HouseV2_04_interier has no building positions --"
Cannot create non-ai vehicle Land_HouseV_1I1,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_HouseV_1I1 has no building positions --"
Cannot create non-ai vehicle Land_HouseV_1I4,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_HouseV_1I4 has no building positions --"
Cannot create non-ai vehicle Land_HouseV_1L1,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_HouseV_1L1 has no building positions --"
Cannot create non-ai vehicle Land_HouseV_1L2,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_HouseV_1L2 has no building positions --"
Cannot create non-ai vehicle Land_HouseV_2L,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_HouseV_2L has no building positions --"
Cannot create non-ai vehicle Land_IndPipe2_bigBuild2_L,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_IndPipe2_bigBuild2_L has no building positions --"
Cannot create non-ai vehicle Land_IndPipe2_big_18,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_IndPipe2_big_18 has no building positions --"
Cannot create non-ai vehicle Land_IndPipe2_big_9,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_IndPipe2_big_9 has no building positions --"
Cannot create non-ai vehicle Land_IndPipe2_big_ground2,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_IndPipe2_big_ground2 has no building positions --"
Cannot create non-ai vehicle Land_Ind_Expedice_1,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_Expedice_1 has no building positions --"
Cannot create non-ai vehicle Land_Ind_Expedice_3,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_Expedice_3 has no building positions --"
Cannot create non-ai vehicle Land_Ind_Garage01,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_Garage01 has no building positions --"
Cannot create non-ai vehicle Land_Ind_IlluminantTower,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_IlluminantTower has no building positions --"
Cannot create non-ai vehicle Land_Ind_Mlyn_01,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_Mlyn_01 has no building positions --"
Cannot create non-ai vehicle Land_Ind_Pec_01,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_Pec_01 has no building positions --"
Cannot create non-ai vehicle Land_Ind_Vysypka,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_Vysypka has no building positions --"
Cannot create non-ai vehicle Land_Ind_Workshop01_01,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_Workshop01_01 has no building positions --"
Cannot create non-ai vehicle Land_Ind_Workshop01_02,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_Workshop01_02 has no building positions --"
Cannot create non-ai vehicle Land_Ind_Workshop01_04,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_Workshop01_04 has no building positions --"
Cannot create non-ai vehicle Land_Ind_Workshop01_L,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Ind_Workshop01_L has no building positions --"
Cannot create non-ai vehicle Land_kulna,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_kulna has no building positions --"
Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.
enhanced_epoch_aiasupport
Cannot load surface info ca\data\Penetration\wood_desk.bisurf
Cannot load surface info ca\data\Penetration\glass.bisurf
Cannot load surface info ca\data\Penetration\wood.bisurf
Cannot load surface info ca\data\Penetration\metalPlate.bisurf
Cannot load surface info ca\data\Penetration\iron.bisurf
Cannot load surface info ca\data\Penetration\pottery.bisurf
Land_Mil_Barracks_i: Door_01 - unknown animation source Door_01
Land_Mil_Barracks_i: Door_02 - unknown animation source Door_02
Land_Mil_Barracks_i: Door_03 - unknown animation source Door_03
Land_Mil_Barracks_i: Door_04 - unknown animation source Door_04
Land_Mil_Barracks_i: Door_05 - unknown animation source Door_05
Land_Mil_Barracks_i: Door_06 - unknown animation source Door_06
Cannot create non-ai vehicle Land_Mil_ControlTower,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Mil_ControlTower has no building positions --"
Cannot create non-ai vehicle Land_Misc_deerstand,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Misc_deerstand has no building positions --"
Cannot create non-ai vehicle Land_Panelak,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Panelak has no building positions --"
Cannot create non-ai vehicle Land_Panelak2,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Panelak2 has no building positions --"
Cannot create non-ai vehicle Land_Rail_House_01,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Rail_House_01 has no building positions --"
Cannot create non-ai vehicle Land_rail_station_big,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_rail_station_big has no building positions --"
Cannot create non-ai vehicle Land_Shed_Ind02,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Shed_Ind02 has no building positions --"
Cannot create non-ai vehicle Land_Shed_W01,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Shed_W01 has no building positions --"
Cannot create non-ai vehicle Land_SS_hangar,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_SS_hangar has no building positions --"
Cannot create non-ai vehicle Land_stodola_old_open,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_stodola_old_open has no building positions --"
Cannot create non-ai vehicle Land_Tovarna2,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Tovarna2 has no building positions --"
Cannot create non-ai vehicle Land_vez,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_vez has no building positions --"
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Airport_center_F has no building positions --"
Cannot create non-ai vehicle Land_Mil_Barracks_i_EP1,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: Land_Mil_Barracks_i_EP1 has no building positions --"
Cannot create non-ai vehicle C130J_wreck_EP1,
"-- !!LOOTSPAWNER WARNING!! in Buildingstoloot_list: C130J_wreck_EP1 has no building positions --"
"-- LOOTSPAWNER Buildingpositions_list ready, d: 0s"
"Epoch: Loading teleports and static props"
"Epoch: Loading NPC traders"
No speaker given for Bao Han
No speaker given for Dumi Okadigbo
"Epoch: Spawning NPC traders"
Strange convex component53 in a3\structures_f_epb\civ\playground\slidecastle_f.p3d:geometryFire
Strange convex component27 in a3\structures_f_epb\civ\playground\slidecastle_f.p3d:geometryView
Link to comment
Share on other sites

Please elaborate?

 

My start line command is causing lots of issues clearly disconnecting players, can I see a copy of your file & start line parameters to compare?

 

Appreciate the help!

 

Raz.

you didnt need that script here anymore becouse you can use the normal epoch Loot system now only add on the File Loot.h the mas Weapons Ammo muzzle etc...........

 

Check the new Server File Release you will find the loot.h in

 

a3_epoch_server_settings.pbo\a3_epoch_server_settings\configs\loot.h

 

Edit file like your wishes and in your startparameter add @mas

 

Thats all ;)

Link to comment
Share on other sites

Should i add all those to missionfile ? or just 1 of spawner and list? i got loot everywhere. not a big problem yet. i noticed its only epoch stuff. not mas18 stuff ? shouldnt the @mas18 be called from init like this lootspawner ?

EpochItemList.txt Create EpochItemList.txt 3 months ago   LSDeleter.SQF Create LSDeleter.SQF 3 months ago   LSLootBuildings.SQF Create LSLootBuildings.SQF 3 months ago   LSLootLists.SQF Update LSLootLists.SQF 3 months ago   LSLootLists_HighLoot.SQF Update LSLootLists_HighLoot.SQF 3 months ago   LootSpawner.SQF Create LootSpawner.SQF 3 months ago   LootSpawner_SP.SQF Create LootSpawner_SP.SQF 3 months ago   README.md Update README.md 3 months ago   fn_LSgetBuildingstospawnLoot.SQF Create fn_LSgetBuildingstospawnLoot.SQF 3 months ago

 

 

Edit : i figured it out

Edited by Finuix
Link to comment
Share on other sites

In an earlier post someone referred to a list of Epoch Only items to located in addpackpackcargo.txt, addmagazinecargo.txt and addweaponcargo.txt files does anyone know where those files are located as I can't find them on my server?

depends im hosting with GTX, and it is located in the arma3config\battleeye folder

Link to comment
Share on other sites

anyone know when I try to remove a few things from the lslootlists for example smoke gernades or flares it totally breaks @mas to where nothing spawns.  Here is my loot list

 

// Lootspawner junction lists for classes to spawn-/lootable items

// Author: Na_Palm (BIS forums)
//-------------------------------------------------------------------------------------
//here place Weapons an usable items (ex.: Binocular, ...)
//used with addWeaponCargoGlobal
//"lootWeapon_list" array of [class, [weaponlist]]
// class : 0-civil, 1-military, ... (add more as you wish)
// weaponlist : list of weapon class names
lootWeapon_list = [
[ 0, [ // CIVIL
"ItemLockBox",
"arifle_MK20C_F",
"arifle_MK20_F",
"arifle_TRG20_F",
"arifle_TRG21_F",
"Binocular",
"hgun_ACPC2_F",
"hgun_P07_F",
"hgun_PDW2000_F",
"hgun_Rook40_F",
"SMG_01_F", // Vermin .45 ACP
"SMG_02_F", // Sting 9mm
"m16_EPOCH",
"M14_EPOCH",
"M14Grn_EPOCH",
"m4a3_EPOCH",
"AKM_EPOCH",
"Rollins_F",
"speargun_epoch",
"ruger_pistol_epoch",
"1911_pistol_epoch",
"Hatchet",
"MultiGun",
"MeleeSledge",
"ChainSaw"
]],[ 1, [ // MILITARY
"arifle_MXM_F",
"arifle_MX_F",
"arifle_MX_GL_F",
"arifle_MX_SW_F",
"arifle_SDAR_F",
"arifle_MXM_Black_F",
"arifle_MX_GL_Black_F",
"arifle_MX_Black_F",
"arifle_MXC_Black_F",
"arifle_MX_SW_F",
"arifle_MX_SW_Black_F",
"hgun_ACPC2_F",
"hgun_P07_F",
"hgun_PDW2000_F",
"hgun_Rook40_F",
"hgun_Pistol_heavy_01_F",
"hgun_Pistol_heavy_02_F",
"ruger_pistol_epoch",
"1911_pistol_epoch",
"LMG_Mk200_F",
"LMG_Zafir_F",
"Rangefinder",
"SMG_01_F", // Vermin .45 ACP
"SMG_02_F", // Sting 9mm
"srifle_DMR_01_F",
"srifle_EBR_F",
"srifle_GM6_F",
"srifle_LRR_F",
"m16_EPOCH",
"M14_EPOCH",
"M14Grn_EPOCH",
"m4a3_EPOCH",
"AKM_EPOCH",
"m249_EPOCH",
"m249Tan_EPOCH",
"m107Tan_EPOCH",
"m107_EPOCH",
"arifle_mas_lee",
"arifle_mas_mp5",
"arifle_mas_hk416",
"arifle_mas_hk416_m203",
"arifle_mas_hk416_v",
"arifle_mas_hk416_m203_v",
"arifle_mas_hk416_d",
"arifle_mas_hk416_gl_d",
"arifle_mas_hk416_m203_d",
"arifle_mas_hk416c",
"arifle_mas_hk416_m203c",
"arifle_mas_hk416c_v",
"arifle_mas_hk416_m203c_v",
"arifle_mas_hk416c_d",
"arifle_mas_hk416_m203c_d",
"arifle_mas_m4",
"arifle_mas_m4_gl",
"arifle_mas_m4_m203",
"arifle_mas_m4_v",
"arifle_mas_m4_gl_v",
"arifle_mas_m4_m203_v",
"arifle_mas_m4_d",
"arifle_mas_m4_gl_d",
"arifle_mas_m4_m203_d",
"arifle_mas_m4c",
"arifle_mas_m4_m203c",
"arifle_mas_m4c_v",
"arifle_mas_m4_m203c_v",
"arifle_mas_m4c_d",
"arifle_mas_m4_m203c_d",
"arifle_mas_m16",
"arifle_mas_m16_gl",
"arifle_mas_l119",
"arifle_mas_l119_gl",
"arifle_mas_l119_m203",
"arifle_mas_l119_v",
"arifle_mas_l119_gl_v",
"arifle_mas_l119_m203_v",
"arifle_mas_l119_d",
"arifle_mas_l119_gl_d",
"arifle_mas_l119_m203_d",
"arifle_mas_g36c",
"arifle_mas_mk16",
"arifle_mas_mk16_gl",
"arifle_mas_mk16_l",
"arifle_mas_mk16_l_gl",
"arifle_mas_ak_74m",
"arifle_mas_ak_74m_gl",
"arifle_mas_ak_74m_c",
"arifle_mas_ak_74m_gl_c",
"arifle_mas_aks74",
"arifle_mas_aks74_gl",
"arifle_mas_ak74",
"arifle_mas_ak74_gl",
"arifle_mas_ak_74m_sf",
"arifle_mas_ak_74m_sf_gl",
"arifle_mas_ak_74m_sf_c",
"arifle_mas_ak_74m_sf_gl_c",
"arifle_mas_aks_74_sf",
"arifle_mas_aks_74_sf_gl",
"arifle_mas_akms",
"arifle_mas_akms_gl",
"arifle_mas_akms_c",
"arifle_mas_akms_gl_c",
"arifle_mas_akm",
"arifle_mas_akm_gl",
"arifle_mas_aks74u",
"arifle_mas_aks74u_c",
"LMG_mas_Mk48_F",
"LMG_mas_Mk48_F_v",
"LMG_mas_Mk48_F_d",
"LMG_mas_M240_F",
"LMG_mas_mg3_F",
"LMG_mas_M60_F",
"LMG_mas_rpk_F",
"LMG_mas_pkm_F",
"arifle_mas_mp5_v",
"arifle_mas_mp5_d",
"arifle_mas_bizon",
"hgun_mas_mp7_F",
"arifle_mas_saiga",
"hgun_mas_uzi_F",
"hgun_mas_sa61_F",
"hgun_mas_m9_F",
"hgun_mas_bhp_F",
"hgun_mas_glock_F",
"hgun_mas_acp_F",
"hgun_mas_usp_F",
"hgun_mas_glocksf_F",
"hgun_mas_grach_F",
"hgun_mas_mak_F",
"arifle_mas_hk417c",  
"arifle_mas_hk417_m203c",
"arifle_mas_hk417c_v",
"arifle_mas_hk417_m203c_v",
"arifle_mas_hk417c_d",
"arifle_mas_hk417_m203c_d",
"arifle_mas_mk17",
"arifle_mas_mk17_gl",
"arifle_mas_g3",
"arifle_mas_g3_m203",
"arifle_mas_g3s",
"arifle_mas_g3s_m203",
"arifle_mas_fal",
"arifle_mas_fal_m203",
"arifle_mas_m14",
"srifle_mas_hk417",
"srifle_mas_hk417_v",
"srifle_mas_hk417_d",
"srifle_mas_sr25",
"srifle_mas_sr25_v",
"srifle_mas_sr25_d",
"srifle_mas_ebr",
"srifle_mas_mk17s",
"srifle_mas_m110",
"srifle_mas_m107",
"srifle_mas_m107_v",
"srifle_mas_m107_d",
"srifle_mas_m24",
"srifle_mas_m24_v",
"srifle_mas_m24_d",
"srifle_mas_lrr",
"srifle_mas_m91",
"srifle_mas_svd",
"srifle_mas_ksvk",
"srifle_mas_ksvk_c"
]],[ 2, [ // INDUSTRIAL
"arifle_Katiba_C_F",
"arifle_Mk20C_F",
"arifle_Mk20_F",
"arifle_MXC_F",
"arifle_SDAR_F",
"arifle_TRG20_F",
"arifle_TRG21_F",
"Binocular",
"SMG_01_F", // Vermin .45 ACP
"SMG_02_F", // Sting 9m
"m16_EPOCH",
"M14_EPOCH",
"M14Grn_EPOCH",
"m4a3_EPOCH",
"AKM_EPOCH",
"ruger_pistol_epoch",
"1911_pistol_epoch",
"Hatchet",
"MultiGun",
"MeleeSledge",
"arifle_mas_saiga",
"hgun_mas_uzi_F",
"hgun_mas_sa61_F",
"hgun_mas_m9_F",
"hgun_mas_bhp_F",
"hgun_mas_glock_F",
"hgun_mas_acp_F",
"hgun_mas_usp_F",
"hgun_mas_glocksf_F",
"hgun_mas_grach_F",
"hgun_mas_mak_F",
"ChainSaw"
]],[ 3, [ // RESEARCH
"arifle_Katiba_GL_F",
"arifle_MXC_F",
"arifle_MXM_F",
"arifle_MX_GL_F",
"Rangefinder",
"M14_EPOCH",
"M14Grn_EPOCH",
"m16_EPOCH",
"M14_EPOCH",
"M14Grn_EPOCH",
"m4a3_EPOCH",
"AKM_EPOCH",
"srifle_DMR_01_F",
"srifle_EBR_F"
]]];
 
//here place magazines, bodyitems(ex.: ItemGPS, ItemMap, Medikit, FirstAidKit, Binoculars, ...)
//used with addMagazineCargoGlobal
//"lootMagazine_list" array of [class, [magazinelist]]
// class : 0-civil, 1-military, ... (add more as you wish)
// magazinelist: list of magazine class names
lootMagazine_list = [
[ 0, [ // CIVIL
"EnergyPack",
"EnergyPackLg",
"20Rnd_762x51_Mag",
"10Rnd_762x51_Mag",
"30Rnd_762x39_Mag",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"20Rnd_556x45_UW_mag",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"spear_magazine",
"5Rnd_rollins_mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_45ACP_Mag_SMG_01_Tracer_Green",
"9Rnd_45ACP_Mag",
"11Rnd_45ACP_Mag",
"6Rnd_45ACP_Cylinder",
"16Rnd_9x21_Mag",
"30Rnd_9x21_Mag",
"10rnd_22X44_magazine",
"9rnd_45X88_magazine",`
]],[ 1, [ // MILITARY
"EnergyPack",
"EnergyPackLg",
"20Rnd_762x51_Mag",
"10Rnd_762x51_Mag",
"30Rnd_762x39_Mag",
"150Rnd_762x51_Box",
"150Rnd_762x51_Box_Tracer",
"5Rnd_127x108_Mag",
"5Rnd_127x108_APDS_Mag",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"200Rnd_65x39_cased_Box",
"100Rnd_65x39_caseless_mag",
"200Rnd_65x39_cased_Box_Tracer",
"100Rnd_65x39_caseless_mag_Tracer",
"20Rnd_556x45_UW_mag",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"200Rnd_556x45_M249",
"7Rnd_408_Mag",
"spear_magazine",
"5Rnd_rollins_mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_45ACP_Mag_SMG_01_Tracer_Green",
"9Rnd_45ACP_Mag",
"11Rnd_45ACP_Mag",
"6Rnd_45ACP_Cylinder",
"16Rnd_9x21_Mag",
"30Rnd_9x21_Mag",
"10rnd_22X44_magazine",
"9rnd_45X88_magazine",
"30Rnd_mas_556x45_Stanag",
"30Rnd_mas_556x45_T_Stanag",
"20Rnd_mas_762x51_Stanag",
"20Rnd_mas_762x51_T_Stanag",
"5Rnd_mas_762x51_Stanag",
"5Rnd_mas_762x51_T_Stanag",
"7Rnd_mas_12Gauge_Slug",
"7Rnd_mas_12Gauge_Pellets",
"5Rnd_mas_127x99_Stanag",
"5Rnd_mas_127x99_dem_Stanag",
"5Rnd_mas_127x99_T_Stanag",
"10Rnd_mas_338_Stanag",
"10Rnd_mas_338_T_Stanag",
"30Rnd_mas_9x21_Stanag",
"30Rnd_mas_9x21d_Stanag",
"40Rnd_mas_46x30_Mag",
"200Rnd_mas_556x45_Stanag",
"200Rnd_mas_556x45_T_Stanag",
"100Rnd_mas_762x51_Stanag",
"100Rnd_mas_762x51_T_Stanag",
"30Rnd_mas_545x39_mag",
"30Rnd_mas_545x39_T_mag",
"30Rnd_mas_762x39_mag",
"30Rnd_mas_762x39_T_mag",
"64Rnd_mas_9x18_mag",
"10Rnd_mas_12Gauge_Slug",
"10Rnd_mas_12Gauge_Pellets",
"10Rnd_mas_762x54_mag",
"10Rnd_mas_762x54_T_mag",
"20Rnd_mas_9x39_mag",
"30Rnd_mas_9x39_mag",
"5Rnd_mas_127x108_mag",
"5Rnd_mas_127x108_dem_mag",
"5Rnd_mas_127x108_T_mag",
"100Rnd_mas_762x54_mag",
"100Rnd_mas_762x54_T_mag",
"25Rnd_mas_9x19_Mag",
"17Rnd_mas_9x21_Mag",
"15Rnd_mas_9x21_Mag",
"13Rnd_mas_9x21_Mag",
"20Rnd_mas_765x17_Mag",
"12Rnd_mas_45acp_Mag",
"10Rnd_mas_45acp_Mag",
"8Rnd_mas_45acp_Mag",
"8Rnd_mas_9x18_Mag",
"3Rnd_HE_Grenade_shell",
"HandGrenade",
"MiniGrenade",
]],[ 2, [ // INDUSTRIAL
"EnergyPack",
"EnergyPackLg",
"20Rnd_762x51_Mag",
"10Rnd_762x51_Mag",
"30Rnd_762x39_Mag",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"20Rnd_556x45_UW_mag",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"spear_magazine",
"5Rnd_rollins_mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_45ACP_Mag_SMG_01_Tracer_Green",
"9Rnd_45ACP_Mag",
"11Rnd_45ACP_Mag",
"6Rnd_45ACP_Cylinder",
"16Rnd_9x21_Mag",
"30Rnd_9x21_Mag",
"10rnd_22X44_magazine",
"9rnd_45X88_magazine",
]],[ 3, [ // RESEARCH
"EnergyPack",
"EnergyPackLg",
"20Rnd_762x51_Mag",
"10Rnd_762x51_Mag",
"30Rnd_762x39_Mag",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"20Rnd_556x45_UW_mag",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"spear_magazine",
"5Rnd_rollins_mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_45ACP_Mag_SMG_01_Tracer_Green",
"9Rnd_45ACP_Mag",
"11Rnd_45ACP_Mag",
"6Rnd_45ACP_Cylinder",
"16Rnd_9x21_Mag",
"30Rnd_9x21_Mag",
"10rnd_22X44_magazine",
"9rnd_45X88_magazine",
]]];
 
//here place hats, glasses, clothes, uniforms, vests, weaponattachments
//used with addItemCargoGlobal
//"lootItem_list" array of [class, [itemlist]]
// class : 0-civil, 1-military, ... (add more as you wish)
// itemlist : list of item class names
lootItem_list = [
[ 0, [ // CIVIL
"PaintCanBlk",
"PaintCanBrn",
"PaintCanGrn",
"CinderBlocks",
"MortarBucket",
"ItemScraps",
"ItemCorrugated",
"ItemCorrugatedLg",
"PartPlankPack",
"CircuitParts",
"VehicleRepair",
"ItemMixOil",
"emptyjar_epoch",
"jerrycan_epoch",
"Heal_EPOCH",
"Defib_EPOCH",
"Repair_EPOCH",
"PartOre",
"ItemKiloHemp",
"WhiskeyNoodle",
"FAK",
"Towelette",
"HeatPack",
"ColdPack",
"U_C_Poloshirt_blue",
"U_C_Poloshirt_stripped",
"U_C_Poloshirt_tricolour",
"U_C_Poloshirt_salomn",
"U_C_Poloshirt_redwhite",
"U_C_HunterBody_grn",
"U_C_Journalist",
"U_C_Poor_1",
"acc_flashlight",
"acc_pointer_IR",
"optic_Arco",
"optic_Hamr",
"optic_Aco",
"optic_ACO_grn",
"optic_Aco_smg",
"optic_ACO_grn_smg",
"optic_Holosight",
"optic_Holosight_smg",
"optic_SOS",
"optic_MRCO",
"optic_DMS",
"optic_Yorris",
"optic_MRD",
"V_1_EPOCH","V_2_EPOCH","V_3_EPOCH","V_4_EPOCH","V_5_EPOCH","V_6_EPOCH","V_7_EPOCH","V_8_EPOCH","V_9_EPOCH","V_10_EPOCH","V_11_EPOCH","V_12_EPOCH","V_13_EPOCH","V_14_EPOCH","V_15_EPOCH","V_16_EPOCH","V_17_EPOCH","V_18_EPOCH","V_19_EPOCH","V_20_EPOCH","V_21_EPOCH","V_22_EPOCH","V_23_EPOCH","V_24_EPOCH","V_25_EPOCH","V_26_EPOCH","V_27_EPOCH","V_28_EPOCH","V_29_EPOCH","V_30_EPOCH","V_31_EPOCH","V_32_EPOCH","V_33_EPOCH","V_34_EPOCH","V_35_EPOCH","V_36_EPOCH","V_37_EPOCH","V_38_EPOCH","V_39_EPOCH","V_40_EPOCH",
"H_1_EPOCH","H_2_EPOCH","H_3_EPOCH","H_4_EPOCH","H_5_EPOCH","H_6_EPOCH","H_7_EPOCH","H_8_EPOCH","H_9_EPOCH","H_10_EPOCH","H_11_EPOCH","H_12_EPOCH","H_13_EPOCH","H_14_EPOCH","H_15_EPOCH","H_16_EPOCH","H_17_EPOCH","H_18_EPOCH","H_19_EPOCH","H_20_EPOCH","H_21_EPOCH","H_22_EPOCH","H_23_EPOCH","H_24_EPOCH","H_25_EPOCH","H_26_EPOCH","H_27_EPOCH","H_28_EPOCH","H_29_EPOCH","H_30_EPOCH","H_31_EPOCH","H_32_EPOCH","H_33_EPOCH","H_34_EPOCH","H_35_EPOCH","H_36_EPOCH","H_37_EPOCH","H_38_EPOCH","H_39_EPOCH","H_40_EPOCH","H_41_EPOCH","H_42_EPOCH","H_43_EPOCH","H_44_EPOCH","H_45_EPOCH","H_46_EPOCH","H_47_EPOCH","H_48_EPOCH","H_49_EPOCH","H_50_EPOCH","H_51_EPOCH","H_52_EPOCH","H_53_EPOCH","H_54_EPOCH","H_55_EPOCH","H_56_EPOCH","H_57_EPOCH","H_58_EPOCH","H_59_EPOCH","H_60_EPOCH","H_61_EPOCH","H_62_EPOCH","H_63_EPOCH","H_64_EPOCH","H_65_EPOCH","H_66_EPOCH","H_67_EPOCH","H_68_EPOCH","H_69_EPOCH","H_70_EPOCH","H_71_EPOCH","H_72_EPOCH","H_73_EPOCH","H_74_EPOCH","H_75_EPOCH","H_76_EPOCH","H_77_EPOCH","H_78_EPOCH","H_79_EPOCH","H_80_EPOCH","H_81_EPOCH","H_82_EPOCH","H_83_EPOCH","H_84_EPOCH","H_85_EPOCH","H_86_EPOCH","H_87_EPOCH","H_88_EPOCH","H_89_EPOCH","H_90_EPOCH","H_91_EPOCH","H_92_EPOCH","H_93_EPOCH","H_94_EPOCH","H_95_EPOCH","H_96_EPOCH","H_97_EPOCH","H_98_EPOCH","H_99_EPOCH","H_100_EPOCH","H_101_EPOCH","H_102_EPOCH","H_103_EPOCH","H_104_EPOCH","wolf_mask_epoch","pkin_mask_epoch"
]],[ 1, [ // MILITARY
"Heal_EPOCH",
"Defib_EPOCH",
"Repair_EPOCH",
"PartOre",
"ItemKiloHemp",
"FAK",
"Towelette",
"U_O_CombatUniform_ocamo",
"U_O_PilotCoveralls",
"U_O_GhillieSuit",
"U_O_Wetsuit",
"U_O_CombatUniform_oucamo",
"U_O_SpecopsUniform_ocamo",
"U_O_OfficerUniform_ocamo",
"U_Camo_uniform",
"U_Ghillie1_uniform",
"U_Ghillie2_uniform",
"U_Ghillie3_uniform",
"U_CamoBlue_uniform",
"U_CamoBrn_uniform",
"U_CamoRed_uniform",
"U_Wetsuit_camo",
"U_Wetsuit_uniform",
"acc_flashlight",
"acc_pointer_IR",
"optic_Arco",
"optic_Hamr",
"optic_Aco",
"optic_ACO_grn",
"optic_Aco_smg",
"optic_ACO_grn_smg",
"optic_Holosight",
"optic_Holosight_smg",
"optic_SOS",
"optic_MRCO",
"optic_DMS",
"optic_Yorris",
"optic_MRD",
"optic_LRPS",
"optic_NVS",
"optic_Nightstalker",
"optic_tws",
"optic_tws_mg",
"muzzle_snds_H",
"muzzle_snds_L",
"muzzle_snds_M",
"muzzle_snds_B",
"muzzle_snds_H_MG",
"muzzle_snds_acp",
"acc_mas_pointer_IR",
"muzzle_mas_snds_L",
"muzzle_mas_snds_LM",
"muzzle_mas_snds_C",
"muzzle_mas_snds_MP5SD6",
"muzzle_mas_snds_M",
"muzzle_mas_snds_Mc",
"muzzle_mas_snds_MP7",
"muzzle_mas_snds_AK",
"muzzle_mas_snds_SM",
"muzzle_mas_snds_SMc",
"muzzle_mas_snds_SH",
"muzzle_mas_snds_SHc",
"muzzle_mas_snds_SV",
"muzzle_mas_snds_SVc",
"muzzle_mas_snds_SVD",
"muzzle_mas_snds_KSVK",
"optic_mas_DMS", "optic_mas_DMS_c",
"optic_mas_Holosight_blk",
"optic_mas_Holosight_camo",
"optic_mas_Arco_blk",
"optic_mas_Arco_camo",
"optic_mas_Hamr_camo",
"optic_mas_Aco_camo",
"optic_mas_ACO_grn_camo",
"optic_mas_MRCO_camo",
"optic_mas_zeiss",
"optic_mas_zeiss_c",
"optic_mas_zeiss_eo",
"optic_mas_zeiss_eo_c",
"optic_mas_acog",
"optic_mas_acog_c",
"optic_mas_acog_eo",
"optic_mas_acog_eo_c",
"optic_mas_acog_rd",
"optic_mas_acog_rd_c",
"optic_mas_handle",
"optic_mas_aim",
"optic_mas_aim_c",
"optic_mas_PSO",
"optic_mas_PSO_c",
"optic_mas_PSO_eo",
"optic_mas_PSO_eo_c",
"optic_mas_PSO_nv",
"optic_mas_PSO_nv_c",
"optic_mas_PSO_nv_eo",
"optic_mas_PSO_nv_eo_c",
"optic_mas_PSO_day",
"optic_mas_PSO_nv_day",
"optic_mas_term",
"optic_mas_MRD",
"optic_mas_LRPS",
"muzzle_snds_H",
"muzzle_snds_L",
"muzzle_snds_M",
"muzzle_snds_B",
"muzzle_snds_H_MG",
"muzzle_snds_acp",
"V_Chestrig_blk",
"V_HarnessOGL_brn",
"V_HarnessOSpec_brn",
"V_HarnessO_brn",
"V_PlateCarrier1_blk",
"V_PlateCarrier2_rgr",
"V_PlateCarrier3_rgr",
"V_PlateCarrierGL_rgr",
"V_PlateCarrierIA1_dgtl",
"V_PlateCarrierIA2_dgtl",
"V_PlateCarrierIAGL_dgtl",
"V_PlateCarrierSpec_rgr",
"G_mas_wpn_gog",
"G_mas_wpn_gog_d",
"G_mas_wpn_gog_m",
"G_mas_wpn_gog_md",
"G_mas_wpn_gog_g",
"G_mas_wpn_gog_gd",
"G_mas_wpn_mask",
"G_mas_wpn_mask_b",
"G_mas_wpn_wrap",
"G_mas_wpn_wrap_f",
"G_mas_wpn_wrap_t",
"G_mas_wpn_wrap_b",
"G_mas_wpn_wrap_c",
"G_mas_wpn_wrap_g",
"G_mas_wpn_wrap_gog",
"G_mas_wpn_wrap_gog_f",
"G_mas_wpn_wrap_gog_t",
"G_mas_wpn_wrap_gog_b",
"G_mas_wpn_wrap_gog_c",
"G_mas_wpn_wrap_gog_g",
"G_mas_wpn_wrap_mask",
"G_mas_wpn_wrap_mask_t",
"G_mas_wpn_wrap_mask_f",
"G_mas_wpn_wrap_mask_b",
"G_mas_wpn_wrap_mask_c",
"G_mas_wpn_wrap_mask_g",
"G_mas_wpn_bala",
"G_mas_wpn_bala_b",
"G_mas_wpn_bala_t",
"G_mas_wpn_bala_gog",
"G_mas_wpn_bala_gog_b",
"G_mas_wpn_bala_gog_t",
"G_mas_wpn_bala_mask",
"G_mas_wpn_bala_mask_b",
"G_mas_wpn_bala_mask_t",
"G_mas_wpn_shemag",
"G_mas_wpn_shemag_r",
"G_mas_wpn_shemag_w",
"G_mas_wpn_shemag_gog",
"G_mas_wpn_shemag_mask",
"V_1_EPOCH","V_2_EPOCH","V_3_EPOCH","V_4_EPOCH","V_5_EPOCH","V_6_EPOCH","V_7_EPOCH","V_8_EPOCH","V_9_EPOCH","V_10_EPOCH","V_11_EPOCH","V_12_EPOCH","V_13_EPOCH","V_14_EPOCH","V_15_EPOCH","V_16_EPOCH","V_17_EPOCH","V_18_EPOCH","V_19_EPOCH","V_20_EPOCH","V_21_EPOCH","V_22_EPOCH","V_23_EPOCH","V_24_EPOCH","V_25_EPOCH","V_26_EPOCH","V_27_EPOCH","V_28_EPOCH","V_29_EPOCH","V_30_EPOCH","V_31_EPOCH","V_32_EPOCH","V_33_EPOCH","V_34_EPOCH","V_35_EPOCH","V_36_EPOCH","V_37_EPOCH","V_38_EPOCH","V_39_EPOCH","V_40_EPOCH",
"H_1_EPOCH","H_2_EPOCH","H_3_EPOCH","H_4_EPOCH","H_5_EPOCH","H_6_EPOCH","H_7_EPOCH","H_8_EPOCH","H_9_EPOCH","H_10_EPOCH","H_11_EPOCH","H_12_EPOCH","H_13_EPOCH","H_14_EPOCH","H_15_EPOCH","H_16_EPOCH","H_17_EPOCH","H_18_EPOCH","H_19_EPOCH","H_20_EPOCH","H_21_EPOCH","H_22_EPOCH","H_23_EPOCH","H_24_EPOCH","H_25_EPOCH","H_26_EPOCH","H_27_EPOCH","H_28_EPOCH","H_29_EPOCH","H_30_EPOCH","H_31_EPOCH","H_32_EPOCH","H_33_EPOCH","H_34_EPOCH","H_35_EPOCH","H_36_EPOCH","H_37_EPOCH","H_38_EPOCH","H_39_EPOCH","H_40_EPOCH","H_41_EPOCH","H_42_EPOCH","H_43_EPOCH","H_44_EPOCH","H_45_EPOCH","H_46_EPOCH","H_47_EPOCH","H_48_EPOCH","H_49_EPOCH","H_50_EPOCH","H_51_EPOCH","H_52_EPOCH","H_53_EPOCH","H_54_EPOCH","H_55_EPOCH","H_56_EPOCH","H_57_EPOCH","H_58_EPOCH","H_59_EPOCH","H_60_EPOCH","H_61_EPOCH","H_62_EPOCH","H_63_EPOCH","H_64_EPOCH","H_65_EPOCH","H_66_EPOCH","H_67_EPOCH","H_68_EPOCH","H_69_EPOCH","H_70_EPOCH","H_71_EPOCH","H_72_EPOCH","H_73_EPOCH","H_74_EPOCH","H_75_EPOCH","H_76_EPOCH","H_77_EPOCH","H_78_EPOCH","H_79_EPOCH","H_80_EPOCH","H_81_EPOCH","H_82_EPOCH","H_83_EPOCH","H_84_EPOCH","H_85_EPOCH","H_86_EPOCH","H_87_EPOCH","H_88_EPOCH","H_89_EPOCH","H_90_EPOCH","H_91_EPOCH","H_92_EPOCH","H_93_EPOCH","H_94_EPOCH","H_95_EPOCH","H_96_EPOCH","H_97_EPOCH","H_98_EPOCH","H_99_EPOCH","H_100_EPOCH","H_101_EPOCH","H_102_EPOCH","H_103_EPOCH","H_104_EPOCH","wolf_mask_epoch","pkin_mask_epoch"
]],[ 2, [ // INDUSTRIAL
"PaintCanBlk",
"PaintCanBrn",
"PaintCanGrn",
"CinderBlocks",
"MortarBucket",
"ItemScraps",
"ItemCorrugated",
"ItemCorrugatedLg",
"PartPlankPack",
"CircuitParts",
"VehicleRepair",
"ItemMixOil",
"emptyjar_epoch",
"jerrycan_epoch",
"Heal_EPOCH",
"Defib_EPOCH",
"Repair_EPOCH",
"PartOre",
"ItemKiloHemp",
"WhiskeyNoodle",
"ItemSodaOrangeSherbet",
"ItemSodaPurple",
"ItemSodaMocha",
"ItemSodaBurst",
"ItemSodaRbull",
"FoodBioMeat",
"FoodMeeps",
"FoodSnooter",
"FoodWalkNSons",
"sardines_epoch",
"meatballs_epoch",
"scam_epoch",
"sweetcorn_epoch",
"honey_epoch",
"FAK",
"Towelette",
"HeatPack",
"ColdPack",
"U_C_WorkerCoveralls",
"U_Test_uniform",
"acc_flashlight",
"acc_pointer_IR",
"optic_Arco",
"optic_Hamr",
"optic_Aco",
"optic_ACO_grn",
"optic_Aco_smg",
"optic_ACO_grn_smg",
"optic_Holosight",
"optic_Holosight_smg",
"optic_SOS",
"optic_MRCO",
"optic_DMS",
"optic_Yorris",
"optic_MRD",
"muzzle_snds_H",
"muzzle_snds_L",
"muzzle_snds_M",
"muzzle_snds_B",
"muzzle_snds_H_MG",
"muzzle_snds_acp"
]],[ 3, [ // RESEARCH
"Heal_EPOCH",
"Defib_EPOCH",
"Repair_EPOCH",
"PartOre",
"ItemKiloHemp",
"WhiskeyNoodle",
"ItemSodaOrangeSherbet",
"ItemSodaPurple",
"ItemSodaMocha",
"ItemSodaBurst",
"ItemSodaRbull",
"FoodBioMeat",
"FoodMeeps",
"FoodSnooter",
"FoodWalkNSons",
"sardines_epoch",
"meatballs_epoch",
"scam_epoch",
"sweetcorn_epoch",
"honey_epoch",
"FAK",
"Towelette",
"HeatPack",
"ColdPack",
"U_C_Scientist",
"U_Test_uniform",
"acc_flashlight",
"acc_pointer_IR",
"optic_Arco",
"optic_Hamr",
"optic_Aco",
"optic_ACO_grn",
"optic_Aco_smg",
"optic_ACO_grn_smg",
"optic_Holosight",
"optic_Holosight_smg",
"optic_SOS",
"optic_MRCO",
"optic_DMS",
"optic_Yorris",
"optic_MRD",
"optic_LRPS",
"optic_NVS",
"optic_Nightstalker",
"optic_tws",
"optic_tws_mg",
"muzzle_snds_H",
"muzzle_snds_L",
"muzzle_snds_M",
"muzzle_snds_B",
"muzzle_snds_H_MG",
"muzzle_snds_acp",
"V_1_EPOCH","V_2_EPOCH","V_3_EPOCH","V_4_EPOCH","V_5_EPOCH","V_6_EPOCH","V_7_EPOCH","V_8_EPOCH","V_9_EPOCH","V_10_EPOCH","V_11_EPOCH","V_12_EPOCH","V_13_EPOCH","V_14_EPOCH","V_15_EPOCH","V_16_EPOCH","V_17_EPOCH","V_18_EPOCH","V_19_EPOCH","V_20_EPOCH","V_21_EPOCH","V_22_EPOCH","V_23_EPOCH","V_24_EPOCH","V_25_EPOCH","V_26_EPOCH","V_27_EPOCH","V_28_EPOCH","V_29_EPOCH","V_30_EPOCH","V_31_EPOCH","V_32_EPOCH","V_33_EPOCH","V_34_EPOCH","V_35_EPOCH","V_36_EPOCH","V_37_EPOCH","V_38_EPOCH","V_39_EPOCH","V_40_EPOCH",
"H_1_EPOCH","H_2_EPOCH","H_3_EPOCH","H_4_EPOCH","H_5_EPOCH","H_6_EPOCH","H_7_EPOCH","H_8_EPOCH","H_9_EPOCH","H_10_EPOCH","H_11_EPOCH","H_12_EPOCH","H_13_EPOCH","H_14_EPOCH","H_15_EPOCH","H_16_EPOCH","H_17_EPOCH","H_18_EPOCH","H_19_EPOCH","H_20_EPOCH","H_21_EPOCH","H_22_EPOCH","H_23_EPOCH","H_24_EPOCH","H_25_EPOCH","H_26_EPOCH","H_27_EPOCH","H_28_EPOCH","H_29_EPOCH","H_30_EPOCH","H_31_EPOCH","H_32_EPOCH","H_33_EPOCH","H_34_EPOCH","H_35_EPOCH","H_36_EPOCH","H_37_EPOCH","H_38_EPOCH","H_39_EPOCH","H_40_EPOCH","H_41_EPOCH","H_42_EPOCH","H_43_EPOCH","H_44_EPOCH","H_45_EPOCH","H_46_EPOCH","H_47_EPOCH","H_48_EPOCH","H_49_EPOCH","H_50_EPOCH","H_51_EPOCH","H_52_EPOCH","H_53_EPOCH","H_54_EPOCH","H_55_EPOCH","H_56_EPOCH","H_57_EPOCH","H_58_EPOCH","H_59_EPOCH","H_60_EPOCH","H_61_EPOCH","H_62_EPOCH","H_63_EPOCH","H_64_EPOCH","H_65_EPOCH","H_66_EPOCH","H_67_EPOCH","H_68_EPOCH","H_69_EPOCH","H_70_EPOCH","H_71_EPOCH","H_72_EPOCH","H_73_EPOCH","H_74_EPOCH","H_75_EPOCH","H_76_EPOCH","H_77_EPOCH","H_78_EPOCH","H_79_EPOCH","H_80_EPOCH","H_81_EPOCH","H_82_EPOCH","H_83_EPOCH","H_84_EPOCH","H_85_EPOCH","H_86_EPOCH","H_87_EPOCH","H_88_EPOCH","H_89_EPOCH","H_90_EPOCH","H_91_EPOCH","H_92_EPOCH","H_93_EPOCH","H_94_EPOCH","H_95_EPOCH","H_96_EPOCH","H_97_EPOCH","H_98_EPOCH","H_99_EPOCH","H_100_EPOCH","H_101_EPOCH","H_102_EPOCH","H_103_EPOCH","H_104_EPOCH","wolf_mask_epoch","pkin_mask_epoch"
]]];
 
//here place backpacks, parachutes and packed drones/stationary
//used with addBackpackCargoGlobal
//"lootBackpack_list" array of [class, [backpacklist]]
// class : 0-civil, 1-military, ... (add more as you wish)
// backpacklist: list of backpack class names
lootBackpack_list = [
[ 0, [ // CIVIL
"B_AssaultPack_cbr",
"B_AssaultPack_dgtl",
"B_AssaultPack_khk",
"B_AssaultPack_mcamo",
"B_AssaultPack_ocamo",
"B_AssaultPack_rgr",
"B_AssaultPack_sgg",
"B_Carryall_cbr",
"B_Carryall_khk",
"B_Carryall_mcamo",
"B_Carryall_ocamo",
"B_Carryall_oli",
"B_Carryall_oucamo",
"B_FieldPack_blk",
"B_FieldPack_cbr",
"B_FieldPack_khk",
"B_FieldPack_ocamo",
"B_FieldPack_oli",
"B_FieldPack_oucamo",
"B_Kitbag_cbr",
"B_Kitbag_mcamo",
"B_Kitbag_rgr",
"B_Kitbag_sgg",
"B_Parachute",
"B_TacticalPack_blk",
"B_TacticalPack_mcamo",
"B_TacticalPack_ocamo",
"B_TacticalPack_oli",
"B_TacticalPack_rgr",
"smallbackpack_red_epoch",
"smallbackpack_green_epoch",
"smallbackpack_teal_epoch",
"smallbackpack_pink_epoch"
]],[ 1, [ // MILITARY
"B_AssaultPack_cbr",
"B_AssaultPack_dgtl",
"B_AssaultPack_khk",
"B_AssaultPack_mcamo",
"B_AssaultPack_ocamo",
"B_AssaultPack_rgr",
"B_AssaultPack_sgg",
"B_Carryall_cbr",
"B_Carryall_khk",
"B_Carryall_mcamo",
"B_Carryall_ocamo",
"B_Carryall_oli",
"B_Carryall_oucamo",
"B_FieldPack_blk",
"B_FieldPack_cbr",
"B_FieldPack_khk",
"B_FieldPack_ocamo",
"B_FieldPack_oli",
"B_FieldPack_oucamo",
"B_Kitbag_cbr",
"B_Kitbag_mcamo",
"B_Kitbag_rgr",
"B_Kitbag_sgg",
"B_Parachute",
"B_TacticalPack_blk",
"B_TacticalPack_mcamo",
"B_TacticalPack_ocamo",
"B_TacticalPack_oli",
"B_TacticalPack_rgr",
"smallbackpack_red_epoch",
"smallbackpack_green_epoch",
"smallbackpack_teal_epoch",
"smallbackpack_pink_epoch"
]],[ 2, [ // INDUSTRIAL
"B_AssaultPack_cbr",
"B_AssaultPack_dgtl",
"B_AssaultPack_khk",
"B_AssaultPack_mcamo",
"B_AssaultPack_ocamo",
"B_AssaultPack_rgr",
"B_AssaultPack_sgg",
"B_Carryall_cbr",
"B_Carryall_khk",
"B_Carryall_mcamo",
"B_Carryall_ocamo",
"B_Carryall_oli",
"B_Carryall_oucamo",
"B_FieldPack_blk",
"B_FieldPack_cbr",
"B_FieldPack_khk",
"B_FieldPack_ocamo",
"B_FieldPack_oli",
"B_FieldPack_oucamo",
"B_Kitbag_cbr",
"B_Kitbag_mcamo",
"B_Kitbag_rgr",
"B_Kitbag_sgg",
"B_Parachute",
"B_TacticalPack_blk",
"B_TacticalPack_mcamo",
"B_TacticalPack_ocamo",
"B_TacticalPack_oli",
"B_TacticalPack_rgr",
"smallbackpack_red_epoch",
"smallbackpack_green_epoch",
"smallbackpack_teal_epoch",
"smallbackpack_pink_epoch"
]],[ 3, [ // RESEARCH
"B_AssaultPack_cbr",
"B_AssaultPack_dgtl",
"B_AssaultPack_khk",
"B_AssaultPack_mcamo",
"B_AssaultPack_ocamo",
"B_AssaultPack_rgr",
"B_AssaultPack_sgg",
"B_Carryall_cbr",
"B_Carryall_khk",
"B_Carryall_mcamo",
"B_Carryall_ocamo",
"B_Carryall_oli",
"B_Carryall_oucamo",
"B_FieldPack_blk",
"B_FieldPack_cbr",
"B_FieldPack_khk",
"B_FieldPack_ocamo",
"B_FieldPack_oli",
"B_FieldPack_oucamo",
"B_Kitbag_cbr",
"B_Kitbag_mcamo",
"B_Kitbag_rgr",
"B_Kitbag_sgg",
"B_Parachute",
"B_TacticalPack_blk",
"B_TacticalPack_mcamo",
"B_TacticalPack_ocamo",
"B_TacticalPack_oli",
"B_TacticalPack_rgr",
"smallbackpack_red_epoch",
"smallbackpack_green_epoch",
"smallbackpack_teal_epoch",
"smallbackpack_pink_epoch"
]]];
 
//here place any other objects(ex.: Land_Basket_F, Box_East_Wps_F, Land_Can_V3_F, ...)
//used with createVehicle directly
//"lootworldObject_list" array of [class, [objectlist]]
// class : 0-civil, 1-military, ... (add more as you wish)
// objectlist : list of worldobject class names
lootworldObject_list = [
[ 0, [ // CIVIL
"Land_Photos_V1_F",
"Land_Photos_V2_F",
"Land_Photos_V3_F",
"Land_Photos_V4_F",
"Land_Photos_V5_F",
"Land_Photos_V6_F"
]],[ 1, [ // MILITARY
"Land_Photos_V1_F",
"Land_Photos_V2_F",
"Land_Photos_V3_F",
"Land_Photos_V4_F",
"Land_Photos_V5_F",
"Land_Photos_V6_F"
]],[ 2, [ // INDUSTRIAL
"Land_Photos_V1_F",
"Land_Photos_V2_F",
"Land_Photos_V3_F",
"Land_Photos_V4_F",
"Land_Photos_V5_F",
"Land_Photos_V6_F"
]],[ 3, [ // RESEARCH
"Land_Photos_V1_F",
"Land_Photos_V2_F",
"Land_Photos_V3_F",
"Land_Photos_V4_F",
"Land_Photos_V5_F",
"Land_Photos_V6_F"

]]];

Link to comment
Share on other sites

you have commas at the end of your respective lists for military, industrial etc: "9rnd_45X88_magazine",` <---- should be: "9rnd_45X88_magazine"

 

Make sure that the last item in each segment has NO comma.

 

Pry

Thank you will get that fixed and see if I can get it working. 

Link to comment
Share on other sites

Hi guys, Been reading this thread alot and it's really helped me out, I had the lootspawner working just fine the past 24 hours so i added @mas to my server then downloaded and upacked my lootspawner.pbo and put the weapons i wanted to spawn in to the appropriate places within LSlootLists.SQF packed it back up and re uploaded it but it seems nothing spawns on the ground now??

 

Any help would be appreciated i can provide any info needed.

 

I have compared the LSlootLists.SQF i had with the one after editing and beside the guns i had replaced for some from the @mas addon it's exactly the same. Or is the problem that i removed some weapons and replaced them, e.g i took out the MK20c i think it's called and replaced it with mk17 from @mas

Link to comment
Share on other sites

Hi guys, Been reading this thread alot and it's really helped me out, I had the lootspawner working just fine the past 24 hours so i added @mas to my server then downloaded and upacked my lootspawner.pbo and put the weapons i wanted to spawn in to the appropriate places within LSlootLists.SQF packed it back up and re uploaded it but it seems nothing spawns on the ground now??

 

Any help would be appreciated i can provide any info needed.

 

I have compared the LSlootLists.SQF i had with the one after editing and beside the guns i had replaced for some from the @mas addon it's exactly the same. Or is the problem that i removed some weapons and replaced them, e.g i took out the MK20c i think it's called and replaced it with mk17 from @mas

 

Show us your RPT file please

Link to comment
Share on other sites

Show us your RPT file please

 

Hi thanks for the reply i have since managed to get it working by just starting fresh i think i may of missed a comma maybe?  My only problem now is the optics/attatchments won't spawn, i have added the classnames from the @mas weapons list and also the standard optics from Epoch but they won't spawn in??   

 

This is how i have it put in at the moment

 

//here place magazines, weaponattachments and bodyitems(ex.: ItemGPS, ItemMap, Medikit, FirstAidKit, Binoculars, ...)

//used with addMagazineCargoGlobal
//"lootMagazine_list" array of [class, [magazinelist]]
// class : 0-civil, 1-military, ... (add more as you wish)
// magazinelist: list of magazine class names
lootMagazine_list = [
[ 0, [ // CIVIL
"16Rnd_9x21_Mag",
"20Rnd_556x45_UW_mag",
"20Rnd_762x51_Mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_9x21_Mag",
"9Rnd_45ACP_Mag",
"acc_flashlight",
"acc_pointer_IR",
"optic_Arco",
"optic_Aco",
"optic_ACO_grn",
"optic_Aco_smg",
"optic_ACO_grn_smg",
"optic_Holosight",
"optic_Holosight_smg",
"optic_SOS",
"optic_MRCO",
"optic_DMS",
"optic_Yorris",
"optic_MRD"
]],[ 1, [ // MILITARY
"100Rnd_65x39_caseless_mag",
"100Rnd_65x39_caseless_mag_Tracer",
"100Rnd_mas_762x51_Stanag",
"100Rnd_mas_762x51_T_Stanag",
"150Rnd_762x51_Box",
"150Rnd_762x51_Box_Tracer",
"16Rnd_9x21_Mag",
"1Rnd_HE_Grenade_shell",
"1Rnd_SmokeBlue_Grenade_shell",
"1Rnd_Smoke_Grenade_shell",
"200Rnd_65x39_cased_Box",
"200Rnd_65x39_cased_Box_Tracer",
"20Rnd_556x45_UW_mag",
"20Rnd_762x51_Mag",
"20Rnd_mas_762x51_Stanag",
"30Rnd_mas_762x39_mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"30Rnd_9x21_Mag",
"3Rnd_HE_Grenade_shell",
"3Rnd_SmokeBlue_Grenade_shell",
"20Rnd_mas_9x39_mag",
"10Rnd_mas_762x54_mag",
"5Rnd_mas_127x108_mag",
"5Rnd_mas_127x108_dem_mag",
"5Rnd_127x108_Mag",
"5Rnd_mas_762x51_Stanag",
"7Rnd_408_Mag",
"9Rnd_45ACP_Mag",
"acc_flashlight",
"optic_Arco",
"optic_SOS",
"optic_MRCO",
"optic_DMS",
"optic_Yorris",
"optic_LRPS",
"optic_NVS",
"optic_Nightstalker",
"optic_tws",
"optic_tws_mg",
"muzzle_snds_H",
"muzzle_snds_L",
"muzzle_snds_M",
"muzzle_snds_B",
"muzzle_snds_H_MG",
"muzzle_snds_acp"
]],[ 2, [ // INDUSTRIAL
"20Rnd_556x45_UW_mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"30Rnd_9x21_Mag",
"acc_flashlight",
"acc_pointer_IR",
"optic_Arco",
"optic_Aco",
"optic_ACO_grn",
"optic_Aco_smg",
"optic_ACO_grn_smg",
"optic_Holosight",
"optic_Holosight_smg",
"optic_MRCO",
"optic_DMS",
"optic_Yorris",
"optic_MRD",
"optic_LRPS"
]],[ 3, [ // RESEARCH
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]]];

 
 
I took the mas optics out but still no joy, Any help would be appreciated.
 
 
Also trying to work out how to put that code in a spoiler box as to not flood the screen but not sure how, EDIT: Thanks PryMary :)
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...