Jump to content

[1.8.0-1.12.x] Draggable Controls (1.0.0)


Error_Sophius

Recommended Posts

Draggable Controls

I've always found the navball's default position irritating. It's directly under your rocket, often blocking a non-negligible chunk of whatever you're looking at. Vertical space is scarce on a widescreen, and the navball uses way too much of it. It should really be off to the side. So a few years back I made Draggable Navball, a mod that lets you drag it somewhere more convenient. While stock has added a settings slider for the navball position since then, it's still nice to be able to adjust it on the fly.

Some others found the altimeter's position irritating, so I made a similar mod for that.

Draggable Controls merges the two, and is intended to supercede them. It's mostly useful to people with a multi-monitor setup, where there's lots of empty space to use.

Credit to LGG for the name and for staying on me to actually do this.

Notes

  • Draggable Controls is intended to supercede navball/altimeter. The latter probably won't receive any more updates. Not that they needed many in the first place, but still.
  • v1.0.0 is intentionally feature-identical to navball+altimeter, to minimize migration surprises.
  • Now (august 2022) is a good time to propose additional features. Not promising to implement anything, but the project is fresh in my head at the moment.
    • In particular, while it's not supported yet because of the v1.0.0 note above, it's now technically possible to enable vertical dragging via a config file option. Not great, but functional. More in a sub-post.

Downloads

Best installed via CKAN, but if you want to do it manually, here are the appropriate links:

Link to comment
Share on other sites

Following on to the last note above:

LGG proposed making the navball vertically draggable. It's not something I ever thought to implement because I have no need for it myself, but I don't have a reason *not* to. I'm just figuring out the interface for it. Some possibilities:

  • Add a settings toggle for it
  • Make drag-with-rightclick 'unlock' the vertical position for the duration of the drag
  • Double click on the navball to lock/unlock vertical drag
  • Something else I haven't thought of.

The other difficulty is snapping the nav cluster to the screen edges properly. My partially-implemented unlock just remembers the navball's vertical position at startup and snaps to that, but that doesn't work for the other screen edges. I can clamp an object's position to arbitrary values easily enough, but what I actually want to clamp is its *bounds relative to the screen*, and I'm not sure how to get those. If anyone knows how to do that, drop a line below.

(there's also the thing where the width of the nav cluster changes depending on whether SAS is on or a maneuver is active...)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...