Jump to content

[Release] Lootspawner, configurable building loot system


Suppe

Recommended Posts

Did anyone see this error in server.rpt? It spams the RPT file.

if (({_x == _loot} count exclcontainer_list) > 0) th>
17:21:05   Error position: <_loot} count exclcontainer_list) > 0) th>
17:21:05   Error Undefined variable in expression: _loot
17:21:05 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 146
17:21:05 Error in expression <d", "repairkit", true];
};

I do a lot of tests, but I can´t figured out what this is.  The last thing was, i start a testserver with no changes only add the untouched loot_addon.pbo, and there are the same errors. What can I do?

Link to comment
Share on other sites

  • 2 weeks later...

Can't get this script to work at all. I put the LSpawner.pbo in my Epochhive\addons folder.

 

Found this message in my server log though:

 

"21:18:09 Warning Message: Script LSpawner\init\fn_init.sqf not found"

 

Is the script not calling correctly? How do I fix this?

Link to comment
Share on other sites

@jhk655

 

istall it correct and you get no errors.

 

LSpawner.pbo ? there is no lootspawner.pbo

 

Install:
1.0      Configure the Lootspawner: (or paste your previous settings in it)
1.1     'Lootspawner.sqf' to change the available variables as needed  (ex. spawninterval, chance of loot, categories of loot...)
1.2     'LSlootLists.sqf' to customize the items inside the categories.
1.3     'LSlootBuildings.sqf' to change the lootcategory of a building or add/remove buildings.

2.0    Pack the pbo back together after configure.

3.0    Copy the "loot_addon.pbo" into the folder "@epochhive\addons\"

4.0    If it already exists: Remove the old LSpawner folder and everything from the LSpawner in the init.sqf (in your epoch.mission)

        And ready :-) There is nothing in the init.sqf necessary, the lootaddon starts completely alone.

Link to comment
Share on other sites

@jhk655

 

istall it correct and you get no errors.

 

LSpawner.pbo ? there is no lootspawner.pbo

 

Install:

1.0      Configure the Lootspawner: (or paste your previous settings in it)

1.1     'Lootspawner.sqf' to change the available variables as needed  (ex. spawninterval, chance of loot, categories of loot...)

1.2     'LSlootLists.sqf' to customize the items inside the categories.

1.3     'LSlootBuildings.sqf' to change the lootcategory of a building or add/remove buildings.

2.0    Pack the pbo back together after configure.

3.0    Copy the "loot_addon.pbo" into the folder "@epochhive\addons\"

4.0    If it already exists: Remove the old LSpawner folder and everything from the LSpawner in the init.sqf (in your epoch.mission)

        And ready :-) There is nothing in the init.sqf necessary, the lootaddon starts completely alone.

I had changed the name of the pbo file and the call in the sqf file before.

 

So ok, This time I retried it. I just re-downloaded the pbo. deleted all old Lspawner stuff from my server, and re-uploaded the Loot_addon.pbo (I didn't edit, alter, or otherwise change anything in the Lspawner files) to my @epochhive/addons folder in my server. I get this message in my log:

"14:57:48 Warning Message: Script loot_addon\fn_init.sqf not found"

 

Basically the same thing. This time I just uploaded it fresh from the download, nothing changed in the sqf files. still not working. Why am I the only person who cant get this to work?

 

I have other scripts running fine, including self launching ones like the ATM script (traderATMs.pbo) and the A3EAI script (A3EAI.pbo) . This is the only script I can't get to initialize.

 

I'm not saying this is your fault or anything like that. I'm just about to bash my own head in im getting so frustrated.

Link to comment
Share on other sites

if (({_x == _loot} count exclcontainer_list) > 0) th>

17:21:05 Error position: <_loot} count exclcontainer_list) > 0) th>

17:21:05 Error Undefined variable in expression: _loot

17:21:05 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 146

17:21:05 Error in expression <d", "repairkit", true];

};

How do you enable fixed

Link to comment
Share on other sites

@ aluminium

 

i check this later.... I'll think to revise lootspawner again or a new write....

 

@ toto005

 

you are not the only one with the error, and all of them didnt use my shotlists.... your shotlist create the error.... so last time, please post your shotlist.sqf in a spoiler.

Link to comment
Share on other sites

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


// Author: Na_Palm (BIS forums)
// Bornholm edition by GBR Suppe
//-------------------------------------------------------------------------------------
//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

]],[ 1, [ // MILITARY
//Markmans DLC Machine
"MMG_01_hex_F",
"MMG_01_tan_F",
"MMG_02_camo_F",
"MMG_02_black_F",
"MMG_02_sand_F",
//Marksman DLC sniper rifles
"srifle_DMR_02_F",
"srifle_DMR_02_camo_F",
"srifle_DMR_02_sniper_F",
"srifle_DMR_03_F",
"srifle_DMR_03_khaki_F",
"srifle_DMR_03_tan_F",
"srifle_DMR_03_multicam_F",
"srifle_DMR_03_woodland_F",
"srifle_DMR_03_spotter_F",
"srifle_DMR_04_Tan_F",
"srifle_DMR_05_blk_F",
"srifle_DMR_05_hex_F",
"srifle_DMR_05_tan_f",
"srifle_DMR_06_camo_F",
"srifle_DMR_06_olive_F",
//marksman DLC End
"arifle_Katiba_C_F",
"arifle_Katiba_F",
"arifle_Katiba_GL_F",
"arifle_Mk20C_F",
"arifle_Mk20_F",
"arifle_Mk20_GL_F",
"arifle_MXC_F",
//MAS Addon Sniper
"srifle_mas_m107",
"srifle_mas_svd",
"srifle_mas_ksvk",
"srifle_mas_vss",
//MAS Addon Rifles
"arifle_mas_m4",
"arifle_mas_m4_gl",
"arifle_mas_mk17_gl",
"arifle_mas_g3",
"arifle_mas_m14",
"srifle_mas_hk417",
"hgun_mas_mp7_F",
"arifle_mas_ak_74m",
"arifle_mas_ak_74m_gl",
//MAS Addon Maschinegun
"LMG_mas_Mk48_F",
"LMG_mas_rpk_F",
//MAS Addon Weapons End
"arifle_MXM_F",
"arifle_MX_F",
"arifle_MX_GL_F",
"arifle_MX_SW_F",
"arifle_SDAR_F",
"arifle_TRG20_F",
"arifle_TRG21_F",
"arifle_TRG21_GL_F",
"hgun_ACPC2_snds_F",
"hgun_P07_snds_F",
"hgun_PDW2000_F",
"hgun_Rook40_snds_F",
"LMG_Mk200_F",
"LMG_Zafir_F",
"srifle_EBR_F",
"srifle_GM6_F",
"srifle_LRR_F",
// Marksman DLC sniper rifles
"srifle_DMR_02_F",
"srifle_DMR_02_camo_F",
"srifle_DMR_02_sniper_F",
"srifle_DMR_03_F",
"srifle_DMR_03_khaki_F",
"srifle_DMR_03_tan_F",
"srifle_DMR_03_multicam_F",
"srifle_DMR_03_woodland_F",
"srifle_DMR_03_spotter_F",
"srifle_DMR_04_Tan_F",
"srifle_DMR_05_blk_F",
"srifle_DMR_05_hex_F",
"srifle_DMR_05_tan_f",
"srifle_DMR_06_camo_F",
"srifle_DMR_06_olive_F",
//marksman DLC End
"arifle_Katiba_C_F",
"arifle_Mk20C_F",
"arifle_Mk20_F",
"arifle_MXC_F",
"arifle_SDAR_F",
"arifle_TRG20_F",
"arifle_TRG21_F",
// MAS Sniper
"srifle_mas_m107",
"srifle_mas_svd",
"srifle_mas_ksvk",
"srifle_mas_vss"
// MAS Sniper End
]],[ 2, [ // Industrial

]],[ 3, [ // RESEARCH

]]];

//-------------------------------------------------------------------------------------
//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

]],[ 1, [ // MILITARY
//Marksman DLC Ammo
"10Rnd_338_Mag",
"10Rnd_127x54_Mag",
"150Rnd_93x64_Mag",
"10Rnd_93x64_DMR_05_Mag",
//Marksman DLC End
"100Rnd_65x39_caseless_mag",
"100Rnd_65x39_caseless_mag_Tracer",
"150Rnd_762x51_Box",
"150Rnd_762x51_Box_Tracer",
"16Rnd_9x21_Mag",
"200Rnd_65x39_cased_Box",
"200Rnd_65x39_cased_Box_Tracer",
"20Rnd_556x45_UW_mag",
"20Rnd_762x51_Mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"30Rnd_9x21_Mag",
"5Rnd_127x108_Mag",
// MAS MAGZ
"20Rnd_mas_762x51_Stanag",
"5Rnd_mas_127x99_Stanag",
"40Rnd_mas_46x30_Mag",
"100Rnd_mas_762x51_Stanag",
"30Rnd_mas_545x39_mag",
"1Rnd_HE_Grenade_shell",
"1Rnd_Smoke_Grenade_shell",
"100Rnd_mas_545x39_mag",
"5Rnd_mas_127x108_mag",
"20Rnd_mas_9x39_mag",
"10Rnd_mas_762x54_mag",
// MAS MAGZ END
"7Rnd_408_Mag",
"9Rnd_45ACP_Mag",
// MAS Addon Ammo
// MAS Addon Ammo End
//Marksman DLC
"10Rnd_338_Mag",
"10Rnd_127x54_Mag",
"150Rnd_93x64_Mag",
"10Rnd_93x64_DMR_05_Mag",
//Marksman DLC End
"20Rnd_556x45_UW_mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"ItemCorrugated",
"EnergyPack",
"CinderBlocks",
"MortarBucket",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"30Rnd_9x21_Mag"
]],[ 2, [ // INDUSTRIAL

]],[ 3, [ // RESEARCH
//
]]];

//-------------------------------------------------------------------------------------
//here place hats, glasses, clothes, uniforms, vests
//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
"FoodBioMeat",
"FoodMeeps",
"FoodSnooter",
"FoodWalkNSons",
"sardines_epoch",
"meatballs_epoch",
"scam_epoch",
"sweetcorn_epoch",
"honey_epoch",
"ItemSeaBass",
"WhiskeyNoodle",
"ItemSodaOrangeSherbet",
"ItemSodaPurple",
"ItemSodaMocha",
"ItemSodaBurst",
"ItemSodaRbull",
"Pelt_EPOCH",
"jerrycan_epoch",
"FAK",
"Binocular",
"EpochRadio0",
"EpochRadio0",
"U_C_Poor_1"
]],[ 1, [ // MILITARY
"CircuitParts",
"ItemScraps",
"ItemGPS",
"Rangefinder",
"optic_SOS",
"ItemCompass",
"VehicleRepair",
"FAK"
]],[ 2, [ // INDUSTRIAL
"CinderBlocks",
"ItemCorrugated",
"MortarBucket"
]],[ 3, [ // RESEARCH
]]];

//-------------------------------------------------------------------------------------
//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"
]],[ 1, [ // MILITARY
"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"
]],[ 2, [ // INDUSTRIAL
"B_Kitbag_cbr",
"B_Kitbag_mcamo",
"B_Kitbag_rgr",
"B_Kitbag_sgg",
"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
]]];


//-------------------------------------------------------------------------------------
//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

]],[ 1, [ // MILITARY

]],[ 2, [ // INDUSTRIAL

]],[ 3, [ // RESEARCH

]]];



Link to comment
Share on other sites

  • 2 weeks later...

From where do this get it's loot position. I just wonder because I have notice that some buildings don't preduce any loot. On bornholm it's the old buildings from arma2, from the Panthera map example. And I wonder if it because they are namned little bit different. For example one building is named Land_bo_Sara_domek_sedy, but in arma2 it's namned just Land_Sara_domek_sedy. I have notice that you can add buildings in the LSlootBuildings.sqf. So what will happend if I add a building there and that building dosen't have any loot position? Can I add those somewhere? As for this building it's this.

	lootPos[] = {
		{-1.76367,-1.11328,-2.14196},
		{-5.0127,3.01953,-2.14196},
		{5.41211,2.625,-2.14196},
		{4.86035,-0.738281,-2.14196}};

I have all of this buildings loot position and I just wonder if I can add the somewhere?

 

Edit: Just found the LSlootBuildings.sqf for bornholm. Going to add it. But still wonder where it gets the loot position.

Link to comment
Share on other sites

Thanks for your Script

_lootholder addItemCargoGlobal [_loot, 1];
_lootholder setdir (random 36>
 0:50:49   Error position: <_loot, 1];
_lootholder setdir (random 36>
 0:50:49   Error Undefined variable in expression: _loot
 0:50:49 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 104
 0:50:49 Error in expression <m);
_lootholder addBackpackCargoGlobal [_loot, 1];
_lootholder setdir (random 36>
 0:50:49   Error position: <_loot, 1];
_lootholder setdir (random 36>
 0:50:49   Error Undefined variable in expression: _loot
 0:50:49 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 113
 0:50:50 Error in expression <m);
_lootholder addBackpackCargoGlobal [_loot, 1];
_lootholder setdir (random 36>
 0:50:50   Error position: <_loot, 1];
_lootholder setdir (random 36>
 0:50:50   Error Undefined variable in expression: _loot
 0:50:50 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 113
 0:50:50 Error in expression <ditem);
_lootholder addItemCargoGlobal [_loot, 1];
_lootholder setdir (random 36>
 0:50:50   Error position: <_loot, 1];
_lootholder setdir (random 36>
 0:50:50   Error Undefined variable in expression: _loot
 0:50:50 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 104
 0:50:50 Error in expression <ditem);
_lootholder addItemCargoGlobal [_loot, 1];
_lootholder setdir (random 36>
 0:50:50   Error position: <_loot, 1];
_lootholder setdir (random 36>
 0:50:50   Error Undefined variable in expression: _loot
 0:50:50 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 104
 0:50:50 Error in expression <ditem);
_lootholder addItemCargoGlobal [_loot, 1];
_lootholder setdir (random 36>
 0:50:50   Error position: <_loot, 1];
_lootholder setdir (random 36>
 0:50:50   Error Undefined variable in expression: _loot
 0:50:50 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 104

But, what is that? It Crashs the Server.

Link to comment
Share on other sites

post your LSlootLists.sqf, but please in a spoiler....

 

99 % of the errors are came from a bad bad bad LSlootLists.sqf.... just look in the examples and add item by item, and watch add the commas !!!!!

 

but post your masterpice LSlootLists.sqf.

Link to comment
Share on other sites

//

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
"arifle_MK20C_F",
"arifle_MK20_F",
"arifle_TRG20_F",
"arifle_TRG21_F",
"Binocular", //counts as weapon
"hgun_ACPC2_F",
"hgun_P07_F",
"hgun_PDW2000_F",
"hgun_Rook40_F",
"SMG_01_F",
"SMG_02_F",
"srifle_EBR_F"
]],[ 1, [ // MILITARY
"arifle_Katiba_C_F",
"arifle_Katiba_F",
"arifle_Katiba_GL_F",
"arifle_Mk20C_F",
"arifle_Mk20_F",
"arifle_Mk20_GL_F",
"arifle_MXC_F",
"arifle_MXM_F",
"arifle_MX_F",
"arifle_MX_GL_F",
"arifle_MX_SW_F",
"arifle_SDAR_F",
"arifle_TRG20_F",
"arifle_TRG21_F",
"arifle_TRG21_GL_F",
"Binocular",
"hgun_ACPC2_snds_F",
"hgun_P07_snds_F",
"hgun_PDW2000_F",
"hgun_Rook40_snds_F",
"LMG_Mk200_F",
"LMG_Zafir_F",
"Rangefinder",
"SMG_01_F",
"SMG_02_F",
"srifle_EBR_F",
"srifle_GM6_F",
"srifle_LRR_F"
]],[ 2, [
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]],[ 3, [ // RESEARCH
]]];
 
//-------------------------------------------------------------------------------------
//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"
]],[ 1, [ // MILITARY
"100Rnd_65x39_caseless_mag",
"100Rnd_65x39_caseless_mag_Tracer",
"150Rnd_762x51_Box",
"150Rnd_762x51_Box_Tracer",
"16Rnd_9x21_Mag",
"1Rnd_HE_Grenade_shell",
"1Rnd_SmokeBlue_Grenade_shell",
"1Rnd_SmokeGreen_Grenade_shell",
"1Rnd_SmokeOrange_Grenade_shell",
"1Rnd_SmokePurple_Grenade_shell",
"1Rnd_SmokeRed_Grenade_shell",
"1Rnd_SmokeYellow_Grenade_shell",
"1Rnd_Smoke_Grenade_shell",
"200Rnd_65x39_cased_Box",
"200Rnd_65x39_cased_Box_Tracer",
"20Rnd_556x45_UW_mag",
"20Rnd_762x51_Mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"30Rnd_9x21_Mag",
"3Rnd_HE_Grenade_shell",
"3Rnd_SmokeBlue_Grenade_shell",
"3Rnd_SmokeGreen_Grenade_shell",
"3Rnd_SmokeOrange_Grenade_shell",
"3Rnd_SmokePurple_Grenade_shell",
"3Rnd_SmokeRed_Grenade_shell",
"3Rnd_SmokeYellow_Grenade_shell",
"3Rnd_Smoke_Grenade_shell",
"5Rnd_127x108_Mag",
"7Rnd_408_Mag",
"9Rnd_45ACP_Mag"
]],[ 2, [ // INDUSTRIAL
"20Rnd_556x45_UW_mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"30Rnd_9x21_Mag"
]],[ 3, [ // RESEARCH
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]]];
 
//-------------------------------------------------------------------------------------
//here place hats, glasses, clothes, uniforms, vests
//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
//"classname" //<----Make sure last line has NO COMMA AT THE END
]],[ 1, [ // MILITARY
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]],[ 2, [ // INDUSTRIAL
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]],[ 3, [ // RESEARCH
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]]];
 
//-------------------------------------------------------------------------------------
//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
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]],[ 1, [ // MILITARY
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]],[ 2, [ // INDUSTRIAL
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]],[ 3, [ // RESEARCH
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]]];
 
//-------------------------------------------------------------------------------------
//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
"Bed_EPOCH",
"Couch_EPOCH",
"ChairRed_EPOCH",
"Chair_EPOCH",
"cooker_epoch"
]],[ 1, [ // MILITARY
"Table_EPOCH",
"Bunk_EPOCH",
"Shoebox_EPOCH",
"wardrobe_epoch",
"locker_epoch"
]],[ 2, [ // INDUSTRIAL
"Filing_EPOCH",
"Tarp_EPOCH",
"Shelf_EPOCH"
]],[ 3, [ // RESEARCH
]]];
 

English:
 
I have merged the example for more Epoch furniture and the standard lootspawn.
Thanks for help
 
German:
Ich hab eigentlich nur aus der Beispiel-Datei von "LSLootLists with more Epoch furniture" den unteren Teil hinzugefügt.
Danke für deine Hilfe - hast Du vielleicht eine gute Spawn-Liste - würde schon gerne mehr spawnen lassen, also mehr Epoch-Ganitur. 
Link to comment
Share on other sites

I've no idea anymore.

 

The Lootspawner is working, but i get the same errors like other users:

 

f (({_x == _loot} count exclcontainer_list) > 0) th>


9:57:37 Error position: <_loot} count exclcontainer_list) > 0) th>
9:57:37 Error Undefined variable in expression: _loot
9:57:37 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 146
9:57:37 Error in expression <"repairkit", true];

 

So i changed the entry repairkit to VehicleRepair:

if(_loot == "Land_Suitcase_F") then {
	_lootholder setVariable["mf_item_id", "VehicleRepair", true];
};

In LSlootlist.sqf is an entry "VehicleRepair"

OK, it's a long list, because of @mas

 

//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
"arifle_MK20C_F",
"arifle_MK20_F",
"arifle_TRG20_F",
"arifle_TRG21_F",
"Binocular", //counts as weapon
"hgun_ACPC2_F",
"hgun_P07_F",
"hgun_PDW2000_F",
"hgun_Rook40_F",
"SMG_01_F",
"SMG_02_F",
"srifle_EBR_F"
]],[ 1, [ // MILITARY
"arifle_Katiba_C_F",
"arifle_Katiba_F",
"arifle_Katiba_GL_F",
"arifle_Mk20C_F",
"arifle_Mk20_F",
"arifle_Mk20_GL_F",
"arifle_MXC_F",
"arifle_MXM_F",
"arifle_MX_F",
"arifle_MX_GL_F",
"arifle_MX_SW_F",
"arifle_SDAR_F",
"arifle_TRG20_F",
"arifle_TRG21_F",
"arifle_TRG21_GL_F",
"Binocular",
"hgun_ACPC2_snds_F",
"hgun_P07_snds_F",
"hgun_PDW2000_F",
"hgun_Rook40_snds_F",
"LMG_Mk200_F",
"LMG_Zafir_F",
"Rangefinder",
"SMG_01_F",
"SMG_02_F",
"srifle_EBR_F",
"srifle_GM6_F",
"srifle_LRR_F",
//MAS
"arifle_mas_hk416",
"arifle_mas_hk416_gl",
"arifle_mas_hk416_m203",
"arifle_mas_hk416_v",
"arifle_mas_hk416_gl_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_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_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_mk16",
"arifle_mas_mk16_gl",
"arifle_mas_mk16_l",
"arifle_mas_mk16_l_gl",
"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",
"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_m24",
"srifle_mas_m24_v",
"srifle_mas_m24_d",
"arifle_mas_mp5",
"arifle_mas_mp5_v",
"arifle_mas_mp5_d",
"arifle_mas_mp5sd",
"LMG_mas_Mk200_F",
"LMG_mas_M249_F",
"LMG_mas_M249_F_v",
"LMG_mas_M249_F_d",
"LMG_mas_M249a_F",
"LMG_mas_Mk48_F",
"LMG_mas_Mk48_F_v",
"LMG_mas_Mk48_F_d",
"LMG_mas_M240_F",
"LMG_mas_mg3_F",
"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_ak_74m_sf",
"arifle_mas_ak_74m_sf_gl",
"arifle_mas_ak_74m_sf_c",
"arifle_mas_ak_74m_sf_gl_c",
"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_bizon",
"arifle_mas_saiga",
"arifle_mas_m70",
"arifle_mas_m70_gl",
"arifle_mas_m70ab",
"arifle_mas_m70ab_gl",
"srifle_mas_m91",
"srifle_mas_m91_l",
"LMG_mas_m72_F",
"srifle_mas_svd",
"srifle_mas_svd_l",
"srifle_mas_ksvk",
"srifle_mas_ksvk_c",
"arifle_mas_aks74u",
"arifle_mas_aks74u_c",
"LMG_mas_rpk_F",
"LMG_mas_pkm_F",
"hgun_mas_uzi_F",
"hgun_mas_sa61_F",
"hgun_mas_mak_F",
"hgun_mas_m9_F",
"hgun_mas_bhp_F",
"hgun_mas_glock_F",
"hgun_mas_acp_F",
"hgun_mas_usp_F",
"hgun_mas_usp_l_F",
"hgun_mas_glocksf_F",
"hgun_mas_grach_F",
"srifle_mas_m107",
"srifle_mas_m107_v",
"srifle_mas_m107_d",
// MAS 1.5
"srifle_mas_lrr",
"arifle_mas_g36c",
"LMG_mas_M60_F",
"srifle_mas_vss",
"arifle_mas_asval",
"hgun_mas_mp7_F",
"arifle_mas_m14",
"arifle_mas_l119c",
"arifle_mas_l119c_v",
"arifle_mas_l119c_d"
]],[ 2, [
//"clasname" //<----Make sure last line has NO COMMA AT THE END
]],[ 3, [ // RESEARCH
]]];

//-------------------------------------------------------------------------------------
//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
//MAGS
"16Rnd_9x21_Mag",
"20Rnd_556x45_UW_mag",
"20Rnd_762x51_Mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_9x21_Mag",
"9Rnd_45ACP_Mag",
"30Rnd_mas_556x45_Stanag",
"30Rnd_mas_556x45_T_Stanag",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"20Rnd_mas_762x51_Stanag",
"20Rnd_mas_762x51_T_Stanag",
"30Rnd_mas_9x21_Stanag",
"30Rnd_mas_9x21d_Stanag",
"200Rnd_mas_556x45_Stanag",
"200Rnd_mas_556x45_T_Stanag",
"100Rnd_mas_762x51_Stanag",
"100Rnd_mas_762x51_T_Stanag",
"150Rnd_762x51_Box",
"150Rnd_762x51_Box_Tracer",
"30Rnd_mas_545x39_mag",
"30Rnd_mas_545x39_T_mag",
"64Rnd_mas_9x18_mag",
"10Rnd_mas_12Gauge_Slug",
"10Rnd_mas_12Gauge_Pellets",
"10Rnd_mas_762x54_mag",
"10Rnd_mas_762x54_T_mag",
"30Rnd_mas_762x39_mag",
"30Rnd_mas_762x39_T_mag",
"100Rnd_mas_762x39_mag",
"100Rnd_mas_762x39_T_mag",
"5Rnd_mas_127x108_mag",
"5Rnd_mas_127x108_T_mag",
"5Rnd_127x108_Mag",
"30Rnd_mas_545x39_mag",
"30Rnd_mas_545x39_T_mag",
"100Rnd_mas_545x39_mag",
"100Rnd_mas_545x39_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",
"13Rnd_mas_9x21_Mag",
"8Rnd_mas_9x18_Mag",
"5Rnd_mas_762x51_Stanag",
"5Rnd_mas_762x51_T_Stanag",

//MAGS 1.5
"30Rnd_mas_9x39_mag",
"20Rnd_mas_9x39_mag",
"40Rnd_mas_46x30_Mag",

//CHEMLIGHT/FLARES
"Chemlight_blue",
"Chemlight_green",
"Chemlight_red",
"Chemlight_yellow",

//EXPLOSIVE DEVICES
"HandGrenade",
"HandGrenade_Stone",
"ClaymoreDirectionalMine_Remote_Mag",
"SatchelCharge_Remote_Mag",
"DemoCharge_Remote_Mag",
"APERSBoundingMine_Range_Mag",
"APERSMine_Range_Mag",
"APERSTripMine_Wire_Mag",
"SLAMDirectionalMine_Wire_Mag",
"ATMine_Range_Mag",

//FOOD
"FoodSnooter",
"FoodWalkNSons",
"FoodBioMeat",
"ItemSodaOrangeSherbet",
"ItemSodaPurple",
"ItemSodaMocha",
"ItemSodaBurst",
"ItemSodaRbull",
"honey_epoch",
"emptyjar_epoch",
"sardines_epoch",
"meatballs_epoch",
"scam_epoch",
"sweetcorn_epoch",
"WhiskeyNoodle",

//ITEMS
"MortarBucket",
"ItemCorrugated",
"CinderBlocks",
"jerrycan_epoch",
"VehicleRepair",
"JackKit",
"CircuitParts",
//"ItemLockbox",
"ItemCoolerE",
"ItemScraps" ]],

//END LOOTMAGAZINE CIVIL

//------------------------------------------------------------------------------------------

//START LOOTMAGAZINE MILITARY

[ 1, [ // MILITARY

//MAGS
"10Rnd_mas_338_Stanag",
"10Rnd_mas_338_T_Stanag",
"100Rnd_65x39_caseless_mag",
"100Rnd_65x39_caseless_mag_Tracer",
"150Rnd_762x51_Box",
"150Rnd_762x51_Box_Tracer",
"16Rnd_9x21_Mag",
"1Rnd_HE_Grenade_shell",
"1Rnd_SmokeBlue_Grenade_shell",
"1Rnd_SmokeGreen_Grenade_shell",
"1Rnd_SmokeOrange_Grenade_shell",
"1Rnd_SmokePurple_Grenade_shell",
"1Rnd_SmokeRed_Grenade_shell",
"1Rnd_SmokeYellow_Grenade_shell",
"1Rnd_Smoke_Grenade_shell",
"200Rnd_65x39_cased_Box",
"200Rnd_65x39_cased_Box_Tracer",
"20Rnd_556x45_UW_mag",
"20Rnd_762x51_Mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"30Rnd_9x21_Mag",
"3Rnd_HE_Grenade_shell",
"3Rnd_SmokeBlue_Grenade_shell",
"3Rnd_SmokeGreen_Grenade_shell",
"3Rnd_SmokeOrange_Grenade_shell",
"3Rnd_SmokePurple_Grenade_shell",
"3Rnd_SmokeRed_Grenade_shell",
"3Rnd_SmokeYellow_Grenade_shell",
"3Rnd_Smoke_Grenade_shell",
"5Rnd_127x108_Mag",
"7Rnd_408_Mag",
"9Rnd_45ACP_Mag",
"30Rnd_mas_556x45_Stanag",
"30Rnd_mas_556x45_T_Stanag",
"30Rnd_556x45_Stanag",
"20Rnd_mas_762x51_Stanag",
"20Rnd_mas_762x51_T_Stanag",
"30Rnd_mas_9x21_Stanag",
"30Rnd_mas_9x21d_Stanag",
"200Rnd_mas_556x45_Stanag",
"200Rnd_mas_556x45_T_Stanag",
"100Rnd_mas_762x51_Stanag",
"100Rnd_mas_762x51_T_Stanag",
"150Rnd_762x51_Box",
"30Rnd_mas_545x39_mag",
"30Rnd_mas_545x39_T_mag",
"64Rnd_mas_9x18_mag",
"10Rnd_mas_12Gauge_Slug",
"10Rnd_mas_12Gauge_Pellets",
"10Rnd_mas_762x54_mag",
"10Rnd_mas_762x54_T_mag",
"30Rnd_mas_762x39_mag",
"30Rnd_mas_762x39_T_mag",
"100Rnd_mas_762x39_mag",
"100Rnd_mas_762x39_T_mag",
"5Rnd_mas_127x108_mag",
"5Rnd_mas_127x108_T_mag",
"30Rnd_mas_545x39_T_mag",
"100Rnd_mas_545x39_mag",
"100Rnd_mas_545x39_T_mag",
"100Rnd_mas_762x54_mag",
"100Rnd_mas_762x54_T_mag",
"25Rnd_mas_9x19_Mag",
"17Rnd_mas_9x21_Mag",
"16Rnd_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",
"13Rnd_mas_9x21_Mag",
"8Rnd_mas_9x18_Mag",

//MAGS 1.5
"30Rnd_mas_9x39_mag",
"20Rnd_mas_9x39_mag",
"40Rnd_mas_46x30_Mag",

//CHEMLIGHT/FLARES
"Chemlight_blue",
"Chemlight_green",
"Chemlight_red",
"Chemlight_yellow",

//EXPLOSIVE DEVICES
"HandGrenade",
"HandGrenade_Stone",
"ClaymoreDirectionalMine_Remote_Mag",
"SatchelCharge_Remote_Mag",
"DemoCharge_Remote_Mag",
"APERSBoundingMine_Range_Mag",
"APERSMine_Range_Mag",
"APERSTripMine_Wire_Mag",
"SLAMDirectionalMine_Wire_Mag",
"ATMine_Range_Mag",

//FOOD
"FoodSnooter",
"FoodWalkNSons",
"FoodBioMeat",
"ItemSodaOrangeSherbet",
"ItemSodaPurple",
"ItemSodaMocha",
"ItemSodaBurst",
"ItemSodaRbull",
"honey_epoch",
"emptyjar_epoch",
"sardines_epoch",
"meatballs_epoch",
"scam_epoch",
"sweetcorn_epoch",
"WhiskeyNoodle",

//ITEMS
"MortarBucket",
"ItemCorrugated",
"CinderBlocks",
"jerrycan_epoch",
"VehicleRepair",
"JackKit",
"CircuitParts",
"ItemLockbox",
"ItemCoolerE",
"ItemScraps" ]],

//END LOOTMAGAZINE MILITARY

//------------------------------------------------------------------------------------------


[ 2, [ // INDUSTRIAL
//MAGS
"20Rnd_556x45_UW_mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"30Rnd_65x39_caseless_green",
"30Rnd_65x39_caseless_green_mag_Tracer",
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"30Rnd_9x21_Mag",
"30Rnd_mas_556x45_Stanag",
"30Rnd_mas_556x45_T_Stanag",
"20Rnd_556x45_UW_mag",
"20Rnd_mas_762x51_Stanag",
"20Rnd_mas_762x51_T_Stanag",
"20Rnd_762x51_Mag",
"30Rnd_mas_556x45_Stanag",
"30Rnd_mas_556x45_T_Stanag",
"30Rnd_mas_9x21_Stanag",
"30Rnd_mas_9x21d_Stanag",
"30Rnd_9x21_Mag",
"200Rnd_mas_556x45_Stanag",
"200Rnd_mas_556x45_T_Stanag",
"30Rnd_mas_556x45_Stanag",
"30Rnd_mas_556x45_T_Stanag",
"100Rnd_mas_762x51_Stanag",
"100Rnd_mas_762x51_T_Stanag",
"150Rnd_762x51_Box",
"150Rnd_762x51_Box_Tracer",
"30Rnd_mas_545x39_mag",
"30Rnd_mas_545x39_T_mag",
"64Rnd_mas_9x18_mag",
"10Rnd_mas_12Gauge_Slug",
"10Rnd_mas_12Gauge_Pellets",
"10Rnd_mas_762x54_mag",
"10Rnd_mas_762x54_T_mag",
"30Rnd_mas_762x39_mag",
"30Rnd_mas_762x39_T_mag",
"100Rnd_mas_762x39_mag",
"100Rnd_mas_762x39_T_mag",
"10Rnd_mas_762x54_mag",
"10Rnd_mas_762x54_T_mag",
"5Rnd_mas_127x108_mag",
"5Rnd_mas_127x108_T_mag",
"5Rnd_127x108_Mag",
"30Rnd_mas_545x39_mag",
"30Rnd_mas_545x39_T_mag",
"100Rnd_mas_545x39_mag",
"100Rnd_mas_545x39_T_mag",
"100Rnd_mas_762x54_mag",
"100Rnd_mas_762x54_T_mag",
"25Rnd_mas_9x19_Mag",
"17Rnd_mas_9x21_Mag",
"16Rnd_9x21_Mag",
"15Rnd_mas_9x21_Mag",
"13Rnd_mas_9x21_Mag",
"20Rnd_mas_765x17_Mag",
"17Rnd_mas_9x21_Mag",
"16Rnd_9x21_Mag",
"15Rnd_mas_9x21_Mag",
"13Rnd_mas_9x21_Mag",
"12Rnd_mas_45acp_Mag",
"10Rnd_mas_45acp_Mag",
"8Rnd_mas_45acp_Mag",
"17Rnd_mas_9x21_Mag",
"16Rnd_9x21_Mag",
"15Rnd_mas_9x21_Mag",
"13Rnd_mas_9x21_Mag",
"8Rnd_mas_9x18_Mag",

//CHEMLIGHT/FLARES
"Chemlight_blue",
"Chemlight_green",
"Chemlight_red",
"Chemlight_yellow",

//FOOD
"FoodSnooter",
"FoodWalkNSons",
"FoodBioMeat",
"ItemSodaOrangeSherbet",
"ItemSodaPurple",
"ItemSodaMocha",
"ItemSodaBurst",
"ItemSodaRbull",
"honey_epoch",
"emptyjar_epoch",
"sardines_epoch",
"meatballs_epoch",
"scam_epoch",
"sweetcorn_epoch",
"WhiskeyNoodle",

//ITEMS
"MortarBucket",
"ItemCorrugated",
"CinderBlocks",
"jerrycan_epoch",
"VehicleRepair",
"JackKit",
"CircuitParts",
"ItemLockbox",
"ItemCoolerE",
"ItemScraps" ]],

//END LOOTMAGAZINE INDUSTRIAL

//------------------------------------------------------------------------------------------

//START LOOTMAGAZINE RESEARCH

[ 3, [ // RESEARCH

//MAGS
"5Rnd_127x108_Mag",
"7Rnd_408_Mag",
"30Rnd_mas_556x45_Stanag",
"30Rnd_mas_556x45_T_Stanag",
"30Rnd_556x45_Stanag",
"30Rnd_556x45_Stanag_Tracer_Red",
"30Rnd_556x45_Stanag_Tracer_Green",
"30Rnd_556x45_Stanag_Tracer_Yellow",
"20Rnd_556x45_UW_mag",
"20Rnd_mas_762x51_Stanag",
"20Rnd_mas_762x51_T_Stanag",
"20Rnd_762x51_Mag",
"30Rnd_mas_556x45_Stanag",
"30Rnd_mas_556x45_T_Stanag",
"20Rnd_556x45_UW_mag",
"30Rnd_mas_9x21_Stanag",
"30Rnd_mas_9x21d_Stanag",
"30Rnd_9x21_Mag",
"200Rnd_mas_556x45_Stanag",
"200Rnd_mas_556x45_T_Stanag",
"30Rnd_mas_556x45_Stanag",
"30Rnd_mas_556x45_T_Stanag",
"20Rnd_556x45_UW_mag",
"100Rnd_mas_762x51_Stanag",
"100Rnd_mas_762x51_T_Stanag",
"150Rnd_762x51_Box",
"150Rnd_762x51_Box_Tracer",
"30Rnd_mas_545x39_mag",
"30Rnd_mas_545x39_T_mag",
"64Rnd_mas_9x18_mag",
"10Rnd_mas_12Gauge_Slug",
"10Rnd_mas_12Gauge_Pellets",
"10Rnd_mas_762x54_mag",
"10Rnd_mas_762x54_T_mag",
"30Rnd_mas_762x39_mag",
"30Rnd_mas_762x39_T_mag",
"100Rnd_mas_762x39_mag",
"100Rnd_mas_762x39_T_mag",
"10Rnd_mas_762x54_mag",
"10Rnd_mas_762x54_T_mag",
"5Rnd_mas_127x108_mag",
"5Rnd_mas_127x108_T_mag",
"5Rnd_127x108_Mag",
"30Rnd_mas_545x39_mag",
"30Rnd_mas_545x39_T_mag",
"100Rnd_mas_545x39_mag",
"100Rnd_mas_545x39_T_mag",
"100Rnd_mas_762x54_mag",
"100Rnd_mas_762x54_T_mag",
"25Rnd_mas_9x19_Mag",
"17Rnd_mas_9x21_Mag",
"16Rnd_9x21_Mag",
"15Rnd_mas_9x21_Mag",
"13Rnd_mas_9x21_Mag",
"20Rnd_mas_765x17_Mag",
"17Rnd_mas_9x21_Mag",
"16Rnd_9x21_Mag",
"15Rnd_mas_9x21_Mag",
"13Rnd_mas_9x21_Mag",
"12Rnd_mas_45acp_Mag",
"10Rnd_mas_45acp_Mag",
"8Rnd_mas_45acp_Mag",
"17Rnd_mas_9x21_Mag",
"16Rnd_9x21_Mag",
"15Rnd_mas_9x21_Mag",
"13Rnd_mas_9x21_Mag",
"8Rnd_mas_9x18_Mag",

//FOOD
"FoodSnooter",
"FoodWalkNSons",
"FoodBioMeat",
"ItemSodaOrangeSherbet",
"ItemSodaPurple",
"ItemSodaMocha",
"ItemSodaBurst",
"ItemSodaRbull",
"honey_epoch",
"emptyjar_epoch",
"sardines_epoch",
"meatballs_epoch",
"scam_epoch",
"sweetcorn_epoch",
"WhiskeyNoodle",

//ITEMS
"MortarBucket",
"ItemCorrugated",
"CinderBlocks",
"jerrycan_epoch",
"VehicleRepair",
"JackKit",
"CircuitParts",
"ItemLockbox",
"ItemCoolerE",
"ItemScraps" ]]];

//END LOOTMAGAZINE RESEARCH

////////////////////////////////
// END OF LOOTMAGAZINE LIST //
////////////////////////////////


//-------------------------------------------------------------------------------------
//here place hats, glasses, clothes, uniforms, vests
//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
"acc_flashlight",
"FAK",
"H_Bandanna_gry",
"H_Beret_red",
"H_Booniehat_dirty",
"H_Cap_blu",
"H_Cap_grn",
"H_Cap_red",
"H_Hat_brown",
"H_Hat_checker",
"H_Hat_grey",
"muzzle_snds_acp",
"muzzle_snds_L",
"optic_Aco",
"optic_ACO_grn",
"optic_aco_smg",
"optic_Holosight",
"optic_Holosight_smg",
"U_C_Commoner1_1",
"U_C_Poloshirt_redwhite",
"V_BandollierB_blk",
"V_BandollierB_oli",
"V_TacVestCamo_khk",
"V_TacVestIR_blk",
"V_TacVest_blk",
"V_TacVest_blk_POLICE",
"V_TacVest_brn",
"V_TacVest_camo",
"V_TacVest_khk",
"V_TacVest_oli",
"ItemMap",
"ItemRadio",
"ItemCompass",
"ItemWatch",

//SILENCERS
"muzzle_mas_snds_L",
"muzzle_mas_snds_LM",
"muzzle_mas_snds_C",
"muzzle_mas_snds_M",
"muzzle_mas_snds_Mc",
"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",

//SCOPES
"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_term",
"acc_mas_pointer_IR",
"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" ]],

//END LOOTITEM CIVIL

//-------------------------------------------------------------------------------------

//START LOOTITEM MILITARY

[ 1, [ // MILITARY
"acc_flashlight",
"acc_pointer_IR",
"FAK",
"H_HelmetB_camo",
"H_HelmetB_paint",
"H_HelmetIA_net",
"H_HelmetSpecB_blk",
"H_PilotHelmetFighter_I",
"ItemGPS",
"NVGoggles",
"NVGoggles_INDEP",
"NVGoggles_OPFOR",
"optic_Aco",
"optic_ACO_grn",
"optic_aco_smg",
"optic_Arco",
"optic_Hamr",
"optic_Holosight",
"optic_Holosight_smg",
"optic_Nightstalker",
"optic_NVS",
"optic_SOS",
"U_B_CombatUniform_mcam",
"U_B_GhillieSuit",
"U_I_CombatUniform",
"U_I_GhillieSuit",
"U_O_CombatUniform_ocamo",
"U_O_GhillieSuit",
"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",
"V_RebreatherB",
"V_RebreatherIA",
"V_RebreatherIR",

//SILENCERS
"muzzle_mas_snds_L",
"muzzle_mas_snds_LM",
"muzzle_mas_snds_C",
"muzzle_mas_snds_M",
"muzzle_mas_snds_Mc",
"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",
"muzzle_snds_acp",
"muzzle_snds_B",
"muzzle_snds_H",
"muzzle_snds_H_MG",
"muzzle_snds_L",
"muzzle_snds_M",

//SCOPES
"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_term",
"acc_mas_pointer_IR",
"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",

//MAS 1.5
"acc_mas_pointer_IR_top",
"acc_mas_pointer_IR2",
"acc_mas_pointer_IR2_top",
"acc_mas_pointer_IR2c",
"acc_mas_pointer_IR2c_top",
"muzzle_mas_snds_MP5SD6",
"muzzle_mas_snds_MP7",
"optic_mas_PSO_day",
"optic_mas_PSO_nv_day",
"optic_mas_MRD",
"optic_mas_LRPS",
"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",
"NVGoggles_mas_h",
"Rangefinder_mas_h",
"Laserdesignator_mas_h" ]],

//END LOOTITEM MILITARY

//-------------------------------------------------------------------------------------

//START LOOTITEM INDUSTRIAL

[ 2, [ // INDUSTRIAL
"FAK",
"ItemCompass",
"ItemMap",
"ItemWatch",
"U_B_Wetsuit",
"U_I_Wetsuit",
"U_O_Wetsuit",
"V_RebreatherB",
"V_RebreatherIA",
"V_RebreatherIR" ]],

//END LOOTITEM INDUSTRIAL

//-------------------------------------------------------------------------------------

//START LOOTITEM RESEARCH

[ 3, [ // RESEARCH
"FAK",
"ItemGPS",
"NVGoggles",
"NVGoggles_INDEP",
"NVGoggles_OPFOR",
"optic_Nightstalker",
"optic_NVS",
"optic_SOS",

//SILENCERS
"muzzle_mas_snds_L",
"muzzle_mas_snds_LM",
"muzzle_mas_snds_C",
"muzzle_mas_snds_M",
"muzzle_mas_snds_Mc",
"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",

//SCOPES
"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_term",
"acc_mas_pointer_IR",
"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",
"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" ]]];

//END LOOTITEM RESEARCH

////////////////////////////////
// END OF LOOTITEM LIST //
////////////////////////////////
//-------------------------------------------------------------------------------------
// here place backpacks, parachutes and packed drones/stationary
//-------------------------------------------------------------------------------------
//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

//START LOOTBACKPACK CIVIL

lootBackpack_list = [[ 0, [ // CIVIL
"B_AssaultPack_blk", // 34 Mags
"B_AssaultPack_cbr",
//"B_BergenC_red", // 50 Mags
//"B_Bergen_mcamo", // 54 Mags
"B_HuntingBackpack", // 32 Mags
"B_OutdoorPack_blu" ]], // 17 Mags

//END LOOTBACKPACK CIVIL

//-------------------------------------------------------------------------------------

//START LOOTBACKPACK MILITARY

[ 1, [ // MILITARY
//"B_BergenG", // 64 Mags
"B_Carryall_cbr", // 60 Mags
"B_FieldPack_blk", // 35 Mags
"B_FieldPack_ocamo",
"B_FieldPack_oli",
"B_AssaultPack_dgtl",
"B_AssaultPack_khk",
"B_AssaultPack_mcamo",
"B_AssaultPack_ocamo",
"B_AssaultPack_rgr",
"B_AssaultPack_sgg",
"B_FieldPack_oucamo" ]],

//END LOOTBACKPACK MILITARY

//-------------------------------------------------------------------------------------

//START LOOTBACKPACK INDUSTRIAL

[ 2, [ // INDUSTRIAL
"B_Carryall_cbr", // 60 Mags
"B_TacticalPack_oli",
"B_TacticalPack_rgr" ]],

//END LOOTBACKPACK INDUSTRIAL

//-------------------------------------------------------------------------------------

//START LOOTBACKPACK RESEARCH

[ 3, [ // RESEARCH
"B_TacticalPack_rgr" ]]];

//END LOOTBACKPACK RESEARCH

////////////////////////////////
// END OF LOOTBACKPACK LIST //
////////////////////////////////

//-------------------------------------------------------------------------------------
//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
]],[ 1, [ // MILITARY
]],[ 2, [ // INDUSTRIAL
]],[ 3, [ // RESEARCH
]]];

 

Now i get the same Error with VehicleRepair.

So i thought "&%$& VehicleRepair, nobody needs it" and i comment this lines out:

 

if(_loot == "Land_CanisterPlastic_F") then {


_lootholder setVariable["mf_item_id", "water", true];
};
//if(_loot == "Land_Suitcase_F") then {
// _lootholder setVariable["mf_item_id", "VehicleRepair", true];
//};

 

Now i get the same error with "water"

Link to comment
Share on other sites

from where is this bad LSlootlist.sqf ? I do not see this the first time....

 

So i changed the entry repairkit to VehicleRepair:

if(_loot == "Land_Suitcase_F") then {
    _lootholder setVariable["mf_item_id", "VehicleRepair", true];
};

 

for what ? just remove the repairkit from your LSlootlist.sqf

 

 

but contact the creater of the badest LSlootlist.sqf ever.... if u use his stuff then ask him.

Link to comment
Share on other sites

There is no "repairkit" in LSlootlist.sqf

if(_loot == "Land_Suitcase_F") then {
    _lootholder setVariable["mf_item_id", "repairkit", true];
};

is in fn_LSgetBuildingstospawnLoot.sqf, so what should i remove?

If i remove this lines, i get the same errror with "water"

Link to comment
Share on other sites

????

 

//ITEMS
"MortarBucket",
"ItemCorrugated",
"CinderBlocks",
"jerrycan_epoch",
"VehicleRepair",
"JackKit",
"CircuitParts",
//"ItemLockbox",
"ItemCoolerE",
"ItemScraps" ]],

 

there is so much bullshit in this shotlist.....

wrong nvg, wrong vests and so on..... wrong jerrry can.....

 

 

from where is this bad LSlootlist.sqf ? I do not see this the first time....

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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