Movement recorder
Deadlock ยท Misc. Records your movement tick by tick (keys, jumps, abilities, view direction) and plays it back exactly. Up to 8 recording slots.
Also searched as: movement recorder, recorder, record movement, movement replay, movement macro, route recording, route bot, replay, movement playback
Where to find it in the menuโ
Misc โ Movement recorder
Sections inside: Start, Stop, Slot data, World, Panel.
How to enableโ
- Menu (
Insert) โ Misc โ Movement recorder. Turn on the State toggle in the page header: the script is off by default. - Choose a Slot and turn on Record โ then move. Turn off Record to finish.
- To play it back, turn on Play. By default you first need to walk to the start ring in the world โ playback starts by itself.
- For convenience, bind Record and Play to keys: right-click the row โ create a hotkey (see Hotkeys and logic).
What it doesโ
- Record writes to the selected slot every command the client sends to the server: movement, buttons (jump, crouch, mantle, zipline, etc.), used abilities and camera direction. A new recording erases what was in the slot. Maximum length is a little over 8 minutes.
- Trim idle ends: after recording stops, ticks where the hero stood still are dropped from the beginning and the end โ the recording starts with the first step.
- Play sends the recorded commands again, tick for tick, and turns the camera as during recording.
- Wait at the start: playback waits until you are within the Start radius of the starting point and moving at the same speed as at the start of the recording. A start ring is drawn in the world.
- Playback stops by itself:
- On your input โ you pressed a movement key against the recording, or jump/crouch/mantle/zipline that the recording does not have at that moment;
- On drift โ the hero moved away from the recorded path farther than Max drift (for example, they were pushed);
- when the recording has ended (unless Loop is on).
- If the recording was made on another map or at a different server tickrate, playback still starts, and a warning is written to the console.
- Recordings live until the end of the session (until the game/scripts are restarted). Print to console prints the slot to the console as a single JSON document. Loading a recording back from a file is not possible.
- Recording and playback stop when the hero is dead, when the slot is changed and when the script is turned off.
In the world and on screen
- Path โ a line along the ground covered by the recording. The part already sent is drawn in a different color.
- Ghost โ a marker of where the hero should be according to the recording during playback.
- Panel โ a card with the state (REC, WAIT, PLAY, READY), the slot name, and the distance to the start or the current drift. Keys below it show the movement keys being sent (W A S D) and what else is held (JUMP, DUCK, MANTLE, ZIP). The card can be dragged with the mouse, more details: HUD cards.
Settingsโ
Main page
| Setting | Type | Default | Range / options | What it does |
|---|---|---|---|---|
| State | Header toggle | Off | โ | Turns the script on |
| Slot | Dropdown | Slot 1 | Slot 1 โฆ Slot 8 | Which slot the buttons below work with. The list shows what is recorded in each slot |
| Record | Toggle | Off | โ | Record into the selected slot (erasing what was there) |
| Play | Toggle | Off | โ | Play back the selected slot |
| Loop | Toggle | Off | โ | Start over when finished. With "Wait at the start" on, each loop waits again until you stand at the start |
Start
| Setting | Type | Default | Range / options | What it does |
|---|---|---|---|---|
| Wait at the start | Toggle | On | โ | Don't start until you stand at the recording's starting point |
| Start radius | Slider | 48 | 8โ256 | How close to the start counts as "at the start", in game units. Visible when "Wait at the start" is on |
Stop
| Setting | Type | Default | Range / options | What it does |
|---|---|---|---|---|
| On your input | Toggle | On | โ | Stop as soon as you press a movement key that the recording itself does not press |
| On drift | Toggle | On | โ | Stop if the hero moved away from the recorded path |
| Max drift | Slider | 200 | 25โ1000 | Allowed deviation from the path, in game units. Visible when "On drift" is on |
Slot data
| Setting | Type | Default | Range / options | What it does |
|---|---|---|---|---|
| Trim idle ends | Toggle | On | โ | Remove standing still at the beginning and end of the recording |
| Print to console | Button | โ | โ | Print the selected slot to the console as JSON |
| Clear slot | Button | โ | โ | Delete the recording from the selected slot |
World
| Setting | Type | Default | Range / options | What it does |
|---|---|---|---|---|
| Path + Path color + Played color | Toggle + 2 colors | On, light blue / orange-red | โ | Line of the recorded path; the covered part in the second color |
| Outside a run | Toggle | On | โ | Draw the path even when nothing is being recorded or played. Visible when "Path" is on |
| Ghost | Toggle | On | โ | Marker of where the hero should be according to the recording |
Panel
| Setting | Type | Default | Range / options | What it does |
|---|---|---|---|---|
| Panel | Toggle | On | โ | On-screen state card |
| Keys | Toggle | On | โ | Keys being sent, under the card |
| Size | Slider, % | 100 | 60โ150 | Card scale. Position โ by dragging. Visible when "Panel" is on |
FAQโ
I turn on "Play", but the hero just stands there. Wait at the start is on: walk to the ring in the world (the recording's starting point) and move the same way as at the start of the recording (if the recording started from standing still, stand still). Or turn this option off. If the slot is empty, playback turns off immediately.
Playback cuts off in the middle. One of the stops triggered: you pressed a movement key (On your input) or the hero drifted from the path by more than Max drift (On drift). The reason is written to the console.
Recordings disappeared after a restart. Recordings are kept only until the end of the session and are not saved to the config. To keep a recording, use Print to console and copy the JSON; loading it back is not possible yet.
Recording does not turn on. You need a living hero in a match and the State toggle in the page header turned on.