Skip to content

jnnnnn/EDAP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

159 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Take the pain out of travelling

Demo: https://youtu.be/k5QqXoVuOv8

Build/Run:

  1. Download and install Visual Studio Community (free download, https://www.visualstudio.com/vs/community/ )
  2. Open EDAP.sln and press F5

Required settings:

  1. Resolution is hardcoded to 1920x1080 (changing this is gonna mean changing lots of numbers and template images)
  2. Executable is hardcoded as the 64-bit version
  3. The colours looked for are (if you've changed your HUD colours, these things won't work):
  4. Compass calibration: red channel
  5. Compass dot: blue channel
  6. Triquadrant target: bright yellow/orange (I don't think you can change this)
  7. Saf Diseng: blue channel
  8. Disable GUI effects (the animation when you open a side panel, speeds up panel opening)
  9. 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.)

Algorithm

See Pilot.cs. tldr:

  1. press jump, throttle 100%
  2. wait 30 seconds then throttle 0%
  3. 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
  4. select next destination, use compass to point at it
  5. go to step 1 until jump counter is 0
  6. set throttle to 75%, point at target continuously
  7. if "safe disengage" is displayed, press docking key sequence (disengage, wait, boost, 0% throttle, request docking)

Watch out

Things that may kill you if you leave this running unattended include:

  1. interdiction (if you use this in the bubble, keep an eye on it)
  2. binaries / multiple stars (it will pitch up to avoid collisions while scooping but otherwise takes no evasive measures)
  3. white dwarfs, black holes, and neutron stars (it won't try to scoop these but may still hit the cones)
  4. overheating near big stars -- the 20-second scoop wait is not long enough for some stars, it will start charging to jump too early
  5. bugs / bad code -- i've tested it fairly extensively but it may stil have weird shit
  6. aliens

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages