Page 1 of 1

[v1.7.0+] Slow-Motion Running

Posted: Thu Dec 31, 2020 12:11 am
by Zizzo
So some users have been requesting the ability to slow down the visual speed of the player running. My new Slow-Motion Running addon is an attempt to help. It adds a new game option "Gameplay | Slow-motion running", which specifies a time in milliseconds to wait between each player step while running (which includes auto-explore and moving by mouse). The default delay is 100ms, and it can be configured from 0 (which disables the delay) up to 1000ms.

[This could probably be included in a future version of ZOmnibus and ZOmnibus Lite, but it would almost certainly need to default to disabled in that case.]

[Implementation notes:]

Code: Select all

Hooks:
  GameOptions:generateList [to add our game option]
Superload:
  mod.class.Player:
    runMoved() [to tell the game engine how long to delay]
  mod.class.Game:
    tick() [to delay as requested]