CoD4 config/demo related help required

Associate
Joined
12 Feb 2004
Posts
1,805
Location
Sheffield
hope someone can help with this :)

We run several cod4 servers, stream to punkbuster and all that stuff and were collecting info about stopping cheats including capturing demos which is good for seeing those really fast aimbot hax.

anyway someone found the following info (part of it):


Recording a demo

Whilst in game, you can pull up your console and type /record demoname

You will see a little counter at bottom left of your screen showing you the recording kbs counting up.

To stop recording, open console again and type /stoprecord

A much easier way to do this is to add the following code to your config_mp.cfg file found in your player profile folder.

Code:
//Easy one button demo recording function using the backspace key
seta demo_start "record; set demo_tog vstr demo_stop"
seta demo_stop "stoprecord; set demo_tog vstr demo_start"
seta demo_tog "vstr demo_start"



When using this config method of recording by pressing the backspace key to start recording and pressing it again to stop recording, your demos will be named 'demo0000.dm_1 / demo0001.dm_1 and so on.


righto, that seems ok except there is no keybind for the backspace key in the info so this won't work (doesn't work)?

can anyone explain the code that goes in the cfg file, i dont know what vsrt is?

does anyone know how to get that setup at all? or recommend any kind of binds for starting and stopping demo record?

:confused:
 
All i have is this

/bind 0 record
/bind 9 stoprecord

Press 0 to record, press 9 to stop record

:confused: @ the command lines in the quote
 
ok thanks for that, that automatically goes and creates demos, 1 2 3 4 etc? or does it overwrite?

i'm still curious about what that script does (the cfg commands)
 
Last edited:
When i press 0 it will record a new demo

When i press 9 it will stop the current demo

When i press 0 again it will make a totally new demo, no overwriting so no idea what those over-complicated cmd's are about

edit: Figured it out, its using switch toggles to make recording a little easier than two keys

Press backspace to record, press backspace to stoprecord - :)
 
Make a new notepad document

Put this in it:

//Easy one button demo recording function using the backspace key
seta demo_start "record; set demo_tog vstr demo_stop"
seta demo_stop "stoprecord; set demo_tog vstr demo_start"
seta demo_tog "vstr demo_start"

Save it has record.cfg

Go into game and type in the console: /bind backspace exec record.cfg

so when u press backspace it executes that script :)
 
Make a new notepad document

Put this in it:

//Easy one button demo recording function using the backspace key
seta demo_start "record; set demo_tog vstr demo_stop"
seta demo_stop "stoprecord; set demo_tog vstr demo_start"
seta demo_tog "vstr demo_start"

Save it has record.cfg

Go into game and type in the console: /bind backspace exec record.cfg

so when u press backspace it executes that script :)

Sorry to revive an old thread, but where do you put the record.cfg file?
 
Make a new notepad document

Put this in it:

//Easy one button demo recording function using the backspace key
seta demo_start "record; set demo_tog vstr demo_stop"
seta demo_stop "stoprecord; set demo_tog vstr demo_start"
seta demo_tog "vstr demo_start"


Save it has record.cfg

Go into game and type in the console: /bind backspace exec record.cfg

so when u press backspace it executes that script :)

Sorry i've just re-installed COD4 and i'm looking for a bind that pretty much the same as this but it involved me copy/pasting a lot of text into my COD4 cfg file.

What i've highlighted in bold, does all of that need to be in this bind/command as well as '//Easy one button demo recording function using the backspace key'?
 
Back
Top Bottom