Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

KFMod.KFMonstersCollection


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
class KFMonstersCollection extends Object;

struct MClassTypes
{
	var() config string MClassName, MID;
};

var() globalconfig array<MClassTypes> MonsterClasses;
var()   array<MClassTypes>  StandardMonsterClasses; // The standard monster classed

// Store info for a special squad we want to spawn outside of the normal wave system
struct SpecialSquad
{
	var array<string> ZedClass;
	var array<int> NumZeds;
};

// Special squads are used to spawn a squad outside of the normal wave system so
// we have a bit more control. Basically. these will only spawn towards the
// end of the normal squad list. This way you don't end up with a bunch of really
// beast Zeds spawning one right after the other> It also guarantees that this
// squad will always get used - Ramm
var     array<SpecialSquad>     SpecialSquads;          // The currently used SpecialSquad array
var     array<SpecialSquad>     ShortSpecialSquads;     // The special squad array for a short game
var     array<SpecialSquad>     NormalSpecialSquads;    // The special squad array for a normal game
var     array<SpecialSquad>     LongSpecialSquads;      // The special squad array for a long game

var     array<SpecialSquad>     FinalSquads;            // Squads that spawn with the Patriarch

var config 	string	FallbackMonsterClass;
var() string EndGameBossClass; // class of the end game boss, moved to non config - Ramm

static function PreLoadAssets()
{
    local int i;
    for(i=0;i<default.MonsterClasses.Length;i++)
    {
         class<KFMonster>(DynamicLoadObject(default.MonsterClasses[i].MClassName, Class'class')).static.PreCacheAssets(none);
    }
}

static function string GetEventClotClassName()
{
    return default.MonsterClasses[0].MClassName;
}

static function string GetEventCrawlerClassName()
{
    return default.MonsterClasses[1].MClassName;
}

static function string GetEventGorefastClassName()
{
    return default.MonsterClasses[2].MClassName;
}

static function string GetEventStalkerClassName()
{
    return default.MonsterClasses[3].MClassName;
}

static function string GetEventScrakeClassName()
{
    return default.MonsterClasses[4].MClassName;
}

static function string GetEventFleshpoundClassName()
{
    return default.MonsterClasses[5].MClassName;
}

static function string GetEventBloatClassName()
{
    return default.MonsterClasses[6].MClassName;
}

static function string GetEventSirenClassName()
{
    return default.MonsterClasses[7].MClassName;
}

static function string GetEventHuskClassName()
{
    return default.MonsterClasses[8].MClassName;
}

defaultproperties
{
     MonsterClasses(0)=(MClassName="KFChar.ZombieClot_STANDARD",Mid="A")
     MonsterClasses(1)=(MClassName="KFChar.ZombieCrawler_STANDARD",Mid="B")
     MonsterClasses(2)=(MClassName="KFChar.ZombieGoreFast_STANDARD",Mid="C")
     MonsterClasses(3)=(MClassName="KFChar.ZombieStalker_STANDARD",Mid="D")
     MonsterClasses(4)=(MClassName="KFChar.ZombieScrake_STANDARD",Mid="E")
     MonsterClasses(5)=(MClassName="KFChar.ZombieFleshpound_STANDARD",Mid="F")
     MonsterClasses(6)=(MClassName="KFChar.ZombieBloat_STANDARD",Mid="G")
     MonsterClasses(7)=(MClassName="KFChar.ZombieSiren_STANDARD",Mid="H")
     MonsterClasses(8)=(MClassName="KFChar.ZombieHusk_STANDARD",Mid="I")
     StandardMonsterClasses(0)=(MClassName="KFChar.ZombieClot_STANDARD",Mid="A")
     StandardMonsterClasses(1)=(MClassName="KFChar.ZombieCrawler_STANDARD",Mid="B")
     StandardMonsterClasses(2)=(MClassName="KFChar.ZombieGoreFast_STANDARD",Mid="C")
     StandardMonsterClasses(3)=(MClassName="KFChar.ZombieStalker_STANDARD",Mid="D")
     StandardMonsterClasses(4)=(MClassName="KFChar.ZombieScrake_STANDARD",Mid="E")
     StandardMonsterClasses(5)=(MClassName="KFChar.ZombieFleshpound_STANDARD",Mid="F")
     StandardMonsterClasses(6)=(MClassName="KFChar.ZombieBloat_STANDARD",Mid="G")
     StandardMonsterClasses(7)=(MClassName="KFChar.ZombieSiren_STANDARD",Mid="H")
     StandardMonsterClasses(8)=(MClassName="KFChar.ZombieHusk_STANDARD",Mid="I")
     ShortSpecialSquads(2)=(ZedClass=("KFChar.ZombieCrawler_STANDARD","KFChar.ZombieGorefast_STANDARD","KFChar.ZombieStalker_STANDARD","KFChar.ZombieScrake_STANDARD"),NumZeds=(2,2,1,1))
     ShortSpecialSquads(3)=(ZedClass=("KFChar.ZombieBloat_STANDARD","KFChar.ZombieSiren_STANDARD","KFChar.ZombieFleshPound_STANDARD"),NumZeds=(1,2,1))
     NormalSpecialSquads(3)=(ZedClass=("KFChar.ZombieCrawler_STANDARD","KFChar.ZombieGorefast_STANDARD","KFChar.ZombieStalker_STANDARD","KFChar.ZombieScrake_STANDARD"),NumZeds=(2,2,1,1))
     NormalSpecialSquads(4)=(ZedClass=("KFChar.ZombieFleshPound_STANDARD"),NumZeds=(1))
     NormalSpecialSquads(5)=(ZedClass=("KFChar.ZombieBloat_STANDARD","KFChar.ZombieSiren_STANDARD","KFChar.ZombieFleshPound_STANDARD"),NumZeds=(1,1,1))
     NormalSpecialSquads(6)=(ZedClass=("KFChar.ZombieBloat_STANDARD","KFChar.ZombieSiren_STANDARD","KFChar.ZombieFleshPound_STANDARD"),NumZeds=(1,1,2))
     LongSpecialSquads(4)=(ZedClass=("KFChar.ZombieCrawler_STANDARD","KFChar.ZombieGorefast_STANDARD","KFChar.ZombieStalker_STANDARD","KFChar.ZombieScrake_STANDARD"),NumZeds=(2,2,1,1))
     LongSpecialSquads(6)=(ZedClass=("KFChar.ZombieFleshPound_STANDARD"),NumZeds=(1))
     LongSpecialSquads(7)=(ZedClass=("KFChar.ZombieBloat_STANDARD","KFChar.ZombieSiren_STANDARD","KFChar.ZombieFleshPound_STANDARD"),NumZeds=(1,1,1))
     LongSpecialSquads(8)=(ZedClass=("KFChar.ZombieBloat_STANDARD","KFChar.ZombieSiren_STANDARD","KFChar.ZombieScrake_STANDARD","KFChar.ZombieFleshPound_STANDARD"),NumZeds=(1,2,1,1))
     LongSpecialSquads(9)=(ZedClass=("KFChar.ZombieBloat_STANDARD","KFChar.ZombieSiren_STANDARD","KFChar.ZombieScrake_STANDARD","KFChar.ZombieFleshPound_STANDARD"),NumZeds=(1,2,1,2))
     FinalSquads(0)=(ZedClass=("KFChar.ZombieClot_STANDARD"),NumZeds=(4))
     FinalSquads(1)=(ZedClass=("KFChar.ZombieClot_STANDARD","KFChar.ZombieCrawler_STANDARD"),NumZeds=(3,1))
     FinalSquads(2)=(ZedClass=("KFChar.ZombieClot_STANDARD","KFChar.ZombieStalker_STANDARD","KFChar.ZombieCrawler_STANDARD"),NumZeds=(3,1,1))
     FallbackMonsterClass="KFChar.ZombieStalker_STANDARD"
     EndGameBossClass="KFChar.ZombieBoss_STANDARD"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fri 13-10-2023 03:17:26.000 - Creation time: Fri 13-10-2023 03:19:03.793 - Created with UnCodeX