Server config - Mission header
A very interesting parameter allows the mod and scenario to be modified directly from your configuration file.
This feature is used, for example, by the ACE Medical mod, which lets you configure certain ACE parameters for your server.
It is also used by vanilla servers to configure a scenario without publishing a separate mod.
The problem is that it is poorly explained https://community.bistudio.com/wiki/Arma_Reforger:Server_Config
A typical server config can look like this:
{
"bindAddress": "0.0.0.0",
"bindPort": 2001,
"publicAddress": "192.168.9.10",
"publicPort": 2001,
"a2s": {
"address": "192.168.9.10",
"port": 17777
},
"rcon": {
"address": "192.168.9.10",
"port": 19999,
"password": "changeme_withoutspaces",
"permission": "monitor",
"blacklist": [],
"whitelist": []
},
"game": {
"name": "Server Name - Mission Name",
"password": "",
"passwordAdmin": "changeme",
"admins" : [
"76561198200329058"
],
"scenarioId": "{ECC61978EDCC2B5A}Missions/23_Campaign.conf",
"maxPlayers": 32,
"visible": true,
"crossPlatform": true,
"supportedPlatforms": [
"PLATFORM_PC",
"PLATFORM_XBL"
],
"gameProperties": {
"serverMaxViewDistance": 2500,
"serverMinGrassDistance": 50,
"networkViewDistance": 1000,
"disableThirdPerson": true,
"fastValidation": true,
"battlEye": true,
"VONDisableUI": true,
"VONDisableDirectSpeechUI": true,
"missionHeader": {
"m_iPlayerCount": 40,
"m_eEditableGameFlags": 6,
"m_eDefaultGameFlags": 6,
"other": "values"
}
},
"mods": [
{
"modId": "59727DAE364DEADB",
"name": "WeaponSwitching",
"version": "1.0.1"
},
{
"modId": "59727DAE32981C7D",
"name": "Explosive Goats beta",
"version": "0.5.42"
}
]
},
"operating": {
"lobbyPlayerSynchronise": true,
"joinQueue" : {
"maxSize" : 12
},
"disableNavmeshStreaming": [
"Soldiers",
"BTRlike"
]
}
}
The part mission header is the part to use to customise these parameters.
Here is the listEnglish version of values you can set in your Mission Header variables alonglist withfor theiryour meaning:wiki page:
GeneralVariables Missionin Information:the SCR_MissionHeader Class:
- m_sName (string) - The name of the mission.
- m_sAuthor (string) - The author of the mission.
- m_sPath (string) - The file path to the mission.
- m_sDescription (string) - A brief description of the mission.
- m_sDetails (string) - A detailed
description,description of the mission, including rules and objectives.
Appearance and UI:
- m_sIcon (ResourceName) - The icon displayed in menus.
- m_sLoadingScreen (ResourceName) - The image displayed when the mission is loading.
- m_sPreviewImage (ResourceName) - The mission’s preview
image of the mission.image.
Game Settings:
- m_sGameMode (string) - The game mode
usedof the mission (e.g., "Sandbox", "CTF", "Survival"). - m_iPlayerCount (int) - The number of players supported in the mission.
- m_eEditableGameFlags (EGameFlags) - Game flags that can be modified by the player.
- m_eDefaultGameFlags (EGameFlags) - Default game flags.
Save and Configuration Settings:
- m_bIsSavingEnabled (bool) -
EnablesDeterminesor disableswhether mission statesaving.saving is enabled. - m_sSaveFileName (string) - The name of the save file
(ifforempty,this mission. If undefined, the associated world file nameiswillused).be used. - m_sBriefingConfig (ResourceName) -
PathConfigurationtofile for the briefingconfiguration file.screen.
Time and Weather Management:
- m_bOverrideScenarioTimeAndWeather (bool) - If
enabled,true, the scenario's time and weather will be overridden by the valuesbelow.defined in this mission header. - m_iStartingHours (int) - The starting hour of the mission (0-23).
- m_iStartingMinutes (int) - The starting minutes of the mission (0-59).
- m_bRandomStartingDaytime (bool) - If
enabled,true, the starting time will be randomized. - m_fDayTimeAcceleration (float) - Time acceleration during the day (1 =
normal speed,100%, 2 =twice as fast,200%, etc.). - m_fNightTimeAcceleration (float) - Time acceleration during the night.
- m_bRandomStartingWeather (bool) - If
enabled,true, the starting weather will be randomized. - m_bRandomWeatherChanges (bool) - If
enabled,true, weather will dynamically change during gameplay.
XP and Interaction Settings:
- m_fXpMultiplier (float) -
ExperiencePlayermultiplierXP(1 = normal, 2 = double XP, etc.).multiplier. - m_bMapMarkerEnableDeleteByAnyone (bool) - If
enabled,true, map markers can be deleted by any player within thefaction can delete map markers.faction. - m_iMapMarkerLimitPerPlayer (int) -
MaximumThe maximum number of map markers a player can place at a time.
Other Settings:
- m_bLoadOnStart (bool) - Determines
whetherif the missionloadsisatloadedstartup.on start. - m_sOwner (string) - The owner of the mission.
Additional Notes:Variables in the SCR_MissionHeaderCampaign Class:
Multiplayer:m_iControlPointsCapA(int)mission-isTheconsideredlimitmultiplayeronifthem_iPlayerCountnumber>of1.control points in the campaign.Save File Name:m_fVictoryTimeout (float) - Time before automatic victory if conditions are met.- m_iStartingHQSupplies (int) - Initial supply count at the headquarters.
- m_iMinimumBaseSupplies (int) - Minimum amount of supplies required for a base.
- m_iMaximumBaseSupplies (int) - Maximum amount of supplies a base can store.
- m_bCustomBaseWhitelist (bool) - Indicates whether a custom base whitelist is used.
- m_bIgnoreMinimumVehicleRank (bool) - If
, ignores the minimum rank required for vehicles.m_sSaveFileNametrue - m_aCampaignCustomBaseList (array) - List of custom bases for the campaign.
These additional variables are specific to the SCR_MissionHeaderCampaign isclass empty, it will be automatically generated based on the world file name.
You can adjust these values based on the type of mission youand are creatingused to enhancedefine thesettings playerfor experience.campaign-style 🚀missions.
Sources: