mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
* 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
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"