HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 demo recorder script

Go down 
AuthorMessage
Nova

avatar

Number of posts : 204
Age : 50
Location : smithtown, long island, ny
Registration date : 2008-12-09

PostSubject: demo recorder script   Mon Jan 12, 2009 11:28 am

this is a script that allows you to use one key to record and stop demos..
set the key at the bottom..

i saved this as "demorecorder.cfg" in the cfg subfolder...
then added the following line to my autoexec.cfg:
"exec demorecorder.cfg"


the demos will be in your tf2 folder..
to play them type "playdemo demo1 (or demo2 etc)" in the console..

this should work in l4d as well as tf2.


Code:
alias demo1 "record demo1; alias demo demo2"
alias demo2 "stop; alias demo demo3"
alias demo3 "record demo2; alias demo demo4"
alias demo4 "stop; alias demo demo5"
alias demo5 "record demo3; alias demo demo6"
alias demo6 "stop; alias demo demo7"
alias demo7 "record demo4; alias demo demo8"
alias demo8 "stop; alias demo demo9"
alias demo9 "record demo5; alias demo demo10"
alias demo10 "stop; alias demo demo11"
alias demo11 "record demo6; alias demo demo12"
alias demo12 "stop; alias demo demo13"
alias demo13 "record demo7; alias demo demo14"
alias demo14 "stop; alias demo demo15"
alias demo15 "record demo8; alias demo demo16"
alias demo16 "stop; alias demo demo17"
alias demo17 "record demo9; alias demo demo18"
alias demo18 "stop; alias demo demo19"
alias demo19 "record demo10; alias demo demo20"
alias demo20 "stop; alias demo demo21"
alias demo21 "record demo11; alias demo demo22"
alias demo22 "stop; alias demo demo23"
alias demo23 "record demo12; alias demo demo24"
alias demo24 "stop; alias demo demo25"
alias demo25 "record demo13; alias demo demo26"
alias demo26 "stop; alias demo demo27"
alias demo27 "record demo14; alias demo demo28"
alias demo28 "stop; alias demo demo29"
alias demo29 "record demo15; alias demo demo30"
alias demo30 "stop; alias demo demo31"
alias demo31 "record demo16; alias demo demo32"
alias demo32 "stop; alias demo demo33"
alias demo33 "record demo17; alias demo demo34"
alias demo34 "stop; alias demo demo35"
alias demo35 "record demo18; alias demo demo36"
alias demo36 "stop; alias demo demo37"
alias demo37 "record demo19; alias demo demo38"
alias demo38 "stop; alias demo demo39"
alias demo39 "record demo20; alias demo demo40"
alias demo40 "stop; alias demo demo41"
alias demo41 "record demo21; alias demo demo42"
alias demo42 "stop; alias demo demo43"
alias demo43 "record demo22; alias demo demo44"
alias demo44 "stop; alias demo demo45"
alias demo45 "record demo23; alias demo demo46"
alias demo46 "stop; alias demo demo47"
alias demo47 "record demo24; alias demo demo48"
alias demo48 "stop; alias demo demo49"
alias demo49 "record demo25; alias demo demo50"
alias demo50 "stop; alias demo demo51"
alias demo51 "record demo26; alias demo demo52"
alias demo52 "stop; alias demo demo53"
alias demo53 "record demo27; alias demo demo54"
alias demo54 "stop; alias demo demo55"
alias demo55 "record demo28; alias demo demo56"
alias demo56 "stop; alias demo demo57"
alias demo57 "record demo29; alias demo demo58"
alias demo58 "stop; alias demo demo59"
alias demo59 "record demo30; alias demo demo60"
alias demo60 "stop; alias demo demo61"
alias demo61 "record demo31; alias demo demo62"
alias demo62 "stop; alias demo demo63"
alias demo63 "record demo32; alias demo demo64"
alias demo64 "stop; alias demo demo65"
alias demo65 "record demo33; alias demo demo66"
alias demo66 "stop; alias demo demo67"
alias demo67 "record demo34; alias demo demo68"
alias demo68 "stop; alias demo demo69"
alias demo69 "record demo35; alias demo demo70"
alias demo70 "stop; alias demo demo71"
alias demo71 "record demo36; alias demo demo72"
alias demo72 "stop; alias demo demo73"
alias demo73 "record demo37; alias demo demo74"
alias demo74 "stop; alias demo demo75"
alias demo75 "record demo38; alias demo demo76"
alias demo76 "stop; alias demo demo77"
alias demo77 "record demo39; alias demo demo78"
alias demo78 "stop; alias demo demo79"
alias demo79 "record demo40; alias demo demo80"
alias demo80 "stop; alias demo demo81"
alias demo81 "record demo41; alias demo demo82"
alias demo82 "stop; alias demo demo83"
alias demo83 "record demo42; alias demo demo84"
alias demo84 "stop; alias demo demo85"
alias demo85 "record demo43; alias demo demo86"
alias demo86 "stop; alias demo demo87"
alias demo87 "record demo44; alias demo demo88"
alias demo88 "stop; alias demo demo89"
alias demo89 "record demo45; alias demo demo90"
alias demo90 "stop; alias demo demo91"
alias demo91 "record demo46; alias demo demo92"
alias demo92 "stop; alias demo demo93"
alias demo93 "record demo47; alias demo demo94"
alias demo94 "stop; alias demo demo95"
alias demo95 "record demo48; alias demo demo96"
alias demo96 "stop; alias demo demo97"
alias demo97 "record demo49; alias demo demo98"
alias demo98 "stop; alias demo demo99"
alias demo99 "record demo50; alias demo demo100"
alias demo100 "stop; alias demo demo1" 
alias demo "demo1"

bind whateverkeyyouwant "demo"

_________________
Faith-away wrote:
Nova looks like a dick who TEARS ONLINE COMMUNITIES APART!

Anonymous: here you go Nova... brace your self, sit down and enjoy... last time you will here this...............................................
Anonymous: you were right


"man with hand in pants feels cocky all day!"
Back to top Go down
View user profile
Nova

avatar

Number of posts : 204
Age : 50
Location : smithtown, long island, ny
Registration date : 2008-12-09

PostSubject: Re: demo recorder script   Mon Jan 12, 2009 12:24 pm

i found this other one that might be something to consider.. i just dont know if it works.. supposedly it allows you to add the name of the demo which is pretty useful.


alias dem0 "dem1"
alias dem1 "developer 1;echo Enter name of demo....;developer 0;messagemode record;alias dem0 dem2"
alias dem2 "developer 1;echo Demo Stopped; developer 0;stop;alias dem0 dem1"

bind "x" "dem0"

_________________
Faith-away wrote:
Nova looks like a dick who TEARS ONLINE COMMUNITIES APART!

Anonymous: here you go Nova... brace your self, sit down and enjoy... last time you will here this...............................................
Anonymous: you were right


"man with hand in pants feels cocky all day!"
Back to top Go down
View user profile
smuggler

avatar

Number of posts : 55
Age : 45
Location : Providence, RI
Registration date : 2008-12-12

PostSubject: Getting to an AVI file   Mon Jan 12, 2009 5:09 pm

Now that you've followed Nova's script to save and record a demo file, here's how to generate a nice AVI file.


Download and install the K-Lite codec pack:
K-Lite Codec

This will install a bunch of codecs for decoding/encoding most video files you find on the internet.

Fire up the game you recorded the demo for and bring up the developer console. Console commands are in bold

startmovie moviename avi

Where moviename is the name of the resulting AVI file you want to create (don't add the .avi extension it will add it for you.)
And avi (note the spaces between moviename and avi

This will pop up a window asking what kind of encoding you want. Chose the MPEG-4 encoding.


playdemo demoname

Where demoname is what you previously recorded.

Now the demo will play back (with NO sound) and look really choppy and crappy. This is normal.

When it's done, stop the movie

endmovie

The resulting AVI file should be in the install directory of the game.
For L4D it's C:\Program Files\Steam\SteamApps\common\Left 4 Dead\
TF2 would be C:\Program Files\Steam\SteamApps\yourname\TF2 (I think)

You should end up with a nice compact (relatively speaking) MPEG4 AVI file of the demo.
Back to top Go down
View user profile http://www.pompetti.com
Sponsored content




PostSubject: Re: demo recorder script   

Back to top Go down
 
demo recorder script
Back to top 
Page 1 of 1
 Similar topics
-
» Chess Script
» Moebius chapter 1 demo
» Technobabylon Demo
» Another Cinderella Story Movie Script
» Firefox 4 - Mybrute stuff

Permissions in this forum:You cannot reply to topics in this forum
The eXiled :: Game Talk :: Tips and Tweaks-
Jump to: