wernerml's DEMO VIEWER cfg
This is a GREAT demo viewer config I have programmed, and I simply can't watch a demo without it anymore now!
Added by: wernerml
Added date: 2012-08-18
Type: Other
Engine: ezQuake OpenGL
//User Created Variables
set _demopaused                     "0"
set _demospeed                      "100"

// Aliases
alias +k_demofast           "demo_setspeed 600;"
alias -k_demofast           "k_demo_pause_return;"
alias +k_demoslowmotion     "demo_setspeed 35;"
alias -k_demoslowmotion     "k_demo_pause_return;"
alias +k_demosslowmotion    "demo_setspeed 3;"
alias -k_demosslowmotion    "k_demo_pause_return;"
alias k_decdajust           "if $_demospeed > 100 then inc _demospeed -25 else k_decdajust2;"
alias k_decdajust2          "if $_demospeed > 40 then inc _demospeed -10 else k_decdajust3;"
alias k_decdajust3          "if $_demospeed > 5 then inc _demospeed -5 else k_decdajust4;"
alias k_decdajust4          "if $_demospeed > 0 inc _demospeed -1"
alias k_demo_pause_off      "set _demopaused 0;demo_setspeed $_demospeed;"
alias k_demo_pause_on       "set _demopaused 1;demo_setspeed 0;"
alias k_demo_pause_return   "if $_demopaused == 0 then k_demo_pause_off else k_demo_pause_on"
alias k_demo_pause_switch   "if $_demopaused == 0 then k_demo_pause_on else k_demo_pause_off"
alias k_from_pause_incd0    "set _demospeed 0;set _demopaused 0;k_incd0;"
alias k_from_pause_incd1    "set _demospeed 0;set _demopaused 0;k_incd1;"
alias k_incd0               "if $_demospeed > 300 then inc _demospeed -50 else k_decdajust;demo_setspeed $_demospeed;echo demo speed: $_demospeed"
alias k_incd1               "if $_demospeed < 5 then inc _demospeed 1 else k_incdajust;demo_setspeed $_demospeed;echo demo speed: $_demospeed"
alias k_incdajust           "if $_demospeed < 40 then inc _demospeed 5 else k_incdajust2;"
alias k_incdajust2          "if $_demospeed < 100 then inc _demospeed 10 else k_incdajust3;"
alias k_incdajust3          "if $_demospeed < 300 then inc _demospeed 25 else k_incdajust4;"
alias k_incdajust4          "if $_demospeed < 600 then inc _demospeed 50 else set _demospeed 600;"
alias k_START_incd0         "if $_demopaused == 1 then k_from_pause_incd0 else k_incd0;"
alias k_START_incd1         "if $_demopaused == 1 then k_from_pause_incd1 else k_incd1;"

// Binds
bind  0                              "demo_jump 10:00"
bind  1                              "demo_jump 1:00"
bind  2                              "demo_jump 2:00"
bind  3                              "demo_jump 3:00"
bind  4                              "demo_jump 4:00"
bind  5                              "demo_jump 5:00"
bind  6                              "demo_jump 6:00"
bind  7                              "demo_jump 7:00"
bind  8                              "demo_jump 8:00"
bind  9                              "demo_jump 9:00"
bind  kp_slash                       "demo_jump -5"
bind  kp_star                        "demo_jump +5"
bind  numlock                        "demo_jump -10"
bind  kp_minus                       "demo_jump +10"
bind  [                              "k_START_incd0"
bind  ]                              "k_START_incd1"
bind  kp_enter                       "k_demo_pause_switch"
bind  kp_del                         "+k_demoslowmotion"
bind  kp_ins                         "+k_demofast"
bind  kp_plus                        "+k_demosslowmotion"
bind  RIGHTARROW                     "+jump"
Comments
2012-08-18, 07:32
AMAZING STUFF HERE!
2012-08-30, 09:40
Looks pretty good. I might snatch a few ideas from you to nQuake.
2012-08-30, 23:19
Thanks empezar!
2012-08-30, 23:19
Thanks empezar!
2012-09-06, 15:59
Cool, now nquake just needs a way to rewind demos and it will be perfect. We need something like q3mme.
2012-10-03, 09:58
Looks a bit like my demo cfg I made back in 2007-ish.

http://aimbot.se/quake/cfg/demo.cfg
2012-10-06, 06:27
the-interceptor:

WOWWWW, some commands are in another words THE SAME!
=P
nice!
You have to be logged in to be able to post a comment.
Username:
Password: