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

Expansion CombatHUD

Content

Manifest

from Expansion Manager's OXP list from Expansion Manifest
Description A fully-featured HUD with a neat, logical layout. At Red Alert vital information is presented around the crosshairs A fully-featured HUD with a neat, logical layout. At Red Alert vital information is presented around the crosshairs
Identifier oolite.oxp.smivs.CombatHUD_v3.0 oolite.oxp.smivs.CombatHUD_v3.0
Title CombatHUD CombatHUD
Category HUDs HUDs
Author Smivs Smivs
Version 4.2 4.2
Tags Balance=blue Balance=blue
Required Oolite Version
Maximum Oolite Version
Required Expansions
Optional Expansions
Conflict Expansions
Information URL http://wiki.alioth.net/index.php/CombatHUD n/a
Download URL https://wiki.alioth.net/img_auth.php/e/e4/CombatHUD_v4.2.oxz n/a
License CC-BY-NC-SA 3.0 CC-BY-NC-SA 3.0
File Size n/a
Upload date 1692786038

Documentation

Also read http://wiki.alioth.net/index.php/CombatHUD

readme.rtf

Readme - Combat HUD v4.1
Now includes Widescreen version.

The Combat HUD is a neatly laid out HUD, with information grouped logically around the main scanner.
On the left side of the main scanner are the speed, pitch and roll, fuel, cabin temperature and altimeter gauges. The Compass and 'Destination' marker, and Scanner Zoom are also here, and Comms messages will be displayed above these gauges.
Laser temperature, shields and Energy have been grouped together on the right side. The Console messages are also on the right side, above the gauges, and the scoop indicator, status light and joystick sensitivity indicator also appear here. The Aegis indicator is bottom-right.
The Clock is centred at the top of the HUD, and 'Primed Equipment' is listed below the scanner to the right, allowing room for up to the maximum of 16 pylons at the bottom left.
The Combat HUD has been optimised for combat situations. If a scanner targeting enhancement is fitted the reticule will turn red when the target is centered.
When at 'Red Alert' the right-side dials (weapons temperature, fore and aft shields and energy) are removed and replaced by dials arranged around the crosshairs, with the laser temperature to the right, energy to the left and fore and aft shields above and below the crosshairs. This allows close monitoring of these vital functions during combat, and the dials are slightly transparent to aid vision. 
These dials are removed and replaced by the standard position dials when no longer at Red Alert.
The 'Weapons Offline' indicator is below the crosshairs (and Aft Shield dial when at Red Alert).
There are two Multi-function Displays, in the top left and right corners.
Code for Non-linear scanner, and Scanner Ultra-zoom is included but commented out. To activate these functions you should open the hud.plist in the Config folder, and remove the comment marks (//). This can be found at the bottom of the plist.

Combat HUD is compatible with HUD Selector.

This work is licensed under the Creative Commons Attribution Noncommercial-Share Alike 3.0 Unported License. 
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San
Francisco, California, 94105, USA.


The OXZ was developed by Smivs.



Equipment

This expansion declares no equipment.

Ships

This expansion declares no ships.

Models

This expansion declares no models.

Scripts

Path
Config/script.js
"use strict";

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

this.startUp = function() {
	this.$hudSelector = worldScripts.hudselector;
	if(this.$hudSelector) {
		this.$hudSelector.$HUDSelectorAddHUD("Combat HUD", this.name);
		this.$hudSelector.$HUDSelectorAddHUD("Combat HUD Widescreen", this.name + "-ws");
	}
}

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";
}