Tremulous Forum
General => General Discussion => Topic started by: Xemos on September 17, 2006, 05:50:57 am
-
Hello, i was wondering if there is a guide to creating your own autoexec configuration?
i know how to do all the common sense stuff but when it comes to configuring the qualities, the numbered items in general, im just lost. and its rather tiring to have to switch them each time i join the game, having to recconect after connected =\
so thanks in advanced
~Xemos, the evil alien =)
-
I thought the config file was the same as the console commands?
How is it that you can change them ingame, but can't with the config file?
If you're talking about binds, I think they're like this:
bind <keycode> <command>
or often for more complicated structures:
vstr <xyz> <command>
bind <keycode> <xyz>
[EDIT: I strongly suspect this is wrong]
Unless you mean you use the menu to change options, but when you restart they're reset to default.
That would probably be (on linux anyhow) a permissons issue with the configs.
-
How is it that you can change them ingame, but can't with the config file?
because ingame /<name> <value> implies /seta <name> <value>, in the config file, there is no such thing, because the variable must exist before you can use it like that, and the config file is what creates the variable. so in the config file, you have to type the whole thing out.
-
Oh :oops:
And I think I may have got the second bind instructions wrong :oops: :oops:
-
Oh :oops:
And I think I may have got the second bind instructions wrong :oops: :oops:
yes you did, it's [code] set <varname> "<actions>"
bind <keycode> "vstr <varname>"
[code]
you should always quote all but the simplest of commands, because otherwise semicolons will mess everything up