Back to Index Page generated: Dec 20, 2024, 7:22:09 AM

Expansion Data - Ship Name

Content

Warnings

  1. 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 Do not download this. This is a component for use by HUD expansion packs, it is NOT a stand-alone expansion pack; it will be downloaded automatically by HUDs which need it. Do not download this. This is a component for use by HUD expansion packs, it is NOT a stand-alone expansion pack; it will be downloaded automatically by HUDs which need it.
Identifier oolite.hud.data.Wildeblood.ShipName oolite.hud.data.Wildeblood.ShipName
Title Data - Ship Name Data - Ship Name
Category HUDs HUDs
Author Wildeblood Wildeblood
Version 1.0 1.0
Tags data data
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/7/72/HUDDataShipName.oxz ShipName.oxz
License Public domain. Public domain.
File Size n/a
Upload date 1610873335

Documentation

Also read http://wiki.alioth.net/index.php/Data%20-%20Ship%20Name

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 = "HUD Data Source: Ship Name";
this.version = "1.0";

this.shipLaunchedFromStation = function () {
    var self = player.ship;
    self.setCustomHUDDial("playerShipName", self.shipUniqueName);
    self.setCustomHUDDial("playerShipClass", self.shipClassName.toUpperCase());
}