End Game Spectator Mode – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
(Merge Spectator Mode in + formatting)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TOC|side}}
{{TOC|side}}
The Nexus Update has introduced a new spectator mode which should improve the way players can observe a match.
While this new scenario viewing mode was introduced with [[Arma 3: MP End Game|End Game]] it can be used outside of the multiplayer mode, open to community members to use in their own missions.


==Introduction==
With the Nexus Update we've introduced a new spectator mode which should improve the way players can observe a match.
While this new scenario viewing mode was introduced with End Game it can be used outside of the multiplayer mode, open to community members to use it in their own missions.


==Camera Perspectives==
== Camera Perspectives ==
 
* 1st Person Perspective
* 1st Person Perspective
* Free Perspective (Optional)
* Free Perspective (Optional)
* 3th Person Perspective (Optional)
* 3rd Person Perspective (Optional)
 
 
== Vision Modes ==


==Vision Modes==
* Normal
* Normal
* Night Vision (In 1PP depends on the unit's current state)
* Night Vision (in 1PP depends on the unit's current state)
* Thermal Vision (In 1PP depends on the unit's current state)
* Thermal Vision (in 1PP depends on the unit's current state)
 
 
== Flashlight Mode ==


==Flashlight Mode==
Point lights are created at the camera location and at the cursor location in world.
Point lights are created at the camera location and at the cursor location in world.


==Custom Map==
 
== Custom Map ==
 
A custom map designed for the spectator mode, allowing for fast but precise map navigation and changing focused unit.
A custom map designed for the spectator mode, allowing for fast but precise map navigation and changing focused unit.


[[File:BIS Arma3 EDEN VirtualSpectator 4.jpg|400px]]
[[File:BIS Arma3 EDEN VirtualSpectator 4.jpg|400px]]


==Controls==
 
== Controls ==
 
'''For a full list see the ingame control hints'''
'''For a full list see the ingame control hints'''
{| class="wikitable sortable"
{| class="wikitable sortable"
! Keybinding
! Action
|-
|-
! Keybinding !! Action
| {{Controls|W}}/{{Controls|S}}
| Free Perspective movement forward / backward
|-
|-
| W/S || Free Perspective movement forward / backward
| {{Controls|A}}/{{Controls|D}}
| Free Perspective movement left / right
|-
|-
| A/D || Free Perspective movement left / right
| {{Controls|Q}}/{{Controls|Z}}
| Free Perspective movement up / down
|-
|-
| Q/Z || Free Perspective movement up / down
| {{Controls|Shift|W/A/S/D/Q/Z}}
| Free Perspective fast speed
|-
|-
| Movement + Shift || Free Perspective fast speed
| {{Controls|Alt|W/A/S/D/Q/Z}}
| Free Perspective very fast speed
|-
|-
| Movement + Alt || Free Perspective very fast speed
| {{Controls|Alt|Shift|W/A/S/D/Q/Z}}
| Free Perspective ultra fast speed
|-
|-
| Movement + Shift + Alt || Free Perspective ultra fast speed
| {{Controls|RMB}}
|-
|
| RMB||  
* Look in Free Perspective
* Look in Free Perspective
* Rotate in 3 Person Perspective
* Rotate in 3 Person Perspective
|-
|-
| LMB || Select / Deselect spectator focused unit / vehicle
| {{Controls|LMB}}
| Select / Deselect spectator focused unit / vehicle
|-
| {{Controls|Mouse}} || Look / Rotate Around
|-
| {{Controls|Backspace}} || Hide / Show spectator interface
|-
| {{Controls|Space}} || If spectator has a unit focused it changes through the available camera modes
|-
| {{Controls|L}} || Flashlight mode
|-
| {{Controls|M}} || Map
|-
| {{Controls|N}} || Night Vision
|-
|-
| Movement + Shift + Alt || Free Perspective ultra fast speed
| {{Controls|Ctrl|F1}}..{{Controls|F10}} || Save currently selected soldier
|-
|-
| Mouse Movement || Look / Rotate Around
| {{Controls|F1}}..{{Controls|F10}} || Select saved soldier
|-
|-
| Backspace || Hide / Show spectator interface
| {{Controls|Ctrl|0}}..{{Controls|9}} || Save current Free Perspective camera position
|-
|-
| Space bar || If spectator has a unit focused it changes through the available camera modes
| {{Controls|0}}..{{Controls|9}} || Select Free Perspective camera position
|-
|-
| L || Flashlight mode
| {{Controls|NumEnter}}/{{Controls|Num0}}/{{Controls|Num.}} || Select camera view
|}
|}


==Scenario Implementation==
 
===Debug Spectator Mode===
== Scenario Implementation ==
 
=== Debug Spectator Mode ===
 
It is possible to access the Spectator Mode while previewing in the Editor / EDEN Editor by pressing Esc and clicking Spectator, to close you can repeat previous step.
It is possible to access the Spectator Mode while previewing in the Editor / EDEN Editor by pressing Esc and clicking Spectator, to close you can repeat previous step.


[[File:BIS Arma3 EDEN VirtualSpectator 3.jpg|400px]]
[[File:BIS Arma3 EDEN VirtualSpectator 3.jpg|400px]]


===Respawn Type===
=== Respawn Type ===
 
In certain respawn types, the Spectator Mode is automatically executed upon death and replaces the old mode.
In certain respawn types, the Spectator Mode is automatically executed upon death and replaces the old mode.
It works automatically with respawn 1 ("Bird") and 5 ("Side" if there's no AI left).
It works automatically with respawn 1 ("Bird") and 5 ("Side" if there's no AI left).
For more information on the available respawn types and their specific behavior check this page.
For more information on the available respawn types and their specific behavior see {{Link|Arma 3: Respawn#Respawn Types}}.
 
<syntaxhighlight lang="cpp">respawn = 1;</syntaxhighlight>


<code>respawn = 1;</code>
=== Full Control ===


===Full Control===
In case you would like to control when a player starts / stops spectating, you can use the built-in functions to do exactly that.
In case you would like to control when a player starts / stops spectating, you can use the built-in functions to do exactly that.
See [[BIS_fnc_EGSpectator]] for more information.
See [[BIS_fnc_EGSpectator]] for more information.


===Spectate when dead===
=== Spectate When Dead ===
 
If you are using a respawn type different then 1 ("Bird"), you may want to execute the spectator mode when a player dies, then stop the spectator when the player respawns, this could be achieved in many ways, such as the one below, which will make every player start spectating when dead, and stop spectating when he respawns, 60 seconds after:
If you are using a respawn type different then 1 ("Bird"), you may want to execute the spectator mode when a player dies, then stop the spectator when the player respawns, this could be achieved in many ways, such as the one below, which will make every player start spectating when dead, and stop spectating when he respawns, 60 seconds after:


'''Description.ext'''
'''Description.ext'''
<code>respawn = 3;
<syntaxhighlight lang="cpp">
respawnDelay = 60;</code>
respawn = 3;
respawnDelay = 60;
</syntaxhighlight>
 
'''onPlayerKilled.sqf'''
'''onPlayerKilled.sqf'''
<code>["Initialize", [<nowiki/>[[player]], [], [[true]] ]] [[call]] [[BIS_fnc_EGSpectator]];</code>
<sqf>["Initialize", [player, [], true]] call BIS_fnc_EGSpectator;</sqf>
 
'''onPlayerRespawn.sqf'''
'''onPlayerRespawn.sqf'''
<code>["Terminate"] [[call]] [[BIS_fnc_EGSpectator]];</code>
<sqf>["Terminate"] call BIS_fnc_EGSpectator;</sqf>
 
=== Virtual Spectator ===


===Virtual Spectator===
The new Spectator mode also brings a new special object that can be controlled by a player and will give the controlling player the Spectator Mode control, just drop it in a scenario and start spectating that easily.
The new Spectator mode also brings a new special object that can be controlled by a player and will give the controlling player the Spectator Mode control, just drop it in a scenario and start spectating that easily.
If you are accessing the Virtual Spectator from EDEN Editor, you will see custom attributes to control certain parts of the Virtual Spectator functionality within EDEN.
If you are accessing the Virtual Spectator from EDEN Editor, you will see custom attributes to control certain parts of the Virtual Spectator functionality within EDEN.
Line 92: Line 131:
[[File:BIS Arma3 EDEN VirtualSpectator 1.jpg|400px]]
[[File:BIS Arma3 EDEN VirtualSpectator 1.jpg|400px]]
[[File:BIS Arma3 EDEN VirtualSpectator 2.jpg|400px]]
[[File:BIS Arma3 EDEN VirtualSpectator 2.jpg|400px]]
=== Mission Configuration ===
Use [[missionNamespace]] variables to limit camera behavior.
{| class="wikitable" width="100%"
! Variable
! Type
! Description
! Example
|-
| style="text-align: center" | '''RscSpectator_allowedGroups'''
| [[Array]] of [[Group]]s
| All group members will be available for spectator preview. All groups are used by default.
| <sqf>RscSpectator_allowedGroups = [BIS_grpBlue, BIS_grpGreen];</sqf>
|-
| style="text-align: center" | '''RscSpectator_allowFreeCam'''
| [[Boolean]]
| Enable/disable access to free cam. When disabled, only unit view remains. Default is enabled.
| <sqf>RscSpectator_allowFreeCam = false;</sqf>
|}
{{GameCategory|arma3|Editing}}
{{GameCategory|arma3|Editing}}

Latest revision as of 23:55, 24 June 2022

The Nexus Update has introduced a new spectator mode which should improve the way players can observe a match. While this new scenario viewing mode was introduced with End Game it can be used outside of the multiplayer mode, open to community members to use in their own missions.


Camera Perspectives

  • 1st Person Perspective
  • Free Perspective (Optional)
  • 3rd Person Perspective (Optional)


Vision Modes

  • Normal
  • Night Vision (in 1PP depends on the unit's current state)
  • Thermal Vision (in 1PP depends on the unit's current state)


Flashlight Mode

Point lights are created at the camera location and at the cursor location in world.


Custom Map

A custom map designed for the spectator mode, allowing for fast but precise map navigation and changing focused unit.

BIS Arma3 EDEN VirtualSpectator 4.jpg


Controls

For a full list see the ingame control hints

Keybinding Action
W/S Free Perspective movement forward / backward
A/D Free Perspective movement left / right
Q/Z Free Perspective movement up / down
⇧ Shift + W/A/S/D/Q/Z Free Perspective fast speed
Alt + W/A/S/D/Q/Z Free Perspective very fast speed
Alt + ⇧ Shift + W/A/S/D/Q/Z Free Perspective ultra fast speed
Right Mouse Button
  • Look in Free Perspective
  • Rotate in 3 Person Perspective
Left Mouse Button Select / Deselect spectator focused unit / vehicle
Mouse Look / Rotate Around
Hide / Show spectator interface
Space If spectator has a unit focused it changes through the available camera modes
L Flashlight mode
M Map
N Night Vision
Ctrl + F1..F10 Save currently selected soldier
F1..F10 Select saved soldier
Ctrl + 0..9 Save current Free Perspective camera position
0..9 Select Free Perspective camera position
NUM Enter ↵/NUM 0/NUM . Select camera view


Scenario Implementation

Debug Spectator Mode

It is possible to access the Spectator Mode while previewing in the Editor / EDEN Editor by pressing Esc and clicking Spectator, to close you can repeat previous step.

BIS Arma3 EDEN VirtualSpectator 3.jpg

Respawn Type

In certain respawn types, the Spectator Mode is automatically executed upon death and replaces the old mode. It works automatically with respawn 1 ("Bird") and 5 ("Side" if there's no AI left). For more information on the available respawn types and their specific behavior see Arma 3: Respawn - Respawn Types.

respawn = 1;

Full Control

In case you would like to control when a player starts / stops spectating, you can use the built-in functions to do exactly that. See BIS_fnc_EGSpectator for more information.

Spectate When Dead

If you are using a respawn type different then 1 ("Bird"), you may want to execute the spectator mode when a player dies, then stop the spectator when the player respawns, this could be achieved in many ways, such as the one below, which will make every player start spectating when dead, and stop spectating when he respawns, 60 seconds after:

Description.ext

respawn = 3;
respawnDelay = 60;

onPlayerKilled.sqf

["Initialize", [player, [], true]] call BIS_fnc_EGSpectator;

onPlayerRespawn.sqf

["Terminate"] call BIS_fnc_EGSpectator;

Virtual Spectator

The new Spectator mode also brings a new special object that can be controlled by a player and will give the controlling player the Spectator Mode control, just drop it in a scenario and start spectating that easily. If you are accessing the Virtual Spectator from EDEN Editor, you will see custom attributes to control certain parts of the Virtual Spectator functionality within EDEN.

BIS Arma3 EDEN VirtualSpectator 1.jpg BIS Arma3 EDEN VirtualSpectator 2.jpg

Mission Configuration

Use missionNamespace variables to limit camera behavior.

Variable Type Description Example
RscSpectator_allowedGroups Array of Groups All group members will be available for spectator preview. All groups are used by default.
RscSpectator_allowedGroups = [BIS_grpBlue, BIS_grpGreen];
RscSpectator_allowFreeCam Boolean Enable/disable access to free cam. When disabled, only unit view remains. Default is enabled.
RscSpectator_allowFreeCam = false;