Custom Loot Tables Epoch 1.0.5.1

SchwEde

OpenDayZ Rockstar!
Here is how to get Custom Loot Tables on your Server:

Download these Files:
https://github.com/vbawol/DayZ-Epoch/tree/Release-1.0.5/SQF/dayz_code/Configs/CfgLoot

Paste them in your Missions.pbo in any folder.

in your init.sqf:

Code:
DZE_MissionLootTable = true; //Custom Loot Tables

at the top of your description.ext
Code:
#include "Path_to\CfgBuildingLoot.hpp"

Change Items and Chance in the CfgBuildingLoot.hpp/CfgLoot.hpp/CfgLootSmall.hpp

DONE!
 
not directly.
it moves the loot tables into the mission so you can edit what spawns and how likely certain items will spawn.

read the last line of his post. you have to edit those files to change the actual lootspawning.

FYI
files that are in the mod folders like @dayz or @dayz_epoch cannot be edited until you copy them into your mission folder and then you may edit the copy in your mission. NEVER directly edit files in the mod folders.

And you have to edit the compiles.sqf line that tells the server where to find those files so it looks in your mission for the file instead of /z/addons/dayz_code/...
and that means you MUST copy the compiles.sqf,into your mission. and on the init.sqf file, change the line that tells the server to look for the compiles.sqf

confused? good! you should be ... its confusing at first
 
Last edited:
Here is how to get Custom Loot Tables on your Server:

Download these Files:
https://github.com/vbawol/DayZ-Epoch/tree/Release-1.0.5/SQF/dayz_code/Configs/CfgLoot

Paste them in your Missions.pbo in any folder.

in your init.sqf:

Code:
DZE_MissionLootTable = true; //Custom Loot Tables

at the top of your description.ext
Code:
#include "Path_to\CfgBuildingLoot.hpp"

Change Items and Chance in the CfgBuildingLoot.hpp/CfgLoot.hpp/CfgLootSmall.hpp

DONE!
Can't you push these server side? Something like
Code:
call compile preprocessFileLineNumbers "\z\addons\dayz_server\CustomLootTables\missions\CfgBuildingLoot.hpp";
from your init?

Erm actually never Mind. I am currently on a misssion to s ee how much I can push over to the server from the missionpbo.
 
because loot is spawned on the client so it has to be mission. although in Dayz 1.8.2 there is now an option for client side or server side loot/zombies. Not sure if that could be imported into epoch or not, havnt looked at it at all.
 
Back
Top