Jump to content
Sign in to follow this  
-JpS-RaptorMan

Using class params for server.cfg on dedicated service

Recommended Posts

I dug around with google search against site:https://forums.bohemia.net/ & had read the related wiki pages already ... but I am trying to clean up my server.cfg & the long list of changes my squad uses for mission parameters is pretty redundant.

Is there anyway to share the mission parameter list between maps (I know sqf isn't really OO, but the underlying system for arma3 is)?

I took a few stabs at various formats but not having much luck ... 
 

//
// --- Mission file settings
//

class Missions
{
     class Mission_1
	{
		template = "Antistasi-WotP-2-3.Tanoa";
		difficulty = "regular";
        class Params
		{
			AntistasiJps001;
		};
	};

	class Mission_2
	{
		template = "Antistasi-Altis-2-3.Altis";
		difficulty = "regular";
        class Params
		{
			AntistasiJps001;
		};
	};

	class Params
	{
		class AntistasiJps001
		{
			loadsave = 1;
			gameMode = 1; 
			autoSave = 1;
			autoSaveInterval = 3600;
			membership = 1;
			...
		};
	};

};



Thanks!
 

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  

×