Difference between revisions of "Cabal Common Library OXP"

From Elite Wiki
m (v1.6)
m
Line 18: Line 18:
 
* [[Cabal_Common_Library_Doc_MissionHandling|Cabal_Common_MissionHandling]], start OXPs based on system descriptions
 
* [[Cabal_Common_Library_Doc_MissionHandling|Cabal_Common_MissionHandling]], start OXPs based on system descriptions
 
* [[Cabal_Common_Library_Doc_Music|Cabal_Common_Music]], inflight event driven music
 
* [[Cabal_Common_Library_Doc_Music|Cabal_Common_Music]], inflight event driven music
 +
* [[Cabal_Common_Library_Doc_Overlay|Cabal_Common_Overlay]], inflight overlays
 
* [[Cabal_Common_Library_Doc_SpecialMarkets|Cabal_Common_SpecialMarkets]], trading special goods
 
* [[Cabal_Common_Library_Doc_SpecialMarkets|Cabal_Common_SpecialMarkets]], trading special goods
 
* [[Cabal_Common_Library_Doc_OXPStrength|Cabal_Common_Strength]], environment control
 
* [[Cabal_Common_Library_Doc_OXPStrength|Cabal_Common_Strength]], environment control
Line 32: Line 33:
 
* Commander McLane (strDateFromMinutes),
 
* Commander McLane (strDateFromMinutes),
 
* Eric Walch (mapCoordsDirection),
 
* Eric Walch (mapCoordsDirection),
 +
* Thargoid (strAddAlignedText, strAddEdgeText, strAddIndentedText, strAdd2Columns and strAdd3Columns)
 
* Terry Yuen (en/decryption),
 
* Terry Yuen (en/decryption),
 
* Dr.J R Stockton (rand, randSpan, msbPos, baseChange, strLZ, strLZZ, arrShuffle),
 
* Dr.J R Stockton (rand, randSpan, msbPos, baseChange, strLZ, strLZZ, arrShuffle),
Line 56: Line 58:
 
|release = 2012-06-20
 
|release = 2012-06-20
 
|license = CC-by
 
|license = CC-by
|features = Helper, Images, Sounds, Equipment
+
|features = Helper for OXPs
 
|category = Misc OXPs
 
|category = Misc OXPs
 
|author = Cmd.Cheyd, PhantorGorth, Svengali
 
|author = Cmd.Cheyd, PhantorGorth, Svengali

Revision as of 17:43, 22 October 2012

CCL logo.png

Overview

Reinventing the wheel is not everybodys taste, so here comes a collection of useful snippets and helpers.

Its main purpose is to simplify some common tasks used by OXPers and also includes a few unique features. It contains functions to check requirements, helper functions for arrays, strings, numbers and vectors, an encrypt/decrypt algorithm, and, last but not least, functions for missionscreen models, an onscreen keyboard, a comms channel, special market deals, a event driven script for music, a system description based script to coordinate OXPs actions and a tool to check the player ship and NPCs. Over time it will grow and include more functions and features. The library does not alter any native JS objects (like Array or String) in its current form to avoid clashes.

  • List of OXPs which need Cabal_Common_Library - currently 10.

Features

The current internal version is 15.


With contributions from:

  • Michael Werle (documentation),
  • Ahruman (pseudoRand),
  • Commander McLane (strDateFromMinutes),
  • Eric Walch (mapCoordsDirection),
  • Thargoid (strAddAlignedText, strAddEdgeText, strAddIndentedText, strAdd2Columns and strAdd3Columns)
  • Terry Yuen (en/decryption),
  • Dr.J R Stockton (rand, randSpan, msbPos, baseChange, strLZ, strLZZ, arrShuffle),
  • Nicholas Zakas (Cabal_Common_BinSearch is based on his ideas)
  • Paul Bourke (pointOnLineB)

Requirements

  • Oolite v1.76.1.

Download

Documentation for OXP Developers:

Demos:

Quick Facts

Levelindicator0.png
0-{{{2}}}
Version Released License Features Category Author(s) Feedback
1.6 2012-06-20 CC-by Helper for OXPs Misc OXPs Cmd.Cheyd, PhantorGorth, Svengali BB-Link