PDA

View Full Version : binds - please look


Spookywillow
12-09-2004, 10:48 AM
is it possible to make a bind so that if i press a key it will type into console?

i want to press a key so that
rcon_address blah blah and rcon_password blah blah are typed into console,

thanks ;D

marcusm88
12-10-2004, 12:50 PM
What you need to do is go into your steam folder
steam\steamapps\mail@address\counter-strike: source\cstrike
and make a new.cfg file in the cfg folder.
in that cfg file define your rcon like this:

rcon_address 192.168.1.1
rcon_password thepassword

then in source from the console you can type
exec new.cfg
and it'll apply those settings. and you can also bind a key to

bind [ "exec new.cfg"

but bindings only work while youre in the game... if you had just started up source you would have to open console and type exec new.cfg


another way to do it is in steam right click on counterstrike:source and go to properties and add
-exec new.cfg
to the launch options