Jump to content
anubis408

Setting Server Difficulty Settings to Custom?

Recommended Posts

Hi all,

 

So I have been trying to set the difficulty on my server to eliminate squad radar and the silly marking people who shoot at you on the map (mapContents) etc. 

I have read the wiki posts on the difficulty settings and recentish overhauls. However, I am very confused as to where the settings should be modified. I attempted to modify my server.cfg file like so:

class Missions {
class ARMA3 {
		template = "ArmA3_Wasteland_v1.0.Tanoa";			 
       		difficulty = "Custom";
class CfgDifficultyPresets
{
class Custom
	{
		description = "Custom difficulty set by the player.";
		levelAI = "AILevelHigh";
		class Options
		{
			reducedDamage = 0;
			groupIndicators = 2;
			friendlyTags = 2;
			enemyTags = 0;
			detectedMines = 0;
			commands = 1;
			waypoints = 2;
			weaponInfo = 2;
			stanceIndicator = 1;
			staminaBar = 0;
			weaponCrosshair = 1;
			visionAid = 0;
			squadRadar = 0;
			thirdPersonView = 1;
			cameraShake = 1;
			scoreTable = 1;
			deathMessages = 1;
			vonID = 1;
			mapContent = 0;
			autoReport = 0;
			multipleSaves = 0;
		};
		displayName = "Custom";
		optionDescription = "Custom difficulty set by the player.";
		optionPicture = "\A3\Ui_f\data\Logos\arma3_white_ca.paa";
	};
      };
};
};

Everytime I attempt this it basically defaults the settings on the server to "Recruit," or at least that is what it says at server browser. However, when I get in game it appears to be on Veteran as there is no crosshair, squadradar, gun info, or third person.

 

Any idea what I am doing wrong? Is this supposed to be in the server config file or elsewhere? And if elsewhere where in the server files will it be?

Share this post


Link to post
Share on other sites

the difficulty settings are defined in the user.arma3profile

 

here is the contents of our version of that file.

class DifficultyPresets
{
    class CustomDifficulty
    {
        class Options

        {
                // Simulation
                reducedDamage = 0; // Reduced damage
                // Situational awareness
                groupIndicators = 0; // Group indicators (0 = never, 1 = limited distance, 2 = always)
                friendlyTags = 0; // Friendly name tags (0 = never, 1 = limited distance, 2 = always)
                enemyTags = 0; // Enemy name tags (0 = never, 1 = limited distance, 2 = always)
                detectedMines = 0; // Detected mines (0 = never, 1 = limited distance, 2 = always)
                commands = 0; // Commands (0 = never, 1 = fade out, 2 = always)
                waypoints = 1; // Waypoints (0 = never, 1 = fade out, 2 = always)

                // Personal awareness

                weaponInfo = 1; // Weapon info (0 = never, 1 = fade out, 2 = always)
                stanceIndicator = 1; // Stance indicator (0 = never, 1 = fade out, 2 = always)
                staminaBar = 1; // Stamina bar
                weaponCrosshair = 0; // Weapon crosshair
                visionAid = 0; // Vision aid

                // View

                thirdPersonView = 1; // 3rd person view
                cameraShake = 0; // Camera shake
                // Multiplayer
                scoreTable = 0; // Score table
                deathMessages = 0; // Killed by
                vonID = 1; // VON ID
                // Misc
                mapContent = 0; // Extended map content
                autoReport = 0; // Automatic reporting
                multipleSaves = 0; // Multiple saves
        };
        //aiLevelPreset is counted from 0 and can have following values: 0 (AI Level Low), 1 (AI Level Normal), 2 (AI Level High), 3 (AI Level Custom).
        //When 3 (AI Level Custom) is chosen, values of skill and precision are stored to the class CustomAILevel.
        aiLevelPreset=3;
    };

    class CustomAILevel
    {
        skillAI=0.85;
        precisionAI=0.5;
    };

};
  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks for the reply! 

So then my issue is that I am not placing the code in the right file. I am not running a dedicated server and instead I am running it on a GSP.

I looked through the FTP directory and found a file called Administrator.Arma3Profile, is this the file that I need to place that code in? 

 

And if this is for the Arma 3 Apex preview build do I use the dev branch difficulty preset format or the non-dev format? The reason I ask is because one includes squad radar and the other does not. 

Share this post


Link to post
Share on other sites

If your hosting the server yourself you should edit your own profile as the server is run on that then. also use the dev format because that is what 1.62 uses (which is the sneak preview one aswel)

Share this post


Link to post
Share on other sites

If your hosting the server yourself you should edit your own profile as the server is run on that then. also use the dev format because that is what 1.62 uses (which is the sneak preview one aswel)

 

Thanks for the latter info! As for the beginning of the reply. I do not host the server myself, it is on the GSP's server. I do have access to their files. I believe then that Administrator.arma3profile would be the right profile to modify...I will give it a shot and let you know.

Share this post


Link to post
Share on other sites

I opened up the Administrator.Arma3Profile file and the only code in it is:

version=1;
blood=1;
singleVoice=0;
gamma=1;
brightness=1;
maxSamplesPlayed=96;
sceneComplexity=1000000;
shadowZDistance=100;
viewDistance=3800;
preferredObjectViewDistance=3200;
terrainGrid=3.125;
volumeCD=10;
volumeFX=10;
volumeSpeech=10;
volumeVoN=10;
vonRecThreshold=0.029999999;

This does not seem to be the place with the presets... 

Share this post


Link to post
Share on other sites

Just add what Terox said to the bottom of that file.

Although my server is dedicated and the file is named : server.Arma3Profile

This is mine:

 

EDIT:  see post #9 below




Fire

  • Like 1

Share this post


Link to post
Share on other sites

Yea, and you should just skip the two parts about "playedKeys" and "activeKeys". They are unnecessary as far as I know. My server fills that in all the time. Just pay attention to your "{" "}" symbols.

version=1;
blood=1;
volumeCD=5;
volumeFX=5;
volumeSpeech=5;
singleVoice=0;
gamma=1;
brightness=1;


difficulty="Custom";
class DifficultyPresets
{
    class CustomDifficulty
    {
        class Options
        {
            autoReport=0;
            cameraShake=1;
            commands=1;
            deathMessages=0;
            detectedMines=0;
            enemyTags=0;
            Armor=1;
            friendlyTags=0;
            groupIndicators=1;
            mapContent=0;
            multipleSaves=0;
            reducedDamage=0;
            scoreTable=1;
            staminaBar=0;
            stanceIndicator=0;
            thirdPersonView=0;
            visionAid=0;
            vonID=1;
            waypoints=1;
            weaponCrosshair=0;
            weaponInfo=1;
        };
		aiLevelPreset=3;
	}	
	class CustomAILevel
	{
	skillAI=0.5
	precisionAI=0.1
	}
};

Sorry about the way the code looked last night, had to do it from my phone.

 

Fire

  • Thanks 1

Share this post


Link to post
Share on other sites

Shouldn't squadRadar be in there somewhere?

squadRadar=0; or squadRadar=1;

Share this post


Link to post
Share on other sites

Shouldn't squadRadar be in there somewhere?

squadRadar=0; or squadRadar=1;

 

Maybe for Dev Branch. I don't know if its available until APEX comes out. Haven't tried it.

Share this post


Link to post
Share on other sites

Where is the "server.Arma3Profile" on a remotely hosted dedicated server?  Locally its in my profile folder but for a dedicated I am not sure where else to look after having gone through every folder using FileZilla's search function (filename+contains+"profile").

Share this post


Link to post
Share on other sites

Should be in :    users/server/server.Arma3Profile

Share this post


Link to post
Share on other sites

Intial issue resolved, new one is now causing issues...

 

log reports this...

 

ErrorMessage: File ServerLogs\Users\TCAGame\TCAGame.Arma3Profile, line 13: '/CfgDifficultyPresets.': '�' encountered instead of '='

I don't see the error in the file as follows...

 

 line 13 is defaultPreset=Regular;

 

version=1;
blood=1;
volumeCD=5;
volumeFX=5;
volumeSpeech=5;
singleVoice=0;
gamma=1;
brightness=1;


class CfgDifficultyPresets
{
	defaultPreset=Regular;
 
	// Parameters that affect difficulty and which are shared among presets
	myArmorCoef=1.5;
	groupArmorCoef=1.5;
 
	//Parameters that affect the Limited distance choice for Group Indicators, Friendly Name Tags, Enemy Name Tags and Detected Mines.
	//They determine on which distance the indicators are fully visible and how many more meters it takes until the indicator fades-out completely.
	fadeDistanceStart=200;
	fadeDistanceSpan=50;
 
	recoilCoef=1;
	visionAidCoef=0.8;
	divingLimitMultiplier=1.0;		//Multiplier to limit capacity of lungs for soldiers.
 
	animSpeedCoef=0;
	cancelThreshold=0;			//Threshold used for interrupting action.
	showCadetHints=1; // (0=disabled, 1=enabled)
	showCadetWP=1; // (0=disabled, 1=enabled)
 
	class Recruit
	{
		displayName=$STR_Difficulty0;    //Name of the difficulty preset.
 
		class Options
		{
			// Simulation
			reducedDamage=1;    // Reduced damage (0=disabled, 1=enabled)
 
			// Situational awareness
			groupIndicators=2;      // Group indicators   (0=never, 1=limited distance, 2=always)
			friendlyTags=2;         // Friendly name tags (0=never, 1=limited distance, 2=always)
			enemyTags=0;            // Enemy name tags    (0=never, 1=limited distance, 2=always)
			detectedMines=2;        // Detected mines     (0=never, 1=limited distance, 2=always)
			commands=2;             // Commands           (0=never, 1=fade out, 2=always)
			waypoints=2;            // Waypoints          (0=never, 1=fade out, 2=always)
 
			// Personal awareness
			weaponInfo=2;           // Weapon info        (0=never, 1=fade out, 2=always)
			stanceIndicator=2;      // Stance indicator   (0=never, 1=fade out, 2=always)
			staminaBar=1;        // Stamina bar (0=disabled, 1=enabled)
			weaponCrosshair=1;   // Weapon crosshair (0=disabled, 1=enabled)
			visionAid=1;         // Vision aid (0=disabled, 1=enabled)
 
			// View
			thirdPersonView=1;   // 3rd person view (0=disabled, 1=enabled)
			cameraShake=1;       // Camera shake (0=disabled, 1=enabled)
 
			// Multiplayer
			scoreTable=1;        // Score table (0=disabled, 1=enabled)
			deathMessages=1;     // Killed by (0=disabled, 1=enabled)
			vonID=1;             // VON ID (0=disabled, 1=enabled)
 
			// Misc
			mapContent=1;        // Extended map content (0=disabled, 1=enabled)
			autoReport=1;        // Automatic reporting (0=disabled, 1=enabled)
			multipleSaves=1;     // Multiple saves (0=disabled, 1=enabled)
		};
	};
 
	class Regular
	{
		displayName=$STR_Difficulty1;   //Name of the difficulty preset.
 
		class Options
		{
			// Simulation
			reducedDamage=0;    // Reduced damage (0=disabled, 1=enabled)
 
			groupIndicators=1;      // Group indicators   (0=never, 1=limited distance, 2=always)
			friendlyTags=1;         // Friendly name tags (0=never, 1=limited distance, 2=always)
			enemyTags=0;            // Enemy name tags    (0=never, 1=limited distance, 2=always)
			detectedMines=1;        // Detected mines     (0=never, 1=limited distance, 2=always)
			commands=1;             // Commands           (0=never, 1=fade out, 2=always)
			waypoints=2;            // Waypoints          (0=never, 1=fade out, 2=always)
 
			// Personal awareness
			weaponInfo=2;           // Weapon info        (0=never, 1=fade out, 2=always)
			stanceIndicator=2;      // Stance indicator   (0=never, 1=fade out, 2=always)
			staminaBar=1;        // Stamina bar (0=disabled, 1=enabled)
			weaponCrosshair=0;   // Weapon crosshair (0=disabled, 1=enabled)
			visionAid=0;        // Vision aid (0=disabled, 1=enabled)
 
			// View
			thirdPersonView=1;   // 3rd person view (0=disabled, 1=enabled)
			cameraShake=1;       // Camera shake (0=disabled, 1=enabled)
 
			// Multiplayer
			scoreTable=1;        // Score table (0=disabled, 1=enabled)
			deathMessages=1;     // Killed by (0=disabled, 1=enabled)
			vonID=1;             // VON ID (0=disabled, 1=enabled)
 
			// Misc
			mapContent=1;        // Extended map content (0=disabled, 1=enabled)
			autoReport=1;        // Automatic reporting (0=disabled, 1=enabled)
			multipleSaves=1;     // Multiple saves (0=disabled, 1=enabled)
		};
	};
 
	class Veteran
	{
		displayName=$STR_Difficulty2;    //Name of the difficulty preset.
 
		class Options
		{
			// Simulation
			reducedDamage=0;    // Reduced damage (0=disabled, 1=enabled)
 
			// Situational awareness
			groupIndicators=0;      // Group indicators   (0=never, 1=limited distance, 2=always)
			friendlyTags=0;         // Friendly name tags (0=never, 1=limited distance, 2=always)
			enemyTags=0;            // Enemy name tags    (0=never, 1=limited distance, 2=always)
			detectedMines=0;        // Detected mines     (0=never, 1=limited distance, 2=always)
			commands=1;             // Commands           (0=never, 1=fade out, 2=always)
			waypoints=1;            // Waypoints          (0=never, 1=fade out, 2=always)
 
			// Personal awareness
			weaponInfo=1;           // Weapon info        (0=never, 1=fade out, 2=always)
			stanceIndicator=1;      // Stance indicator   (0=never, 1=fade out, 2=always)
			staminaBar=0;       // Stamina bar (0=disabled, 1=enabled)
			weaponCrosshair=0;  // Weapon crosshair (0=disabled, 1=enabled)
			visionAid=0;        // Vision aid (0=disabled, 1=enabled)
 
			// View
			thirdPersonView=0;  // 3rd person view (0=disabled, 1=enabled)
			cameraShake=1;       // Camera shake (0=disabled, 1=enabled)
 
			// Multiplayer
			scoreTable=1;        // Score table (0=disabled, 1=enabled)
			deathMessages=1;     // Killed by (0=disabled, 1=enabled)
			vonID=1;             // VON ID (0=disabled, 1=enabled)
 
			// Misc
			mapContent=0;       // Extended map content (0=disabled, 1=enabled)
			autoReport=0;       // Automatic reporting (0=disabled, 1=enabled)
			multipleSaves=0;    // Multiple saves (0=disabled, 1=enabled)
		};
	};
 
	class Custom
	{
		displayName=$STR_Difficulty_Custom;	    //Name of the difficulty preset.
 
                //All options of the Custom preset are set by the engine. The values in config
		class Options
		{
			// Simulation
			reducedDamage=0;    // Reduced damage (0=disabled, 1=enabled)
 
			// Situational awareness
			groupIndicators=0;      // Group indicators   (0=never, 1=limited distance, 2=always)
			friendlyTags=0;         // Friendly name tags (0=never, 1=limited distance, 2=always)
			enemyTags=0;            // Enemy name tags    (0=never, 1=limited distance, 2=always)
			detectedMines=0;        // Detected mines     (0=never, 1=limited distance, 2=always)
			commands=0;             // Commands           (0=never, 1=fade out, 2=always)
			waypoints=0;            // Waypoints          (0=never, 1=fade out, 2=always)
 
			// Personal awareness
			weaponInfo=1;           // Weapon info        (0=never, 1=fade out, 2=always)
			stanceIndicator=0;      // Stance indicator   (0=never, 1=fade out, 2=always)
			staminaBar=0;       // Stamina bar (0=disabled, 1=enabled)
			weaponCrosshair=0;  // Weapon crosshair (0=disabled, 1=enabled)
			visionAid=0;        // Vision aid (0=disabled, 1=enabled)
 
			// View
			thirdPersonView=0;  // 3rd person view (0=disabled, 1=enabled)
			cameraShake=0;      // Camera shake (0=disabled, 1=enabled)
 
			// Multiplayer
			scoreTable=0;       // Score table (0=disabled, 1=enabled)
			deathMessages=0;    // Killed by (0=disabled, 1=enabled)
			vonID=0;            // VON ID (0=disabled, 1=enabled)
 
			// Misc
			mapContent=0;       // Extended map content (0=disabled, 1=enabled)
			autoReport=0;       // Automatic reporting (0=disabled, 1=enabled)
			multipleSaves=0;    // Multiple saves (0=disabled, 1=enabled)
		};
	};
};

 

Share this post


Link to post
Share on other sites
On 6/28/2016 at 4:50 AM, FireWalker said:

Yea, and you should just skip the two parts about "playedKeys" and "activeKeys". They are unnecessary as far as I know. My server fills that in all the time. Just pay attention to your "{" "}" symbols.


version=1;
blood=1;
volumeCD=5;
volumeFX=5;
volumeSpeech=5;
singleVoice=0;
gamma=1;
brightness=1;


difficulty="Custom";
class DifficultyPresets
{
    class CustomDifficulty
    {
        class Options
        {
            autoReport=0;
            cameraShake=1;
            commands=1;
            deathMessages=0;
            detectedMines=0;
            enemyTags=0;
            Armor=1;
            friendlyTags=0;
            groupIndicators=1;
            mapContent=0;
            multipleSaves=0;
            reducedDamage=0;
            scoreTable=1;
            staminaBar=0;
            stanceIndicator=0;
            thirdPersonView=0;
            visionAid=0;
            vonID=1;
            waypoints=1;
            weaponCrosshair=0;
            weaponInfo=1;
        };
		aiLevelPreset=3;
	}	
	class CustomAILevel
	{
	skillAI=0.5
	precisionAI=0.1
	}
};

Sorry about the way the code looked last night, had to do it from my phone.

 

Fire

Thank you from the future!

Share this post


Link to post
Share on other sites

I try to use server.armaprofile taken from here, but then my dedicated server gets stuck at "loading core configs". I took the last txt file table from this thread and I only need to disable crosshair.

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

×