Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera translation macros (peek to mouse) #1590

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

roxya
Copy link
Collaborator

@roxya roxya commented Feb 14, 2023

This adds macros which allow you to "peek" towards or away from the mouse location when you hold the assigned key.

  • LookAtMouse → LookForwards
  • LookAtMouse → LookBackwards

The motivation is helping players see more things which are inside their view range, but outside of their viewport. Even at a full screen 1080p, a lot of your view range is hidden above and below the viewport if you use the default zoom.

UOPeek2.mp4

Known issue

I decided to make it a "hold" instead of toggle, so the macro has special handling in GameSceneInputHandler similar to the Walk macros (let's call them non-macros). Therefore it has the same issue as Walk, that if you bind it to modifier+key and let go of the modifier first, the active state won't be removed. Therefore it's best used without modifier keys, though I'll look at a general fix for these.

@andreakarasho andreakarasho merged commit b78fe6f into ClassicUO:main Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants