Jump to content

Add KSPField visible during EVA & detect EVA transition


Recommended Posts

I'm trying to make it so that kerbals on EVA can interact with a part, but I'm not sure how to do so.  How would I go about doing this?

Also, how does one determine the skillset and skill level of a kerbal?  I can't seem to find a way.

In the interest of not starting even more threads, I'm going to ask these here:

How do I make a KSPField visible during EVA?  guiActive = true doesn't seem to work.

Also, how do I detect transition from EVA to IVA or vice versa, and how do I determine what capsule the transition occurred from/to?

Edited by Ontresanas
Link to comment
Share on other sites

Which is exactly what I want.  The KSPEvents are already visible from, and work in, EVA.  I want to display a value in the EVA menu, but I don't want it to have a button.

[KSPField(isPersistant = true, guiActive = false, guiName = "Examination Result")]
public string ExamineStatus;

It's correctly visible when not on EVA, but on EVA it's not visible in the right-click context menu.

Edited by Ontresanas
Link to comment
Share on other sites

Was just poking around the GameEvents today and came across these two events that look promising. I haven't played with them - you'd need to investigate.

GameEvents.onCrewBoardVessel
GameEvents.onCrewOnEva

 

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...