Rust Wiki

Revision Difference

Demos#525128

<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. ## Loading Use the command `load <demoname>` to load and play a prevously recorded demo file. Use the command `load <demoname>` to load and play a previously recorded demo file. **Note:** Demos can only be loaded from the main menu and not during playback of another demo. You will need to [stop](/rust/Demos#stopping) the current demo file in order to load a new one. ## 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. ## 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. ## 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 apperance of shots in demos.