Tremulous Forum

General => Troubleshooting => Topic started by: zybork on March 07, 2011, 01:51:10 pm

Title: [solved] can I “echo” during demo-replay?
Post by: zybork on March 07, 2011, 01:51:10 pm
Hi people, I am currently finetuning my recording capabilities (fear a new video coming up…), and I have created a rather nice set of bindings for that purpose, that manipulate the timescale-variable, it uses F7 to toggle between various timescale-speeds, 2x, 10x, 1x and 0.5x:

Code: [Select]
timescale 1.0
bind F7 "vstr _BIND_F7_0"

set _BIND_F7_0 "timescale  2, echo replay speed x 2; bind F7 vstr _BIND_F7_1"
set _BIND_F7_1 "timescale 10, echo replay speed x 10; bind F7 vstr _BIND_F7_2"
set _BIND_F7_2 "timescale  1, echo normal replay speed ; bind F7 vstr _BIND_F7_3"
set _BIND_F7_3 "timescale 0.5, echo replay speed x 0.5; bind F7 vstr _BIND_F7_0"

However, the “echo” command simply doesn't work, something I can quite understand, but even when I run Tremulous from an xterminal, nothing shows up, which is a bit annoying, because I really would like to actually see some kind of confirmation.

Is there any way to get something on the console during a demo-replay, or is this generally impossible?
Title: Re: can I “echo” during demo-replay?
Post by: Celestial_Rage on March 07, 2011, 02:02:50 pm
You can.

Try this demo.cfg

http://pastebin.com/B65q2LzR (http://pastebin.com/B65q2LzR)
Title: Re: can I “echo” during demo-replay?
Post by: David on March 07, 2011, 02:18:20 pm
You have a comma instead of a semi-colon after the timescale.
Title: Re: can I “echo” during demo-replay?
Post by: zybork on March 07, 2011, 02:49:01 pm
You have a comma instead of a semi-colon after the timescale.
O h   s h i t . . .

Yep, I am an idiot. Problem solved. Thank you for your help. Just took me 30 minutes before I gave up on this, tried setting variables and then use print and such things, but hey, I also might replace those commas by semicolons, don't I?