coso-Offline_Bots_Training_Data_Recorder icon

Offline Bots Training Data Recorder

Writes text logs that record your movement, aim and match events (anonymous, nothing uploaded) that can then be used to teach the upcoming Offline Bots mod to play like real players.

By coso
Last updated 12 hours ago
Total downloads 8
Total rating 0 
Categories Mods Tools Vanilla compatible AI Generated
Dependency string coso-Offline_Bots_Training_Data_Recorder-0.1.6
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

Offline Bots Training Data Recorder

A stepping stone in creating the OFFLINE BOTS mod for Straftat. The mod records how you move and fight as text logs and packs each match into a zip, which you can DM to the mod author (coso6865 on Discord) to help train the bots to play like real players.

  • Recording only: It changes nothing in the game and sends nothing over the internet.
  • Vanilla-compatible: Works in normal lobbies and matchmaking. Other players don't need it.
  • Anonymous: No names, Steam IDs or profile stats (details below).

Use

Just play. Every match is recorded automatically, and a small red REC shows in the top-right corner. When you go back to the main menu, the match is saved as one zip file.

Controls:

  • F4: pause / resume recording (for anything you don't want recorded)
  • F3: mark a moment: a clever play, a weird bug, a trick worth a look
  • F6: open the recordings folder

The most useful recordings are 1v1s between good players, plus any movement tech you know (slide jumps, walljump chains, corner climbs, weapon gimmicks such as rocket jumping, katana or nizeh tech). Mark the tricks or events of note with F3.

Recording is on by default. If you'd rather start it yourself, set 'AutoRecord' to false in BepInEx\config\com.straftatbots.telemetry.cfg, then press F4 in a match to start recording.

Sending

  • Press F6 in the main menu to open the folder with your recordings. For a manual install it's steamapps\common\STRAFTAT\BepInEx\StraftatTelemetry\recordings, with a mod manager it's inside your profile folder instead, so F6 is the easy way.
  • The STRAFTAT_....zip files contain the logs. A 10-minute match is roughly 1–3 MB.
  • Send them to coso6865 on Discord via DM. Any data is appreciated and helps train the bots.

Credit: contributors are thanked by name in the Offline Bots mod's README. Tell me the name you'd like to be credited with when you send your files, or say if you'd rather stay anonymous. The files themselves never contain your name.

Your anonymity

Recordings never contain who you are:

  • no Steam name, Steam ID, profile, friends list or IP address
  • no Windows user name, PC name or file paths
  • no chat messages, no voice, no screenshots or video

Every player is written as a label instead: you are 'self', others are opp1, opp2, mate1, etc... (the kill feed is rewritten the same way). Files are named by date and map only. This is on by default (Privacy > Anonymize in the config).

Nothing is uploaded. The files stay on your PC until you choose to send them, and you can open any of them in a text editor to check what's inside.

What is recorded

  • You: Position, speed, movement keys, jump, crouch, fire, aim, view angles, what you hold, pickups, drops, throws, shots, hits (head or body, from the game's own stat counters), damage, kills, deaths and the kill feed.
  • The other players in the match: Where they are, what they hold, their health, whether you can see them and where they aim.
  • Context: The map, the game version, and whether you're the host or a client.

Your settings (sensitivity, FOV, resolution), fps, ping, installed mods and your profile's lifetime stats (total kills, deaths, wins, losses, etc.) are NOT recorded, only what happens during the recorded match.

Performance

The recorder does a little work each frame (about 0.3 ms on average) and writes to disk on a background thread, so it shouldn't cost you frames. Every recording measures its own cost and writes it into match.txt, so you can check it yourself.

Install

  • Mod manager (r2modman, Gale, Thunderstore Mod Manager): install it like any other mod.
  • By hand: you need the BepInEx Pack from Thunderstore first. Copy the StraftatTelemetry folder into STRAFTAT\BepInEx\plugins\.

Start the game. A line in the top-left corner says the recorder is ready.

Uninstall

Disable or remove it in your mod manager (or delete the StraftatTelemetry folder). Your recordings stay in BepInEx\StraftatTelemetry\recordings. With a mod manager, that's inside your profile folder: F6 opens it.

Settings

BepInEx\config\com.straftatbots.telemetry.cfg: keybindings, auto-record on/off, the REC marker, sample rate, anonymizing.