Movement with mouse?

Have a really dumb question? Ask it here to get help from the experts (or those with too much time on their hands)

Moderator: Moderator

Post Reply
Message
Author
Deckelmouk
Posts: 4
Joined: Sat Nov 28, 2020 8:10 pm

Movement with mouse?

#1 Post 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...

Lokean
Halfling
Posts: 88
Joined: Sun Dec 10, 2017 12:27 am

Re: Movement with mouse?

#2 Post 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?

Deckelmouk
Posts: 4
Joined: Sat Nov 28, 2020 8:10 pm

Re: Movement with mouse?

#3 Post 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.

Lokean
Halfling
Posts: 88
Joined: Sun Dec 10, 2017 12:27 am

Re: Movement with mouse?

#4 Post 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?

Lokean
Halfling
Posts: 88
Joined: Sun Dec 10, 2017 12:27 am

Re: Movement with mouse?

#5 Post 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)

Slough
Higher
Posts: 48
Joined: Wed Aug 14, 2019 4:51 pm

Re: Movement with mouse?

#6 Post 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!

Lokean
Halfling
Posts: 88
Joined: Sun Dec 10, 2017 12:27 am

Re: Movement with mouse?

#7 Post 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.

Slough
Higher
Posts: 48
Joined: Wed Aug 14, 2019 4:51 pm

Re: Movement with mouse?

#8 Post 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...

Lokean
Halfling
Posts: 88
Joined: Sun Dec 10, 2017 12:27 am

Re: Movement with mouse?

#9 Post 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.

Slough
Higher
Posts: 48
Joined: Wed Aug 14, 2019 4:51 pm

Re: Movement with mouse?

#10 Post by Slough »

New game, ran as the only addon, no noticeable effect 0-1000.

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: Movement with mouse?

#11 Post 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.
Attachments
tome-slow_run.zip
(5.99 KiB) Downloaded 234 times
"Blessed are the yeeks, for they shall inherit Arda..."

Slough
Higher
Posts: 48
Joined: Wed Aug 14, 2019 4:51 pm

Re: Movement with mouse?

#12 Post 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!

Lokean
Halfling
Posts: 88
Joined: Sun Dec 10, 2017 12:27 am

Re: Movement with mouse?

#13 Post 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.

Zizzo
Sher'Tul Godslayer
Posts: 2517
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: Movement with mouse?

#14 Post 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.
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply