mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Epoch has custom loot positions for many buildings. Most lootPos have not changed in vanilla since pre 1.7.x. The vanilla lootPos are now commented out and custom Epoch ones are added back. LootPosSmall positions are now included in lootPos and marked with //DZE EXTRA LootPosSmall are included and used by default in 1051, so it is simpler to add them to the main lootPos lists instead of having a separate loop in buildingSpawnLoot.sqf for them.
To use DZE_MissionLootTable = true; copy this CfgLoot folder to your mission. Then in description.ext add at the top: #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"