Description

This package for Unreal Tournament (UT99) contains the Mutator SBSecondChance. If a player or bot is about to die and has a specific item in his inventory, this mutator prevents his death and teleports him to a PlayerStart respawn point. Also a configurable sound can be played for that player in this moment.

Mutator

Additional Containments

For testing and example purposes, and for your convenience the mutator contains an inventory item "NaliStatuette" that can be used as a life saver. Also it offers a sound "Lord" that can be played on life saving.

Configuring

This mutator can be configured by its INI file SBSecondChance.ini. The following entries may appear there:
Name Values Default Description
bDebug true | false false Write debug info to chat and log file?
RemainingHealth integer 1 Player's health after a death has been prevented. Values below 1 are reset to 1.

LifeSaver Array

You can define up to four different items in the LifeSavers array. One line consists of these fields:
Name Values Default Description
InventoryClass class<Inventory>none The inventory item that prevents the death.
bRemoveAfterUsed true | false false Should the inventory item be removed after a saved life?
Message string none This message is sent to the player when a death was prevented. See also Message Placeholder.
SavedSound sound none This sound is played for the player when a death has been prevented.
Some notes:
Example for SBSecondChance.ini file
[SBSecondChanceV0.SBSecondChance]
RemainingHealth=2
bDebug=false

LifeSavers[0]=(InventoryClass=None,bRemoveAfterUsed=False,Message="",SavedSound=None)
LifeSavers[1]=(InventoryClass=Class'SBSecondChanceV0.NaliStatuette',bRemoveAfterUsed=True,Message="%s saved your life!",SavedSound=Sound'SBSecondChanceV0.Lord')
LifeSavers[2]=(InventoryClass=None,bRemoveAfterUsed=False,Message="",SavedSound=Sound'UnrealShare.Nali.contct1n')
LifeSavers[3]=(InventoryClass=None,bRemoveAfterUsed=False,Message="",SavedSound=None)

Installation

Mutator installation for Client and Server

Put the files
.\System\SBSecondChance.int
.\System\SBSecondChanceV0.u
.\System\SBSecondChance.ini
into the System directory of your UT installation. Change the values in SBSecondChance.ini to your needs.
All other files in this package are optional. If desired, put the help files into the .\Help\ folder and ignore the .\Sourcecode\ folder.

Mutator installation on a Server

Mutator usage on a Client

Start UT and choose the Mutator "SBSecondChance" for a local game.

Embedding Mutator into a map

Open Actor Class Browser in UnrealEd, go to Actor > Info > Mutator > SBSecondChance and add SBSecondChance somewhere into your map. If not already in, it will add itself at the end of the mutator chain when the map is started.

About

This package was created by Barbie.
Contact: SeriousBarbie AT Barbies DOT World This package is copyleft - do whatever you want.

Changelog

SBSecondChanceV0, 03 Sep 2026

Filelist:
NameSizeTime StampSHA1 hash
./Help/SBSecondChance.htm82872026-09-03(this map)
./Maps/TestSBSecondChance.unr1386332026-09-03 19:46:30201323f4eef811f5c42e0c39057dab00b490c92f
./Sourcecode/Classes/NaliStatuette.uc3772026-08-17 17:24:020a54e309e2bee272ced2f45b6918805a659523ca
./Sourcecode/Classes/SBSecondChance.uc47392026-08-17 22:03:2265c9b30dcc6c628d004bac355790d4e70196a466
./Sourcecode/copyleft.txt962025-02-16 14:56:5202daefffdd3898e3512c19361e83fbfd41dfce71
./Sourcecode/make.ini3302026-08-17 11:21:396aee1dc534b94de863477ac8976107a95aec8c59
./Sourcecode/readme.txt822016-08-21 20:17:081cbd672638085e4b53142ebdd86454b23e79cb69
./Sourcecode/Sounds/freesound_community-thunderousgod01-75349.mp312345602026-08-16 15:52:32aeef80542888c33cacea1cfe30eddc707732632d
./Sourcecode/Sounds/Lord.wav1322562026-08-16 15:57:15c088efe86d7f7e52e65c24874037522c9cd1e49e
./System/SBSecondChance.ini5192026-08-17 21:41:274ef3ef4074d70051b4a33fc7bbf5df064aa0bff8
./System/SBSecondChance.int1692026-08-17 11:27:189895fec3a62b00f1e229f7df09deb934c7e7a868
./System/SBSecondChanceV0.u1413652026-08-17 22:03:29f94bf6622b23932c8c4532cf8657e09e9e8e5749