Description
This Unreal Tournament 99 package contains a pickup that gives a PlayerPawn invulnerability for some time.
While this item is active, a player cannot get damage. To indicate this state, a white tranclucent effect is drawn around the player and his weapon. (Hint: Getting no damage does not mean a player cannot die. Getting crunched by a mover or telefragged by a pawn still kills a protected player.)
When the item has run out, a message "You are not protected anymore." is displayed.
Sounds
The following sounds are used:
- Inventory.ActivateSound: The sound played when that item is activated. This should be a one shot sound. Default: a male voice saying "Invulnerable" (Sound'SBInvulnerabilityV2.ActivateSound').
- Invulnerability.SoundActive: that sound is played when the pickup is active and therefore it should be a looping sound. Default: Sound'UnrealShare.Pickups.AmpAct'.
- Invulnerability.SoundCooldown: this sound starts playing before the item runs out. The sound starting time is calculated depending on the duration of that sound. If the duration of this sound exceeds the life time of the item, that sound is ignored and not played. Default: Sound'SBInvulnerabilityV2.CooldownSound'.
Usage for Mappers
You only need the file "SBInvulnerabilityV2.u"; I recommend putting it into your SYSTEM directory of your UT installation.
Then add that file to the UnrealEd's Actor Class Browser, navigate to Actor > Inventory > Pickup > SBInvulnerability, add it to your map and change its properties as desired.
The most important settings are:
- Inventory.Charge: Life time of the item in 1/10 sec (default: 300).
- Inventory.RespawnTime: time in seconds until the item respawns (default: 120).
If you release your map to public don't forget to add SBInvulnerabilityV2.u to your package.
About
Contact: SeriousBarbie AT googlemail MAKEADOT com
Filelist: see file "./Help/SBInvulnerabilityV2-filelist.htm"
Copyright/Permission
No copyright claimed. Do whatever you want.
Changelog
SBInvulnerabilityV2, Release 21 Oct 2016
(no change log recorded)
SBInvulnerabilityV1, (no public release)
- Changed all functions containing PlaySound() to simulated functions to limit the sound to the player only.
SBInvulnerabilityV0, (no public release)