Jump to content

Recommended Posts

Posted

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"

  • Leader
Posted

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.

 

 

Posted

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

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

Posted
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
Posted (edited)
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
Posted

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

  • Platinum VIP
Posted (edited)

Edit: Whoops, that's not correct

Edited by Dest!Ny
Posted
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
Posted
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? 

Posted
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

Posted
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?

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

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

 

Bind F9 “record”

Bind F10 “stoprecord”

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.