Search results

  1. dgatsoulis

    Question Send key combination with Lua [SOLVED]

    I am writing an ascent autopilot for the XR2 in Lua, and I need a way to send key combinations to the Ravenstar. I tried v:send_bufferedkey, but it takes only one input (keycode). I attempted using nested while loops but I only got one key pressed, not both at the same time: goal = 0 while goal...
  2. dgatsoulis

    Question Trying to implement keypress detection in Lua. [SOLVED]

    I am trying to implement keypress detection in lua. I am creating a function in a dll with GetAsyncKeyState and I am accessing the function with package.loadlib. keystate.dll #include <Windows.h> extern "C" __declspec(dllexport) bool IsKeyPressed(int virtualKeyCode) { return...
  3. dgatsoulis

    Spacecraft Arrow Freighter for Orbiter2016. Merry Christmas!

    ------------POST HAS BEEN EDITED--------FOLLOW INSTRUCTIONS AT THE END OF THIS POST OR GO TO POST #40 OF THIS THREAD------------------------------- Merry Christmas to all the members of the Orbiter Forum community! As a small token of appreciation, I'd like to gift you all the Arrow Freighter...
  4. dgatsoulis

    C++ Question Write to file syntax help [solved]

    Hey everyone, I am having some difficulty figuring out the syntax for the following task. I have an eva vessel, which I am deleting when it's close to a docking port and a key is pressed. Then I shift the focus to the vessel. The code is this and it works ok so far. void GVmmu::EndEVA() {...
  5. dgatsoulis

    Project XR2 Crew swap

    -------------------------------------EDIT--------------------------------------- 1st stable version released. Please see post #7 in this thread for details ---------------------------------------------------------------------------------- 2nd stable version released. See link at end of this post...
  6. dgatsoulis

    API Question Get the name/title of an open MFD

    I am trying to get the name/title of an open mfd. I can get the mode by oapiGetMFDMode and that works for the 10 built-in mfds because they are always in the same order but I am looking for a way to get the title of any MFD. I looked at oapiGetMFDModeSpecEx but according to the API, it does the...
  7. dgatsoulis

    Challenge Lunar Lander and Direct Landing challenges

    Hi there, Recently blixel got back to making Orbiter videos, so I created a couple of challenges that I thought others would find interesting. Here are the links to David's videos, explaining installation procedures (links for challenges scripts, scenarios etc in the video descriptions)...
  8. dgatsoulis

    Tutorial Frame by frame animations in Orbiter

    In case you haven't seen any of these SC4 animations. here is the latest video: Unfortunately my Orbiter allocated time wasn't enough to create a fully detailed tutorial. What I can do, is give you an outline of the process and come back the soonest I have time, to include a more detailed...
  9. dgatsoulis

    Request Addition of oapiCreateVesselEx

    With vessel deletion via oapi.del_vessel and vessel status manipulation via v_defset_status, one thing that's missing is vessel creation in lua. I've been trying to add this function in the interpreter without much success. I'd like it to work in a similar way that vessel creation works with...
  10. dgatsoulis

    Request mp3 player MFD for XRSound

    Well the title says it all. XRSound is great but I miss the ability to play whatever track I want from my music folder in Orbiter. Can anyone make an MFD that allows you to do that? -List the music tracks in th XRSound\Default\Music folder. (or any custom folder specified in a cfg file)...
  11. dgatsoulis

    Surface Base New Rome

    Here is everything you need. Prerequisites: 1.Orcus Patera 2. D3D9 client for Orbiter 2016 2. [Optional but highly recommended] Complete Mars High Resolution Texture Set. (Don't forget to read the installation instructions). Unzip the attached file in your Orbiter2016 folder and run the...
  12. dgatsoulis

    Elliptical trajectory from 3 points and focus?

    In the pic below we have a suborbital trajectory, where one of the foci is set at the origin (0,0) and these are known: A (departure base), B (Apoapsis), C (target base) and the angle between them (from the origin). Is this information enough to determine the shape of the elliptical trajectory...
  13. dgatsoulis

    Challenge Europa Challenge

    As a continuation from this challenge, I wanted to see whether an orbit around Europa can be achieved, using the exact same setup. If you haven't visited that thread, this was the initial setup: Now I am shifting the goalpost much further inside Jupiter's gravity well: I also added a time...
  14. dgatsoulis

    SDK Question Guidance.h file missing from source code?

    This has been asked before, but I wanted to avoid necroposting. I am trying to recompile the OrionIII (with some changes) from wo2001, but I am missing a "guidance" header file. At first I thought it was part of the CVEL sdk, but that doesn't seem to be the case. I PMed sputnik a couple of...
  15. dgatsoulis

    SDK Question Recompiling the LuaInterpreter error

    I want to add a couple of functions to the LuaInterpreter.dll that suit my needs for a challenge I am creating. Before adding anything to the source files, I tried to recompile the vanilla ones that come with Orbiter 2010 P1, to see if I have the development environment setup properly. But I...
  16. dgatsoulis

    Tutorial In Rosetta's footsteps; a planning and flying tutorial [part2]

    [Part 1 here] Before we begin the planning phase, we have to go to (Orbiterroot)\Scenarios\Rosetta\01-Rosetta launch.scn and change the date to 4 days earlier. The reason for this is because the DSM1 body we created will be inside Earth's SOI on the day of the launch. Keep the waypoints note...
  17. dgatsoulis

    Tutorial In Rosetta's footsteps; a planning and flying tutorial [part1]

    First of all, many thanks to BrianJ for his excellent Rosetta v3 addon and flug for the Rosetta - Comet 67/P Landing Mission, ver. 3D with the tweaks and improvements. Also an additional thanks to Brian for his eye-opening trajectory and planning solutions (be it a Moon-Mars tutorial from way...
  18. dgatsoulis

    Tutorial Selecting the correct altitude for a given peak hull temp with the Ravenstar.

    Before we start I'd like to thank Douglas E. Beachy and Steve "Coolhand" Tyler for creating one of the most amazing and fun to fly spacecrafts in Orbiter. Also an additional thanks to Doug for sharing a part of the Ravenstar's hull temperature code with us, without which this tutorial wouldn't...
  19. dgatsoulis

    SMa and eccentricity of a hyperbola from TOF and distance

    In the pic above we have two spacecrafts in orbits A and B. The orbits are circular and coplanar. We are given the radii of orbits A and B and the TOF=t1-t0 that it takes to get from A to B via a hyperbolic transfer trajectory. Are these enough to calculate the semi major axis or the...
  20. dgatsoulis

    Ranking system with two score variables

    The ranking system on a challenge that I am making has two criteria: Delta-V used and Time of Flight. Obviously when two players have used the same Delta-V, the one with the higher rank is the one with the less TOF. And of course, when 2 players have the same TOF, the one with the less Delta-V...
Top