This is my first tutorial, hope it is clear & helps...
Ok, so thanks to the god that is Kiwi, I've decided that more people should really know about this.
In the 1.2 GamePlay Preview (GPP) there are a few new cvars, two of them being:
cg_alienConfig
and
cg_humanConfig
These aren't set to anything by default. "What do they do?" You ask? Well, when you join the alien team, cg_alienConfig automatically executes whatever .cfg file you have set it to, and respectively with cg_humanConfig
So, to make things simple, we'll name the 2 .cfg's alien.cfg and human.cfg
You'll want to put these two files in the /GPP folder in your fs_homepath. To find out where that is, open Trem and type:
\fs_homepath
For Windows XP it's defaulted to C:\Documents and Settings\{username}\Application Data\Tremulous
Linux is usually ~/.Tremulous
And OSX I really have no idea.
EIDT: OSX is ~/Library/Applications Support/Tremulous/ (thanks Superspirality)
Usually, we want evo binds available for the team we're playing, as it's faster and easy. So, for the alien.cfg we'd set it up like this:
bind 1 "class builderupg; class builder"
bind 2 "class level0"
bind 3 "class level1"
bind 4 "class level1upg"
bind 5 "class level2"
bind 6 "class level2upg"
bind 7 "class level3"
bind 8 "class level3upg"
bind 9 "class level4"
This makes:
- 1 -> granger or advanced granger
- 2 -> dretch
- 3 -> basilisk
- 4 -> adv basilisk
- 5 -> marauder
- 6 -> adv marauder
- 7 -> dragoon
- 8 -> adv dragoon
- 9 -> tyrant
1 & 2 will spawn you as those if you're currently not spawned
So if we want to use the same technique for human.cfg, we'd set it up like this:
bind 1 "class advckit; class ckit; sell weapons; sell battpack; buy advckit; buy ckit"
bind 2 "class rifle; sell weapons; sell upgrades; sell battpack; buy rifle"
bind 3 "sell weapons; sell battpack; buy shotgun; buy rifle"
bind 4 "sell weapons; buy lgun; buy battpack; buy rifle"
bind 5 "sell weapons; buy mdriver; buy battpack; buy rifle"
bind 6 "sell weapons; sell battpack; buy chaingun; buy rifle"
bind 7 "sell weapons; buy prifle; buy battpack; buy rifle"
bind 8 "sell weapons; buy lcannon; buy battpack; buy rifle"
bind 9 "sell bsuit; buy larmour; buy helmet"
bind 0 "sell upgrades; buy bsuit; buy larmour; buy helmet"
This makes:
- 1 -> construction kit
- 2 -> rifle and sell everything else
- 3 -> shotgun
- 4 -> lasgun
- 5 -> mass driver
- 6 -> chaingun
- 7 -> plasma rifle
- 8 -> lucifer cannon
- 9 -> buy light armor and helmet
- 0 -> buy battlesuit
all buttons sell your current weapon first
buttons 1 & 2 will spawn you as those if you're not spawned yet, any energy weapon will also buy a battpack if you have enough creds for it, battlesuit will sell upgrades and lower armour then buy larmour and helmet if you don't have enough creds for it, and if you don't have enough creds for a gun it buys back the rifle.
------------------------------------------------------
You can set it however you want though, and can even define strings and such there.
All binds and a thorough tutorial on autoexec.cfg can be found
here courtesy of Kiwi.
I hope this helps, and if I labeled anything wrong, or if you just wanna comment or something, let me know!
-Deadbeat