Your config file/binds


[ Follow Ups ] [ Post Followup ] [ Night Hunters Message Board ]

Posted by ^^o^^ BatCat on January 10, 1999 at 13:09:21:

It has come to my attention that alot of people are have trouble with BINDS, not just ours.

If the MOD is launched improperly you will NOT get your BINDs and if you do set them up they get written back out to the wrong MOD..

Most problems stem from just lauching Quake2 directly and either typing 'connect (mod-server-adress)' or putting the adress in thier q2 adress book.

In both of these cases you will get the config.cfg and autoexec.cfg files from baseq2. Any changes are written out to there as well, if at all. (use QUIT from console and nothing is written)

Or you may have run another MOD first, either correctly or not, then done either of the above. If it was done correctly then the second MOD's config is written back to the first MOD folder. (double wamy, eeck!)

Run it correctly..
1. Use a launcher like GameSpy, which does it correctly for you.

2. Create a short cut with a command line that looks like this;
(path-to-your-q2-folder)Quake2\quake2.exe +set basedir g:\GAMES\QUAKE2 +set game nhunters +menu_joinserver
...and add your IP adresses for that MOD to the adress book.

2b. Use same command line as above but swap '+menu_joinserver' for 'connect (IP adress:port-other-than-default)'

3. BY HAND.. (ugly but useful)
....A. open console and type 'disconnect'
....B. type 'unbind all'
....C. type 'game (MOD folder name)'
....D. type 'exec config.cfg'
....E. type 'exec autoexec.cfg' (if you have one)
....F. either type a 'connect IP' command or use/edit the adress book in multiplayer/join
....G. play.. 8-)
....H. use the Quake2 menu to quit, this will save config.cfg changes properly.

For those of you that use some other utilities like KeyGrip2,
..make a copy of your proper config file, name it myconfig.cfg
..add the command 'unbindall' on the first line,
..add this to your shortcut, before the last command '+exec myconfig.cfg'

If you have custom alias's or macros put them in the autoexec.cfg file.

For the crafty..
make a file with a simple name, like 'c.cfg', and put it in the root Quake2 folder, put these lines in it;
unbindall
exec config.cfg
exec autoexec.cfg

Now once you switch to another MOD folder go to the console and type 'exec ../c.cfg'. This will exec your config files that are local to your current MOD folder, if you don't have any yet it will then get the config.cfg from baseq2, your default config.

autoexec.cfg is only edited by hand and must be copied by hand to those MOD folders you want it in.


Looks like that turned into "Everything You Wanted To Know About Your Config File But Were Afraid To Ask".. sheesH! 8-)

Good hunting..



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Night Hunters Message Board ]