Page 1 of 1

Movement with mouse?

Posted: Sat Nov 28, 2020 8:15 pm
by Deckelmouk
Is there a way to move gradually with mouse towards a location at normal speed instead of teleporting in super sonic speed? I hate with passion those kind of movement, it's extremely confusing. Coulnd't find anything in the option menu except moving in slow mo from tile to tile...

Re: Movement with mouse?

Posted: Sun Nov 29, 2020 4:54 pm
by Lokean
Just to clarify, what would you expect to happen when you click on a distant point with mouse movement enabled? You say you don't want to move one tile at a time, but that's what is happening when you click the mouse, it's just not asking for further confirmation until it reaches the tile, or is interrupted. Do you mean you want to have a floor on the time a single game tick takes, so that nothing can happen faster than a certain clock speed?

Re: Movement with mouse?

Posted: Sun Nov 29, 2020 10:33 pm
by Deckelmouk
Lokean wrote:Just to clarify, what would you expect to happen when you click on a distant point with mouse movement enabled? You say you don't want to move one tile at a time, but that's what is happening when you click the mouse, it's just not asking for further confirmation until it reaches the tile, or is interrupted. Do you mean you want to have a floor on the time a single game tick takes, so that nothing can happen faster than a certain clock speed?
lets make it easy, I prefer the mouse movement in Dungeon Soup, I would prefer to move around like that not teleporting. And no That's not what is happening. If I click in ToMe on a distant tile, I teleport to this tile which I find extremely confusing and off-putting. (It looks like teleporting) It feels extremely hectic and rough and I get motion sick from it, I prefer a more smooth fluid movement which doesn't seem to be possible here.

Re: Movement with mouse?

Posted: Mon Nov 30, 2020 10:38 pm
by Lokean
DCSS has exactly the same movement behaviour as ToME though.

I think you're asking if you can add a larger delay between steps in the autorun behaviour, right, because it's unpleasantly fast for you? That's not natively present in ToME, but I could throw you together an addon that busy-waits between running steps, if you like?

Re: Movement with mouse?

Posted: Tue Dec 01, 2020 12:08 am
by Lokean
Here, try this:
https://te4.org/games/addons/tome/run_slowly

20 milliseconds seems like plenty, but I have capped the delay at 1 second, to avoid hijinks. I recommend not setting the smooth movement (Game Options - UI - Smooth creatures movement) any higher than 10 with this addon enabled, as this seemed to result in odd interactions where the player smoothly drifted through walls, rather than going around them (purely graphical, but really weird to watch)

Re: Movement with mouse?

Posted: Thu Dec 17, 2020 8:35 pm
by Slough
I've been looking for a solution to the fast movement too. I recently put 1.7.2 on a new machine. Autoexplore, or moving with mouse is instantaneous. Over much distance, it's so fast it is disorienting and takes a moment to find my guy. Sorry to ask, but I wonder if there's a reason your addon doesn't make a difference? Testing on a new char, Trollmire exit to exit 65 turns, is instantaneous. Running an i5 and RX5600. Thanks!

Re: Movement with mouse?

Posted: Sun Dec 27, 2020 1:36 am
by Lokean
Sorry, just seen this (Christmas!)

Firstly, can you check that the addon is actually active on the save. When you go to load the save game, does it have run_slowly in the list of required addons, and is it green?

If yes, can you check under 'Game Options - Gameplay - Run slowly delay'; this should default to a 20ms delay between movement steps while running. I threw this together in a tea break for Deckelmouk, so it's not exactly well-tested; if it's all set up right and still not working for you I will have to actually engage brainpower to look into this.

Re: Movement with mouse?

Posted: Sun Dec 27, 2020 6:20 pm
by Slough
Merry Christmas! It is in the required addon list, and is green. I've tried auto and manual active. It does default to 20ms, and I've tried it all the way up to 1000. Dunno...

Re: Movement with mouse?

Posted: Sun Dec 27, 2020 8:15 pm
by Lokean
Okay, next test, start a new game with no other addons active apart from this one, check if it works that way. If it does work, start a new game with it active, as well as half the addons that are active on the save where it doesn't work. If it still works, start a game with the other half etc. etc. etc. until you know what the dependencies on the error are.

If it doesn't work running on its own let me know.

Re: Movement with mouse?

Posted: Mon Dec 28, 2020 7:18 pm
by Slough
New game, ran as the only addon, no noticeable effect 0-1000.

Re: Movement with mouse?

Posted: Tue Dec 29, 2020 10:28 pm
by Zizzo
Lokean has enlisted my help on this one (We Apologize for the Delayâ„¢). Try a new character with the attached addon below (rename it from .zip to .teaa and drop it in the directory with all your other addons). I've set the default value of the "Gameplay | Slow-motion running" game option to 100ms for now, which should be enough to have a visible effect. If this works, I'll go ahead and publish it officially.

Re: Movement with mouse?

Posted: Wed Dec 30, 2020 1:39 am
by Slough
Hey! You guys nailed it! Works just like I need it to. I never thought I'd see a day when my computer was too fast. Thanks!

Re: Movement with mouse?

Posted: Wed Dec 30, 2020 8:36 am
by Lokean
Thanks Zizzo, you're a scholar and a ...I'm going to go with gentleman, but feel free to replace with an honorific of your choice.

Re: Movement with mouse?

Posted: Thu Dec 31, 2020 12:14 am
by Zizzo
Lokean wrote:Thanks Zizzo, you're a scholar and a ...I'm going to go with gentleman, but feel free to replace with an honorific of your choice.
*blush* (bows) As promised, I've put it up on te4.org and Steam.