RimWorld

RimWorld

148 ratings
Zoom to Mouse
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
5.949 MB
30 Jul, 2016 @ 2:30am
1 Change Note ( view )

Subscribe to download
Zoom to Mouse

Description
Moves the camera towards the mouse when zooming in, making maneouvring the map a little bit easier.


Important
Does not require a new save game
Can safely be enabled/disabled in ongoing saves.

CCL is recommended
If CCL is loaded, the mod will work in old saves. If CCL is not loaded, the mod will only work in new saves - and it will throw a single error that can safely be ignored.
Get CCL here[ludeon.com], here[github.com] or here

Think you found a bug?
See here on how to report bugs.


Notes
To keep the mod simple*, I haven't detoured the core zoom mechanics. This mod simply checks the map position relative to the cursor before and after zooming, and adjusts accordingly. The result is a slight jittering, and instant map movement if the mouse is moved during zooming.

*: And to keep my own sanity. I did try detouring the code responsible for map movement/zoom - but with detours and a lot of reflections, I ran into issues that gave me a headache. I might try again later.
35 Comments
macssog 16 Apr @ 1:05am 
Included in Vanilla after 1.5.
lilwhitemouse 10 Jan, 2023 @ 7:22pm 
Any chance you'd share the code?
I remember this was so nice, way back in the day! :)
nhatanh0475 5 Mar, 2020 @ 9:44am 
No need to update thanks.The game mechanic while bad. May never have the zoom effect like Surviving Mars.
KapiteinBoterham 22 Aug, 2019 @ 6:42pm 
Werkt nog priem
Fluffy  [author] 21 Aug, 2019 @ 11:11pm 
@kapiteinBoterham; omdat de mod sinds alpha 14 niet meer geupdate is. (Because the mod hasn't been updated since Alpha 14).
@Unmortal; while it's theoretically possible that it still works, I suspect it's just failing to load without breaking anything (badly).
[BLA]Unmortal 21 Aug, 2019 @ 3:30pm 
Im ussing Camera + (instead of this mod) just to be sure building new mod list. *when i did use this mod it worked fine but i just dont want any errors at the moment. :lunar2019shockedpig:
KapiteinBoterham 21 Aug, 2019 @ 9:29am 
Why does this show up red in my modlist? Says it's for version 0.14?
Ivellios 16 Feb, 2019 @ 8:36am 
@Uuugggg

Thanks for the link.
Uuugggg 13 Feb, 2019 @ 8:15am 
ZOOM TO MOUSE is now a feature of the TD Enhancement Pack
NovaBlue 11 Feb, 2019 @ 11:36pm 
please update