Arma 3 Respawn Script Multiplayer

Posted : admin On 12.09.2019

If it's a script, it's most likely a rarer or hard to find bug within the script itself, and you need to get in touch with the mission creator or server admin. Try to throw grenades, change weapons, or reload while you're down. If you can't do these things and can't access the escape menu to respawn, then it is a script issue. Respawn is a way for players to join the game once they are dead. Revive is a system which try to keep the player in the gameplay. For that they are 'simulated' to be hurt, and other players have to look and heal them. Purpose: Keep the game running for everyone and dont split the team up which will occur.

Changed All text boxes (Mission briefings, do script, etc) character limit has been increased to approx 16,000 characters. Adding aircraft to a group set to spawn on ramp now places the new aircraft at the closest available spot to the lead aircraft.

  • 2Mission information
  • 3Respawn/Revive
  • 4Mission keys
  • 5player's UI
  • 6Starting gear
  • 7Corpse & wreck management
  • 8Mission parameters
  • 9Mission settings
  • 10Server security
  • 11Tasks
  • 12Custom content definition

General information

The Description.ext is used to set the overall mission attributes or to define global entites that will be available for other scripts.It is placed in the mission root folder and uses the same syntax as the config.cpp file, but supports only a limited number of config classes.

Additionally, many attributes can also be set via the Eden Editor, where changes are automatically refreshed upon scenario preview.In the 2D Editor the mission has to be reloaded for changes to be applied.

This file is required in OFP: Elite for MP missions to work, otherwise a -1 error is shown.

This page is about Mission Description.ext. For the campaign version, please go to Campaign Description.ext.
The keyword class for class definitions must be lower case, otherwise a parsing error will happen.

Mission information

This section helps you find out how to customise Mission overall external appearance, from Mission Overview to Loading Screens.


header

This class defines mission type and other settings displayed in the multiplayer browser.

See Multiplayer Game Types for more detailed information.


onLoadMission

Displays a message while the mission is loading. Note that a mission that takes very little time to load will only display the message for a short time.In OFP:CWC this is the name you see when selecting a mission in MP and also the name that is presented to the Multiplayer browser.


onLoadIntro

Displays a message while the intro is loading.


onLoadMissionTime

Define whether you will see the time and date displayed while the mission loads. Effect unkown in Arma 3.


onLoadIntroTime

Define whether you will see the time and date displayed while the intro loads.


loadScreen

You can define a picture to be shown while the mission is loaded.The path is relative to the mission folder.


briefingName

Mission name displayed in the mission selection menu.


CfgLoadingTexts

Define mission specific loading texts.


onLoadName

String (usually mission name) shown during mission loading. The string is shown in a slightly larger font above the loadScreen. For example:

This produces the pictured result. The onLoadMission text is placed below the load screen and the header gameType determines the game type on top of the box.


author

Mission author's name. The default loading screen shows this string below the onLoadName in a smaller font prefixed by 'by '.


overviewPicture

Path to image which will be displayed when the mission is highlighted on the mission selection screen. Image should be .paa format and in 2:1 aspect ratio – ideally 1024x512 (Arma 3).


overviewText

Text to be displayed below the overviewPicture on the mission selection screen when the mission is available to play.


overviewTextLocked

Text to be displayed below the overviewPicture on the mission selection screen when the mission is locked from play.


onBriefingGear

Defines a sound (defined in CfgSounds) that will play when accessing the gear part of the briefing. See Briefing.html.

has no effect in Arma 3


onBriefingGroup

Defines a sound (defined in CfgSounds) that will play when accessing the group part of the briefing. See Briefing.html.

has no effect in Arma 3


onBriefingPlan

Defines a sound (defined in CfgSounds) that will play when accessing the plan part of the briefing. See Briefing.html.

has no effect in Arma 3


Respawn/Revive

This section talks about respawn and revive actions.

  • for Arma 2, see First Aid.
  • for Arma 3, see Arma 3 Respawn and Arma 3 Revive.


Respawn types
IDText versionDescription
0'NONE'No respawn
1'BIRD'Respawn as a seagull
2'INSTANT'Respawn just where you died.
3'BASE'Respawn in base.
A respawn marker is needed. If no marker is defined, respawn behaviour will be the same as 'INSTANT'.
Marker role names:
  • Unit respawn: respawn_SIDE
  • Vehicle respawn: respawn_vehicle_SIDE

Side can be one of west, east, guerrila (sic), civilian, e.g respawn_west.
Any suffix (eg: respawn_westABC, respawn_west_1, etc) will allow multiple random respawn points.

4'GROUP'Respawn in your group. If there is no remaining AI, you will become a seagull.
5'SIDE' Respawn into an AI unit on your side (if there's no AI left, you'll become a seagull).
With this respawn type, team switch is also available to any AI controlled playable units.

respawn

Sets respawn type.


respawnButton

Enable or disable the respawn button in the menu for INSTANT and BASE respawn types.


respawnDelay

Set respawn delay in seconds.


respawnVehicleDelay

Set vehicle respawn delay in seconds.


respawnDialog

Show the scoreboard and respawn countdown timer for a player if he is killed with respawn type3.


respawnOnStart

Respawn player when he joins the game. Available only for INSTANT and BASE respawn types.

  • -1 - Dont respawn on start. Don't run respawn script on start.
  • 0 - Dont respawn on start. Run respawn script on start.
  • 1 - Respawn on start. Run respawn script on start.


respawnTemplates

Respawn templates from CfgRespawnTemplates. You can combine any number of them together.

Side specific respawn templates can be specified with respawnTemplatesSIDE[] where SIDE can be any playable side (West, East, Guer, Civ).
When such is undefined, general respawnTemplates are used instead.


respawnWeapons

Set weapons players will receive upon respawn. respawnMagazines has to be defined as well.

Side specific respawn weapons can be specified with respawnWeaponsSIDE[] where SIDE can be any playable side (West, East, Guer, Civ).
Corresponding respawnMagazinesSIDE[] has to be defined as well.


respawnMagazines

Set magazines players will receive upon respawn. respawnWeapons has to be defined as well.

Side specific respawn weapons can be specified with respawnMagazinesSIDE[] where SIDE can be any playable side (West, East, Guer, Civ).
Corresponding respawnWeaponsSIDE[] has to be defined as well.


reviveMode

Define if Revive mode is enabled.

  • 0 - disabled
  • 1 - enabled
  • 2 - controlled by player attributes


reviveUnconsciousStateMode

Define revive mode.

  • 0 - basic mode
  • 1 - advanced mode
  • 2 - realistic

See damage model for more detailed information.


reviveRequiredTrait

Define if only a medic (or unit with medic trait) can perform a revive.


reviveRequiredItems

Define if a medical item (first aid kit or medkit) is required to begin a revive process.

  • 0 - none
  • 1 - medkit
  • 2 - medkit or first aid kit


reviveRequiredItemsFakConsumed

Define if a first aid kit is consumed on reviving a teammate


reviveMedicSpeedMultiplier

Speed multiplier for revive performed by medic


reviveDelay

The time in seconds it takes to revive an incapacitated unit. Having a Medikit will halve this time.


reviveForceRespawnDelay

The time in seconds it takes for an incapacitated unit to force their respawn.


reviveBleedOutDelay

The time in seconds it takes for a unit to bleed out.


enablePlayerAddRespawn

Usage unsure, may be related to respawn templateMenuPosition.


CfgRespawnInventories

This class defines a respawn inventory, used with MenuInventoryrespawn template.Loadouts with no assigned role are automatically assigned to the 'Default' role.
See also BIS_fnc_addRespawnInventory, BIS_fnc_removeRespawnInventory


CfgRespawnTemplates

This class defines new respawn templates to be used with respawn templates.


CfgRoles

This class defines Respawn roles. The main purpose of Roles is to make things clearer and simpler for player when selecting a loadout. All the loadouts available in a mission are now divided into various roles.Mission designer can use roles already created in the game config, or custom roles can be defined in description.ext file. Loadouts with no role assigned are automatically assigned to the Default role.


Mission keys

Mission keys are used to lock/unlock certain missions until you completed other ones. It can also be used in mission to know which missions you finished.
Activated keys can be found in user profile (e.g documentsusername.Arma3profile) under activeKeys section.
See also commands activateKey, isKeyActive and deActivateKey for more detailed information.

Please note that unlike other text items, stringtable translations ($STR_*) cannot be used.


keys

List of keys from which keysLimit counts the done ones.


keysLimit

Number of keys from the keys list needed done to unlock (and be able to play) this mission.

Arma 3 Player Respawn Script


doneKeys

Name of keys marked done on mission completion.



player's UI

This section explains HUD customisation possibilities.
See also commands:

  • showCompass, shownCompass, visibleCompass
  • showGPS, shownGPS, visibleGPS
  • showHUD, shownHUD
  • showWatch, shownWatch, visibleWatch
  • showUAVFeed, shownUAVFeed
  • showPad, shownPad
    1.00


showHUD

Enables/Disables the following IGUI elements:

  • Vehicle and unit info
  • Radar and tactical display
  • Vehicle compass
  • Tank direction indicator
  • Commanding menu
  • Group info bar
  • HUD weapon cursors
  • Vehicle display panels

The effect of using the above showHUD param is different from the effects of showHUD scripting command, both methods are rather complementary to each other.
As of Arma 3 v1.49.131879 showHUD param could be an array to allow control over separate HUD elements, for example:

NOTE: adding new showHUD[] array param to description.ext will also disable scripted command showHUD entirely.


showCompass

Defines if the compass is visible.


showGPS

Enables/Disables the GPS.

In ArmA1.04 toggle this option to disable the mini map attached to the GPS.


showGroupIndicator

Changes default GPS mini map into a radar like display that indicates group members relative position to the player.
See also BIS_fnc_groupIndicator

Has no effect since custom panels were introduced in Arma 3


showMap

Defines if the map is shown after the mission starts.


showNotePad

In ArmA, defines if the NotePad is shown after the mission starts.


showPad

Defines if the NotePad is shown after the mission starts. Only in OFP:CWC.


showWatch

Defines if the watch is visible.


showUAVFeed

Enables/Disables the UAV Feed.


showSquadRadar

Defines if the Squad Radar is visible.

Has no effect since custom panels were introduced in Arma 3


Starting gear

Starting gear points to briefing-available equipment. For respawn equipment, see Respawn/Revive.
See also Weapon Pool Commands for more detailed information about weapon pool system.


weapons

Set weapons available to players during the briefing.


magazines

Set magazines available to players during the briefing.


backpacks

Set backpacks available to players during the briefing.


allowSubordinatesTakeWeapons

Allows subordinates (i.e., not leaders) to equip items defined in weapons, magazines and backpacks.

Arma 3 Respawn Script Multiplayer



Corpse & wreck management

This section explains how to use game-included garbage collector (GC) for better performances.
See also addToRemainsCollector, isInRemainsCollector and removeFromRemainsCollector commands.


corpseManagerMode

Sets the mode for corpse removal manager.

  • 0 = None - None of the units are managed by the manager
  • 1 = All - All units are managed by the manager
  • 2 = None_But_Respawned - Only units that can respawn are managed by the manager
  • 3 = All_But_Respawned - All units are managed by the manager with exception of respawned (opposite to mode 2)


corpseLimit

Corpse limit before which ( <= ) corpseRemovalMaxTime applies and after which ( > ) corpseRemovalMinTime applies.


corpseRemovalMinTime

Remove all bodies that have been dead longer than corpseRemovalMinTime when corpseLimit is reached.


corpseRemovalMaxTime

Maximum time a corpse can remain on the ground if total number of corpses is equal or under corpseLimit.


wreckManagerMode

Sets the mode for wreck removal manager.

  • 0 = None - None of the vehicles are managed by the manager
  • 1 = All - All vehicles are managed by the manager
  • 2 = None_But_Respawned - Only vehicles that can respawn are managed by the manager
  • 3 = All_But_Respawned - All vehicles are managed by the manager with exception of respawned (opposite to mode 2)


wreckLimit

Vehicle wreck limit before which ( <= ) wreckRemovalMaxTime applies and after which ( > ) wreckRemovalMinTime applies .


wreckRemovalMinTime

Remove all wrecks that have existed longer than wreckRemovalMinTime when wreckLimit is breached.


wreckRemovalMaxTime

Maximum time a wreck can remain on the ground if total number of wrecks is equal or under wreckLimit.


minPlayerDistance

The minimum distance between corpse or wreck and nearest player before the corpse or wreck is allowed to be removed by the garbage collector.



Mission parameters

Mission parameters allow you to add settings to your creation. These settings are in-game accessible only in Multiplayer mode, but can also be accessed by commands for a scripted use in Singleplayer mode.
for Arma 3, see Arma 3 Mission Parameters.
See also BIS_fnc_getParamValue command (paramsArray usage is not recommended).


titleParam%, valuesParam%, defValueParam%, textParam%

titleParam1 and titleParam2 (% in title is replaced either by 1 or 2) are multiplayer options.These options are seen in the lobby of a multiplayer game.They can be useful for setting time limits and score limits in such games as Capture the Flag and Death Matches.Other popular uses include accelerate time, setting the mission difficulty or switching the intro on/off.

While param1/param2 were introduced in OFP:CWC and can still be used in later titles, it is highly recommended to use config class params.

In the mission, variables param1 and param2 have the corresponding values of the chosen options.

Example:


params

These are Multiplayer parameters, available in the lobby by the server administrator.They are intended as a replacement for param1/param2.

See Arma 3 Mission Parameters for more detailed information.



Mission settings

These are non-editable, mission maker design settings.They can be used for a smoother experience, briefing/debriefing behaviour, saving options, etc.
See also Debriefing for more detailed information.


aiKills

Enables AI units score to appear in score table.


briefing

Skip briefing screen for SP missions. If no briefing.html is present, it is skipped anyway.

Briefing will still be displayed until all clients are connected and done loading.


debriefing

Defines if the debriefing is shown or not at the end of the mission.


CfgDebriefing

Define custom mission endings or override the default endings (found under CfgDebriefing in the game's config file).


CfgDebriefingSections

Define custom sections to be displayed on the debriefing screen. Useful for custom scoring systems or displaying player achievements.


channel ID number correspondence
GlobalSideCommandGroupVehicleDirectSystem
0123456

disableChannels

Disable global, side, command and system chat. MOTD and admin say have exception and will show in global.

basic syntax:

advanced syntax (available since A2OA beta 1.60.93398):


disabledAI

Multiplayer setting that removes all playable units which do not have a human player.
When AI is disabled, a player logging out will not have AI take control of his character.

Disabling AI units will prevent JIP into playable units.


disableRandomization

Disables randomization on certain objects, object types or object kinds in the mission. For more information visit: Vehicle Customization (VhC)

Note: This takes higher priority and will override the following:


enableDebugConsole

Allows access to the Debug Console outside of the editor during normal gameplay.

  • 0 - Default behavior, available only in editor
  • 1 - Available in SP and for hosts / logged in admins
  • 2 - Available for everyone

Alternative since


enableItemsDropping

Disable dropping items while swimming. Introduced in Arma 2 OA BETA 1.60.93965. Doesn't seem to have any effect in Arma 3.


enableTeamSwitch

Enables or disables Team Switch functionality in MP when respawn type is 5 (SIDE).


forceRotorLibSimulation

Force enable or disable RotorLib flight model.

  • 0 - based on player's options
  • 1 - enabled (advanced mode)
  • 2 - disabled (default flight mode)


joinUnassigned

By default a new player is not auto assigned a free playable slot in the mission lobby in Multiplayer.Disable this setting to make him auto assigned to the side with least players.


minScore, avgScore, maxScore

Set minimum, average and maximum score for your mission.Score is related to the star display in the debriefing screen (OFP:CWC).The score can be influenced during a missions progress by using the addRating command.

Values have to follow this formula: minScore < avgScore < maxScore. Any other combinations can lead to game freeze upon mission end.


onCheat

Executes custom statement when player enters GETALLGEAR cheat (see: GETALLGEAR).


onPauseScript

Executes a custom SQF script or function in scheduled environment (execVM) when player brings up Game Pause screen (presses 'Esc' button).Display parameter of the resulting dialog is available via (_thisselect 0) inside the script.

Arma 3 Respawn Script Multiplayer Pc

The script or function executes in its own namespace. In order to get/set external global variable you need to explicitly use mission namespace:


saving

Toggle saving possibility.


scriptedPlayer

When scripted player is enabled, game no longer shows 'No player select' error message upon mission start when no player unit is present.


skipLobby

When enabled, joining player will join the mission bypassing role selection screen. The joinUnassigned param will be set to 1 automatically, so that player receives first available role from mission template. When leaving such mission, player will go straight back to server browser.



Server security

This section underlines mission security settings for server. They can secure or break your mission, so be sure to use them wisely.


allowFunctionsLog

Allows functions to log to the RPT file.


allowFunctionsRecompile

As a security measure, functions are by default protected against rewriting during mission.This restriction does not apply in missions previewed from the editor.


CfgRemoteExec

Define remoteExec and remoteExecCall restrictions. See CfgRemoteExec for more detailed explanations and examples.


CfgDisabledCommands

Define disabled script commands. See CfgDisabledCommands for more detailed explanations.

unsafeCVL

If set to 1, using createVehicleLocal is allowed in multiplayer.

Tasks

Tasks are part of the mission. This section deals with the settings for them.
See also Arma 3 Tasks Overhaul


Script

taskManagement_markers2D

Use new 2D markers.


taskManagement_markers3D

Use new 3D markers.


taskManagement_propagate

Propagate shared tasks to subordinates.


taskManagement_drawDist

3D marker maximum draw distance in meters. within this range, unassigned tasks are drawn on screen.


CfgTaskTypes

Define Task types and their icons.


CfgTaskDescriptions

Define Task titles and descriptions.


CfgTaskEnhancements

Defines tasks enhancements directly in a class.



Custom content definition

These class definitions allow for mission-defined content like sounds, music, or more advanced content like functions.


CfgCameraEffects

Configure custom cameraEffect.

Example:


CfgFunctions

Define functions for your mission. See Functions Library for more detailed information.


CfgIdentities

Define the identities of individual units, you can specify the face, type of glasses worn, voice, tone of voice and name of an identity.You then give a specific unit this identity by using the command setIdentity in the mission.
NOTE:nameSound is only valid since Arma 3. See setNameSound for possible values.

Example:

See CfgIdentities for more detailed information and valid options for face, glasses, speaker etc.


CfgLeaflets

Define leaflets for your missions. See Arma 3 Leaflets for more information.


CfgMusic

Defines music you can play with playMusic.

Example:

Setting volume (db) of music far from zero will disable fadeMusic command. Optimal values are from -10 to 10.


CfgNotifications

Define custom notifications to be shown with BIS_fnc_showNotification. See Notification for more detailed information and examples.


CfgPostprocessTemplates

Define custom post-process effects, to Post process effects format (only 'colorCorrection' and 'filmGrain' are supported for now).
To be used with BIS_fnc_setPPeffectTemplate.


CfgRadio

Defines radio sentences you can play with these radio commands: customRadio, vehicleRadio, groupRadio, sideRadio, globalRadio.

Example:


Respawn

CfgSentences

See Conversations for more information.


CfgSFX

See CfgSFX for more information.


CfgSounds

General sounds that can be used for dialog, voiceovers in the briefing etc.
See also commands playSound, say, say2D and say3D.

Example:

See OFP ToadLife's tutorial for more detailed information.

NOTE: Since Arma 3 v1.49.131710 it is possible to define AddOn sounds in mission config. In order to make engine look for the sound in AddOn, the sound path must start with @ (instead of ) for example:


CfgUnitInsignia

Define custom unit insignia (shoulder patches). See Arma 3 Unit Insignia for more detailed information.


CfgUnitTemplates

This class is used to create units templates. For now, this is only used with the function BIS_fnc_unitHeadgear.

Example:


CfgVehicles

Arma 3 Respawn Script Multiplayer Walkthrough

This class can only be used to create sound sources, since Arma 3 v1.69.141183.
See also CfgSFX for more detailed information.


CfgVehicleTemplates

This class is used to create vehicle templates used by the Vehicle Customization system.


rscTitles

Defines custom UI displays. To show such displays, use cutRsc or titleRsc.

Retrieved from 'https://community.bistudio.com/wiki?title=Description.ext&oldid=124700'