Recording Cue Sheet 1.0.0 (olds.ro)
===================================
While a demo or HLTV recording runs, writes a cue sheet next to it: round
starts and ends and bomb plants and defuses, each stamped with the time since
the recording started, so the moments are easy to find in the demo.
== recording started 2026-12-05 21:04:10 (de_dust2) match1 ==
00:00 round 3 start
00:42 bomb planted (Alpha)
01:05 bomb defused (Bravo)
01:05 round 3 end: Counter-Terrorists win
01:30 == recording stopped ==
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer (csx module, for bomb_planted/bomb_defused)
Install
1. Compile scripting/olds_cues.sma and copy olds_cues.amxx to
addons/amxmodx/plugins/; add it to plugins.ini.
The compiler needs ReAPI's include files next to the stock includes.
Telling the plugin when the recording runs (the adapter)
The cue times are measured from the moment the recorder says it really
started, so the recorder (or the script that drives it) reports its start
and stop:
- console / rcon: olds_cues_start [label] recording has started
olds_cues_stop [failed] recording has stopped
("failed" marks a recorder failure)
- from a plugin (library "olds_cues"):
native olds_cues_recording_start(const label[] = "")
native olds_cues_recording_stop(bool:failed = false)
HLTV writes one demo per map, so a recording is closed at the map change
("== map change: recording closed ==") and is started again on the next map.
Output
<AMXX logs folder>/olds_cues_<map>.txt (normally addons/amxmodx/logs/).
Each map has its own file; the same map later appends a new section.
After the stop marker nothing more is written for that recording.
Settings (addons/amxmodx/configs/plugins/olds_cues.cfg, created on first run)
olds_cues_max 400 most lines per recording (10-10000), header included;
the last one says the limit was reached. The stop
marker is still written after it.
Errors
If the file cannot be opened, one error goes to the AMX Mod X log and the
plugin stops writing until the next olds_cues_start; the game is not
affected.
Commands
olds_cues_start, olds_cues_stop ADMIN_RCON (or the server console)
olds_cues_status recording state and the file (ADMIN_CFG)
No downloads: output is a plain text file on the server; nothing is sent to
clients.