Jump to content

uknowmyname

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by uknowmyname

  1. Hello, I'm creating a relatively simple mod that allows the user to point at a certain position on the navball, and it is proving way harder than I thought. I've looked at mechjeb's smart A.S.S code and can't make any sense of it due to the way it calls vars from other classes. I'm essentially wanting to move from one point on the navball to the other. I've tried a bunch of things (including inverting quaternions to manage differences between srfRot and worldRot) but I'm getting nowhere. The vehicle just seems to move around randomly and sometimes fails to work altogether. Can anybody point me to a thread/ github repo/ their personal experience? I don't want the vessel to jump to the specified angle, it should move to it, much like pointing at prograde or any other vector using SAS. Super confused on this one. Thanks in advance!
  2. Hi guys! I'm trying to save values, say a float, within the current game save only. I'm aware of how to save mod settings but I've looked online and used the forums search tools and have come across nothing. The value is not assigned to any part and exists only in the SpaceCenter. So I'm not sure if I can use the persistence file. How do I go about doing this? Other quick questions: How can I get the current level of a building? Is there anywhere (like documentation) where I can find information like this in the future, or do I just have to learn it all? Is there any way to get the time since game start without timewarps (IE the real-world time for how long the current savefile has been running) Huge thanks in advance!
×
×
  • Create New...