Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgLoot
oiad fd0b81118b Move dze_supplyCrate and vein wrecks to CfgLoot (#1863)
* Move dze_supplyCrate and vein wrecks to CfgLoot

Moves both the supply crates and vein wrecks to the CfgLoot tables so
admins can customize.
Also modifies the main add item statement to allow support for weapons,
magazines and backpack refunding/spawning instead of hard coded
magazines.

Should be backwards compatible with the old style (I did test).

* Remove unused _activatingPlayer variable

* Rework
2017-01-14 19:40:54 -05:00
..
2016-02-21 13:09:16 -05:00

To customize the loot tables copy this CfgLoot folder to your mission.

Then in description.ext replace this line:
#include "\z\addons\dayz_code\Configs\CfgLoot\CfgLoot.hpp"
with this:
#include "CfgLoot\CfgLoot.hpp"


If you do not change anything in the \Buildings\ folder you can delete it and CfgBuildingPos.hpp. Then in CfgLoot.hpp replace:
#include "CfgBuildingPos.hpp"
with:
#include "\z\addons\dayz_code\Configs\CfgLoot\CfgBuildingPos.hpp"


If you do not change anything in the \Groups\Buildings\ folder you can delete it and CfgBuildingLoot.hpp. Then in CfgLoot.hpp replace:
#include "CfgBuildingLoot.hpp"
with:
#include "\z\addons\dayz_code\Configs\CfgLoot\CfgBuildingLoot.hpp"