CrewHUD
by Barbarian
Jan 13, 2003.


Synopsis
--------
Displays the names of your bomber, havoc, or tank crew on a little hud, when the names are available.

Names of the players in the various positions on the ship are not always available--generally you know yours and also those of the others that board after you.

The script will work when you are on a havoc, bomber, or tank. It's not too useful on single player vehicles...

Extract the .zip into your tribes2\gamedata\base directory.


Extensions
----------
** These extensions can be toggled on and off from the options.

If ChatMacros is installed, this script will add the following keys to chat messages:

	%vtype = type of vehicle you're in
	%myseat= what vehicle seat you occupy
	%seat1 = name of pilot, or "Pilot" if unknown
	%seat2 = name of second passenger, or "Tailgunner" (havoc), "Bombardier" (all others) if unknown
	%seat3 = name of third passenger or "Bombardier" for all except havoc, always "Passenger" for havoc

If ChatAlert is installed, this script will extend ChatAlert by also popping up the message hud when someone on board
your vehicle says something.


Required
--------
Requires support.vl2 - see http://scripts.tribalwar.com/uberguy/files/support/support.vl2


Optional
--------
Hudmover or Hudmanager can be used to move the hud around.  I highly recommend Hudmanager.  See http://scripts.tribalwar.com/uberguy/hudmanager.htm


OPTIONS (Use the options tab under Scripts when support.vl2 is installed)
-------
All options are on/off toggles.  If you toggle an option, you may want to disembark and reboard your ship to see the results.

Show Crew HUD - Turns the entire hud on or off.  The tracking system will still be active, and can be used by other scripts.

Transparent back - Removes the HUD background.

Show ship bitmap - Turns showing the ship bitmap on or off.  Names will still be layed on the right places, so you can use this to overlay the names over a dashboard hud (see below).

Show unknown positions - Normally the HUD will say (unknown) if a position is occupied but the name is not known.  This can be useful as in the example below.

Color - color of the passenger names


Rather useful stuff
-------------------
If you set the background to transparent, turn off the hud bitmap, and turn off showing "unknown" positions that are occupied, you can overlay the names of the ship's crew over any dashboard hud that always shows the ship picture.  An example of this is Sweeper's Dashboard hud, which can be found at ftp://ftp.slingscripts.com/Sweeper_Scripts/

You may need to keep the ship bitmap on while you move the hud with hudmanager to the right position...  Note that when you use Hudmanager, you must be in your ship, step out, press the hudmanager key, and then fall back into your ship in order to see where the dashboard hud is while using hud manager.


Credits
-------
- Color slider code based on Uberguy's code in UberChat
- portions based on QuickMenu by Lou Cypher
- Ilys
- portions based on Sweeper's DashBoard
