Tremulous Forum

General => Feedback => Topic started by: Odin on March 10, 2007, 07:41:07 am

Title: Automatic Demos
Post by: Odin on March 10, 2007, 07:41:07 am
Sometimes when I play a good game, I realize I forgot to record it. I'd like to have it automatically start recording the game at the game start, and name it "demo####.dm_69". It would start from demo0000.dm_69 and continue all the way to 9999 before starting over again at 0000. This way, if I forget to record a demo, it's still there, and I can rename it to whatever I want. At the end of a game, it should display "Demo automatically saved as 'demo####.dm_69'."
I got the idea from Starcraft and Warcraft III's reply feature. By default, the replay of the game is automatically recorded. If you don't "save the replay", it is saved anyway, as "lastreplay.rep". If I wanted to save the replay, but forgot, it is still there, and I can simply rename the file to what I want it to be. Of course just naming it "lastdemo.dm_69" would not be a good idea, because it would be immediately overwritten when the next map is loaded. Hence the #'s.
Title: Automatic Demos
Post by: Baxter on March 10, 2007, 07:59:08 am
maybe an option to always record the demo and have the demo's name like this:
{server}{date}{server demo number}.dm_99
server demo number means the demo number such as the ###'s on your post but only for that server.
Title: Automatic Demos
Post by: TinMan on March 10, 2007, 08:35:13 am
I use this:
Code: [Select]
cl_autoRecordDemo "1"
the format is [YEAR][MONTH][DATE][TIME]-[SERVER-IP]-[MAP].dm_69
Title: Automatic Demos
Post by: janev on March 10, 2007, 10:41:58 am
Quote from: "TinMan"
I use this:
Code: [Select]
cl_autoRecordDemo "1"
the format is [YEAR][MONTH][DATE][TIME]-[SERVER-IP]-[MAP].dm_69

Yeah that :D
Title: Automatic Demos
Post by: benmachine on March 10, 2007, 12:41:49 pm
It's probably a good idea to bind /stoprecord to a key and press it at the beginning of every map. With cl_autorecorddemo 1, you'll immediately start recording again, but to a new file, which will make things a LOT easier for you if you play for a long time.
Title: Automatic Demos
Post by: Shadowgandor on March 10, 2007, 08:03:23 pm
Quote from: "TinMan"
I use this:
Code: [Select]
cl_autoRecordDemo "1"
the format is [YEAR][MONTH][DATE][TIME]-[SERVER-IP]-[MAP].dm_69


Do you have to write that in teh console?
Title: Automatic Demos
Post by: TinMan on March 10, 2007, 09:01:01 pm
Quote from: "Shadowgandor"

Do you have to write that in teh console?

You can, or you can add
Code: [Select]
seta cl_autoRecordDemo "1" to your .cfg file.
Title: Automatic Demos
Post by: Rekov on March 15, 2007, 02:21:29 am
what type of file is that. What program?