Automatic Client side demo

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

Automatic Client side demo

Post by Night_Hawk » Sat Oct 22, 2016 3:51 am

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: 334
Joined: Sun Jun 12, 2016 8:07 am
Location: Malibu, CA
Playstyle: map/frag
Contact:

Re: Automatic Client side demo

Post by DeathStar » Sun Oct 23, 2016 2:55 am

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 131 times
Image

Night_Hawk
Leaders
Posts: 343
Joined: Thu Aug 11, 2016 5:48 am
Location: Melbourne, Australia
Playstyle: fragger

Re: Automatic Client side demo

Post by Night_Hawk » Sun Oct 23, 2016 9:55 am

Yes, thank you so much deathstar! You're a legend
Image

DeathStar
Leaders
Posts: 334
Joined: Sun Jun 12, 2016 8:07 am
Location: Malibu, CA
Playstyle: map/frag
Contact:

Re: Automatic Client side demo

Post by DeathStar » Sun Oct 23, 2016 2:55 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest