Difference between revisions of "Planetary Compass OXP"

From Elite Wiki
(Created page with "==Overview== A little OXP which enables the advanced space compass to also detect planets (sub-planets) and moons. The planets appear as "P" and the moons as "M". No purchase...")
 
m (Name Packs)
Line 8: Line 8:
 
At least one of the below name packs must also be installed for the OXP to work. Multiple packs can be installed, and will give a wider pool of names for the OXP to pick from.
 
At least one of the below name packs must also be installed for the OXP to work. Multiple packs can be installed, and will give a wider pool of names for the OXP to pick from.
  
*[[https://www.box.com/s/qj9u6sfyg2s0ufhelctl Name Pack A]].
+
*[https://www.box.com/s/qj9u6sfyg2s0ufhelctl Name Pack A].
 
*[https://www.box.com/s/a2dnqgvfgwlysenp9xvt Name Pack B].
 
*[https://www.box.com/s/a2dnqgvfgwlysenp9xvt Name Pack B].
 
*[https://www.box.com/s/lbnjt5sjpfad14zs54f6 Name Pack C].
 
*[https://www.box.com/s/lbnjt5sjpfad14zs54f6 Name Pack C].
 
*[https://www.box.com/s/81ifhryjgakt9y50bub2 Name Pack D].
 
*[https://www.box.com/s/81ifhryjgakt9y50bub2 Name Pack D].
 
 
  
 
==Notes for OXP writers==
 
==Notes for OXP writers==

Revision as of 23:06, 8 January 2013

Overview

A little OXP which enables the advanced space compass to also detect planets (sub-planets) and moons. The planets appear as "P" and the moons as "M". No purchases or installation (other than the OXP) is needed, it just fills in the odd gap that has always existed in the ASC.

The planets are named in order from the sun outward, using roman numeral designations after the systems name. The main planet is referred to as Prime. Moons are assigned random names, although these should be repeatable for a given system across multiple visits.

Name Packs

At least one of the below name packs must also be installed for the OXP to work. Multiple packs can be installed, and will give a wider pool of names for the OXP to pick from.

Notes for OXP writers

The .displayName parameter will be the full name as displayed (including the planetary body type), and the .name parameter will be just the planet/moons name without any other designation.

Lastly it is possible for other OXPs to introduce their own custom names to added planets or moons by setting its displayName or .name parameter (system.planets[x].displayName = "yournamehere" or equivalent .name). If both are set then displayName will be used. Built-in it will correctly name the Tianve pulsar from the Tianve OXP - if any other OXPs need such naming please let me know.


Requirements

This OXP requires at least trunk version 1.77 of Oolite.


Download

Planetary Compass v1.00 can be downloaded from Box.Com by clicking on the link.


Links