Prepare fixtures
This commit is contained in:
parent
797e5ea192
commit
9c94356263
6021 changed files with 722805 additions and 22 deletions
38
kf_sources/KFMutators/Classes/KFBeatDownMut.uc
Normal file
38
kf_sources/KFMutators/Classes/KFBeatDownMut.uc
Normal 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."
|
||||
}
|
||||
37
kf_sources/KFMutators/Classes/KFBloatMut.uc
Normal file
37
kf_sources/KFMutators/Classes/KFBloatMut.uc
Normal 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."
|
||||
}
|
||||
|
||||
37
kf_sources/KFMutators/Classes/KFClotMut.uc
Normal file
37
kf_sources/KFMutators/Classes/KFClotMut.uc
Normal 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."
|
||||
}
|
||||
|
||||
37
kf_sources/KFMutators/Classes/KFFPMut.uc
Normal file
37
kf_sources/KFMutators/Classes/KFFPMut.uc
Normal 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."
|
||||
}
|
||||
|
||||
37
kf_sources/KFMutators/Classes/KFGoreFastMut.uc
Normal file
37
kf_sources/KFMutators/Classes/KFGoreFastMut.uc
Normal 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."
|
||||
}
|
||||
|
||||
37
kf_sources/KFMutators/Classes/KFSirenMut.uc
Normal file
37
kf_sources/KFMutators/Classes/KFSirenMut.uc
Normal 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."
|
||||
}
|
||||
|
||||
23
kf_sources/KFMutators/Classes/MutMachinePistols.uc
Normal file
23
kf_sources/KFMutators/Classes/MutMachinePistols.uc
Normal 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. "
|
||||
}
|
||||
13
kf_sources/KFMutators/Classes/index.html
Normal file
13
kf_sources/KFMutators/Classes/index.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue