server.armaprofile

From Bohemia Interactive Community
Revision as of 09:30, 30 December 2020 by Lou Montana (talk | contribs) (Text replacement - "\{\{GameCategory\|arma2\| +" to "{{GameCategory|arma2|")
Jump to navigation Jump to search

Introduction

This article deals with the server.armaprofile, describing all the visual and difficulty settings in ArmA, like friendly and enemy AI quality, HUD, crosshair, 3rd person view, clock indicator and so on.


Extension

Game Extension
Armed Assault .ArmAProfile
Arma 2 .ArmA2Profile
Arma 2: Operation Arrowhead .ArmA2OAProfile
Arma 3 .Arma3Profile

Location

The file's location is different on each operating system:

Windows

The default profile named after the system user can be found at:

  • XP EN: C:\Documents and Settings\%UserName%\My Files\ArmA
  • XP DE: C:\Dokumente und Einstellungen\%UserName%\Eigene Dateien\ArmA
  • Vista/Win7/8/10: C:\Users\%UserName%\Documents\ArmA

User created profiles with a different naming are found at:

  • XP EN: C:\Documents and Settings\%UserName%\My Files\ArmA Other Profiles
  • XP DE: C:\Dokumente und Einstellungen\%UserName%\Eigene Dateien\ArmA Other Profiles
  • Vista/Win7/8/10: C:\Users\%UserName%\Documents\Arma - Other Profiles

Profile name

In there is a folder and within filename based on your profile name:

\ArmA\MyProfileName\MyProfileName.ArmAProfile

You can define the profile to be loaded with the -name parameter.

Define a different location

You can specify the location by using the -profiles parameter.

For example start the server with

arma_server.exe -profiles=D:\ArmA\Users\ -name=server

You can find your file in

D:\ArmA\Users\server\server.armaProfile

Linux

The name depends upon the -name parameter when starting the Arma server. Having started the server with "./server -name=server" (-profiles seems to be useless on Linux) you'll find it as a subfolder of your arma-server directory, for example "/usr/home/arma-server/server/server.armaprofile".

If you're not using the -name parameter, the default name "player" will be used and you'll find the Arma profile in player/player.armaprofile.

Example Configuration File

The server has less values compared to a client version.

Server

Armed Assault

Arma 2

This is how the default difficulty settings part of the server's .arma2profile file would look:

Arma 2: Operation Arrowhead

Arma 3

Since 1.58:
One of the main changes that came with 1.58 is that the difficulty levels were transformed to true presets (Recruit, Regular, Veteran).
Each preset has exactly defined value for each difficulty option. If any of the options doesn't match the preset, the preset is changed to Custom. The particular flags stored in profile are only for the Custom preset, since Recruit, Regular and Veteran are fixed ones and predefined in game's data in CfgDifficultyPresets config class.

Server Difficulty Example

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 = 1;			// Commands (0 = never, 1 = fade out, 2 = always)
			waypoints = 1;			// Waypoints (0 = never, 1 = fade out, 2 = always)
			tacticalPing = 0;		// Tactical ping (0 = disable, 1 = enable)

			/* 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 = 0;			// Stamina bar
			weaponCrosshair = 0;	// Weapon crosshair
			visionAid = 0;			// Vision aid

			/* View */

			thirdPersonView = 0;	// 3rd person view
			cameraShake = 1;		// Camera shake

			/* Multiplayer */

			scoreTable = 1;			// Score table
			deathMessages = 1;		// Killed by
			vonID = 1;				// VoN ID

			/* Misc */

			mapContent = 0;			// Extended map content
			autoReport = 0;			// (former autoSpot) Automatic reporting of spotted enemied by players only. This doesn't have any effect on AIs.
			multipleSaves = 0;		// Multiple saves
		};
		
		// aiLevelPreset defines AI skill level and is counted from 0 and can have following values: 0 (Low), 1 (Normal), 2 (High), 3 (Custom).
		// when 3 (Custom) is chosen, values of skill and precision are taken from the class CustomAILevel.
		aiLevelPreset = 3;
	};

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

See Also