Back to Index Page generated: Nov 12, 2024, 11:02:04 PM

Expansion OrangED HUD

Content

Warnings

  1. License not specified
  2. Author mismatch between OXP Manifest and Expansion Manager string length at character position 0
  3. Information URL mismatch between OXP Manifest and Expansion Manager string length at character position 0

Manifest

from Expansion Manager's OXP list from Expansion Manifest
Description An orange-blue HUD inspired by a certain game. An orange-blue HUD inspired by a certain game.
Identifier oolite.oxp.zireael.oranged-hud oolite.oxp.zireael.oranged-hud
Title OrangED HUD OrangED HUD
Category HUD HUD
Author
Version 0.2.0 0.2.0
Tags
Required Oolite Version
Maximum Oolite Version
Required Expansions
Optional Expansions
Conflict Expansions
Information URL n/a
Download URL https://wiki.alioth.net/img_auth.php/a/aa/OrangED_HUD_0.2.0.oxz n/a
License
File Size n/a
Upload date 1692786454

Documentation

Also read http://wiki.alioth.net/index.php/OrangED%20HUD

Equipment

This expansion declares no equipment. This may be related to warnings.

Ships

This expansion declares no ships. This may be related to warnings.

Models

This expansion declares no models. This may be related to warnings.

Scripts

Path
Config/script.js
"use strict";

this.name = "OrangED_hud";
this.author = "zireael";
this.copyright = "2015 zireael";
this.license     = "CC BY-NC-SA 3.0"; 

this.startUp = function() {
	this.$hudSelector = worldScripts.hudselector;
	if(this.$hudSelector)
		this.$hudSelector.$HUDSelectorAddHUD("OrangED HUD", this.name);
}

this.startUpComplete = function() {
	this.playerBoughtNewShip(player.ship);
}

this.playerBoughtNewShip = function(ship) {
	if(!this.$hudSelector && (player.ship.hud === "hud.plist"))
		player.ship.hud =  this.name + ".plist";
}