Demo: https://youtu.be/k5QqXoVuOv8
Build/Run:
- Download and install Visual Studio Community (free download, https://www.visualstudio.com/vs/community/ )
- Open EDAP.sln and press F5
Required settings:
- Resolution is hardcoded to 1920x1080 (changing this is gonna mean changing lots of numbers and template images)
- Executable is hardcoded as the 64-bit version
- The colours looked for are (if you've changed your HUD colours, these things won't work):
- Compass calibration: red channel
- Compass dot: blue channel
- Triquadrant target: bright yellow/orange (I don't think you can change this)
- Saf Diseng: blue channel
- Disable GUI effects (the animation when you open a side panel, speeds up panel opening)
- Interface brightness should be set to three pips below max (I don't know how much this matters though, there is some leeway in the detectors)
To see the key mappings used you will need to read the code, see Pilot.cs. You can (obviously) change them before build/run. The numpad is used for orientation; F, P, X are various throttle, etc.
This project uses OpenCVSharp, which should be downloaded automatically when you try to build the project. (The Nuget package management system is part of Visual Studio.)
See Pilot.cs. tldr:
- press jump, throttle 100%
- wait 30 seconds then throttle 0%
- wait until centre of screen goes bright (star appears -- (a)) or compass stops moving (non-sequence star -- (b)) 4a. 50% throttle, pitch up if IMPACT warning is displayed, wait 20 seconds (scoop) 4b. select star, use compass to point away from star
- select next destination, use compass to point at it
- go to step 1 until jump counter is 0
- set throttle to 75%, point at target continuously
- if "safe disengage" is displayed, press docking key sequence (disengage, wait, boost, 0% throttle, request docking)
Things that may kill you if you leave this running unattended include:
- interdiction (if you use this in the bubble, keep an eye on it)
- binaries / multiple stars (it will pitch up to avoid collisions while scooping but otherwise takes no evasive measures)
- white dwarfs, black holes, and neutron stars (it won't try to scoop these but may still hit the cones)
- overheating near big stars -- the 20-second scoop wait is not long enough for some stars, it will start charging to jump too early
- bugs / bad code -- i've tested it fairly extensively but it may stil have weird shit
- aliens