@mrwolv
hi mate, sorry to tag you but im adding in loot spawn to custom buildings. im using banov map and my init files are slightly different. im struggling to fine where to start the building code. tried a few different ways cannot get it right. would appreciate it if you could point me in right direction. heres the start of the init.c file.
/**
* init.c
*
* DayZ Expansion Mod
* www.dayzexpansion.com
* © 2020 DayZ Expansion Mod Team
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
*
*/
void main()
{
bool loadTraderObjects = true;
bool loadTraderNPCs = true;
string MissionWorldName = "empty";
GetGame().GetWorldName(MissionWorldName);
if (MissionWorldName != "empty")
{
//! Spawn mission objects and traders
ExpansionObjectSpawnTools.FindMissionFiles("$CurrentDir:\\mpmissions\\Expansion." + MissionWorldName, loadTraderObjects, loadTraderNPCs);
}
//INIT WEATHER BEFORE ECONOMY INIT newest copy ------------------------