Jump to content
  • 0

[HELP] Run Different Maps with same mission


Gr8

Question

I run Overpoch Taviana and overpoch Origins. With Same Scripts but just small extra files for origins, different safezones and different Missions addons.

 

How can I use 1 mission/server file to use with both Servers with different maps, becuase its easier to do bug fixes and adding new scripts to both servers at the same time.

 

 

thanks,

Gr8

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

That would be harder. Running different mission.pbo are better. Take it from me i ran 6 Epoch servers side by side. Just make a new folder and copy the exact file structure of the mission.pbo, and just remove the files that are different from the two and just copy and paste them into the folders.

Link to comment
Share on other sites

  • 0

Um. No the mission.pbo has something like this "(MissionName).(Map).pbo". Example: "dayz_1.chernarus.pbo"; "dayz_1.namalsk.pbo"; "dayz_1.tavi.pbo". That how the server loads the map.

 

 

They only way to use the two mission.pbo is to Hive the server and that's basically making two server that run the same mission, but the database is all separated except for character_data.

Link to comment
Share on other sites

  • 0

You can use one mission file but you have to change the mission.sqm. We use a command to get the map name and then just simple if statements. 

 

For example:

 

MapName = toLower format ["%1", worldName];

if (MapName == "chernarus") then {dayZ_instance =	11;};
if (MapName == "napf") then {dayZ_instance =	24;};
if (MapName == "tavi") then {dayZ_instance =	13;};


if (dayZ_instance == 11) then {
	spawnShoremode = 1;
	spawnArea= 1500;
	dayz_minpos = -1; 
	dayz_maxpos = 16000;
	dayz_MapArea = 14000; 
	MaxVehicleLimit = 300;

};

if (dayZ_instance == 24) then {
	spawnShoremode = 1;
	spawnArea= 1500;
	dayz_minpos = -1000; 
	dayz_maxpos = 26000;
	dayz_MapArea = 18000;
	MaxVehicleLimit = 300;

};


if (dayZ_instance == 13) then {
	spawnShoremode = 1;
	spawnArea = 2500;
	dayz_minpos = -26000; 
	dayz_maxpos = 26000;
	dayz_MapArea = 20000;
	MaxVehicleLimit = 300;
}; 

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...