Author Topic: Automatic Demos  (Read 4291 times)

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Automatic Demos
« 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.

Baxter

  • Posts: 182
  • Turrets: +1/-2
    • http://z10.invisionfree.com/The_Evil_Empire/index.php?act=idx
Automatic Demos
« Reply #1 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.
Sometimes soon,maybe.]

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Automatic Demos
« Reply #2 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
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

janev

  • Spam Killer
  • *
  • Posts: 534
  • Turrets: +130/-26
Automatic Demos
« Reply #3 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
Author of "The quick beginner's guide to playing tremulous"
Founding member of the "undefeated in clanwars since 2006" club and narcissist extraordinaire.


"Your quote-tower trolling reminds me of two dogs fighting over a piece of poo." [c] Ingar

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Automatic Demos
« Reply #4 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.
benmachine

Shadowgandor

  • Posts: 826
  • Turrets: +61/-66
Automatic Demos
« Reply #5 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?

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Automatic Demos
« Reply #6 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.
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Rekov

  • Posts: 139
  • Turrets: +0/-0
Automatic Demos
« Reply #7 on: March 15, 2007, 02:21:29 am »
what type of file is that. What program?
img]http://www.geocities.com/rekov_alpha/forSig.jpg[/img]