Fortress Forever

Go Back   Fortress Forever > Community > Tips and Tutorials

Reply
 
Thread Tools Display Modes
Old 09-20-2007, 06:22 PM   #1
teatime
 
Join Date: Jul 2007
Posts Rated Helpful 0 Times
Demo recording script?

Anyone know of a way to make a script like this

key1 - starts recording a demo name of xxx001
key2 - stops recording, rebinds key1 to start recording next demo name of xxx002

etc.

?

TY.
teatime is offline   Reply With Quote


Old 09-20-2007, 06:45 PM   #2
Acciaccatura
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
Untested, but no reason why it shouldn't work.

alias recdemo1 "record xxx001"
alias recdemo2 "record xxx002"
alias recdemo3 "record xxx003"
...
...
...
alias recdemo11 "record xxx010"
alias recdemo "recdemo1"

alias stopdemo1 "stop; alias recdemo recdemo2"
alias stopdemo2 "stop; alias recdemo recdemo3"
alias stopdemo3 "stop; alias recdemo recdemo4"
...
...
...
alias stopdemo10 "stop; alias recdemo recdemo1"
alias stopdemo "stopdemo1"

bind "x" "recdemo"
bind "y" "stopdemo"

That should do it. Fill in the ...s with repetitions up to the number you require, unfortunately we can't just add a number, you need an alias for each number. It will loop through one to ten here, (if you fill in the ...s) and then go back to xxx001.

Hi Teatime, Herbie from Planet Fortress here
Acciaccatura is offline   Reply With Quote


Old 09-20-2007, 06:50 PM   #3
teatime
 
Join Date: Jul 2007
Posts Rated Helpful 0 Times
hmm different teatime i think. thanks for the script.

1 little thing needs adding - in case anyone else wants to use this - add to the top section:

alias recdemo1 "record xxx001; alias stopdemo stopdemo2"
alias recdemo2 "record xxx002; alias stopdemo stopdemo3"
.
.
.
alias recdemo9 "record xxx009; alias stopdemo stopdemo1"
alias recdemo "recdemo1"

or else it will just overwrite demo xxx001 over and over.

Last edited by teatime; 09-20-2007 at 07:31 PM.
teatime is offline   Reply With Quote


Old 09-20-2007, 07:53 PM   #4
Kanadwen
 
Kanadwen's Avatar
 
Join Date: Mar 2007
Location: York, PA
Posts Rated Helpful 0 Times
Send a message via AIM to Kanadwen Send a message via Yahoo to Kanadwen
So the full script would look like this?:

alias recdemo1 "record xxx001; alias stopdemo stopdemo2"
alias recdemo2 "record xxx002; alias stopdemo stopdemo3"
...
...
...
alias recdemo9 "record xxx009; alias stopdemo stopdemo1"
alias recdemo "recdemo1"

alias recdemo1 "record xxx001"
alias recdemo2 "record xxx002"
alias recdemo3 "record xxx003"
...
...
...
alias recdemo11 "record xxx010"
alias recdemo "recdemo1"

alias stopdemo1 "stop; alias recdemo recdemo2"
alias stopdemo2 "stop; alias recdemo recdemo3"
alias stopdemo3 "stop; alias recdemo recdemo4"
...
...
...
alias stopdemo10 "stop; alias recdemo recdemo1"
alias stopdemo "stopdemo1"

bind "x" "recdemo"
bind "y" "stopdemo"
Kanadwen is offline   Reply With Quote


Old 09-20-2007, 08:29 PM   #5
teatime
 
Join Date: Jul 2007
Posts Rated Helpful 0 Times
Quote:
Originally Posted by Kanadwen
So the full script would look like this?:
pretty much correct. here i'll just paste what i put in my autoexec which works fine... once it gets to 9 demos and you start a new one it will overwrite xxx001 if you don't rename them after playing.

--------
alias recdemo1 "record xxx001; alias stopdemo stopdemo2"
alias recdemo2 "record xxx002; alias stopdemo stopdemo3"
alias recdemo3 "record xxx003; alias stopdemo stopdemo4"
alias recdemo4 "record xxx004; alias stopdemo stopdemo5"
alias recdemo5 "record xxx005; alias stopdemo stopdemo6"
alias recdemo6 "record xxx006; alias stopdemo stopdemo7"
alias recdemo7 "record xxx007; alias stopdemo stopdemo8"
alias recdemo8 "record xxx008; alias stopdemo stopdemo9"
alias recdemo9 "record xxx009; alias stopdemo stopdemo1"
alias recdemo "recdemo1"

alias stopdemo1 "stop; alias recdemo recdemo1"
alias stopdemo2 "stop; alias recdemo recdemo2"
alias stopdemo3 "stop; alias recdemo recdemo3"
alias stopdemo4 "stop; alias recdemo recdemo4"
alias stopdemo5 "stop; alias recdemo recdemo5"
alias stopdemo6 "stop; alias recdemo recdemo6"
alias stopdemo7 "stop; alias recdemo recdemo7"
alias stopdemo8 "stop; alias recdemo recdemo8"
alias stopdemo9 "stop; alias recdemo recdemo9"
alias stopdemo "stopdemo1"

bind "n" "recdemo"
bind "m" "stopdemo"

-----------

then if you want to add more "slots" to record w/o renaming just add more following the pattern.
teatime is offline   Reply With Quote


Old 09-20-2007, 08:59 PM   #6
Acciaccatura
 
Join Date: Sep 2007
Posts Rated Helpful 0 Times
Whoops, meant to add those but hurried off to watch Spurs
Acciaccatura is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:23 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.