Legacy:Adrenaline - Unreal Wiki

# Legacy:Adrenaline

### From Unreal Wiki, The Unreal Engine Documentation Site

Adrenaline is a game concept new in UT2003. It's acquired by killing people, capturing flags and performing other "game related" events, and collecting huge red/white pills scattered around the map. Once you have 100 adrenaline points you can envoke a special "Adrenaline Combo" using quick key combinations (like an dodge jump). The adrenaline accumulated is then spent at a rate of about 3 per second while the combo is in effect.

Amount of adrenaline awarded for various actions is set in DeathMatch and TeamGame.

## Default Adrenaline Combos

The known adrenaline combos are:

Speed (forward four times)
  Makes you run super fast.
Booster (back four times)
  Gives you health at a rate of 5 points per second up to 199, then it gives you shield at a rate of 5 per second up to 150.
Invisibility (right twice, left twice)
  Your character pawn is nearly invisible, given a texture that only shows shifting highlights. (Bots are not fooled)
Beserk (forward twice, back twice)
  Makes you fire at a twice the rate.

## Bonus Combos

A mutator called "Bonus Combos" was included in the Epic Bonus pack for UT2004.

Pint-size (left four times)
  Your character pawn shrinks to a quarter size. (Mass reduced as well?)
Camouflage (right four times)
  Your character pawn is covered (not replaced) by a large static mesh object. The static mesh object is attached to the pawn and will have no collision set. This mesh can be defined in the Level Properties of each map, there is a slot for both indoor and outdoor camouflage meshes. If no mesh is defined in the map, a default "crate" mesh is used : `HumanoidHardware.Beams.jribbedcolumn01HA`. This combo is also called the Crate Combo, after the mutator name `MutCrateCombo`.

Mutators can add new combos. If you build a custom combo, make sure it follows the naming convention, `Mut<blahblah>Combo`, for identification purposes.

## Defining Combo Key Presses in Mutators

The key press combination for a combo is defined the class default properties. The keys are translated as such:

    // CK_Up      = 1;
    // CK_Down    = 2;
    // CK_Left    = 4;
    // CK_Right   = 8;

For example, the Double Damage Combo in the XXXpak is left right left right or:

    defaultproperties
    {
         ExecMessage="Double Damage!"
         ComboAnnouncement=Sound'PickupSounds.UDamagePickup'
         Duration=20
         keys(0)=4
         keys(1)=8
         keys(2)=4
         keys(3)=8
    }

## Related Topics

- Controller – The class that handles Adrenaline for Pawns.
- AdrenalinePickup
  - AdrenalinePickup/script – Source code for AdrenalinePickup. (commented for learning)
- Modify Mutator Tutorial – A tutorial for making an adrenaline mutator
- The next UTute will be a combo tutorial, and will be more expansive. UTute2 is directly about controlling adrenaline from a mutator.
- ComboTrigger – A custom Trigger that activates a combo for the touching player.

## Discussion

Mysterial: Here's some bizareness for you: The combos that come with the game use 8 for CK_Right (you can see this in ComboInvis) yet custom subclasses (including Epic's Bonus Pack combo ComboCrate) use 4 for CK_Right. Also, has anyone gotten a combo using four different keys (Up Down Left Right, for example) to work? If so, did you need to do anything special and what did you use in your keys array?

Tarquin: Further bizareness: you can't tell which combos are available (beyond the four built-in) from within the game.

SuperApe: The two extra combos are pretty easy to spot in the Mutator subclass list, just look for "Combo". Question: Is the mass of the Pawn reduced as well during the Pint-size combo?

Tarquin: What I mean is that there's no way for UnrealScript to get a list of available combos.

##### Views

- Legacy
- Discussion
- Current revision

##### Search