Binding

GregGreg Join Date: 2003-01-16 Member: 12366Members
<div class="IPBDescription">how to</div> could some1 please tell me how to bind keys.

for eg.... i want to bind interp 7 to button 9 so that would be a good start. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->


thx

Comments

  • GregGreg Join Date: 2003-01-16 Member: 12366Members
    what is no1 going to help?<!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->?

    any1 <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo--> <!--emo&:angry:--><img src='http://www.unknownworlds.com/forums/html/emoticons/mad.gif' border='0' style='vertical-align:middle' alt='mad.gif'><!--endemo-->
  • CplDavisCplDavis I hunt the arctic Snonos Join Date: 2003-01-09 Member: 12097Members
    <!--QuoteBegin--Greg+Jun 24 2003, 10:06 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Greg @ Jun 24 2003, 10:06 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> could some1 please tell me how to bind keys.

    for eg.... i want to bind interp 7 to button 9 so that would be a good start. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->


    thx <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Dont know what u mean by "interp"
    But for other things its usualy bind "key" "command"

    ex when I press the letter q i want it to saw " Incoming aliens!"

    you would type in console

    bind q "say_team Incoming aliens!"

    for number pad keys just to go controls and set a command toone of them and it will tell you the abreviation for that key.
    ex kp_1 or kp_5

    if you need more help go here.
    <a href='http://half-life.gamehelp.com/console/console_bind.html' target='_blank'>http://half-life.gamehelp.com/console/cons...nsole_bind.html</a>
  • nthingnthing Join Date: 2002-11-01 Member: 3091Members
    You bind commands to keys using the <b>'bind'</b> command. Devilishly easy to understand once you know the syntax...

    <b>'bind <i><desired button> <desired command that you want binding to that button>'</i></b>

    So in the your case, you would simply open your console and type: <b>'bind 9 interp 7'</b>
  • GregGreg Join Date: 2003-01-16 Member: 12366Members
    i type 'bind 9 interp 7' and it says (bind <key>[command] : attach a command to a key)
  • GregGreg Join Date: 2003-01-16 Member: 12366Members
    more help please <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • a_civiliana_civilian Likes seeing numbers Join Date: 2003-01-08 Member: 12041Members, NS1 Playtester, Playtest Lead
    edited June 2003
    Try putting 'interp 7' in quotes, like this:
    <b>bind 9 "interp 7"</b>

    If that doesn't work either, try putting '9' in quotes as well.
  • GregGreg Join Date: 2003-01-16 Member: 12366Members
    thx a civilian the quotes did the job.
    <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • CoolCookieCooksCoolCookieCooks Pretty Girl Join Date: 2003-05-18 Member: 16446Members, NS1 Playtester, Contributor, Constellation
    what is interp 7?? do u mean impulse or summin?
  • th0r0nth0r0n Born again n00b Join Date: 2003-06-12 Member: 17313Members
    Interp is frame interpolation, and it a boolean, it can only be turned on and off, not set to a value.

    You can set ex_interp to 7, but I wouldn't recommend it.

    If you mean "Impulse 7", then that's a different thing <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • CoolCookieCooksCoolCookieCooks Pretty Girl Join Date: 2003-05-18 Member: 16446Members, NS1 Playtester, Contributor, Constellation
    <!--QuoteBegin--th0r0n^+Jun 25 2003, 04:09 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (th0r0n^ @ Jun 25 2003, 04:09 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Interp is frame interpolation, and it a boolean, it can only be turned on and off, not set to a value.

    You can set ex_interp to 7, but I wouldn't recommend it.

    If you mean "Impulse 7", then that's a different thing <!--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-->
    heh i dont have a clue what that means so ill give it a pass <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • ZelZel Join Date: 2003-01-27 Member: 12861Members
    on or off being zero or one, so why would you want a bind that repeatedly sets it to nine?

    he must mean "impulse 9"
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    Skorpy's intro to <a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=17&t=29827&hl=how+the+console+works' target='_blank'>How The Console Works</a>. Feel free to bump <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • Young_TrotskyYoung_Trotsky Join Date: 2003-01-14 Member: 12285Members
    Interp refers to the variable "ex_interp" which is highly exploitable and should be left to the default setting of 0.1 - Just make sure it isnt in your config(s) and it will be automatically set to 0.1
Sign In or Register to comment.