Technical Reference Library

From Elite Wiki
Revision as of 23:48, 14 January 2021 by Cholmondely (talk | contribs) (The Story: Links!)

Disambiguation:

Oolite abounds with libraries!
Are you looking for

• A Library in the programmer's sense: reusable code that people writing OXPs can use. That is to say instead of everyone writing a javascript method to land on a planet, one person does so and everyone else uses that:

• A library of books or of ship/station descriptions:

  • Ship Library on the starting game screen - descriptions of ships, stations, asteroids and missiles mostly from the Vanilla game
  • View Ship Specifications - as above, but on the F4/4 Ship-Station Interface screen when docked
  • Gallery OXP does something similar to the above but with all encountered items
  • Technical Reference Library OXP - similar to Gallery but includes non-encountered ships - see below on this page
  • Ship's Library OXP: by Cim (with the Ship's Manual; a half-dozen library books are addable)

The last four are accessed through the F4/4 Ship-Station Interface screen when docked - all under Ship Systems


Core ship Cobra Mark III specs
Oxp ship Wolf Mark III specs
Hud view of Moray specs

The Story

Mrs Ming (Head of our marketing and fundraising department) from Spara, PrOog & Ming Agency had to pull lots of strings to get all the biggest ship manufacturers to give out technical specifications of their ships commonly seen in the space lines. Funnily, when the ball got rolling, manufacturers started to call us. We did not anticipate such a high level of interest. Suddenly every single company that had something to do with ships wanted to sponsor us. The deal we did with them was that Technical Reference Library will be a free bundle to every STE upgrade sold anywhere. The catch is, that every sponsor wants their name to be seen. That's the price for it to be free. We don't complain, as this liberated resources for Mr PrOog (Head of our R&D department) to develop an equipment that links Technical Reference Library to the hud. That piece how ever is not free as we were not ready to show sponsor messages in the hud. The price is set to a reasonable 1250 credits and the equipment is available from any TL12 system.

Mr Spara (CEO) is quite happy with the results of his team.

Features

  • Free STE upgrade that will show information of spacecrafts via a primable equioment "Ship Identifier". (lock ident to a spacecraft, select the correct equipment with shift-n, activate with n or b)
  • Boughtable equipment that will show the same information in the hud when activated. (lock ident to a spacecraft, select the correct equipment with shift-n, activate with n)

Which spacecraft are identified

  • Entities with scan classes "CLASS_NEUTRAL", "CLASS_MILITARY", "CLASS_POLICE" and "CLASS_THARGOID" are identified as spacecrafts.
  • Entities with scan classes "CLASS_MILITARY", "CLASS_POLICE" and "CLASS_THARGOID" are not included in the Reference Library. Military and Police are thought to be classified information and Thargoid ships are not made by known shipmakers.
  • In addition, Constrictor, ships from Aliens oxp, Black Monk Gunships, ships with the role bigTrader, Green Gecko and ships from Capisastra oxp are not included in the library.

Information for oxp makers

  • Ships with script info "classifiedShip = true" are not included in the library.
  • A ship can be declared classified from a script by calling worldScripts.tech_ref_lib.$addClassifiedRole("foo"), where "foo" is the special role of the ship.
  • A ship can be declassified from a script by calling worldScripts.tech_ref_lib.$removeClassifiedRole("foo"), where "foo" is the special role of the ship.

Requirements

  • This OXP needs Oolite v1.77.

Credits

  • Technical drawings from Mandoman are used in the background graphics

Download

Available on the Expansion Manager and here: Technical Reference Library OXP v1.0.1

Quick Facts

Version Released License Features Category Author(s) Feedback
1.0.1 2013-03-23 CC BY-NC-SA 3.0 Equipment Equipment OXPs Spara BB