hi
I work on the DayZ "vanilla" mod and i found a way to remove all the junk on the roads and i will share it
First step create a folder in your mission file and call it "custom"
Copy the file "player_monitor.fsm" in the "custom" folder
You can find the file here; dayz_code\system
In "init.sgf" find this line :
"execFSM "\z\addons\dayz_code\system\player_monitor.fsm";"
Change it to:
"execFSM "custom\player_monitor.fsm";"
In "description.ext"
Add this on the top of the file:
#include "custom\CfgTownGeneratorChernarus.hpp"
Create a file and call it:
"CfgTownGeneratorChernarus.hpp"
Put this in the file:
class CfgTownGeneratorChernarus {
//Thanks for all the fucking trash!!
};
and save it in the the folder "custom"
Open "player_monitor.fsm" and find this line:
"if (_isHiveOk) then { if (!_schedulerStarted) then { _schedulerStarted=true; execVM '\z\addons\dayz_code\system\scheduler\sched_init.sqf'; }; };" \n
Change it to:
"if (_isHiveOk) then { if (!_schedulerStarted) then { _schedulerStarted=true; execVM 'custom\sched_init.sqf'; }; };" \n
Copy the file "sched_init.sqf" in the "custom" folder
You can find the file here; dayz_code\system\scheduler
Open "sched_init.sqf" and find this line:
call compile preprocessFileLineNumbers (_base+"sched_towngenerator.sqf");
Change it to:
call compile preprocessFileLineNumbers "custom\sched_towngenerator.sqf";
copy "sched_towngenerator.sqf" in the "custom" folder
You can find the file here; dayz_code\system\scheduler
Open "sched_towngenerator.sqf" and find this line:
#include "scheduler.hpp"
Change it to;
#include "\z\addons\dayz_code\system\scheduler\scheduler.hpp"
Then find this line:
_townarray = configFile >> "CfgTownGeneratorChernarus";
Change it to:
_townarray = missionConfigFile >> "CfgTownGeneratorChernarus";
Thats it, have fun with no junk on roads
I work on the DayZ "vanilla" mod and i found a way to remove all the junk on the roads and i will share it
First step create a folder in your mission file and call it "custom"
Copy the file "player_monitor.fsm" in the "custom" folder
You can find the file here; dayz_code\system
In "init.sgf" find this line :
"execFSM "\z\addons\dayz_code\system\player_monitor.fsm";"
Change it to:
"execFSM "custom\player_monitor.fsm";"
In "description.ext"
Add this on the top of the file:
#include "custom\CfgTownGeneratorChernarus.hpp"
Create a file and call it:
"CfgTownGeneratorChernarus.hpp"
Put this in the file:
class CfgTownGeneratorChernarus {
//Thanks for all the fucking trash!!
};
and save it in the the folder "custom"
Open "player_monitor.fsm" and find this line:
"if (_isHiveOk) then { if (!_schedulerStarted) then { _schedulerStarted=true; execVM '\z\addons\dayz_code\system\scheduler\sched_init.sqf'; }; };" \n
Change it to:
"if (_isHiveOk) then { if (!_schedulerStarted) then { _schedulerStarted=true; execVM 'custom\sched_init.sqf'; }; };" \n
Copy the file "sched_init.sqf" in the "custom" folder
You can find the file here; dayz_code\system\scheduler
Open "sched_init.sqf" and find this line:
call compile preprocessFileLineNumbers (_base+"sched_towngenerator.sqf");
Change it to:
call compile preprocessFileLineNumbers "custom\sched_towngenerator.sqf";
copy "sched_towngenerator.sqf" in the "custom" folder
You can find the file here; dayz_code\system\scheduler
Open "sched_towngenerator.sqf" and find this line:
#include "scheduler.hpp"
Change it to;
#include "\z\addons\dayz_code\system\scheduler\scheduler.hpp"
Then find this line:
_townarray = configFile >> "CfgTownGeneratorChernarus";
Change it to:
_townarray = missionConfigFile >> "CfgTownGeneratorChernarus";
Thats it, have fun with no junk on roads