Skip to content

DockingCam with more useful overlay Video#20

Open
linuxgurugamer wants to merge 2 commits intolinuxgurugamer:Dehim1from
Dehim1:master
Open

DockingCam with more useful overlay Video#20
linuxgurugamer wants to merge 2 commits intolinuxgurugamer:Dehim1from
Dehim1:master

Conversation

@linuxgurugamer
Copy link
Owner

I really like the idea of DockingCam
by the amazing u/linuxgurugamer over that of Docking Port Alignment Indicator. However, the overlay provided by DockingCam doesn't really help with docking.

The xyz velocities and distances in the text overlay are in the game coordinate frame. Not in the coordinate frame of either the current docking port or the target docking port. This makes the velocities and distances displayed pretty useless. Furthermore, the crosshairs are also not very useful and the attitude crosshair leaves the window, which can make it hard to find the correct attitude without looking at the attitude text overlay. The attitude crosshair also only shows pitch and yaw, no roll. There's also not really a crosshair that helps with getting the right velocity for docking.

To solve these issues, I first transformed both the velocities and the distances to the coordinate frame of the current docking port. I then made sure the attitude crosshair is always in the window. The attitude crosshair still doesn't give any indication as to the roll of the vessel. I removed the red crosshair. I'm still not really certain what that does exactly, but I haven't really given it much thought. I added two more crosshairs. One red/green crosshair and one yellow/magenta crosshair. The red/green crosshair basically shows the desired velocity. It turns green when the target docking port is in front of you in the z axis and it turns red when it's behind you. The yellow/magenta crosshair basically shows the current velocity. It turns yellow when you're moving forward in the z dimension and it turns magenta when you're moving backward in the z dimension. Neither of the crosshairs can ever leave the window.

Basically all you have to do to dock is make sure your attitude is correct by aligning the blue crosshair with the center crosshair and making sure the pitch, yaw and roll gauges all show 0 degrees. You then have to make sure the desired velocity gauge is green by moving behind the target docking port. Once you've done that, aligning the yellow crosshair with the green crosshair can get you to dock, but it's easier to first center the green crosshair and then move toward the target docking port.

I've really found this mod mod makes docking a whole lot easier. All you have to do to install this mod is first install the DockingCam mod and then replacing the DockingCamera.dll and DockingCamera.dll.mdb in the Plugins folder with the ones I've provided. I'm not yet finished with the modifications, but I wonder what you think of these overlays.

Dehim1 added 2 commits October 1, 2019 18:38
Transformed the position and velocity to the coordinate frame of the current docking port.
Added functions to calculate the positions of current velocity and desired velocity crosshairs on docking camera window.
Removed DPAI crosshair.
Added desired and current velocity crosshairs.
Modified attitude crosshair so it doesn't leave the docking camera window.
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.

2 participants