Jump to content
Sign in to follow this  
kocrachon

Custom Mission Dedicated Server option question.

Recommended Posts

So I am trying to run the domination map on my dedicated server. The only question I have is the map has the option to set the amount of targets and the time of day. How do I set that stuff on a dedicated server?

Share this post


Link to post
Share on other sites

Hi,

normally these settings are defined in the Descritpion.ext. Here an example of a section in the Descritpion.ext that allows you to set time of day (ignoring the part in another script that handles these Params):

titleParam1="Time Of Day";
valuesParam1[]={6,9,12,15,18,21,24,3};
defvalueParam1=9;
textsParam1[]={"06:00","09:00","12:00","15:00","18:00","21:00","24:00","03:00"};

The interesting line here is "valuesParam1".

In your server.cfg you can set these Parameters in the particular mission part, could look like this:

class Missions
{
 class Mission0
 {
     template=Domination.Chernarus;
     param1=15;
     cadetMode=0;
 };
};

Here the server would set the time of day to 15:00 when the mission starts.

Edited by Bon

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×