I Believe This Has Already Been Addressed...
Unipac
Join Date: 2003-01-27 Member: 12864Members, Constellation
<div class="IPBDescription">Binding profiles?</div> I have binded keys for when I am commanding. Is there a way I can save/load a profile for commanding/skulking/gorging? I think I've seen someone talk about this before but I don't seem to be able to find it.
thanks for all the help
thanks for all the help
Comments
put your skulk configuration in skulk.cfg
put your gorge configuration in gorge.cfg
put your fade configuration in fade.cfg
put your onos configuration in onos.cfg
put your marine configuration in marine.cfg
put your lerk configuration in lerk.cfg
then put this script in your autoexec.cfg (might have to create an autoexec.cfg using notepad if you don't already have one):
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->bind "ANYKEY" "changecfg"
alias changecfg changecfg1
alias changecfg1 "exec commander.cfg; developer 1; echo commander configuration executed; developer 0; alias changecfg changecfg2"
alias changecfg2 "exec skulk.cfg; developer 1; echo skulk configuration executed; developer 0; alias changecfg changecfg3"
alias changecfg3 "exec fade.cfg; developer 1; echo fade configuration executed; developer 0; alias changecfg changecfg4"
alias changecfg4 "exec gorge.cfg; developer 1; echo gorge configuration executed; developer 0; alias changecfg changecfg5"
alias changecfg5 "exec lerk.cfg; developer 1; echo lerk configuration executed; developer 0; alias changecfg changecfg6"
alias changecfg6 "exec onos.cfg; developer 1; echo onos configuration executed; developer 0; alias changecfg changecfg7"
alias changecfg7 "exec marine.cfg; developer 1; echo marine configuration executed; developer 0; alias changecfg changecfg1"<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
where "ANYKEY" is the key you want to use to cycle through your configs. Be sure in each config the first line is<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->unbindall<!--c2--></td></tr></table><span class='postcolor'><!--ec2--> so any previous binds are erased and don't forget to include the<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->bind "ANYKEY" "changecfg"<!--c2--></td></tr></table><span class='postcolor'><!--ec2--> in all of the above referenced .cfg files.
Personally, I have all my settings in "ns.cfg" and have a line in my autoexec.cfg saying "exec ns.cfg". That way I can fiddle with stuff in-game through the console as much as I like, but it won't save the changes permenantly unless I edit my ns.cfg.
Just type things into the cfg as if they were going right into the console, and save it to your ns directory. You can then execute all the commands that are in the cfg by typing in "exec CFGNAME.cfg" in the console.
<a href='http://half-life.pcgame.com/' target='_blank'>http://half-life.pcgame.com/</a> is where I learned how to HL script, some time ago. It's a little dated, but it's still very good (the scripting language hasn't changed since the release).