Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Tom_Anger

server.cfg Map Rotation question

Recommended Posts

My issue is I cannot seem to get the parameter working correctly in the map rotation. I would like "AI Support Mode" to be set to "Always Off"

and

"Game Duration" to be set to 30 minutes

Below is what I have in the server.cfg followed by the map's details related to the parameter. Many thanks for any help I get...

class Missions
{
   class AAS01
       {
           template=aas40_ElysianFields.Chernarus;
           param1=0;
           param2=1;
           difficulty = "Regular"
       };
};

~~~~~~~~

~~~~~~~~

titleParam1 = "AI Support Mode";

valuesParam1[] = { SUPPORT_OFF , SUPPORT_LTE4 , SUPPORT_LTE6 , SUPPORT_EAST, SUPPORT_WEST , SUPPORT_ON };

defValueParam1 = SUPPORT_LTE6;

textsParam1[] = { "Always Off" , "On when <= 4 players" , "On when <= 6 players" , "East AI Only" , "West AI Only" , "Always On" };

titleParam2 = "Game Duration";

valuesParam2[] = {20,30,45,60,90,120};

defValueParam2 = 45;

textsParam2[] = { "20 Minutes" , "30 Minutes" , "45 Minutes" , "1 Hour" , "1.5 Hours" , "2 Hours" };

~~~~~~~~

~~~~~~~~

Share this post


Link to post
Share on other sites

Not sure of param1 and param2 can be set as part of class missions.

You could modify the mission to have your desired as default:

defValueParam1 = SUPPORT_OFF;

defValueParam2 = 30;

Share this post


Link to post
Share on other sites
Sign in to follow this  

×