Automatic Client side demo

Discussion of server or client modifications. Custom hudguns, GUI's, websites, etc.
Post Reply
Night_Hawk
Leaders
Posts: 343
Joined: Wed Aug 10, 2016 10:48 pm
Location: Melbourne, Australia
Playstyle: fragger

Automatic Client side demo

Post by Night_Hawk »

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..
Image
DeathStar
Leaders
Posts: 336
Joined: Sun Jun 12, 2016 1:07 am
Location: GB
Playstyle: fragger
Contact:

Re: Automatic Client side demo

Post by DeathStar »

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..
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.

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 418 times
Night_Hawk
Leaders
Posts: 343
Joined: Wed Aug 10, 2016 10:48 pm
Location: Melbourne, Australia
Playstyle: fragger

Re: Automatic Client side demo

Post by Night_Hawk »

Yes, thank you so much deathstar! You're a legend
Image
DeathStar
Leaders
Posts: 336
Joined: Sun Jun 12, 2016 1:07 am
Location: GB
Playstyle: fragger
Contact:

Re: Automatic Client side demo

Post by DeathStar »

It's the least I could do, you've done a lot for the clan. :)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests