Wanted to be able to add U1 and UT items to games without screwing things up.
Problem. UT class DMMutator and its horrible CheckReplacement routine.
They should have left that alone, or perhaps have made the replacements optional....
The ReadMe file:
Code: Select all
10:32 AM 7/16/2016
UT2U1 Mutator by MrLoathsome - v2.0 Final
v2.0 Final Changes:
Some additional code optimizations.
Now works with OldSkool coopgame2 gametype.
RC4 update:
More optimizations. Includes fix for using the default UnrealI and UnrealShare weapons online.
This mutator does several things. Attempts to totally bypass the UT code that replaces all Unreal
weapons/inventory with the UT99 counterparts.
Thus enabling ALL the classes to co-exist on the same map at the same time.
With this running you can just copy a Dm map from Unreal into your UT\maps directory
and then play the map with the original Unreal guns the author had placed there.
The performance boost this gives things by eliminating a LOT of extra processing that
was happening for EVERY SINGLE ACTOR in your games is considerable.
Recommend using it even if you are NOT going to add any Unreal components to your games.
Install:
Place UT2U1.u and UT2U1.int in your UnrealTournament/System folder.
If running a server that will have U1 weapons on it, copy the UT2U1.ini file also, and set the bU1GunFix variable to True.
Select "Loathsomes UT Tweak" from your mutators list.
There is now one config variable, bU1GunFix. But it should be left at
the default False value for most games. It is only needed on servers
that have U1 guns in the games, and are NOT running a gametype or other mutator that
fixes the firing issues with U1 guns. i.e. Only set it True if U1 guns are not firing.
For servers add UT2U1.UT2U1 to your server startup line.
No need to add this to serverpackages or have the uz file on redirect as this runs serverside only.
If you are using this on a server AND there are any of the default Old Unreal guns
on the maps or being added to the games, set the config variable bU1GunFix=True.
Although this seems to be compatible with the OldSkool mutator, it does not function
with UT coop games based on the coopgame2 gametype.
Big credits to Higor for help with the PostBeginPlay function and suggestions for
getting the Unreal gun fix working optimally online.
Enjoy !
horrible default CheckReplacement garbage. (I think. No problems or log file errors in testing so far.)
In testing this with the current development version of the SwarmSpawner, this SwarmSpawn.ini worked perfect:
Code: Select all
[SwarmSpawn.SS]
CheckRate=0.33
bDebugMode=True
bSpawnAtStart=False
bTrooperGunDrop=True
SwarmInfo[0]=(SwarmClass="UnrealI.SkaarjSniper",Qty=1,SSet0=(SName="WeaponType",SVal="Botpack.SniperRifle"))
SwarmInfo[1]=(SwarmClass="UnrealI.SkaarjSniper",Qty=1,SSet0=(SName="WeaponType",SVal="Botpack.warheadLauncher"))
SwarmInfo[2]=(SwarmClass="UnrealI.SkaarjTrooper",Qty=1,SSet0=(SName="WeaponType",SVal="Botpack.Minigun2"))
SwarmInfo[3]=(SwarmClass="CherryBomb.CherryBomb",Qty=0)
SwarmInfo[4]=(SwarmClass="UnrealI.SkaarjGunner",Qty=1,SSet0=(SName="WeaponType",SVal="CherryBomb.CherryBomb"))
SwarmInfo[5]=(SwarmClass="UnrealI.SkaarjInfantry",Qty=1,SSet0=(SName="WeaponType",SVal="UnrealShare.Stinger"))
SwarmInfo[6]=(SwarmClass="UnrealI.SkaarjInfantry",Qty=1,SSet0=(SName="WeaponType",SVal="Botpack.PulseGun"))
SwarmInfo[7]=(SwarmClass="UnrealI.SkaarjOfficer",Qty=1,SSet0=(SName="WeaponType",SVal="Botpack.ripper"))
I have only tested this UT2U1 mutator in regards to the Trooper weapons, and only on a few maps.
Would be interested in any test results, particularly any done on maps that were originally U1 maps.
*Edit: 06/13/16 - Version 2.0 Final of this is in development.
This post will be updated when testing is sufficient.