draw Subsystem Status
Draws the status bar for a basic subsystem, imitating the shipsystem UI. If show info mode is enabled, it will take up an additional UI slot.
If the subsystem script attempts to render additional HUD elements (e.g. using the renderAuxiliaryStatusBar method) then they will not have an effect on the output location. This must be predetermined by the input guiBarCount parameter to make room for them.
Return
The output location (bottom left) of GUI element
Author
tomatopaste
Parameters
Player ship
Value 0 to 1, how full the bar is from left to right
Name of subsystem
Info string opportunity. Appears to the right of the status bar.
color of extraText. if null, uses standard text color
Subsystem activity status. Appears to left of status bar.
Hotkey string of key used to activate subsystem
A brief description of what the subsystem does
If the subsystem is in show info mode
The number of gui bars this subsystem will use
the Input location (top left) of the subsystem GUI element
the Root location of subsystem GUI elements
Draws the status bar for a basic subsystem, imitating the shipsystem UI. If show info mode is enabled, it will take up an additional UI slot.
If the subsystem script attempts to render additional HUD elements (e.g. using the renderAuxiliaryStatusBar method) then they will not have an effect on the output location. This must be predetermined by the input guiBarCount parameter to make room for them.
Return
The output location (bottom left) of GUI element
Author
tomatopaste
Parameters
Player ship
Value 0 to 1, how full the bar is from left to right
Name of subsystem
Color of the subsystem bar and text.
Info string opportunity. Appears to the right of the status bar.
color of extraText. if null, uses standard text color
Subsystem activity status. Appears to left of status bar.
Hotkey string of key used to activate subsystem
A brief description of what the subsystem does
If the subsystem is in show info mode
The number of gui bars this subsystem will use
the Input location (top left) of the subsystem GUI element
the Root location of subsystem GUI elements