Home of the Mobsters Forum Index
Author Message

<  Key Binds / Scripts  ~  Demo Toggle (Repost)

Freedom
Posted: Fri Nov 13, 2009 11:55 pm Reply with quote
Joined: 09 Nov 2006 Posts: 994 Location: Louisiana
Go into your main folder and make a folder called "Demos"

Then paste the following into your config

bind KEY_HERE "vstr demotoggle"

seta demotoggle "vstr demoon"
seta demooff "stoprecord;echo You are currently ^1Not ^1Recording a demo.;set demotoggle vstr demoon"
seta demoon "g_syncronousclients 1;record;g_syncronousclients 0;echo You are currently ^2Recording a demo.;set demotoggle vstr demooff"

_________________

View user's profile Send private message
.xTragic_nG
Posted: Tue Feb 23, 2010 10:07 am Reply with quote
Joined: 12 Apr 2009 Posts: 175 Location: Canada Quebec
Hey free, I already have a folder named demos and a cfg file named demo with the same commands as in your post, what confuses me is that when I'm in game it doesn't seem to read my cfg file. Which brings me to my next question should I put my "demo.cfg" file into my demos folder? Or keep it where it is in my Main folder which is where it is and doesn't seem to work.

Or do I need to copy and paste my demo.cfg file and paste it into my wolf_config? Im so confused lol.

Thanks!

_________________


No drug, not even alcohol,
causes the fundamental ills of society. If we’re looking for the sources of our troubles, we shouldn’t test people for drugs, we should test them for stupidity, ignorance, greed and love of power.
View user's profile Send private message MSN Messenger
Nitro
Posted: Tue Feb 23, 2010 10:25 am Reply with quote
Mobster Joined: 16 May 2005 Posts: 6981 Location: Chicago
You can paste the code into your normal config and it should work.

If you want to use a seperate demo.cfg file, put it in your main folder and be sure you have a command somewhere that does: /exec demo.cfg. This could be at the bottom of your wolfconfig_mp.cfg or in autoexec.cfg. If you do it that way, be sure your /exec demo.cfg command happens after your binds or the key may be reset to default.

_________________
View user's profile Send private message MSN Messenger
Freedom
Posted: Tue Feb 23, 2010 12:21 pm Reply with quote
Joined: 09 Nov 2006 Posts: 994 Location: Louisiana
Kronic wrote:
Hey free, I already have a folder named demos and a cfg file named demo with the same commands as in your post, what confuses me is that when I'm in game it doesn't seem to read my cfg file. Which brings me to my next question should I put my "demo.cfg" file into my demos folder? Or keep it where it is in my Main folder which is where it is and doesn't seem to work.

Or do I need to copy and paste my demo.cfg file and paste it into my wolf_config? Im so confused lol.

Thanks!


The demos.cfg was an old idea from years back where you could /exec demo.cfg and use it in a match. Now everyone has caught on that it doesn't matter where your toggle is, so most keep it in their wolfconfig_mp. The way you have it now you have to /exec demo.cfg to use it. I'd do like Nitro said and put it in wolfconfig_mp so you can use it without exec'ing anything. I keep it bound to kp_minus (keypad - key).

_________________

View user's profile Send private message
.xTragic_nG
Posted: Tue Feb 23, 2010 1:58 pm Reply with quote
Joined: 12 Apr 2009 Posts: 175 Location: Canada Quebec
thanks!

_________________


No drug, not even alcohol,
causes the fundamental ills of society. If we’re looking for the sources of our troubles, we shouldn’t test people for drugs, we should test them for stupidity, ignorance, greed and love of power.
View user's profile Send private message MSN Messenger
.xTragic_nG
Posted: Tue Feb 23, 2010 3:08 pm Reply with quote
Joined: 12 Apr 2009 Posts: 175 Location: Canada Quebec
ok everything is working fine, but one problem when I open wolf to view my demos it says "Couldn't open demos/0001.dm_57" so there's gotta be something I'm doing wrong.

This is what I type in when trying to view /demo 0001 but it leads to that error. help please? Very Happy

_________________


No drug, not even alcohol,
causes the fundamental ills of society. If we’re looking for the sources of our troubles, we shouldn’t test people for drugs, we should test them for stupidity, ignorance, greed and love of power.
View user's profile Send private message MSN Messenger
Nitro
Posted: Tue Feb 23, 2010 3:19 pm Reply with quote
Mobster Joined: 16 May 2005 Posts: 6981 Location: Chicago
Play the demo directly from the game. In the console, type:

/demo demoname

You can do this next command first as it will let you see through walls which is useful when viewing demos:

/r_shownormals 1

This will turn off the scores after a round if it blocks your view (I think this is the command).

/-scores

_________________
View user's profile Send private message MSN Messenger
.xTragic_nG
Posted: Tue Feb 23, 2010 4:13 pm Reply with quote
Joined: 12 Apr 2009 Posts: 175 Location: Canada Quebec
thanks nitro!

also how do i get 3rd person view? thanks!

_________________


No drug, not even alcohol,
causes the fundamental ills of society. If we’re looking for the sources of our troubles, we shouldn’t test people for drugs, we should test them for stupidity, ignorance, greed and love of power.
View user's profile Send private message MSN Messenger
Freedom
Posted: Tue Feb 23, 2010 6:25 pm Reply with quote
Joined: 09 Nov 2006 Posts: 994 Location: Louisiana
Yeah, you have to do /demo demo0001 with no space.

Third person is /cg_thirdperson 1

I think (if I remember correctly) you can do /cg_thirdpersonangle # and /cg_thirdpersonrange # for some different viewing angles.

_________________

View user's profile Send private message

Display posts from previous:  

All times are GMT - 5 Hours
Page 1 of 1
Post new topic

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum