Hey all,
Im wondering how would i write a script to automatically record client demos? I currently use comed and i have automatic demos enabled but after each game it keeps asking me if i want to keep the demo or not, this being annoying for start of duels as i dont start straight away, but 10 seconds after starting..
Automatic Client side demo
-
- Leaders
- Posts: 343
- Joined: Wed Aug 10, 2016 10:48 pm
- Location: Melbourne, Australia
- Playstyle: fragger
-
- Leaders
- Posts: 336
- Joined: Sun Jun 12, 2016 1:07 am
- Location: GB
- Playstyle: fragger
- Contact:
Re: Automatic Client side demo
I made a demo/movie recording GUI that does exactly that, enables automatic demo recording and allows you to list and download the demos. It also allows you to record movies with the build in Cube 2: Sauerbraten screen recorder.Night_Hawk wrote:Hey all,
Im wondering how would i write a script to automatically record client demos? I currently use comed and i have automatic demos enabled but after each game it keeps asking me if i want to keep the demo or not, this being annoying for start of duels as i dont start straight away, but 10 seconds after starting..
Installation Instructions for people who don't know where to put things
- open your Sauerbraten/autoexec.cfg file
Where is my autoexec.cfg file?
you may have to create one in the following directory if it doesn't exist
Mac: Users/username/Library/Application Support/sauerbraten/autoexec.cfg
Windows: C:\Program Files\Sauerbraten\autoexec.cfg or username\Documents\My Games\Sauerbraten\autoexec.cfg
Linux: ~/.sauerbraten/autoexec.cfg
- on a new line in the autoexec.cfg file, type: exec demo.cfg
- extract demo.cfg.zip and place the demo.cfg file in your Sauerbraten/gamedata folder
where is my gamedata folder?
Mac: right click on Sauerbraten -> show package contents -> contents/gamedata
Windows: C:\Program Files\Sauerbraten\gamedata or username\Documents\My Games\Sauerbraten\gamedata
Linux: ~/.sauerbraten/gamedata
- Open Sauerbraten and type /setupdemo
Installation instructions for experienced scripters
- Put "exec demo.cfg" on a new line in your autoexec.cfg file
- Extract the demo.cfg.zip file and place the extracted demo.cfg file in: Sauerbraten/gamedata
- Open Sauerbraten and type /setupdemo
- Attachments
-
- demo.cfg.zip
- (1.35 KiB) Downloaded 850 times
-
- Leaders
- Posts: 343
- Joined: Wed Aug 10, 2016 10:48 pm
- Location: Melbourne, Australia
- Playstyle: fragger
-
- Leaders
- Posts: 336
- Joined: Sun Jun 12, 2016 1:07 am
- Location: GB
- Playstyle: fragger
- Contact:
Re: Automatic Client side demo
It's the least I could do, you've done a lot for the clan. 

Who is online
Users browsing this forum: No registered users and 4 guests