| Home Page | Recent Changes | Preferences

RelicRedemption

UT :: Actor (UT) >> Info (UT) >> Mutator (UT) >> Relic >> RelicRedemption (Package: Relics)
UT :: Actor (UT) >> Inventory (UT) >> Pickup (UT) >> TournamentPickup >> RelicInventory >> RelicRedemptionInventory (Package: Relics)

Relic of Redemption

This relic is shaped like a spiked disc, ala "chaos." If you take fatal damage while carrying this you will be randomly moved somewhere in the level, your health will be restored and you will still have your inventory. Its like a second chance.

Notes

The implementation of this feature could have been completely different to achieve the very same effect in a more reliable way:

The RelicRedemptionInventory class uses the PrioritizeArmor function (inherited from Inventory (UT)) to detect possibly fatal damage. However, it checks the damage before any armor or Mutator (UT) (MutatorTakeDamage function) reduced modified it. This could lead to unneccessary redemption (armor reduced damage enough to survive the hit) or a mutator increases the damage to a higher value than the critical damage and the player dies with the relic that should have saved him.

A better implementation would have been the Mutator.PreventDeath function which is executed only if the player is about to die.


Category Class (UT)

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In