This package for Unreal Tournament (UT99) contains the Mutator SBQueenSaver and a modified Queen.


This Mutator runs once when a map is loaded and replaces all existing Queens with the new Queen. Also Actors that can spawn other Actors are checked if the spawn class is a Queen and if so, the spawn class is changed to the new Queen. Queens coming into game later are also replaced.

All Mutator's parameters in a nut shell:
bActivetrue | falsetrueSet to FALSE to deactivate the mutator. Use it to disable this mutator temporarily.
bReplaceQueenSubClassesAlsotrue | falsetrueReplace also sub classes of Queens or class'Queen' only?
bUseStaticQueenDestsCounttrue | falsetrueIf true, function QueenDestsHave() will cache the result of first QueenDests search and so only one attempt of teleporting is done if there are no QueenDests. Code will run faster by this, but later added QueenDests are neglected. But: Have you ever seen a QueenDest coming in after game has started?
Does not affect Queens that are spawned by factories.
LogLevelsee LogLevelLOG_Infosee LogLevel
bUseLogTimeStamptrue | falsetrueAdd a time stamp in front of every log message?
SpawnersA list of maximum 16 spawner entries. Details see Replacement in Spawning Actors
DontTreatTheseActorsA list of maximum 32 Actors that should be ignored. Details see Replacement Exceptions


Play with the Log level to see what is going on. Possible values and their meanings are:
LOG_NoneDon't log anything. Not recommended.
LOG_ErrorLog errors only. (An error prevents the code to continue.)
LOG_WarningLog warnings also. (A warning is issued when an unexpected circumstance occur but the operation will not being compromised.)
LOG_InfoAdditional information of what has happend is logged.
LOG_DebugAdditional information of what has NOT happend is logged. Use this to track down bugs.
LOG_AllAll logging is send to the log file. For example if a special code block is entered or left.

Replacing Queens

Replacement Exceptions

Sometimes it is not desired to do a replacement, for example if that Queen has custom code or is placed at a special location. You can prevent single Actors from treatment by putting the map and Actor name into the list DontTreatTheseActors in the INI file. All Actors given in this list with maximum 32 entries will be ignored by the Mutator.
Don't mess up the Actor name with the class name — what is needed here, is the Actor name. To find out the name of specific Actors in a map you can use UnrealEd (see window Actor Properties>Actor>Object>Name) or set the LogLevel to LOG_Debug and have a look at your UnrealTournament.log.

Some other notes:

The default values are:

Example explanation of the first entry: In map MH-TowerOfDeath2 the Actor named Queen0 will be skipped by the Mutator.

Replacement in Spawning Actors

When a map is loaded the Mutator also inspects ThingFactories and their sub classes if their Prototype is equal to the Queen of the package UnrealI. If so, the prototype will be changed to the new Queen.
Because there are other actor spawners than the well known ThingFactories, you can define up to 16 Actor classes that can spawn other Actors in the list Spawners. Additionally you have to define the property name and the value of the property. If those three matches, the property value will be changed to the new Queen.

The default values are:

Example explanation of the first entry: All Actors of the class PW_ThingSpawner are checked, if the property ThingToSpawn contains the value Class'UnrealI.Queen'. If so, the value is changed to the new Queen. (PW_ThingSpawner is from package Password.u; the B_Monster-things from package BBoyShare.u.)

New Queen

The differences of the new Queen to the stock Queen of package UnrealI are: All new Queen's parameters:
LogLevelsee LogLevelLOG_Infosee LogLevel
bUseLogTimeStamptrue | falsetrueAdd a time stamp in front of every log message?
MinDurationSecondsBetweenTeleportsfloat3.0How many seconds should at least pass between two teleports?

Installation (Client and Server)

Put the files
into the System directory of your UT installation. Change the values in SBQueenSaver.ini to your needs. Documentation can also be found in there.

All other files in this package are optional.

Installation on a Server

Installation on a Client

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


This package was created by Barbie.
Contact: SeriousBarbie at googlemail dot com


This package is copyleft - do whatever you want.


SBQueenSaver-V1, 02 Oct 2018

NameSizeDateMD5 sum
./Help/SBQueenSaver.htm104622018-10-02(this file)