- Info: A script to display flight duration inside Galaxy.
- Author: LukaNebo
- Support: Discord
- Download: https://openuserjs.org/scripts…bo/Galaxy_Flight_Duration
- Screenshot: See below
- Browser: Chrome, Firefox, and all chromium based browsers with Tampermonkey or Greasemonkey support
- Compability: Computers, Android phones (via Kiwi Browser or Mozilla Firefox)
- Languages: English, German, French, Italian, Portuguese (Brazilian), Slovenian
Galaxy Flight Duration is a simple script that calculates and shows distance and flight duration for three different types of ships inside Galaxy.
Few use cases: It allows you to easily compare your flight duration to the enemy mission flight duration seen from Sensor Phalanx, for example. Or it allows you to easily determine which planet/moon is closer to a target. It also shows you if a distance is bigger than 20000, so it would be quicker to send a mission from neighbouring galaxy.
The script adds a bar under Galaxy view and it looks like this:
Each section or buttons can be pressed to change its state (apart from "distance"). From left to right they are as follows
- Distance (Visual display of distance value; colored red if it is bigger than 20000, i.e. the distance to neighbouring galaxy)
- Universe fleet speed settings (Can be clicked to toggle PEACEFUL [colored green], WAR [colored red], or HOLDING [colored orange] fleet speed.)
- Flight briefing selector (Can be clicked to toggle ONE [ > ] or TWO WAY [ < ] flight duration or ARRIVAL [ >| ] or RETURN [ |< ] time calculation.)
- Speed modifier (Can be clicked to change the values from 100% down to 10%.)
- First ship type (Can be clicked to cycle through all ships.)
- Second ship type (Can be clicked to cycle through all ships.)
- Third ship type (Can be clicked to cycle through all ships.)
- Info button (Can be hovered over with a mouse to display all saved speed values and other saved settings.)
Quick guide:
Flight duration values are colored red if the speed values are not yet updated.
To update speed values, go to Fleet page (Fleetdispatch). Script updates the values every time you visit Fleetdispatch. When you have updated speed values, the flight duration values will be colored white (if one way flight duration is selected) or gray (if two way flight duration is selected). You can left-click on any of the buttons to change its value (e.g. select next ship), or right-click to go to the previous value (e.g. select previous ship). The values are saved automatically.
From version 1.4.0, script supports flight duration calculation in universes where "Fleet ignore empty system" and/or "Fleet ignore inactive system" settings are enabled! You can hover with your mouse over the Distance to see exact number of systems that are ignored (empty, inactive, and total number of systems to ignore). The Distance is colored green if any system is being ignored between your co-ordinates and viewed co-ordinates in Galaxy View.
Cheers,
LukaNebo
P.S.: This is my first project in JavaScript, so any feedback or suggestions are more than welcome.