Jump to content

Demotoggle


MUUUU

Recommended Posts

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"

Link to comment
Share on other sites

  • Leader

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.

 

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Platinum VIP
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

Link to comment
Share on other sites

  • Leader
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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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? 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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