Skip to content

Extension "Tacview"

Many servers run Tacview to help people analyse their flight path, weapons employment and whatnot. It is an awesome tool for teaching and after action reports as well.
One of the downsides (besides a performance hit on servers) is, that you gather a lot of data and fill up your disk. DCSServerBot takes care of both, it will a) warn you, if you configured Tacview in a way that is bad for your overall server performance, and b) it can delete old Tacview files after a specific time. (see below)

Configuration

To enable Tacview support, a change in nodes.yaml is needed:

# config/nodes.yaml
MyNode:
  # [...]
  extensions:
    Tacview:
      installation: '%ProgramFiles(x86)%\Tacview'
      tacviewExportPath: '%USERPROFILE%\Documents\Tacview'
  # [...]
  instances:
    DCS.dcs_serverrelease:
      # [...]
      extensions:
        Tacview:
          autoupdate: true                      # if true, the bot will auto-update the tacview mod if the version of Tacview was updated on your server (default: false)
          show_passwords: false                 # hide passwords in your server status embed (default: true)
          host: 127.0.0.1                       # Tacview host (default)
          log: "%USERPROFILE%\\Saved Games\\DCS.dcs_serverrelease\\Logs\tacview.log" # Only needed, if you export tacview logs to a different file.
          tacviewRealTimeTelemetryPort: 42674   # default
          tacviewRealTimeTelemetryPassword: ''  # default
          tacviewRemoteControlPort: 42675       # default
          tacviewRemoteControlPassword: ''      # default
          tacviewPlaybackDelay: 600             # default 0, should be 600 for performance reasons
          tacviewDataCaptureMode: 8             # As of v1.9.5: default 1, defines at which frame Tacview should update (1 = every frame, 10 = every 10th frame). 
          target: '<id:112233445566778899>'     # Optional: channel id or directory 
Optional parameters (will change options.lua if necessary):
* tacviewExportPath Sets this as the Tacview export path. * tacviewRealTimeTelemetryPort Sets this as the Tacview realtime port. * tacviewRealTimeTelemetryPassword Sets this as the Tacview realtime password. * tacviewRemoteControlPort Sets this as the Tacview remote control port. * tacviewRemoteControlPassword Sets this as the Tacview remote control password. * tacviewPlaybackDelay Sets this as the Tacview playback delay. * delete_after specifies the number of days after which old Tacview files will get deleted by the bot. * show_passwords specifies whether to show the Tacview passwords in the server embed in your status channel or not. * target a channel or directory where your tacview files should be uploaded to on mission end.

To delete old tacview files, check out the Cleanup service.

Note

The tacviewDataCaptureMode parameter can take any value, but these are the recommended ones by the Tacview team: 1 = accurate 8 = balanced 16 = fast

Tip

You can rename the Tacview extension in your server status embed by setting a "name" in the configuration like so:

extension:
  Tacview:
    name: MyFancyName  # Optional: default is "Tacview"

Important

Autoupdate with Tacview works differently from autoupdate with many other solutions. The bot cannot autoupdate Tacview itself; all it can do is to update the instances whenever you updated the Tacview version on your server.


Configuration reference

Key Type Description Example
enabled bool Whether this extension is enabled on this node. true
name str Name of the Tacview extension in status embeds. (range: min 1) Tacview
installation str Directory where Tacview is installed. (range: min 1) %ProgramFiles(x86)%\Tacview
host str Hostname or IP shown to players for the telemetry. 127.0.0.1
show_passwords bool Show the Tacview passwords in the status embed. false
alternate_recording bool Record the flight with the bot's own recorder. false
tacviewExportPath str Directory Tacview exports the ACMI files to. (range: min 1) %USERPROFILE%\Documents\Tacview
tacviewAutoDiscardFlights int Discard flights shorter than this many minutes. 10
tacviewDebugMode int Tacview debug verbosity. 0
tacviewFlightDataRecordingEnabled bool Enable Tacview flight data recording. true
tacviewModuleEnabled bool Enable the Tacview module in DCS. true
tacviewMultiplayerFlightsAsClient int Recording mode for multiplayer flights as client. 2
tacviewMultiplayerFlightsAsHost int Recording mode for multiplayer flights as host. 2
tacviewRealTimeTelemetryEnabled bool Stream the Tacview real-time telemetry. true
tacviewRealTimeTelemetryPassword str Password for the telemetry stream. ***
tacviewRemoteControlEnabled bool Allow remote control of Tacview. false
tacviewRemoteControlPassword str Password for the Tacview remote control. ***
tacviewSinglePlayerFlights int Recording mode for single player flights. 2
tacviewTerrainExport int Tacview terrain export mode. 0
tacviewPlaybackDelay int Delay in seconds before telemetry is played back. (range: min 0) 600
tacviewDataCaptureMode int Frame interval Tacview records at (1 = every frame). (range: min 1) 8
enabled bool Enable the Tacview extension for this instance. true
name str Name of the Tacview extension in status embeds. (range: min 1) Tacview
autoupdate bool Sync the Tacview mod when Tacview is updated. true
host str Hostname or IP shown to players for the telemetry. 127.0.0.1
log str Log file Tacview writes saved-flight messages to. %USERPROFILE%\Saved Games\DCS.dcs_serverrelease\Logs\dcs.log
show_passwords bool Show the Tacview passwords in the status embed. false
alternate_recording bool Record the flight with the bot's own recorder. false
tacviewExportPath str Directory Tacview exports the ACMI files to. %USERPROFILE%\Documents\Tacview
tacviewAutoDiscardFlights int Discard flights shorter than this many minutes. 10
tacviewDebugMode int Tacview debug verbosity. 0
tacviewFlightDataRecordingEnabled bool Enable Tacview flight data recording. true
tacviewModuleEnabled bool Enable the Tacview module in DCS. true
tacviewMultiplayerFlightsAsClient int Recording mode for multiplayer flights as client. 2
tacviewMultiplayerFlightsAsHost int Recording mode for multiplayer flights as host. 2
tacviewRealTimeTelemetryEnabled bool Stream the Tacview real-time telemetry. true
tacviewRealTimeTelemetryPort int Port for the Tacview real-time telemetry. 42674
tacviewRealTimeTelemetryPassword str Password for the telemetry stream. ***
tacviewRemoteControlEnabled bool Allow remote control of Tacview. false
tacviewRemoteControlPort int Port for the Tacview remote control. 42675
tacviewRemoteControlPassword str Password for the Tacview remote control. ***
tacviewSinglePlayerFlights int Recording mode for single player flights. 2
tacviewTerrainExport int Tacview terrain export mode. 0
tacviewPlaybackDelay int Delay in seconds before telemetry is played back. (range: min 0) 600
tacviewDataCaptureMode int Frame interval Tacview records at (1 = every frame). (range: min 1) 8
target str Discord channel id or directory the ACMI files go to. (range: min 1)