ucc shows me this and i'm struggleing how to understand the problem.
-----------------------KF-StalkerMut - Release------------------------
Analyzing...
Parsing KF-StalkerMut
C:\Program Files\Steam\steamapps\common\killingfloor\KF-StalkerMut\Classes\KF-StalkerMut.uc(4) : Error, Class must be named KF-StalkerMut, not KF
Compile aborted due to errors.
Failure - 1 error(s), 0 warning(s)
here is the .uc file (the mutator is just suppose to make Stalkers spawn i took the siren only mut and changed where it said siren to stalker lol)
Any help with this would be greatly appreciated guys
-----------------------KF-StalkerMut - Release------------------------
Analyzing...
Parsing KF-StalkerMut
C:\Program Files\Steam\steamapps\common\killingfloor\KF-StalkerMut\Classes\KF-StalkerMut.uc(4) : Error, Class must be named KF-StalkerMut, not KF
Compile aborted due to errors.
Failure - 1 error(s), 0 warning(s)
here is the .uc file (the mutator is just suppose to make Stalkers spawn i took the siren only mut and changed where it said siren to stalker lol)
Code:
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class KF-StalkerMut extends Mutator;
function PostBeginPlay()
{
SetTimer(0.1,False);
}
function Timer()
{
local KFGameType KF;
local byte i;
local class<KFMonster> MC;
KF = KFGameType(Level.Game);
MC = Class<KFMonster>(DynamicLoadObject("KFChar.ZombieStalker",Class'Class'));
if ( KF!=None && MC!=None )
{
// groups of monsters that will be spawned
KF.InitSquads.Length = 1;
KF.InitSquads[0].MSquad.Length = 8;
for( i=0; i<8; i++ )
KF.InitSquads[0].MSquad[i] = MC;
}
Destroy();
}
DefaultProperties
{
GroupName="KF-StalkerMut"
bAddToServerPackages=True
FriendlyName="Hunter"
Description="Stalkers only. Looks like its undead-tart season!"
}
Any help with this would be greatly appreciated guys