News:

Come Chat with us live! Learn how HERE!

Main Menu

Is there an guide for autoexec configurations?

Started by Xemos, September 17, 2006, 05:50:57 AM

Xemos

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 =)

Aninhumer

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.

kevlarman

Quote from: AninhumerHow 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.
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

Aninhumer

Oh  :oops:
And I think I may have got the second bind instructions wrong  :oops:  :oops:

kevlarman

Quote from: AninhumerOh  :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
Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----