Skip to content

Enhances Company of Heroes 2 replay playback with additional features.

License

Notifications You must be signed in to change notification settings

Janne252/coh2-replay-enhancements

Repository files navigation

Features

  • All events of an entire squad dying are indicated with in-game UI elements
    • Death events appear in the event queue and clicking the event moves the camera to the event location
    • Death event indicators are displayed for 60 seconds
      • Indicator consists of a minimap/tactical map icon (red ☠️) and an in-game marker with player name, unit icon, and unit name
    • Any death event indicator can be removed by pressing Ctrl+D (likely not the final hotkey, can be easily changed)
      • Selection of which death event indicator is removed is based on distance to the current camera position
      • Selection may be based on mouse position instead in the future to allow more accurate control

Usage

  1. Download replay-enhancements.zip of the latest release and extract its contents to CoH2's install directory, creating the directory path <..>\steamapps\common\Company of Heroes 2\replay-enhancements\
    • This directory should contain all the .scar files
  2. Download wipes.rec replay file to \Documents\My Games\Company of Heroes 2\playback
    • This is a short replay file intended for testing and should be used on the first time and after updates
    • The replay requires the CheatCommands Mod II mod to be installed
  3. Add -dev to CoH2's launch options
  4. Load up a replay
  5. Pause the game
  6. Open the in-game console by pressing Ctrl+Shift+~ or Ctrl+Shift+Ö depending on your keyboard layout
  7. Paste in dofile("replay-enhancements\\init.scar") and press enter
  8. Close the in-game console (same hotkey as the one used to open the in-game console)
  9. Unpause the game

Known issues

See issues marked with the Known issue label

Troubleshooting

  • Fatal Scar Error - Execution Paused message during replay playback
    • Try unpausing the game to continue
    • Open a new issue and attach/include:
      • Version number (displayed in the console after initializing the tool)
      • The replay (.rec) file
      • Screenshot/timestamp of the error

Configuration

The following options can be changed by editing config.scar with a text editor:

Option Description Default value
event_indicator_display_seconds Event (death, abandon, etc.) indicator display time in seconds. 60

License

About

Enhances Company of Heroes 2 replay playback with additional features.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages