mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-03-01 19:43:51 +00:00
Initial commit
This commit is contained in:
parent
2211ed7650
commit
ebb3dc9cdd
10121 changed files with 801 additions and 4 deletions
24
docs/base/@vl2/scripts.vl2/scripts/helpGuiText.cs
Normal file
24
docs/base/@vl2/scripts.vl2/scripts/helpGuiText.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
$helpTextShown = false;
|
||||
|
||||
function toggleHelpText()
|
||||
{
|
||||
// if HUD has been altered, do not show helpTextGui
|
||||
if(helpTextGui.visible)
|
||||
helpTextGui.setVisible(false);
|
||||
else
|
||||
{
|
||||
if(!$helpTextShown)
|
||||
{
|
||||
objHudText.setValue("Displays important information about the current mission.");
|
||||
chatHudText.setValue("Chat messages from other players are displayed here.");
|
||||
energyHudText.setValue("Your armor's available energy. Heat (the red bar) increases as you use jets.");
|
||||
compassHudText.setValue("Compass spins as you turn. Clock shows mission time. If the center is flashing red, you've been detected.");
|
||||
damageHudText.setValue("You are dead if this reaches zero.");
|
||||
reticleHudText.setValue("Your weapon fire hits approximately in the center of this.");
|
||||
inventoryHudText.setValue("Shows (left to right) number of grenades, mines, health kits and beacons.");
|
||||
weaponsHudText.setValue("Shows your available weapons, plus a targeting laser.");
|
||||
$helpTextShown = true;
|
||||
}
|
||||
helpTextGui.setVisible(true);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue