Jump to content

malesquic

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by malesquic

  1. Indeed ^^ ,but unfortunately, it didn't change anything, I still have the same problem Also do you know how I could get the "surface" or "orbit" status that is diplayed on the navball ?
  2. Hi, I am trying to create my own controler for the game based upon KRPC. One of my goal is to get the amount of fuel in a given stage, I have found a code in this topic based on "resources_in_decouple_stage" but it only returns 0.0. here is the code : import krpc conn = krpc.connect() vessel = conn.space_center.active_vessel while True: stage = vessel.control.current_stage resources = vessel.resources_in_decouple_stage(stage, False) print (stage, "LFO =", resources.amount(" LiquidFuel")) Do you know why ? I am using pyhton 3.7 and the latest version of KSP and KRPC
×
×
  • Create New...