[RELEASE] Custom Chernarus Buildings

would you be able to make the mapgrouppos.xml for each of the areas ? i use the Vilayer host and cant get the dayz offline tool to work..
 
Hi, Search for this bit of code in the init.c
Code:
GetGame().GetWorld().GetDate(year, month, day, hour, minute);

    if (((month <= 9) && (day < 20)) || ((month >= 10) && (day > 20)))
    {
        month = 9;
        day = 20;
        
        GetGame().GetWorld().SetDate(year, month, day, hour, minute);
    }

Just under that add this line of code
Code:
GetTesting().ExportProxyData("7500 0 7500", 10000);

Then save and start up the server, give it a few mins and it will generate a new mapgrouppos.xml inside a folder called export i believe inside storage_1 folder, i could be mistaken on that. This takes a lil time so make sure u leave the server running for a good 10 mins before assuming it didnt work.
 
Hi, Search for this bit of code in the init.c
Code:
GetGame().GetWorld().GetDate(year, month, day, hour, minute);

    if (((month <= 9) && (day < 20)) || ((month >= 10) && (day > 20)))
    {
        month = 9;
        day = 20;
       
        GetGame().GetWorld().SetDate(year, month, day, hour, minute);
    }

Just under that add this line of code
Code:
GetTesting().ExportProxyData("7500 0 7500", 10000);

Then save and start up the server, give it a few mins and it will generate a new mapgrouppos.xml inside a folder called export i believe inside storage_1 folder, i could be mistaken on that. This takes a lil time so make sure u leave the server running for a good 10 mins before assuming it didnt work.

found it.. got it working now.. thx
 
Back
Top