The Demo Editor allows you to add and execute a set of commands during demo playback. To open the Demo Editor GUI, press the "Edit." button in the Demo Playback window. Press the "Drive." button again to switch back to the normal demo view. When the playback is paused, this is a really useful to make a screenshot (use r_drawviewmodel 0 and cl_drawhud 0 to cleanup the screen). You can move up and down with Z and X, and slow down with the ⇧ Shift key. To navigate the camera, move the mouse out to the viewport, keep the left mouse button pressed and move around using the W, A, S, and D keys. The button will stay in the pressed-down state as long as the "Drive Mode" is active. To change the camera's viewpoint, switch to "Camera drive mode" by pressing the "Drive." toggle button. You can jump to a specific tick within the demo by entering the target tick in text input field and press the "Goto:" button. Like time the current and total ticks are displayed left of the "Goto:" button. Internally recorded demo files use time stamps called ticks to mark single frames within the playback. Under the overall progress bar are the playback control buttons like the toggle button "Play", "Pause", "Resume", step forward ">", go to start "||" (some features aren't working yet, like step back "<", fast backward "<<") Using the slider on the right, you can adjust the playback speed between slow-motion and fast-forward (0% to 600%). The current and total playtime is shown right below. The current loaded demo file name will be shown right beside the "Load." button. To load a new demo file hit the "Load." button and choose a file from disc. The Demo Playback window allows to pause and resume, change playback speed or move your camera viewpoint. Timedemo plays a demo as fast as possible and shows performance stats after the playback is finished (total drawn frames, seconds needed for playback, average frames per second and variability).Īnytime while playing back a demo file, the Demo Playback window can be brought up by pressing ⇧ Shift- F2 or the demoui command. If you want to use demo playback for system benchmarking use timedemo "name". To playback a previously recorded game, type playdemo "name". If a changelevel occurs while recording, the current demo file will be closed and a new demo file name_2 (name_3, name_4, etc.) is created. You can start recording anytime within a running game and stop recording with the stop command. The demo file (.dem extension) is saved in your current game directory, e.g. To record a game, type in console record "name", while the file name shouldn't have any special characters or spaces. These functions are provided via console commands or GUI tools like the Demo Playback window, Demo Editor and Demo Smoother. Now that you’re all geared up with your F6 key, get out there and start saving to your heart’s content.The Source Engine provides a set of tools to record a game to a demo file for possible editing and later playback. This will make a save state.īy the way, console commands can do other nifty things in Garry’s Mod, like turning on third person or kicking annoying players. Type in “gm_save” (without the quotation marks) and hit enter. Now you can bring up the console by hitting the tilde key on your keyboard (the little squiggle that looks like this: ~). Go into Advanced options and check mark the box that enables the console. First, enable the console by heading to the Options section of the main menu. BUT, if you’d like to complicate the process, there is another method of saving your game.Īlternatively, you can use console commands. This is the simplest and easiest method, and probably the one you’re going to use. While in the game, simply hit F6 to quick save your game. There’s a faster way to do this, however. You can save by holding Q, bringing up the menu, and then clicking on the Saves tab towards the right. Luckily, there’s an easy way to save your progress and make sure any of your project aren’t wiped. With all the hours you’ve probably put into Garry’s Mod, whether by creating or causing havoc, saving your game world is a must.