Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I got a problem seven my loot doesn't seem to spawn and i did everything correctly?
building_spawnLoot = compile preprocessFileLineNumbers "fixes\building_spawnLoot.sqf";
To add to this, there is a ton of stuff missing from these files, such as the ak107 which I have spawning through a substitution script on my server. I'd like to get rid of it but I need to know if I need to add it to this file.I am looking at your code you posted seven in the OP post. A few things are missing from your code such as all the food and the clothing. If I fail to add these back in will they no longer spawn? Or is "","food" spawning in the food array?
The problem is you are using a lot of custom additions already, so your modified compiles.sqf is overriding the variable change for building_spawnLoot. since you are using this method, you would need to edit your compiles.sqf on line 27 and change it toCode:building_spawnLoot = compile preprocessFileLineNumbers "fixes\building_spawnLoot.sqf";
I am looking at your code you posted seven in the OP post. A few things are missing from your code such as all the food and the clothing. If I fail to add these back in will they no longer spawn? Or is "","food" spawning in the food array?
So it is fair to say that redirecting Dayz to use the building_spawnloot in the mission file will change all the loot spawned. So if I were to leave something out of the building_spawnloot fix it won't spawn in the game.
Can the loot CLASSES be altered?
I'd like to change what they contain within them, seeing as how a bunch of them have meds and food/water in them, and I'd rather not have that happen.... But I'd still like to maintain the flares/chemlights and water bottles .. so would I have to put those in as individual drops in the loot tables or how would I change the "generic" table?
Also is it possible to have EMPTY jerry cans spawn by simply inserting the item ID for it into the loot table (would prefer a mix of empty and filled jerry)
No you are wrong there i fixed my problem i was missing a comma [derp] but i have removed many things out of the list such as M107/M4a1 cco sd and added different things into it and for hunting i got rid of junk spawn and it still works 100%Food as a whole will drop all the required food, I never added the extra changes needed for spawn_loot.sqf to change food since this isn't really a needed change.
Yes if you remove something from the tables it will not spawn anymore. This code stops reading the original tables and uses the custom ones you draw up in building_spawnloot.sqf