View Full Version : Binding a Key to Execute Autoexec.cfg
Excuse me, but what is the script to bind a key to executing my a cfg in game?
Szakalot
08-05-2009, 01:12 AM
if you place your autoexec.cfg in the sdnet/profile
instead of base/*.cfg you wont be able to execute it using the 'exec' command but it will execute that autoexec every time you run the profile on that game mode (so promod is independent to vanilla)
or you could just type in
"seta bind <key> "exec <cfg.name>" "
unless the key is overwritten by the config your just executing, that command will stick the bind to your current profile
I understand placing the config in base.
Before, I had my script as
bind BACKSPACE "exec autoexec.cfg"
So, now all I need to add is that "seta" at the beginning?
Szakalot
08-05-2009, 10:42 AM
oh gawd, read what i wrote please:
place your config in
sdnet/profilename/
not in 'base'. In base you only place configs you want to exec manually, why would you want to manually exec autoexec?
The best way to do it is to have an autoexec.cfg in the sdnet that has that bind you wrote placed in, with some other config (i got it called 'exec' for example) in the base.
Alright, sorry about the misunderstanding. I understand now.
In Wolfenstein ET, I had this bind placed to reset all of my settings if I needed to. Came in handy as a refresher.
Proteas
09-03-2009, 06:29 AM
Hey little help 3 things
1 if the autoexec.cfg is in the sdnet/profilename dont start manual ?
2 if i run the autoexec.cfg from sdnet/profilename next time who i log in
and run the game is all normal or i have the cfg values in game :confused:
3 i have autoexec.cfg file and all start like this:
seta com_......
can i start the values like this
set_com........ ?
p.s. If you not understand my english plz call Basiley :p
LighT_Sh4v0r
09-06-2009, 11:51 AM
1: if your autoexec is in that folder, it executes automatically when you start the game, so you don't have to do it manually.
2. The settings in your autoexec take effect immediately.
3. There is no need to use seta or set in your autoexec, all that does is copy the commands over into your user config. That makes no difference, because the settings in your autoexec are executed anyway.
raccoon.
10-15-2009, 05:45 AM
It's an autoexec. Why would you want a manualexec? :confused: