How To Remap Keys For Commander

localhost2600localhost2600 Join Date: 2002-12-04 Member: 10448Members
<div class="IPBDescription">Something I don't see enough</div> If you havn't noticed, being in the comm seat can be fustrating sometimes. Trying to keep tabs on everyone is tough enough, you shouldn't need to worry about clicking on the wrong item and building the wrong thing, as it can cost you a game. One "feature" i don't see used enough is the ability to bind keys to certain structers(IE, drop a health pack by pressing h) and comander specific items. The probelm with this is that Half Life doesn't let you double assign a key to two different abilites....not a problem. There are two ways of doing this depending on what kind of user you are. For normal users you can edit your controls throu half life, for advanced you can edit config.cfg in your text editor of choosing. I will focus more on doing it throu half life than the other way, simply because if you are comfortable editing confi.cfg you can probalby get the idea from what I will say.

Part 1: Configure Normal Marine
1)Open Half life and go to controls
2)Set the controls for however you want a "Normal Marine" to be. (IE Wsad for move, space for jump etc)
3)Close Halflife
4)Navagate to your NS directory(c:\SIERRA\Half-life\ns) and copy config.cfg
5)Go Edit->paste to make a dupliate of config.cfg
6)Rename the duplicate to mconfig.cfg (Marine CONFIG.cfg)

Part 2: Configure Commander Mode
1)Reopen HL and go back to controls
2)Set the controls for commander, its ok(and recommended) to use the keys you'd normally use for moving, personaly i try to map them to logical keys(ie A for ammo, h for health) This seems to work out ok, also try to keep the keys near your one hand, so you don't have to move across the keyboard to hit a key.
NOTE*** you MUST map keys for the 3 menus Basic build, Advanced Build and Equip (i'll explain why later) Again make them close to your fingers as you will use them alot.
3)Exit HL and go back to your NS directory
4)Copy and paste config.cfg again to make another duplicate
5)Rename the dup to cconfig.cfg (Comm Config)

OPTIONAL *** You can also make a config for aliens with your favorite upgrades mapped to specif keys

Part 3:
1) If you have an "autoexec.cfg" file, open it, if not create a new text file
2) Add this line
exec mconfig.cfg
3)save and close the file as autoexec.cfg
This makes sure that when you start NS your keys are set so you can move

Part 4:
Now we need to be able to switch between commands, this involve editing your new cfg files.
1)Open mconfig.cfg in any text editor
2)Scroll down towards the end of the "bind" area where you see "bind f7 xxxx" and the like
3)Pick 2(or 3) f# keys that arn't used and add these lines
<!--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 "F11" "exec mconfig.cfg"
bind "F12" "exec cconfig.cfg"<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

you can change the fkeys to suit yourself, as long as they arn't being used
4)i also recomend removing the line with your player name(handle, nick whatever), especially if you share the computer with someone else who plays NS
5) save the file and close
6)repeat steps 1-5 for cconfig.cfg

Thats it your' all set up now.
according to my example:
When you play as a normal Marine press F11
When you command press F12 (after you get into the CC)

A Note about Comanding, in order to use a hot key you need to be in the menu for that item(IE to drop health you must be in the equipment menu) The easiest way to do this is always hit the menu button before the item
Example:
I have My menus binded to z,x,and c for Basic, Advanc, and Equip respectivly
I have Health binded to 'h'
and Resource Node to 'r'
and so on

When i need to drop health i press C , H
When i want to build a Res Node i pres Z , R
this ensures that i'm in the right menu for my item. It may seem odd at first but it will soon become second nature, and is much faster that trying to click on health then find the marine. Also this makes it easier to track marines, and dropping health and ammo on them.

If you have anything to add or i left something out please let me know.
Hope you find this helpful and happy hunting
<!--emo&::asrifle::--><img src='http://www.unknownworlds.com/forums/html/emoticons/asrifle.gif' border='0' valign='absmiddle' alt='asrifle.gif'><!--endemo--> <!--emo&::onos::--><img src='http://www.unknownworlds.com/forums/html/emoticons/tiny.gif' border='0' valign='absmiddle' alt='tiny.gif'><!--endemo-->

Comments

  • FlatlineUTDFlatlineUTD Join Date: 2002-11-08 Member: 7695Members
    There's a lot of scripts out there that have been doing stuff like this since 1.0. I like othell's script personally, but there are a number of other good ones as well.
  • USCMLieutenant_RipleyUSCMLieutenant_Ripley Join Date: 2002-11-24 Member: 9818Members
    The actual script that flatline failed to link to (cause you cant find it with google), is in this thread

    <a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=20&t=8598&hl=othell' target='_blank'>http://www.unknownworlds.com/forums/in...=8598&hl=othell</a>

    The way localhost came up with is the exact same way that Othell came up with. They just use different keys. It's synergy!
Sign In or Register to comment.