Binding As The Commander?

zodazoda Join Date: 2002-11-05 Member: 7175Members
edited November 2002 in NS General Discussion
<div class="IPBDescription">A few questions</div> 1.First off I would like to know if binding keys for the commander will mess up your keys for fighting ex. can I have WASD set as items for the commander and still use them when out of the command station? If I cant have these buttons for both commander, marines, and kharaa I will probabaly not use any binds for commander or maybe the number pad?

2.Is there anyway to move around the map as commander other than the space bar and the mouse? can I set it to use the arrow keys? It seems so slow and laggish

3.I hear people talking about files you need for binds, what do I need? where do I get it or make it? and is it hard?

4.Similiar to number 1, sort of.... Can I set one button as say one thing to build, one piece of equipment and one advanced build? like using numbers 1-10 would rule If I could switch between the three choices.

Thanks, sorry for not knowing much... I am used to counter-strike which doesnt have different modes so I am used to only having one button do one thing and am not sure if I can do all this

Comments

  • IlendilTGIlendilTG Join Date: 2002-11-01 Member: 3184Members
    It probably will, if you bind a key that another command is using, the old one gets unused.

    I'm not really sure about manually editing config.cfg though but it might work.
  • WhiteMagicWhiteMagic Join Date: 2002-11-01 Member: 3470Members
    1. Well if you bind one key to a command it is bound to it binding something else to it will overwrite the existing binding.
    What you can do is making seperate configs for alien, marine and commander. This way you can use the same keys for different tasks ( e.g. marine, alien or commander ).

    2. Yes you can navigate using the:
    "+scrollup", "+scrolldown", "+scrollleft" and "+scrollright" commands.

    3. As far as I know you don't need any files to make such scripts.

    4. Yes it is possible but for the commander a little bit tricky because of the sort the "hotkeyxx" command reacts. But Rapid Llama has a possibility in his Commander Scripts.


    You can also try my Script which does a lot of the things you asked for. ( Link in sig )
  • zodazoda Join Date: 2002-11-05 Member: 7175Members
    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->1. Well if you bind one key to a command it is bound to it binding something else to it will overwrite the existing binding.
    What you can do is making seperate configs for alien, marine and commander. This way you can use the same keys for different tasks ( e.g. marine, alien or commander ).<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->



    Sounds cool, but how do I go about doing this?

    I know how I would mae the configs, but what I dont know is what all this stuff like "hotkey60" mean, what would I put for the commands ala bind "1" healthpack (would that be right?) and how would the game know which config to use?
  • Rabid_LlamaRabid_Llama Join Date: 2002-11-02 Member: 4340Members
    <!--QuoteBegin--WhiteMagic+Nov 18 2002, 08:10 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (WhiteMagic @ Nov 18 2002, 08:10 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->4. Yes it is possible but for the commander a little bit tricky because of the sort the "hotkeyxx" command reacts. But Rapid Llama has a possibility in his Commander Scripts.
    <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    It's Ra<b>B</b>id Llama, kthx <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->

    And what you can do to solve your problem is have different .cfg files.
    Basically, have one called commander.cfg, one called marine.cfg, and one called alien.cfg. Cfg files are just renamed .txt files. Just make them in notepad and save them as <whatever>.cfg . Make sure it's not .cfg.txt, though.
    Anyway, in each of those .cfg files, put the appropriate binds for each situation. Any binds that are in more than one .cfg will overwrite just fine when you run the .cfg.
    To RUN the cfg, just type "exec cfgname.cfg" in console (like "exec commander.cfg", for example). That goes through and runs every command in the file all at once, rebinding keys or whatever it's supposed to do.

    As far as the commander binds go, they are all in "hotkey##" format (like hotkey86). There is no "healthpack" command, unfortunately. And there's no way to MAKE a healthpack command, as the hotkey commands, for some reason, <b>only</b> work when directly bound to a key. Normally, something like
    alias healthpack "hotkey88;hotkey59"
    would work, (88 is Equip Menu, 59 is Health Pack), but NS doesn't allow that for some odd reason. I think it's more of a game design issue than a "we don't like scripting" thing, but it's no big deal.
    Anyway, for a set of commander scripts that works almost seamlessly (you just have to press the key to switch menus TWICE) try mine: <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
    <a href='http://rawr.mine.nu/commander.cfg' target='_blank'>http://rawr.mine.nu/commander.cfg</a>
    Just save them to your Half-Life/NS directory, and bind a key ingame to "exec commander.cfg" and you're set. Open the file in notepad and read the top part for instructions on how to use it.
Sign In or Register to comment.