Binding keys for recording Demo -> AVI


(RM) #1

Hi
I’m looking to make some avi’s out of a few demos but ran into a problem. I cant seem to bind and use any keys while the demo is running. I’d like to do this …

/bind X “echo Started; cg_draw2D 0; cl_avidemo 30”

but it just doesnt work.
/bind X
reports taht the key was successfully bound, but i cant seem to use it while running the demo playback.

The thing that works is bringing down the console and manually typing all the commands. But then, the console also shows up in the video. Any thoughts? Thanks

For those who are looking for making movies out of their demos, here are a few sites
http://www.planetwolfenstein.com/tramdesign/tutorials/tut_rtcw2avi.html
http://www.naked-warriors.com/movie.html


(Kendle) #2

You can’t bind your own keys in “normal” ET, at all. They’re all hard-coded.

However in the latest version of ETPro (3.0.1) you can, so you’ll need to download the client ( http://bani.anime.net/etpro/download.html ) and play your demos with it (add +set fs_game etpro onto the end of the command line that launches ET, or use a demo player like Seismovision which has an option to play all demos with the mod you specify).


(pgh) #3

You also need to use the ETPro setup option and disable the ‘Use Default Demo Keys’ or summit under the Setup. Some handy features that this brings is: Weapon Cams. Camera tracks a Gren, Panzer, Rifle Nade etc…
Freeview. Can /freeview and free fly and watch ANY part of a demo - not just your pov.
b_demo_nametags 1. Draws the players name above there head.


(Mr_Tickles) #4

Ummm, remove the quotation mark’s from the line… maybe


(bandit5k) #5

Nooo! Bind them like this
/bind f1 “echo Started; cg_draw2D 0; cl_avidemo 30”
That should work foos :stuck_out_tongue:


(Kendle) #6

No it won’t, cos key binds don’t work during demo playback. The only way possible is use ETPro to view demos, and as pgh points out, make sure the option to use default keys is disabled in the menu.


(Fusen) #7

ya i had this problem on a 10 second demo i was turning into a avi all i did was start up with etpro then went to etpro options straight away set cg_draegun to 0 in menu and draw2d 0 in menu then started the demo so nothing was shown and pressed F5 as soon as the loading screen finished… =P


(PH@TIE) #8

Could you not just create a config to execute, containing all the cvar changes you require, i.e cg_drawgun and cg_draw2d blah blah blah.

Then all ya have to do is give it a short name and /exec it.cfg (or whatever you call it) as the map loads.


(pgh) #9

Yep Ph@tie… it really is THAT simple. :>

Quotation marks are required, most of the time, for binds to work properly.

bind x +foward would work as would bind x “+foward”
bind x say hi would not work.

The speech marks are there to allow spaces to be used basically. To make the say hi bind work you would need to do:

bind x “say hi” which would obviously say hi…

/bind f1 “echo Started; cg_draw2D 0; cl_avidemo 30” would work fine.
/bind f1 “echo Started;cg_draw2D 0;cl_avidemo 30” would work fine.
/bind f1 echo Started; cg_draw2D 0; cl_avidemo 30 would not as the spaces are there without the speech marks.


(RM) #10

wow, the Extended Demo Viewer in ETPro blew me away. The freecam is amazing! no more lining up the perfect shots, although couldnt get the weapon cams to work, but thats a minor quibble. Got a great video making config too from the etpro site. JaHaa!