Jump to content

@MAS weapons Lootspawner script (More weapons!)


BlackPlague_81st

Recommended Posts

So i'm using the up to date list along with addweaponcargo.txt filter

 

However still getting a lot of battleye kicks when picking up some weapons, so far here is my addweaponcargo.log maybe you can help me on adding them to the list i'm new to editing filters as normally infiSTAR has all the stuff already in

 

adweaponcargo.log

02.02.2015 12:42:49: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "srifle_LRR_camo_F" 0:0
02.02.2015 15:46:36: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "srifle_mas_hk417_d" 0:0
02.02.2015 15:51:43: [Bambi]James Franco (78.144.36.26:2304) 1421dae1543490fb358e330d10843d33 - #0 "srifle_LRR_camo_SOS_F" 0:0
02.02.2015 15:52:28: [Bambi]James Franco (78.144.36.26:2304) 1421dae1543490fb358e330d10843d33 - #0 "srifle_LRR_camo_SOS_F" 0:0
02.02.2015 16:17:23: [Bambi]James Franco (78.144.36.26:2304) 1421dae1543490fb358e330d10843d33 - #0 "launch_RPG32_F" 0:0
02.02.2015 16:57:22: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "arifle_mas_m16_gl" 0:0
02.02.2015 17:00:17: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "srifle_LRR_camo_LRPS_F" 0:0
02.02.2015 17:14:20: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "arifle_mas_m4c" 0:0
02.02.2015 17:16:51: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "arifle_mas_ak_74m_c" 0:0
02.02.2015 17:19:03: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "arifle_mas_m16_gl" 0:0
02.02.2015 17:24:42: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "arifle_mas_hk417_m203c_d" 0:0
02.02.2015 17:31:38: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "arifle_mas_m4_gl_v" 0:0
02.02.2015 17:33:39: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "srifle_mas_mk17s" 0:0
02.02.2015 17:35:15: [CcG]R4id3n84 (81.105.103.212:2354) ef0e5b46a41f3d1cf9a8816bc01f235c - #0 "arifle_mas_aks74u" 0:0

Thanks in advance xD

 

R4id3n84

Link to comment
Share on other sites

Do i have to add EVERY weapon in Battleeye? I have this restriction when i get a weapon:

 

01.02.2015 20:00:15:  #1 "arifle_mas_g3_m203" 0:0
01.02.2015 20:14:46:  #1 "arifle_mas_lee" 0:0
02.02.2015 18:18:26: - #1 "arifle_mas_hk416" 0:0

 

EDIT: ok, found it:

 

5 "" !="(hk416|hk416_v|hk416c_d|hk417c|hk417c_d|l119|l119_v|l119_d|m24|lrr|Mk48_F|M240_F|mg3_F|M60_F|bizon|pkm_F|asval|g36c|mk16|mk17|g3|fal|sr25|mk17s|m110)_mas" " !="launch_(RPG32|NLAW|Titan_short|Titan)_F" !="(Binocular|Rangefinder|Hatchet|MeleeSledge|ChainSaw|MultiGun|Rollins_F)" !="(ruger_pistol|speargun|1911_pistol|akm|m14|M14Grn|m16|m16Red|m107|m107Tan|m249|m249Tan|m4a3)_epoch" !="SMG_(01|02)_F" !="hgun_(PDW2000|ACPC2|Rook40|P07|Pistol_heavy_0[1-2]|Pistol_Signal)_F" !="LMG_(Mk200|Zafir)_F" !="srifle_(EBR|GM6|LRR|DMR_01)_F" !="arifle_(Katiba|Katiba_C|Katiba_GL|SDAR|TRG21|TRG20|TRG21_GL|Mk20|Mk20C|Mk20C_plain|Mk20_GL|Mk20_plain|Mk20_GL_plain)_F" !="arifle_(MXC|MX|MX_GL|MXM|MXM_Black|MX_GL_Black|MX_Black|MXC_Black|MX_SW|MX_SW_Black)_F"

Link to comment
Share on other sites

well thought i might add a bit of stupidity to this thread. Got everything working, weapons everywhere ammo, mas working the lot and the shit is on the ground not floating. Only issue i have is that when i walk around the place i have karts stuck in buildings, heli's comming out the roofs in others. I can pick them up and add them as a backpack which then kills me lol, what the hell is happening? lol

Link to comment
Share on other sites

well thought i might add a bit of stupidity to this thread. Got everything working, weapons everywhere ammo, mas working the lot and the shit is on the ground not floating. Only issue i have is that when i walk around the place i have karts stuck in buildings, heli's comming out the roofs in others. I can pick them up and add them as a backpack which then kills me lol, what the hell is happening? lol

at the very end of your LSLootLists .sqf u have vehicles added to your list delete them

Link to comment
Share on other sites

issue 2 ^^ now that i deleted them and added the missions in the loot has stopped spawning ? any ideas?

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

fn_createMissionMarker = {	private["_create","_markerPos","_markerName","_marker"];
	_create = _this select 0;
	
	if(!_create)then[{	//delete marker
		if (getMarkerColor "MissionMarker" != "")then{	//Only delete existing Marker
			deleteMarkerLocal "MissionMarker";
		}; 
	},{	//else create marker
	_markerPos = _this select 1;
	_markerName = _this select 2;
	
	_marker = createMarkerLocal ["MissionMarker", _markerPos];
	_marker setMarkerPosLocal _markerPos;
	_marker setMarkerTypeLocal "mil_destroy";  
	_marker setMarkerTextLocal format["%1",_markerName];  
	_marker setMarkerColorLocal "ColorRed";
	_marker setMarkerDirLocal -37;
	_marker setMarkerSizeLocal [1.2,1.2];
	}];
};

if(!isNil "GlobalMissionMarker")then{GlobalMissionMarker call fn_createMissionMarker};
"GlobalMissionMarker" addPublicVariableEventHandler {_this select 1 call fn_createMissionMarker};
"GlobalHint" addPublicVariableEventHandler {hint parseText format["%1", _this select 1]};

if(toLower worldName in ["chernarus","chernarus_summer"])then{
	([4654.62,9593.63,0] nearestObject 145259) setDamage 1;
	([4654.62,9593.63,0] nearestObject 145260) setDamage 1;
};	//Fix for something, find out ;)

execVM 'UKE\init\welcome.sqf';
execVM 'UKE\init\RestartTimer.sqf';
player enableFatigue false;

//	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",						//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
"ItemLockBox",
"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",
"Laserdesignator",
"launch_NLAW_F",
"launch_RPG32_F",
"launch_Titan_F",
"LMG_Mk200_F",
"LMG_Zafir_F",
"Rangefinder",
"SMG_01_F",
"SMG_02_F",
"srifle_EBR_F",
"srifle_GM6_F",
"srifle_LRR_F"
]],[ 2, [
"ItemLockBox",
"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",
"SMG_02_F"
]],[ 3, [						// RESEARCH
"ItemLockBox",
"Laserdesignator",					//counts as weapon
"launch_NLAW_F",
"launch_RPG32_F",
"launch_Titan_F",
"Rangefinder",						//counts as weapon
"srifle_GM6_F",
"srifle_LRR_F"
]]];

//-------------------------------------------------------------------------------------
//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
"ItemLockBox",
"16Rnd_9x21_Mag",
"20Rnd_556x45_UW_mag",
"20Rnd_762x51_Mag",
"30Rnd_45ACP_Mag_SMG_01",
"30Rnd_556x45_Stanag",
"30Rnd_9x21_Mag",
"9Rnd_45ACP_Mag",
"HandGrenade",
"HandGrenade_Stone"
]],[ 1, [						// MILITARY
"ItemLockBox",
"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",
"APERSBoundingMine_Range_Mag",
"APERSMine_Range_Mag",
"APERSTripMine_Wire_Mag",
"ATMine_Range_Mag",
"ClaymoreDirectionalMine_Remote_Mag",
"HandGrenade",
"MiniGrenade",
"NLAW_F",
"RPG32_F",
"RPG32_HE_F",
"SatchelCharge_Remote_Mag",
"SLAMDirectionalMine_Wire_Mag",
"Titan_AA",
"Titan_AP",
"Titan_AT"
]],[ 2, [						// INDUSTRIAL
"ItemLockBox",
"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
"ItemLockBox",
"5Rnd_127x108_Mag",
"7Rnd_408_Mag",
"NLAW_F",
"RPG32_F",
"RPG32_HE_F",
"Titan_AA",
"Titan_AP",
"Titan_AT"
]]];

//-------------------------------------------------------------------------------------
//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
"ItemLockBox",
"ChainSaw",
"ItemCoolerE",
"VehicleRepairLg",
"Hatchet",
"MultiGun",
"MeleeSledge",
"CircuitParts",
"VehicleRepair",
"ItemMixOil",
"emptyjar_epoch",
"jerrycan_epoch",
"EnergyPack",
"EnergyPackLg",
"Heal_EPOCH",
"Defib_EPOCH",
"Repair_EPOCH",
"Pelt_EPOCH",
"Venom_EPOCH",
"PartOre",
"ItemKiloHemp",
"SnakeCarcass_EPOCH",
"RabbitCarcass_EPOCH",
"ChickenCarcass_EPOCH",
"GoatCarcass_EPOCH",
"SheepCarcass_EPOCH",
"ItemCompass",
"ItemGPS",
"ItemWatch",
"Binocular",
"NVG_EPOCH",
"Rangefinder",
"Laserdesignator",
"EpochRadio0",
"EpochRadio1",
"EpochRadio2",
"EpochRadio3",
"EpochRadio4",
"EpochRadio5",
"EpochRadio6",
"EpochRadio7",
"EpochRadio8",
"EpochRadio9",
"WhiskeyNoodle",
"ItemSodaOrangeSherbet",
"ItemSodaPurple",
"ItemSodaMocha",
"ItemSodaBurst",
"ItemSodaRbull",
"FoodBioMeat",
"FoodMeeps",
"FoodSnooter",
"FoodWalkNSons",
"sardines_epoch",
"meatballs_epoch",
"scam_epoch",
"sweetcorn_epoch",
"honey_epoch",
"CookedSheep_EPOCH",
"CookedGoat_EPOCH",
"SnakeMeat_EPOCH",
"CookedRabbit_EPOCH",
"CookedChicken_EPOCH",
"ItemTrout",
"ItemSeaBass",
"ItemTuna",
"FAK",
"Towelette",
"HeatPack",
"ColdPack",
"ItemTopaz",
"ItemOnyx",
"ItemSapphire",
"ItemAmethyst",
"ItemEmerald",
"ItemCitrine",
"ItemRuby",
"ItemQuartz",
"ItemJade",
"ItemGarnet",
"PaintCanBlk",
"PaintCanBlu",
"PaintCanBrn",
"PaintCanGrn",
"PaintCanOra",
"PaintCanPur",
"PaintCanRed",
"PaintCanTeal",
"PaintCanYel",
"DemoCharge_Remote_Mag",
"SatchelCharge_Remote_Mag",
"ATMine_Range_Mag",
"ClaymoreDirectionalMine_Remote_Mag",
"APERSMine_Range_Mag",
"APERSBoundingMine_Range_Mag",
"SLAMDirectionalMine_Wire_Mag",
"APERSTripMine_Wire_Mag",
"CinderBlocks",
"MortarBucket",
"ItemScraps",
"ItemCorrugated",
"ItemCorrugatedLg",
"PartPlankPack",
"WoodLog_EPOCH",
"KitStudWall",
"KitWoodFloor",
"KitWoodStairs",
"KitWoodRamp",
"KitFirePlace",
"KitTiPi",
"KitShelf",
"KitFoundation",
"JackKit",
"KitPlotPole",
"KitCinderWall",
"acc_flashlight",
"FirstAidKit",
"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",
"I_UavTerminal",
"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"						//<----Make sure last line has NO COMMA AT THE END
]],[ 1, [						// MILITARY
"ItemLockBox",
"acc_flashlight",
"acc_pointer_IR",
"B_UavTerminal",
"FirstAidKit",
"H_HelmetB_camo",
"H_HelmetB_paint",
"H_HelmetIA_net",
"H_HelmetSpecB_blk",
"H_PilotHelmetFighter_I",
"ItemGPS",
"I_UavTerminal",
"Medikit",
"muzzle_snds_acp",
"muzzle_snds_B",
"muzzle_snds_H",
"muzzle_snds_H_MG",
"muzzle_snds_L",
"muzzle_snds_M",
"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",
"O_UavTerminal",
"ToolKit",
"ItemLockBox",
"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"
]],[ 2, [						// INDUSTRIAL
"FirstAidKit",
"ItemCompass",
"ItemMap",
"ItemWatch",
"ItemLockBox",
"ToolKit",
"U_B_Wetsuit",
"U_I_Wetsuit",
"U_O_Wetsuit",
"V_RebreatherB",
"V_RebreatherIA",
"V_RebreatherIR"
]],[ 3, [						// RESEARCH
"B_UavTerminal",
"ItemLockBox",
"FirstAidKit",
"ItemGPS",
"I_UavTerminal",
"Medikit",
"NVGoggles",
"NVGoggles_INDEP",
"NVGoggles_OPFOR",
"optic_Nightstalker",
"optic_NVS",
"optic_SOS",
"O_UavTerminal"
]]];

//-------------------------------------------------------------------------------------
//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
"ItemLockBox",
"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",
"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",
"B_AssaultPack_blk",				// 34 Mags
"B_AssaultPack_cbr",
"B_AssaultPack_dgtl",
"B_AssaultPack_khk",
"B_AssaultPack_mcamo",
"B_AssaultPack_ocamo",
"B_AssaultPack_rgr",
"B_AssaultPack_sgg",
"B_BergenC_red",					// 50 Mags
"B_Bergen_mcamo",					// 54 Mags
"B_HuntingBackpack",				// 32 Mags
"B_OutdoorPack_blu",				// 17 Mags
"B_UAV_01_backpack_F",
"I_UAV_01_backpack_F",
"O_UAV_01_backpack_F"
]],[ 1, [						// MILITARY
"ItemLockBox",
"B_BergenG",						// 64 Mags
"B_Carryall_cbr",					// 60 Mags
"B_FieldPack_blk",					// 35 Mags
"B_FieldPack_ocamo",
"B_FieldPack_oli",
"B_FieldPack_oucamo",
"B_GMG_01_high_weapon_F",
"B_GMG_01_weapon_F",
"B_HMG_01_support_F",
"B_HMG_01_support_high_F",
"B_HMG_01_weapon_F",
"B_Mortar_01_support_F",
"B_Mortar_01_weapon_F",
"B_TacticalPack_blk",				// 42 Mags
"B_TacticalPack_mcamo",
"B_TacticalPack_ocamo",
"B_TacticalPack_oli",
"B_TacticalPack_rgr",
"B_UAV_01_backpack_F",
"I_UAV_01_backpack_F",
"O_UAV_01_backpack_F"
]],[ 2, [						// INDUSTRIAL
"ItemLockBox",
"B_Carryall_cbr",					// 60 Mags
"B_TacticalPack_oli",
"B_TacticalPack_rgr",
"B_UAV_01_backpack_F",
"I_UAV_01_backpack_F",
"O_UAV_01_backpack_F"
]],[ 3, [						// RESEARCH
"ItemLockBox",
"B_GMG_01_high_weapon_F",
"B_GMG_01_weapon_F",
"B_HMG_01_support_F",
"B_HMG_01_support_high_F",
"B_HMG_01_weapon_F",
"B_Mortar_01_support_F",
"B_Mortar_01_weapon_F"
]]];

//-------------------------------------------------------------------------------------
//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
"ItemLockBox",
"Box_East_Wps_F",
"Box_NATO_Wps_F",
"Land_Basket_F", 					// food
"Land_CanisterPlastic_F",			// water
"Land_CanisterFuel_F"				// Jerrycan
]],[ 1, [						// MILITARY
"ItemLockBox",
"Box_East_Wps_F",
"Box_NATO_Wps_F",
"Land_CanisterFuel_F",				// jerrycan
"Land_Can_V3_F", 					// energydrink
"Land_Suitcase_F"					// repairkit
]],[ 2, [						// INDUSTRIAL
"ItemLockBox",
//"Box_IND_Support_F",	//support boxes don't erease inventory
"Box_IND_Grenades_F",
"Box_IND_Ammo_F",
"Box_NATO_Ammo_F",
"Land_CanisterFuel_F",				// jerrycan
"Land_CanisterOil_F", 				// syphon hose
"Land_Suitcase_F"					// repairkit
]],[ 3, [						// RESEARCH
"ItemLockBox",
"Box_East_Ammo_F",
"Box_IND_Ammo_F",
"Box_NATO_Ammo_F",
"Land_Can_V3_F", 					// energydrink
"Land_Suitcase_F"					// repairkit
]]];


Link to comment
Share on other sites

@Schmeeto Add the mission to a seperate sqf and call it from the init

if that doesnt work remove the mission and backtrack to where you had it working last and go from there

 

@kr@gen

Make a seperate folder and call it from the launch parameters

Put inside the @epoch or the Addons to start without adding launchparameters

Link to comment
Share on other sites

Hello pelase help. 

I am new on this and i cant get @mas working 

this is a photo of my server and mission file 

Vd6H3Ch.png

 

 

 

But i cant get it working 

 

i have this on my init file 

 

at the bottom 

 

if (isServer) then {
    fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "Custom\LSpawner\fn_LSgetBuildingstospawnLoot.sqf";
    LSdeleter = compile preProcessFileLineNumbers "Custom\LSpawner\LSdeleter.sqf";
    execVM "Custom\LSpawner\Lootspawner.sqf";
};
 
and i have added the lines following the original post. 
I cant get it working at all and i have no BE kicks either. 
 
also i have edited my 21 line on BE filter to 
 
7 exec !="<execute expression=" !="compile preProcessFileLineNumbers "Custom\LSpawner\LSdeleter\.sqf"" !="execVM "Custom\LSpawner\Lootspawner\.sqf";" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\" !="execVM \"\MPMissions\epoch.altis\scripts\fn_statusBar.sqf\""
 
Any help pls !!!
 
Much appreciate it 
Link to comment
Share on other sites

I edited the LSlootList.sqf to contain only Epoch items, so you don't have to mess with BE filters or worry about selling to traders. I removed some types of loot from certain types of spawns, so you many want to add them back, but here it is in case you want to use it:

 

https://www.dropbox.com/s/eoddlbo2xdryena/LSlootLists.sqf?dl=0

 

Is this file still floating around somewhere?  If not no biggie, I will just go through and remove non epoch items by hand :)

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