Display Current Course

From Elite Wiki
Revision as of 23:19, 16 May 2019 by Phkb (talk | contribs)
Displaycurrentcourse.png

Overview

This OXP aims to improve the usefulness of the Advanced Navigational Array by adding the players current plotted course to all contract detail pages, enabling them to see if the contract is on a similar path to what they are currently traveling along.

Installation and use

In order to get the benefits of this enhancement, the Advanced Navigation Array must be installed and functional. Once installed, and you have a course plotted on the F6 galactic chart, you will then see your current course plotted in green whenever you examine the details of a contract.

Link Color Variation

It is possible to switch the color of the current course on the map, if the Library OXP is installed. You can switch between the default green, red, blue, orange, purple, white and magenta.

Third Party OXP's

If a third party OXP would like to have their mission screen included in those screens which get the current course plotted, all they need to do is:
1. Make sure their mission screen has a "screenID" property set.
2. Add the following code to their worldScript (usually in the startUpComplete function):

 var dcc = worldScripts.DisplayCurrentCourse;
 if (dcc) dcc._screenIDList.push("my_screen_id");

Installation

Place the 'DisplayCurrentCourse.oxz' into your 'AddOns' folder and when you start the game, hold down 'Shift' until you see the spinning Cobra.
Alternatively, you can download the expansion using the expansion pack manager in the game itself.

Download

Download DisplayCurrentCourse.oxz v1.8 (downloaded 2490 times).

License

This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 4.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/

Version History

1.8

  • Added ability to change the link color (via Library Config).

1.7

  • Better handling of Galactic jumps.
  • Code refactoring.

1.6

  • Updated list of known screenID's.
  • Fixed issue where viewing Escort Contracts would potentially stop the current route from showing.
  • Added Random Hits screen ID inclusion.

1.5

  • Fixed the issue with the course being reset to the contract destination if only 1 contract was available.

1.4

  • Changed assumptions about "Route Mode - None" - this mode will now turn off the display of your current course on contract screens, rather than default to a "fewest jumps" route.

1.3

  • Added contract summary pages to the list of screen ID's to monitor to fix issue where player's current course is sometimes not displayed.

1.2

  • Attempts to fix issue where player's true current course is sometimes not displayed.

1.1

  • Small improvements to marking logic, so only one link is required.

1.0

  • Initial release.

Quick Facts

Levelindicator0.png
0-{{{2}}}

Minimum Oolite versionCPU usage lowMemory usage lowGPU usage lowisAPIisDocumented

Config options available through 'Library'
Version Released License Features Category Author(s) Feedback
1.8 2018-10-07 CC BY-NC-SA 4.0 Route planning Mechanics OXPs‏‎ phkb Oolite BB

Gameplay and Balance indicator

Tag-colour-blue.png