Chaosforge Forum

  • April 26, 2024, 15:44
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: Removing movement delay?  (Read 2517 times)

Drukqs

  • Lance Corporal
  • *
  • Offline Offline
  • Posts: 22
    • View Profile
Removing movement delay?
« on: April 06, 2012, 21:38 »

Is there any way to remove the approximate one second delay before moving when holding a movement key?
Logged

shark20061

  • Programmer
  • Elder Chaos Guard
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 266
    • View Profile
Re: Removing movement delay?
« Reply #1 on: April 06, 2012, 21:55 »

Nope.  But besides, you wouldn't really want to do that.  All the input would get buffered, and then if you walk into something, you'd wouldn't have any control over what would happen next.

You should use the run command (, then direction) for quick movement.
Logged
Hell Knight Warrant Officer (0.9.9.4)  [26!/8/3/1/0]

Mancubus 2nd Lieutenant (0.9.9.6)  [22/12/3/0/0]
M:16 S:43 (126) A:17

Drukqs

  • Lance Corporal
  • *
  • Offline Offline
  • Posts: 22
    • View Profile
Re: Removing movement delay?
« Reply #2 on: April 06, 2012, 22:32 »

I personally would want to do that, yes. Also that isn't what I'm talking about. I'm speaking in terms of lowering the delay before running when holding a movement key, not removing it entirely.

Unfortunately the run command more or less results in the same amount of delay. Taking the time to hit "," then a direction accounts for the delay you'd get from holding a movement key, and the speed of which you move afterwards is identical.
Logged

ih8regin

  • Major
  • *
  • Offline Offline
  • Posts: 300
  • You dodge! The Cyberdemon dies.
    • View Profile
Re: Removing movement delay?
« Reply #3 on: April 06, 2012, 23:12 »

change typematic rate in your OS for delay time (250ms is the lowest setting, 1000ms is the highest).
Logged
0.9.9.6: Cacodemon 2nd Lieutenant, wins 3|5|3|2|0, badges [22|17|7|1|0]
0.9.9.7: badges [21|17|17|10|1|wow,1], quest: UV each challenge (9/16)

Drukqs

  • Lance Corporal
  • *
  • Offline Offline
  • Posts: 22
    • View Profile
Re: Removing movement delay?
« Reply #4 on: April 06, 2012, 23:34 »

I don't think that's the issue. The delay is much shorter in every other roguelike.
Logged

shark20061

  • Programmer
  • Elder Chaos Guard
  • Captain
  • *
  • *
  • Offline Offline
  • Posts: 266
    • View Profile
Re: Removing movement delay?
« Reply #5 on: April 07, 2012, 00:27 »

That IS the issue, if you are playing on console.  If you are playing graphics mode, you are out of luck, it can't be changed right now.
Logged
Hell Knight Warrant Officer (0.9.9.4)  [26!/8/3/1/0]

Mancubus 2nd Lieutenant (0.9.9.6)  [22/12/3/0/0]
M:16 S:43 (126) A:17

Game Hunter

  • Programmer
  • Elder Chaos Guard
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1044
  • Looks like game to me.
    • View Profile
    • Channel, the Roguelike
Re: Removing movement delay?
« Reply #6 on: April 07, 2012, 09:37 »

Unfortunately the run command more or less results in the same amount of delay. Taking the time to hit "," then a direction accounts for the delay you'd get from holding a movement key, and the speed of which you move afterwards is identical.
There are a couple of ways to improve running over hold-move:
  • Change the run command binding via keybindings.lua. For instance, since I use the numpad for movement, I have it bound to the INSERT key, which is just below the movement keys: this allows me to prepare the run with my thumb and then move with another finger, a very efficient method of use.
  • Change the millisecond delay of running via config.lua. There's an option called RunDelay which sets the number of milliseconds that the game pauses between moves while running. You can even set it to 0 for instantaneous movement if you'd like.
I highly recommend improving your setup in order to make running the more desirable option, as it has safety mechanisms to prevent you from stumbling into excess damage and/or death.
Logged
I'm just a dude playing a dude disguised as another dude.

Latest LPs: Angband, Delver
Pages: [1]