Jump to content
  • 0
MUUUU

Demotoggle

Question

Hi guys.. I have a problem, when I load my cfg it allow me to use demotoggle. but if i disconnect and reconnect it disapear and i need to /exec cfg again? 

 

"vstr demotoggle"
set demostop "set demotoggle vstr demostart; stoprecord; echo ^(Stopped Demo
set demostart "set demotoggle vstr demostop; autorecord; echo ^(Recording Demo
set demotoggle "vstr demostart"

Share this post


Link to post
Share on other sites

14 answers to this question

Recommended Posts

  • 0

You could have your autoexect.cfg exec your demotoggle.cfg script.  

 

I think that that is how I set my f12 key to auto-demo...lo' these many years ago...

 

Sometimes the f12 does not start a demo and I have to manually start one, but that happens rarely.

 

 

Share this post


Link to post
Share on other sites
  • 0

Where is the bind in your demotoggle script? (add some key before "vstr demotoggle")

Afaik the only command you need for a demotoggle bind is autorecord - bind f12 autorecord. F12 starts/stops recording.

 

If you want the demo to be recorded automatically, along with other actions possible if wanted - you can use cg_autoaction (try setting to 1) 1=demo, 2=ss, 4=stats, 3=demo+ss etc.

 

  • Like 1

Share this post


Link to post
Share on other sites
  • 0
15 hours ago, MUUUU said:

Hi guys.. I have a problem, when I load my cfg it allow me to use demotoggle. but if i disconnect and reconnect it disapear and i need to /exec cfg again? 

 

"vstr demotoggle"
set demostop "set demotoggle vstr demostart; stoprecord; echo ^(Stopped Demo
set demostart "set demotoggle vstr demostop; autorecord; echo ^(Recording Demo
set demotoggle "vstr demostart"

 

Sounds like ET isnt saving your etconfig.cfg, do you open ET as admin?

 

P.S.: Do consider Kajto's suggestion. There are easier ways out there

Share this post


Link to post
Share on other sites
  • 0
6 hours ago, Dest!Ny said:

 

Sounds like ET isnt saving your etconfig.cfg, do you open ET as admin?

 

P.S.: Do consider Kajto's suggestion. There are easier ways out there

Would he receive the same message in his console?

Share this post


Link to post
Share on other sites
  • 0
17 minutes ago, RedBaird said:

Would he receive the same message in his console?

If he bound it to a key and then pressed the key when he reconnected, it would.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0
6 hours ago, kajto3 said:

Where is the bind in your demotoggle script? (add some key before "vstr demotoggle")

Afaik the only command you need for a demotoggle bind is autorecord - bind f12 autorecord. F12 starts/stops recording.

 

If you want the demo to be recorded automatically, along with other actions possible if wanted - you can use cg_autoaction (try setting to 1) 1=demo, 2=ss, 4=stats, 3=demo+ss etc.

 

But when i bind h *autorecord* its only start the recording. And i use h for the vstr demotoggle.

Edited by MUUUU

Share this post


Link to post
Share on other sites
  • 0

Add your script to autoexec.cfg in etmain - seems that your key is overriden by something else

Share this post


Link to post
Share on other sites
  • 0

Edit: Whoops, that's not correct

Edited by Dest!Ny

Share this post


Link to post
Share on other sites
  • 0
22 hours ago, MUUUU said:

Hi guys.. I have a problem, when I load my cfg it allow me to use demotoggle. but if i disconnect and reconnect it disapear and i need to /exec cfg again? 

 

"vstr demotoggle"
set demostop "set demotoggle vstr demostart; stoprecord; echo ^(Stopped Demo
set demostart "set demotoggle vstr demostop; autorecord; echo ^(Recording Demo
set demotoggle "vstr demostart"

//DEMO SCRIPT//

bind F12 "vstr demor"
set demor "vstr demoon"
set demoon "autorecord; set demor vstr demooff; echo ^2Recording ^pDemo"
set demooff "stoprecord; set demor vstr demoon; echo ^1Stopped ^pRecording"

 

I use that and it works just fine. Try pressing binded key more than twice if not. I wouldn't use autoexec other than execing your own cfg (nameofcfg.cfg), especially if you play on nq, the mod itself creates one and usually just messes up yours.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0
7 minutes ago, RendeL said:

//DEMO SCRIPT//

bind F12 "vstr demor"
set demor "vstr demoon"
set demoon "autorecord; set demor vstr demooff; echo ^2Recording ^pDemo"
set demooff "stoprecord; set demor vstr demoon; echo ^1Stopped ^pRecording"

 

I use that and it works just fine. Try pressing binded key more than twice if not. I wouldn't use autoexec other than execing your own cfg (nameofcfg.cfg), especially if you play on nq, the mod itself creates one and usually just messes up yours.

How to make the autoexec? 

Share this post


Link to post
Share on other sites
  • 0
Just now, MUUUU said:

How to make the autoexec? 

Create a new txt file and rename it to autoexec.cfg and put it in etmain folder.

Then add in the autoexec file this line: exec nameofyourcfg.cfg and it loads your cfg automatically when you start et.

 

Here is mine attached, feel free to edit and use.

 

autoexec.cfg

Share this post


Link to post
Share on other sites
  • 0
36 minutes ago, RendeL said:

Create a new txt file and rename it to autoexec.cfg and put it in etmain folder.

Then add in the autoexec file this line: exec nameofyourcfg.cfg and it loads your cfg automatically when you start et.

 

Here is mine attached, feel free to edit and use.

 

autoexec.cfg

Thx! any idea of who that can help me to create a better cfg?

Share this post


Link to post
Share on other sites
  • 0
6 minutes ago, MUUUU said:

Thx! any idea of who that can help me to create a better cfg?

Us! I've seen you created a new topic in appropiate section. Let's continue there.

 

 

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

I could never get one key to toggle it correctly so I use two

 

Bind F9 “record”

Bind F10 “stoprecord”

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

About Us

We are glad you decided to stop by our website and servers. At Fearless Assassins Gaming Community (=F|A=) we strive to bring you the best gaming experience possible. With helpful admins, custom maps and good server regulars your gaming experience should be grand! We love to have fun by playing online games especially W:ET, Call of Duty Series, Counter Strike: Series, Minecraft, Insurgency, DOI, TF2 & Battlefield Series and if you like to do same then join us! Here, you can make worldwide friends while enjoying the game. Anyone from any race and country speaking any language can join our Discord and gaming servers. We have clan members from US, Canada, Europe, Sri Lanka, India, Japan, Australia, Brazil, UK, Austria, Poland, Finland and many other countries. It doesn't matter how much good you are in the game or how much good English you speak. We believe in making new friends from all over the world. If you want to have fun and want to make new friends join up our gaming servers and our VoIP servers any day and at any time. .

×

Important Information

By using this site, you agree to our Terms of Use.