binding Demo Controls


(Blackrock) #1

Does anyone know how to bind the Demo Controls (slow, fast, etc.) to keys other than the keypad keys? I’m on a laptop and don’t have a keypad. - thanx


(Majin) #2

I’m not sure, but I don’t think its possible.


(magnum_) #3

well, if u mean how fast or slow ur “watching” the demo, i’m not absolutely sure, never tried it in et. but since it’s the same engine (q3) as sof2, it should be the same. in sof2 i used this bind for demo speed:

/bind “key” timescale “number”

timescale 1 is normal gamespeed
<1 (ie. -1, -5, etc.) slows the demo down
>1 (ie. 5, 10, etc.) speeds the demo up

u can’t stop demos with the q3 engine though, just speed up or slow down :expressionless:


(Blackrock) #4

Thanks magnum_

I tried timescale in the console in ET and found that 2,3,4,etc. gradually speeds up the demo, but negative numbers, -1 or -100, all slow the demo down to one very slow speed.

Fractional number did slow it down variably: .9, .8, .7, .4, .2 etc.


(Kendle) #5

Part of a movie recording script I used to use. RIGHT Cursor key speeds up demo playback, LEFT Cursor key slows it down again. DOWN Cursor key sets it to normal playback.


// Demo Recording Script
// =====================
set play02 "timescale 0.2; set nextplay vstr play05; set prevplay play02; echo ^3Timscale ^70.2"
set play05 "timescale 0.5; set nextplay vstr play10; set prevplay play02; echo ^3Timscale ^70.5"
set play10 "timescale 1.0; set nextplay vstr play20; set prevplay play05; echo ^3Timscale ^71.0"
set play20 "timescale 2.0; set nextplay vstr play30; set prevplay play10; echo ^3Timscale ^72.0"
set play30 "timescale 3.0; set nextplay vstr play50; set prevplay play20; echo ^3Timscale ^73.0"
set play50 "timescale 5.0; set nextplay vstr play50; set prevplay play30; echo ^3Timscale ^75.0"
set nextplay "vstr play20"
set prevplay "vstr play05"
bind RIGHTARROW "vstr nextplay"
bind LEFTARROW "vstr prevplay"
bind DOWNARROW "vstr play10"


(Sauron|EFG) #6

I haven’t managed to get any of my own binds to work while replaying a demo. (The timescale/thirpersonview/angle/distance binds aren’t even in the config.)

This sucks when it comes to movie-making. :disgust:


(Kendle) #7

Put all your demo related binds in their own config file, called demo.cfg, for example, then start ET, and, before choosing which demo to view, bring down the console and enter:-

/exec demo.cfg

Does that not work? (haven’t tested it myself)


(Sauron|EFG) #8

No. Doesn’t matter if I exec a config or enter the binds manually in the console. They are displayed correctly when doing “/bind x”, but ET overrides/ignores them while replaying the demo.


(Kendle) #9

Interesting. I wonder whether they’re hard-coded somewhere, or whether there’s a config file in a .pk3 somewhere that sets up the key binds for demo playback. Bit of a bummer if they’re hard-coded.


(Rain) #10

They’re hard-coded, alas… Might look into changing this sometime down the road for etpro, but it’s not an immediate issue.