Search results

  1. M

    SDK Question Calculating plane change nodes

    I'm having trouble calculating the intersection nodes for a plane change in a format that are useful to me. Currently I can calculate the nodes in Lat/Long format (using initial and final Inclination and LAN). The part I'm having trouble with is converting the nodes to angles in reference to...
  2. M

    API Question Help with SendBufferedKey and keydown...

    I'm writing an MFD and I need help with a certain type of keypresses. For some reason the ships functions that respond to a keydown like the brakes I cannot send the ship the key. Here's the code I'm using currently. I'm not sure if this makes a difference but all my processing coding is being...
  3. M

    Question User input callback question

    For a MFD I'm writing a callback function that takes the user input and get's an available landing pad or runway to land at. I need the landing pad coordinates, but for some reason my variables are never updated. I'm trying to get the longitude and latitude and save it in the variables "tgtlng"...
  4. M

    Question Target selection interface

    Does anyone know how to implement a target selection interface like the default MFD (orbit, map, align planes) target selection pop-ups? I don't see this in the Documentation. The one that uses a tree like system instead of the single text box. If it's in the documentation simply point me to...
  5. M

    Question Retrieving planet data in Lua

    I'm doing some scripting in Lua and I need to find the parameters of objects other than vessels; such as planets, surface bases, landing pads, and runways. I can get the object handles, but I don't see a way to retrieve any other information. In the Lua scripting interface can I treat a planet...
  6. M

    Question Raising landing gear via API

    I'm using Lua scripting to write a general purpose autopilot. I've looked everywhere in the Orbiter API doc for how to raise the landing gear. I must be missing it somewhere. Does anyone know how to raise the landing gear using the regular Orbiter API. From that I can apply it the Lua...
Back
Top