<cat>Dev.Cinematic</cat> <title>Demos</title> <upload src="739b0/8d7b03ae21ff814.jpg" size="244566" name="rust-wiki_demos_header.jpg" /> # Demo Basics Below is a list of the basic commands to get started with recording and playing demo files. ## Recording Use the command `record <demoname>` to start recording a demo file. You can also use the command `demo.recorder` to toggle a recorder UI - best used when bound to a key. <upload src="739b0/8d7fdf75cff74e7.jpg" size="765357" name="rust_demorecorder_ui_test1.jpg" /> Your mouse focus will be given to the recorder UI once it is displayed. You can immediately start typing a demo name then click the 'record' button or press the <key>ENTER</key> key to start the demo recording. Use `demo.recorder` again whilst recording to return focus to the UI. If necessary, you can also hide the recorder UI by using the `demo.togglehud` command. <note>With the demo recorder displayed, pressing the up arrow key will print out the last recorded demo name. This can be particularly useful for quickly versioning your demo names.</note> ## Playing Use the command `demo.play <demoname>` to load and play a previously recorded demo file. ## Stopping Use the command `stop` in console to exit from a demo playback. Once the demo has stopped, you will return back to the Rust main menu. ## File Location Demo files (.dem) are recorded to the 'demos' folder located in your Rust root game directory. ```markdown C:\Program Files (x86)\Steam\steamapps\common\Rust\demos ``` # Playback Commands Below are a few commands available for altering the playback of a demo file. ## Timescale `demo.timescale <speed>` - Adjust playback speed of the currently loaded demo file. Default / realtime speed is `1.0`. Use `0` for the speed to pause demo playback. ## Jump Time `demo.jump <time>` - Jump to a specific time in the demo (in seconds). For example, `demo.jump 120` will jump to the 2 minute mark in the demo file. Default is `0`, if you want to restart your demo at the beginning then `demo.jump` or `demo.jump 0` will do the trick. ## Skip Time `demo.skip <time>` - Skip time in the demo forwards or backwards (in seconds). For example, a negative time amount such as `demo.skip -5` will skip the demo 5 seconds backwards in time. ## Player Names `demo.playernames` - Prints a list of all the players recorded in the demo, including their Steam ID 64 number. Particularly useful when using [playerseed commands](/rust/Demos#playerseeds) to modify the apperance of players in the demo. # Demo HUD <upload src="739b0/8d7b6930a01c643.jpg" size="506274" name="rust-wiki_demos_hud_1.jpg" /> Use the following commands to display the demo HUD: `demo.hud <0/1>` - Enable/disable the demo HUD. `demo.togglehud` - Toggle to enable/disable the demo HUD; best used when bound to a key. The demo HUD displays the following information: - Timecode _(hours:minutes:seconds)_ + seconds counter _(current second/total seconds)_ - Demo filename within game directory - Timescale of current demo; prints the value of the [timescale command](/rust/Demos#timescale) - Date and time of demo recording # Demo Browser View a list of all your saved demos by clicking the demo playback icon on the main menu's top-right section. From here you can play and delete demos as well as open the [local directory](/rust/Demos#filelocation) where they're saved. The demo browser list currently prints out fields with the following information: - Demo filename - Date and time of demo recording - Length of demo recording These fields can be sorted in ascending or descending order by clicking the column's field name. <upload src="739b0/8d7c00554d5e7a9.jpg" size="191402" name="demo_browser.jpg" /> <note>The *date* and *length* fields will show incorrect readings for demos captured prior to the March 2020 update. The browser is also only accessible via the main menu if you have .dem files stored in your game's demo folder directory.</note> # Other Demo Commands Below are some other commands useful for demo playback. ## NVG Toggle `togglenvg <1/0>` - Toggles [night vision goggles](/rust/item/nightvisiongoggles) camera effect during demo playback. Use a cycle convar to allow it to be toggled on and off with a single keybind: `bind <key> ~togglenvg 1;togglenvg 0` ## Camera Save Points Debug camera [save point](/rust/Debug_Camera#savepoints) commands (including [autosave](/rust/Debug_Camera#autosave) and [autoload](/rust/Debug_Camera#autoload)) can be used during demo playback. ## Player Seeds The [playerseed](/rust/Other_Cinematic_Commands#playerseed) and [shuffleplayerseed](/rust/Other_Cinematic_Commands#shuffleplayerseed) commands can be used during demo playback to change the appearance of a specific player featured in the demo recording. ## Time & Weather The [admin time and weather](/rust/Other_Cinematic_Commands#timeweathermanipulation) commands are useful for modifying the weather and time conditions of a demo recording, particularly useful when you are after a certain mood or time of day but want to maintain the captured performances of your demo. ## Quality Options Take a look at the various [additional quality options](/rust/Other_Cinematic_Commands#additionalqualityoptions) on the 'other commands' page which can help improve the rendering distance and appearance of shots in demos.