Jump to content

KerbalView


Elox

Recommended Posts

# KerbalView Mod
Allows a glimpse of the galaxy through the eyes of kerbals.

Source: github.com/EloxZ/KerbalView MIT License

Download: KerbalView on SpaceDock

Use SpaceWarps to install it.

# How it works

- [New] EVA Helmet Lights. Press [Alt] + [L] or Toggle Helmet Lights in Kerbal menu.
- Press [Alt] + [2] in Flight Camera Mode Auto to get into First Person View. Press again or change camera mode with V to exit.
- Currently is using the native controls and the camera is locked.
    - [A] and [D] to rotate
    - [Q] and [E] to slide sideway
    - In space you can use [Q] and [E] as yaw 
- Field Of View is set to 90.

# Known issues
- Bad controls

# Next feautures
- Revamped controls on land and space (Jetpack)
- Immersive vision
- Configurable values

image.png


qeKv8wv.jpeg


TNP3KcQ.jpeg)

Edited by Elox
Link to comment
Share on other sites

On 3/4/2023 at 9:19 PM, Evil_is_the_Name said:

I would suggest disabling any animations while in first person if they cause problems.

I've disabled idling animations (except the fitting helmet one). I'll take the opportunity to update the status of the mod:
There's no support for triggering or rebinding EVA actions right now, and the movement is relative to the camera. I can't order the kerbal to rotate when moving the mouse or
swap [Q]-[E] with [A]-[D], for example. I can't call the actual code functions (because they are private), so I would have to make my own movement system and it wouldn't be consistent.

Also, I'm attaching the main camera to the kerbal, as a child, for two reasons: I didn't figure out yet how to copy the main camera with the exact configuration, If I create a new camera, it doesn't render planet surfaces.
And if I keep updating the camera with the kerbal position, it works well at land, but it can't keep his movement at high speeds/in orbit. This provokes that, when the game destroys the kerbal object (when boarding or dying), it destroys the main camera with him.
Pressing twice M will remake the camera. I've tried to save the camera from destruction, but the code does unknown stuff when boarding a vessel and I guess it needs its original parent.
So it does a weird thing: the ocean follows you to space. If I were able to create my own camera it would fix this issue, and, potentially, do gymnastics with the main camera and redirect the movement somehow.

For now, I'm going to update it for SpaceWarp 0.4, tweak some values and think about what I can implement meanwhile.


 

Edited by Elox
Link to comment
Share on other sites

  • 4 weeks later...
On 3/31/2023 at 3:20 PM, Soda Popinski said:

I noticed there change log mentioned VR support.  Can you elaborate?  How would I enable this?

I only tweaked the camera so this mod can get control of it. I didn't test it myself, it's the work of @JonnyOThan

 

Link to comment
Share on other sites

  • 2 months later...
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...