Here We Go...

semipsychoticsemipsychotic Join Date: 2003-07-09 Member: 18061Members
<div class="IPBDescription">A little question about scripting...</div> I'm not sure if this is the right forum, considering that I'm not really new, I've been playing for a few months and I've mastered everything basic. I just want to ask a question about scripting, primarily commander scripting. I know what I'm talking about, I made some basic scripts for CS.

I've come to love sitting in that commander's chair and crushing alien scum with the power of team, but the commander hotkeys are kind of lacking. I looked in the control menu to set the hotkeys for commanding, but about half of the structures and the Jetpack were missing from the menu. I figured that I would look into the config.cfg that the game writes to see if I can make my own hotkeys with notepad. But, I found that the commands were named "hotkey88" and stuff like that. Which isn't surprising, but the only problem is I can't find any other .cfg file that defines these commands as a string of other commands.

In short, I can't set hotkeys for all of the structures and I would like to. How?

Comments

  • a_civiliana_civilian Likes seeing numbers Join Date: 2003-01-08 Member: 12041Members, NS1 Playtester, Playtest Lead
    A list of commander hotkeys is contained <a href='http://home.swbell.net/houston8/NS-impulselist.txt' target='_blank'>here</a> (scroll down).
  • semipsychoticsemipsychotic Join Date: 2003-07-09 Member: 18061Members
    Thanks! This is definitely going to help me the next time I sit in the chair. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    By the way, there's an important restriction on hotkeys: you can ONLY bind keys to them (no aliases), and the hotkey must be the ONLY command in the bind. It's a bit of a pain in the backside, but it possibly prevents auto-build scripts and stuff.
  • PolyMorphPolyMorph Join Date: 2003-04-14 Member: 15475Members
    edited July 2003
    Yes, binding a key so it would go to the basic buildings menu and pick a TF would really make a comm's life too easy, wouldn't it?


    Btw, the name for the jet packs in the control menu is nuke.
  • eagleceaglec Join Date: 2002-11-25 Member: 9948Members, Constellation
    I sometimes find this useful,
    save the cfg to your ns folder and when in the comm chair drop the console and type exec comm.cfg
    It rebinds your number pad to pretty much whats on the botom right panel.
  • lolfighterlolfighter Snark, Dire Join Date: 2003-04-20 Member: 15693Members
    <!--QuoteBegin--semi-psychotic+Jul 10 2003, 03:51 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (semi-psychotic @ Jul 10 2003, 03:51 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Thanks!  This is definitely going to help me the next time I sit in the chair.  <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Why do laxatives spring to mind?
  • Alpha_1Alpha_1 Join Date: 2002-12-18 Member: 11041Members, Constellation
    edited July 2003
    What would you type to disable it once it was in use?

    [Edit]
    And does numberlock have to be on or off when in use?
  • TwiggyTwiggy Join Date: 2003-06-29 Member: 17785Members
    why dont u bind it so when u press <some button>, ur keys will be rebinded, and when pressing <some button> they get back to normal...of course i forgot how to do it... <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->
  • SquidgetSquidget Join Date: 2003-06-13 Member: 17334Members
    <!--QuoteBegin--Twiggy+Jul 11 2003, 05:14 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Twiggy @ Jul 11 2003, 05:14 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> why dont u bind it so when u press <some button>, ur keys will be rebinded, and when pressing <some button> they get back to normal...of course i forgot how to do it... <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    This has already been done by Rabid Llama. Search the forums, and you'll find his config files.

    I used a modified version of this config myself.
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    <!--QuoteBegin--Twiggy+Jul 11 2003, 06:14 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Twiggy @ Jul 11 2003, 06:14 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> why dont u bind it so when u press <some button>, ur keys will be rebinded, and when pressing <some button> they get back to normal...of course i forgot how to do it... <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    That's exactly what my config does.

    I think I might incorporate that numpad idea... The problem is switching menus. How did you get it to switch commander menus and still have the keypad keys bound to the right stuff, eaglec?
  • eagleceaglec Join Date: 2002-11-25 Member: 9948Members, Constellation
    I didn't do this config - it was kindly provided a few months back on a similar thread by 'Rabid Llama' but basically to change menus you use the numpad keys 7,8,9, two taps of 9 to switch to the supply menu and 4 gives you a medpack.
  • a_civiliana_civilian Likes seeing numbers Join Date: 2003-01-08 Member: 12041Members, NS1 Playtester, Playtest Lead
    Rabid Llama's commander script can be found <a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=1&t=8844' target='_blank'>here</a>
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    Aha. Have to press twice. There had to be a catch :/
Sign In or Register to comment.