Reply to comment

ltmon's picture

My additions

A couple of things:

1. Bind playback speed to mouse wheel via toggle instead of just adding speed. This stops you stuffing it up and sending the demo into super fast forward. Alos is an addition of a chat message telling you what you just did:

seta writeDemoScaleInfo “addchatline $demo_scale”

// control playback speed with mouse wheel
bind “MOUSE3” “demo_scale 1.0; vstr writeDemoScaleInfo” “” “default”
bind “MWHEELUP” “toggle demo_scale 1 2 3 4 5 6 7 8 9 10 12 14 18 22 28 36 48 60 80 100; vstr writeDemoScaleInfo” “” “default”
bind “MWHEELDOWN” “toggle demo_scale 100 80 60 48 36 28 22 18 14 12 10 9 8 7 6 5 4 3 2 1; vstr writeDemoScaleInfo” “” “default”
bind “MWHEELUP” “toggle demo_scale 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9; vstr writeDemoScaleInfo” “F” “default”
bind “MWHEELDOWN” “toggle demo_scale 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1; vstr writeDemoScaleInfo” “F” “default”

2. DEL toggles between spectator and player view, “,” and “.” toggles which player you are following, with a chatline to tell you:

// toggle player view / spectator view
set ViewPlay “g_showDemoView 0; demo_noclip 1; bind DEL $ViewSpec “
set ViewSpec “g_showDemoView 1; demo_noclip 0; bind DEL $ViewPlay “
bind DEL $ViewPlay

bind “.” “cycle g_testSpectator -1 14 1 ; addchatline ‘Player n°’ ;addchatline $g_testSpectator” “” “default”
bind “,” “cycle g_testSpectator 14 -1 -1; addchatline ‘Player n°’ ;addchatline $g_testSpectator; “ “” “default”

3. PGUP to toggle the demo HUD, which is for controlling the demo:

bind “PGUP” “ toggle g_showdemohud 1 0” “” “default”

4. Use “E” to toggle showskel, useful if you’re searching for wallhackers ;)

bind E ‘toggle r_showSkel 0 1 2’;

Reply

The content of this field is kept private and will not be shown publicly.
  • Project issue numbers (ex. [#12345]) turn into links automatically.
  • You can use Textile markup to format text.
  • Lines and paragraphs break automatically.
  • Insert Flickr images: [flickr-photo:id=230452326,size=s] or [flickr-photoset:id=72157594262419167,size=m].
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may use [view:name=display=args] tags to display views.
  • Avast! This website be taken over by pirates on September 19th. Yarr!

More information about formatting options

CAPTCHA
This question is for testing whether you are a Norwegian and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.