Prepare fixtures

This commit is contained in:
dkanus 2026-07-14 20:27:09 +07:00
commit 9c94356263
6021 changed files with 722805 additions and 22 deletions

View file

@ -0,0 +1,38 @@
class KFBeatDownMut extends Mutator;
function bool CheckReplacement( Actor Other, out byte bSuperRelevant )
{
// Only pansies need ammunition.
if ( Other.IsA('KFRandomAmmoSpawn') )
{
ReplaceWith(Other, "None");
return false;
}
if ( Other.IsA('KFRandomItemSpawn') )
{
KFRandomItemSpawn(Other).default.PickupClasses[0]= class 'KFMod.BatPickup' ;
KFRandomItemSpawn(Other).default.PickupClasses[1]= class 'KFMod.AxePickup' ;
KFRandomItemSpawn(Other).default.PickupClasses[2]= class 'KFMod.BatPickup' ;
KFRandomItemSpawn(Other).default.PickupClasses[3]= class 'KFMod.BatPickup' ;
KFRandomItemSpawn(Other).default.PickupClasses[4]= class 'KFMod.AxePickup' ;
KFRandomItemSpawn(Other).default.PickupClasses[5]= class 'KFMod.BatPickup' ;
KFRandomItemSpawn(Other).default.PickupClasses[6]= class 'KFMod.AxePickup' ;
KFRandomItemSpawn(Other).default.PickupClasses[7]= class 'KFMod.BatPickup' ;
return false;
}
return true;
}
Defaultproperties
{
//GroupName = "KF-Arena"
FriendlyName = "BeatDown"
Description = "Melee Weapons only. For ye hard'uns."
}

View file

@ -0,0 +1,37 @@
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class KFBloatMut extends Mutator;
function PostBeginPlay()
{
SetTimer(0.1,False);
}
function Timer()
{
local KFGameType KF;
local byte i;
local class<KFMonster> MC;
local int MSquadLength;
KF = KFGameType(Level.Game);
MC = Class<KFMonster>(DynamicLoadObject(KF.GetEventBloatClassName(),Class'Class'));
if ( KF!=None && MC!=None )
{
// groups of monsters that will be spawned
KF.InitSquads.Length = 1;
MSquadLength = Min( 8, KF.MaxZombiesOnce );
KF.InitSquads[0].MSquad.Length = MSquadLength;
for( i=0; i<MSquadLength; i++ )
KF.InitSquads[0].MSquad[i] = MC;
}
Destroy();
}
DefaultProperties
{
GroupName="KF-MonsterMut"
FriendlyName="Bloat-ed"
Description="Only Bloats will appear during the game."
}

View file

@ -0,0 +1,37 @@
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class KFClotMut extends Mutator;
function PostBeginPlay()
{
SetTimer(0.1,False);
}
function Timer()
{
local KFGameType KF;
local byte i;
local class<KFMonster> MC;
local int MSquadLength;
KF = KFGameType(Level.Game);
MC = Class<KFMonster>(DynamicLoadObject(KF.GetEventClotClassName(),Class'Class'));
if ( KF!=None && MC!=None )
{
// groups of monsters that will be spawned
KF.InitSquads.Length = 1;
MSquadLength = Min( 8, KF.MaxZombiesOnce );
KF.InitSquads[0].MSquad.Length = MSquadLength;
for( i=0; i<MSquadLength; i++ )
KF.InitSquads[0].MSquad[i] = MC;
}
Destroy();
}
DefaultProperties
{
GroupName="KF-MonsterMut"
FriendlyName="Clot Buster"
Description="Only Clots will appear during the game."
}

View file

@ -0,0 +1,37 @@
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class KFFPMut extends Mutator;
function PostBeginPlay()
{
SetTimer(0.1,False);
}
function Timer()
{
local KFGameType KF;
local byte i;
local class<KFMonster> MC;
local int MSquadLength;
KF = KFGameType(Level.Game);
MC = Class<KFMonster>(DynamicLoadObject(KF.GetEventFleshpoundClassName(),Class'Class'));
if ( KF!=None && MC!=None )
{
// groups of monsters that will be spawned
KF.InitSquads.Length = 1;
MSquadLength = Min( 12, KF.MaxZombiesOnce );
KF.InitSquads[0].MSquad.Length = MSquadLength;
for( i=0; i<MSquadLength; i++ )
KF.InitSquads[0].MSquad[i] = MC;
}
Destroy();
}
DefaultProperties
{
GroupName="KF-MonsterMut"
FriendlyName = "Poundamonium!"
Description = "Only Fleshpounds will appear during the game. Bring a big gun."
}

View file

@ -0,0 +1,37 @@
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class KFGoreFastMut extends Mutator;
function PostBeginPlay()
{
SetTimer(0.1,False);
}
function Timer()
{
local KFGameType KF;
local byte i;
local class<KFMonster> MC;
local int MSquadLength;
KF = KFGameType(Level.Game);
MC = Class<KFMonster>(DynamicLoadObject(KF.GetEventGoreFastClassName(),Class'Class'));
if ( KF!=None && MC!=None )
{
// groups of monsters that will be spawned
KF.InitSquads.Length = 1;
MSquadLength = Min( 8, KF.MaxZombiesOnce );
KF.InitSquads[0].MSquad.Length = MSquadLength;
for( i=0; i<MSquadLength; i++ )
KF.InitSquads[0].MSquad[i] = MC;
}
Destroy();
}
DefaultProperties
{
GroupName="KF-MonsterMut"
FriendlyName="Gored Fast"
Description="Only GoreFasts will appear during the game."
}

View file

@ -0,0 +1,37 @@
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class KFSirenMut extends Mutator;
function PostBeginPlay()
{
SetTimer(0.1,False);
}
function Timer()
{
local KFGameType KF;
local byte i;
local class<KFMonster> MC;
local int MSquadLength;
KF = KFGameType(Level.Game);
MC = Class<KFMonster>(DynamicLoadObject(KF.GetEventSirenClassName(),Class'Class'));
if ( KF!=None && MC!=None )
{
// groups of monsters that will be spawned
KF.InitSquads.Length = 1;
MSquadLength = Min( 8, KF.MaxZombiesOnce );
KF.InitSquads[0].MSquad.Length = MSquadLength;
for( i=0; i<MSquadLength; i++ )
KF.InitSquads[0].MSquad[i] = MC;
}
Destroy();
}
DefaultProperties
{
GroupName="KF-MonsterMut"
FriendlyName="Five Alarm Siren"
Description="Only Sirens will appear during the game."
}

View file

@ -0,0 +1,23 @@
class MutMachinePistols extends Mutator;
function bool CheckReplacement( Actor Other, out byte bSuperRelevant )
{
// here, in mutator subclass, change InventoryClassName if desired. For example:
if ( WeaponPickup(Other) != None )
{
if ( string(Other.Class) ~= "KFMod.SinglePickup" )
{
ReplaceWith( Other, "MachinePistolPickup" );
return false;
}
}
return true;
}
Defaultproperties
{
//GroupName = "KF"
FriendlyName = "Machine Pistols"
Description = "All the semi-auto 9mms in Killing Floor are replaced with fully automatic counterparts. "
}

View file

@ -0,0 +1,13 @@
<html>
<head><title>Index of /kf_sources/KFMutators/Classes/</title></head>
<body>
<h1>Index of /kf_sources/KFMutators/Classes/</h1><hr><pre><a href="../">../</a>
<a href="KFBeatDownMut.uc">KFBeatDownMut.uc</a> 06-Oct-2019 10:27 1140
<a href="KFBloatMut.uc">KFBloatMut.uc</a> 06-Oct-2019 10:27 894
<a href="KFClotMut.uc">KFClotMut.uc</a> 06-Oct-2019 10:27 894
<a href="KFFPMut.uc">KFFPMut.uc</a> 06-Oct-2019 10:27 928
<a href="KFGoreFastMut.uc">KFGoreFastMut.uc</a> 06-Oct-2019 10:27 905
<a href="KFSirenMut.uc">KFSirenMut.uc</a> 06-Oct-2019 10:27 902
<a href="MutMachinePistols.uc">MutMachinePistols.uc</a> 06-Oct-2019 10:27 587
</pre><hr></body>
</html>

View file

@ -0,0 +1,7 @@
<html>
<head><title>Index of /kf_sources/KFMutators/</title></head>
<body>
<h1>Index of /kf_sources/KFMutators/</h1><hr><pre><a href="../">../</a>
<a href="Classes/">Classes/</a> 29-Jun-2025 19:43 -
</pre><hr></body>
</html>