Author Topic: implementing Sprint as a +buttonX  (Read 8184 times)

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
implementing Sprint as a +buttonX
« on: July 13, 2007, 06:10:36 pm »
Instead of having a "boost" command, how about using +button9 for example? Then you could keep it pressed while changing directions. This could improve the human dodging skills, a lot for n00bz, and a bit for uBeR1337Zorz.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
implementing Sprint as a +buttonX
« Reply #1 on: July 13, 2007, 07:02:37 pm »
Seriously. I'm tired of repeatedly hitting the sprint key when I change directions.

Bajsefar

  • Posts: 597
  • Turrets: +49/-39
implementing Sprint as a +buttonX
« Reply #2 on: July 13, 2007, 08:56:57 pm »
No. Most keyboards (or drivers, i dunno) will only allow you to press 3 buttons or so at a time before things get fucked up.
But you could atleast make the sprint a real toggle, optionized of course so the people who think it is perfect the way it is (like me) can choose the 'old' way.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: implementing Sprint as a +buttonX
« Reply #3 on: July 13, 2007, 08:59:33 pm »
Quote from: "/dev/humancontroller"
Instead of having a "boost" command, how about using +button9 for example? Then you could keep it pressed while changing directions. This could improve the human dodging skills, a lot for n00bz, and a bit for uBeR1337Zorz.
calling it +button9 is braindead, there is no reason to change the name (other than to add a +).
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Re: implementing Sprint as a +buttonX
« Reply #4 on: July 13, 2007, 09:05:02 pm »
Quote from: "kevlarman"
Quote from: "/dev/humancontroller"
Instead of having a "boost" command, how about using +button9 for example? Then you could keep it pressed while changing directions. This could improve the human dodging skills, a lot for n00bz, and a bit for uBeR1337Zorz.
calling it +button9 is braindead, there is no reason to change the name (other than to add a +).

why did they make taunt a button then? lol
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: implementing Sprint as a +buttonX
« Reply #5 on: July 13, 2007, 09:06:15 pm »
Quote from: "TinMan"
Quote from: "kevlarman"
Quote from: "/dev/humancontroller"
Instead of having a "boost" command, how about using +button9 for example? Then you could keep it pressed while changing directions. This could improve the human dodging skills, a lot for n00bz, and a bit for uBeR1337Zorz.
calling it +button9 is braindead, there is no reason to change the name (other than to add a +).

why did they make taunt a button then? lol
no clue, maybe it's an artifact from pre-standalone.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
implementing Sprint as a +buttonX
« Reply #6 on: July 13, 2007, 09:27:00 pm »
Quote from: "Bajsefar"
No. Most keyboards (or drivers, i dunno) will only allow you to press 3 buttons or so at a time before things get fucked up.
But you could atleast make the sprint a real toggle, optionized of course so the people who think it is perfect the way it is (like me) can choose the 'old' way.
If an another key will not be possible, it doesn't matter wether u have +boost or boost. If you can't press the sprinting button, then that's it.
But you shouldn't have problems like that, because the shift, ctrl and alt are keys that are made for simultaneous pressing.

/dev/humancontroller

  • Posts: 1033
  • Turrets: +1002/-383
Re: implementing Sprint as a +buttonX
« Reply #7 on: July 13, 2007, 09:32:06 pm »
Quote from: "kevlarman"
Quote from: "TinMan"
Quote from: "kevlarman"
calling it +button9 is braindead, there is no reason to change the name (other than to add a +).

why did they make taunt a button then? lol
no clue, maybe it's an artifact from pre-standalone.

No, they easily could have made it be called +taunt.
So they might have missed the opportunity to change.
Tip: +attack is an alias for +button0

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
implementing Sprint as a +buttonX
« Reply #8 on: July 13, 2007, 09:41:58 pm »
Quote from: "Bajsefar"
No. Most keyboards (or drivers, i dunno) will only allow you to press 3 buttons or so at a time before things get fucked up.
But you could atleast make the sprint a real toggle, optionized of course so the people who think it is perfect the way it is (like me) can choose the 'old' way.


Mine works with all buttons down that i can press, logitech + linux :)
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
implementing Sprint as a +buttonX
« Reply #9 on: July 13, 2007, 09:58:42 pm »
Mine's the same, some cheapo ergonomics ps/2 keyboard and a Logitech MX Revolution mouse in Linux.
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
implementing Sprint as a +buttonX
« Reply #10 on: July 13, 2007, 10:59:25 pm »
Keyboard simultaneous keypress limitations are hardware, guys. The almighty power of your infallible operating system has nothing to do with how the keyboard you plugged into it is built.

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
implementing Sprint as a +buttonX
« Reply #11 on: July 14, 2007, 12:24:54 am »
Then my cheap ps/2 ergonomics keyboard rocks, I tried playing Frets of Fury on a Dell once and the keyboard locked up at 3 keys and I was all "WTF SHITTY DELL LAWL!"
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Caveman

  • Guest
implementing Sprint as a +buttonX
« Reply #12 on: July 14, 2007, 12:50:54 am »
Quote from: "Bajsefar"
... Most keyboards (or drivers, i dunno) will only allow you to press 3 buttons or so at a time before things get fucked up. ...


You do not know many keyboards or you just buy crappy gamer-gear or cheapos.
E.g. the old IBM (original AT) does not fuck up, nor do Cherry-Golds.

Somethief

  • Posts: 284
  • Turrets: +1/-1
    • http://www.somethief.net/
implementing Sprint as a +buttonX
« Reply #13 on: July 14, 2007, 05:48:33 pm »
Quote from: "Lakitu7"
Keyboard simultaneous keypress limitations are hardware, guys. The almighty power of your infallible operating system has nothing to do with how the keyboard you plugged into it is built.


True, but most of logitech keyboards seem to not have any kind of limitations (Well the cheap ones are cheap ones..) under linux.
But as you well know keyboard can't controll the beeper of computer, it's your windoze limiting the amount of buttons you can press down at once.
url=http://fi.tremulous.net/]Tremulous Suomi[/url]
My blog

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
implementing Sprint as a +buttonX
« Reply #14 on: July 14, 2007, 07:12:08 pm »
Quote from: "Lakitu7"
Keyboard simultaneous keypress limitations are hardware, guys. The almighty power of your infallible operating system has nothing to do with how the keyboard you plugged into it is built.
actually that's not entirely true. if you're getting input from your wndproc() events, then you can only have 3 keys down at any time (modifier keys excluded), however if you call GetAsyncKeyState(), there seems to be no limit. i can't comment on how directinput will work, which is what trem uses on windows iirc.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

4RT1LL3RY

  • Posts: 28
  • Turrets: +1/-2
implementing Sprint as a +buttonX
« Reply #15 on: July 24, 2007, 06:19:57 pm »
Most standard keyboards suffer from phantom keystrokes, where if you press several keys at the same time, then if you try to press another key it won't work.  My old keyboard from dell was like that with wasd and my arrow keys.  Its was annoying, but now I have my Merc Zboard, and you don't get Phantom Keys unless you press more then 15 keys at once.  I need to find a driver or something that will work for Ubuntu, I love the gamepad part of my keyboard but can't get it set up for linux.