Jump to content

Only Load Major Missions?


ARC_Solo

Recommended Posts

Is it possible to only have Major missions running and disable Minor Missions?

 

You can disable minor mission by only commenting a line or 2 in your DZMSinit.sqf

In DZMSinit.sqf at nearly the bottom of the file look at ~ line 101 for:

 

// these arrays are used to hold units for each mission type

DZXXUnitsMinor = [];

DZXXUnitsMajor = [];

DZXXUnitsISL = [];

// Let's get the clocks running!

[] ExecVM DZXXMajTimer;

sleep 1;

[] ExecVM DZXXMinTimer;

sleep 1;

[] ExecVM DZXXISLTimer;

 

Then to disable the timer of the minor array, you can simply comment out the clock of that array so it will never look to start any minor mission like this since the clock won't be running at all for the minor mission :

 

// [] ExecVM DZXXMinTimer;

 

In rpt, it should looks like this after server is started, no minor mission is loaded that way as you can see below:

 

10:06:59 [DZXX]: Starting DayZ Mission System.

10:06:59 [DZXX]: DZAI Found! Using DZAI's Relations!

10:06:59 [DZXX]: Currently Running Version: 1.1FIN

10:06:59 [DZXX]: Mission and Extended Configuration Loaded!

10:06:59 [DZXX]: chernarus Detected. Map Specific Settings Adjusted!

10:06:59 [DZXX]: DayZ Epoch Detected! Some Scripts Adjusted!

10:06:59 [DZXX]: Loading ExecVM Functions.

10:06:59 [DZXX]: Loading Compiled Functions.

10:06:59 [DZXX]: Loading All Other Functions.

10:06:59 [DZXX]: Mission Functions Script Loaded!

10:06:59 [DZXX]: Major Mission Clock Starting!

10:07:01 [DZXX]: ISL Mission Clock Starting!

10:07:01 [DZXX]: Mission Marker Loop for JIPs Starting!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...