Jump to content

WillDaBeast509

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, Simply put, I have a plugin that needs to rotate the active kerbal on EVA, in the way that QE and holding LMB and dragging do. I've tried two methods so far: 1. Using the FlightCtrlState and OnFlyByWire - I have it working for vessels, but it seems that EVA kerbals don't refer to the FlightCtrlState object to get input. Is there something similar to this that can manipulate EVA input? Handing the game proper input would be preferred over the next method. 2. Manually rotating the kerbal's Unity transform object (with vessel.transform.rotation *= Quaternion.AngleAxis(...)). This works, but if the kerbal's jetpack is on, it tries to resist the rotation. Setting the jetpack off (vessel.EVAController.jetpackDeployed = false), then doing the rotation, then setting the jetpack back on, applies the rotation correctly, but when the jetpack comes back on, the kerbal snaps back to its original rotation. Turning the jetpack off with the R key, rotating, then turning it back on, works properly. It seems I need a way to override the kerbals "SAS," or to properly turn off the jetpack in the way that the R key does. I have referred to the 1.0.5 mod EVA Enhancements which no longer works in 1.1.x in hopes of gleaning something from its code, but I cannot make sense of it at all. If anybody has solutions to either of my two methods, or another way to rotate kerbals, I would much appreciate it. Thanks for reading.
  2. Hello all, I am wondering if there is a way to store empty fuel tanks in KIS containers from the VAB/SPH? Dragging a fuel tank into container inventory in the editor uses a fully filled tank and I see no option to adjust fuel levels. Please let me know if I am missing something, and thanks in advance.
×
×
  • Create New...