UberKit.cs
Version 1.4.2
by UberGuy (FT) - uberguy@tribes2.org
01/01/2001

REQUIRES: Writer's Support Pack
===============================
http://uberguy.tribes2.org/files/support/support.vl2

Update 1.4.2 (09/23/2002)
==========
+ Fixed bug in icon caused by 1.4.1 =P

Update 1.4.1 (09/22/2002)
==========
+ Added code to make icon be toggle on/off with other in-game huds.

Update 1.4 (09/19/2002)
==========
+ Added a small visual indicator for whether you have a kit and whether the
  script will auto-use the next kit you find. Yes, I lifted the icon design
  right from Writer's auto_kit script for T1. :)

Update 1.3
==========
+ Added code to recognize kits found in ammo packs. Not mod-friendly.

Update 1.2
==========
+ Added in drop popup, options GUI.

Update 1.1
==========
+ Lost the record. Huh!

Update 1.0
==========
This script gives players some handy popup alerts relating to finding and using
repair kits, and allows important battlefield-scavenged repair kits to be used
automatically.

There is a blinking popup message for each of the following events:

-You find a repair kit
-You use a repair kit (including  automatically)
-You drop a repair kit.
-You try to use a repair kit when you  don't have one.

In the last case, the script will "arm" itself - remembering that you wanted to
use a kit and the next time you pick one up it will use it at once. As is normal
for T2 trying to use a kit at full health is ignored.

There are two keybinds for this script:

Uber Repair Kit: this is the replacement bind for normal kit use.  Using this
bind instead takes advantage of this script's special behavior when you try to
use a kit but don't have one.

Uber Repair Kit Reset: This key allows you to "disarm" the script from
automatically using the next kit you pick up.

There are 7 options for this script:

The first four let you choose which events you get pop-up messages for. Turning
a checkbox off disables that message.

Transparent Hud: This is on by default. Turning this off will place a normal
HUD background behind the popups.

Mute Chat Kit Messages: Since you can have popups, you probably don't need the
messages in the Chat HUD. Use this to mute them.

Use Kit Key Toggles: Normally, pressing the "Uber Repair Kit" key when you have
no repair kit will arm the script to use the next kit you find. Putting the
script in toggle mode causes another kepress to "disarm" the script, and so
on.

The script resets it's "armed" status if you die or go to an inventory station,
or if you throw your repair kit with a dropper script.

The popup message is HudMover compatible.

If you have high ping, it may seem that the script waits before using kits that
you find laying around. This is just the slowness of the conversation with the
server: the script tells the server you use the kit as soon as you are told you
got it.

There will be a keybind added for this script in the normal controls section.
It's called "Uber Repair Kit" - bind this to the key you want to activate it.


TO INSTALL:
===========
Place uberKit.vl2 anywhere under Tribes2\GameData\base. Play T2!  The script is
has no configuration GUI yet, but it appears in Writer's script browser.
You must have Writer's support pack for this script towork.

Enjoy!
