Cabal Common Library OXP

From Elite Wiki
Revision as of 11:39, 16 March 2012 by Svengali (talk | contribs) (added new docs)
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, and numbers, 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 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.

Features

The current internal version is 15.


With contributions from:

  • Michael Werle (documentation),
  • Ahruman (pseudoRand),
  • Commander McLane (strDateFromMinutes),
  • Eric Walch (mapCoordsDirection),
  • 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.

Download

Documentation for OXP Developers:

A short demo for the mission briefing tool:

Quick Facts

Levelindicator0.png
0-{{{2}}}
Version Released License Features Category Author(s) Feedback
1.5 2011-12-17 CC-by Helper, Images, Sounds,
Equipment
Misc OXPs Cmd.Cheyd
PhantorGorth
Svengali
BB-Link