Bindings

WizardHUNWizardHUN Join Date: 2011-10-23 Member: 128903Members
Hello

I'd like to ask if someone has an idea, why ctrl+numbers does not work to me to bind an object to a button.

Comments

  • FloodinatorFloodinator [HBZ] Member Join Date: 2005-02-22 Member: 42087Members, Reinforced - Shadow
    Because it is used to assing buildings/entinities/players to a group. Like in C&C/AOE.
  • swalkswalk Say hello to my little friend. Join Date: 2011-01-20 Member: 78384Members, Squad Five Blue
    <!--quoteo(post=1887217:date=Nov 28 2011, 12:17 AM:name=Floodinator)--><div class='quotetop'>QUOTE (Floodinator @ Nov 28 2011, 12:17 AM) <a href="index.php?act=findpost&pid=1887217"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Because it is used to assing buildings/entinities/players to a group. Like in C&C/AOE.<!--QuoteEnd--></div><!--QuoteEEnd-->
    It could seem like that's exactly his problem, OP is very unclear.
    I get it like this:
    You try to group some units/buildings to hotkeys(1/2/3/whatever) with ctrl+numbers. But they are not working for you?

    I have never experienced this, but I definitly had some problems with it.
    Having a larger group of units that you use hotkeys for, can crash your game sometimes in my experience. Causes heavy load it seems.
  • WizardHUNWizardHUN Join Date: 2011-10-23 Member: 128903Members
    <!--quoteo(post=1887229:date=Nov 28 2011, 12:52 AM:name=swalk)--><div class='quotetop'>QUOTE (swalk @ Nov 28 2011, 12:52 AM) <a href="index.php?act=findpost&pid=1887229"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->It could seem like that's exactly his problem, OP is very unclear.
    I get it like this:
    You try to group some units/buildings to hotkeys(1/2/3/whatever) with ctrl+numbers. But they are not working for you?

    I have never experienced this, but I definitly had some problems with it.
    Having a larger group of units that you use hotkeys for, can crash your game sometimes in my experience. Causes heavy load it seems.<!--QuoteEnd--></div><!--QuoteEEnd-->

    exactly. i cant assign things to a group, neither marines.
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    Is your crouch key working, i.e. can you crouch as marine ? The game doesn't seems to do anything complicated, it just look if you have a number pressed, and if so look if you have crouch key pressed, and if so make the group :

    if (number ~= 0) then

    if (bit.band(input.commands, Move.Crouch) ~= 0) then

    if Server then
    self:CreateHotkeyGroup(number)
    end

    <a href="http://damien.kodingen.com/source/ns2-lua-Commander.lua.html#326" target="_blank">http://damien.kodingen.com/source/ns2-lua-...er.lua.html#326</a>
  • WizardHUNWizardHUN Join Date: 2011-10-23 Member: 128903Members
    <!--quoteo(post=1887294:date=Nov 28 2011, 12:05 PM:name=Yuuki)--><div class='quotetop'>QUOTE (Yuuki @ Nov 28 2011, 12:05 PM) <a href="index.php?act=findpost&pid=1887294"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Is your crouch key working, i.e. can you crouch as marine ? The game doesn't seems to do anything complicated, it just look if you have a number pressed, and if so look if you have crouch key pressed, and if so make the group :

    if (number ~= 0) then

    if (bit.band(input.commands, Move.Crouch) ~= 0) then

    if Server then
    self:CreateHotkeyGroup(number)
    end

    <a href="http://damien.kodingen.com/source/ns2-lua-Commander.lua.html#326" target="_blank">http://damien.kodingen.com/source/ns2-lua-...er.lua.html#326</a><!--QuoteEnd--></div><!--QuoteEEnd-->

    i can crouch but cant bind
  • ZeikkoZeikko Join Date: 2007-12-16 Member: 63179Members, Squad Five Blue, NS2 Map Tester
    <!--quoteo(post=1887308:date=Nov 28 2011, 03:15 PM:name=WizardHUN)--><div class='quotetop'>QUOTE (WizardHUN @ Nov 28 2011, 03:15 PM) <a href="index.php?act=findpost&pid=1887308"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->i can crouch but cant bind<!--QuoteEnd--></div><!--QuoteEEnd-->
    Is crouch still bound to ctrl or have you changed it to some other key?
  • WizardHUNWizardHUN Join Date: 2011-10-23 Member: 128903Members
    <!--quoteo(post=1887319:date=Nov 28 2011, 02:52 PM:name=Zeikko)--><div class='quotetop'>QUOTE (Zeikko @ Nov 28 2011, 02:52 PM) <a href="index.php?act=findpost&pid=1887319"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Is crouch still bound to ctrl or have you changed it to some other key?<!--QuoteEnd--></div><!--QuoteEEnd-->

    got the problem thanks. I bound things to my mouse buttons, thats why nothing worked hehehehehe :$
Sign In or Register to comment.