more sugar
This commit is contained in:
parent
25b3e85009
commit
b0727dd677
@ -2,18 +2,15 @@ class Spawn extends Object
|
|||||||
dependson(ZedSpawner)
|
dependson(ZedSpawner)
|
||||||
config(ZedSpawner);
|
config(ZedSpawner);
|
||||||
|
|
||||||
var config bool bCyclicalSpawn;
|
var public config bool bCyclicalSpawn;
|
||||||
var config bool bShadowSpawn;
|
var public config bool bShadowSpawn;
|
||||||
|
var public config float ZedTotalMultiplier;
|
||||||
var config float ZedTotalMultiplier;
|
var public config float SpawnTotalPlayerMultiplier;
|
||||||
var config float SpawnTotalPlayerMultiplier;
|
var public config float SpawnTotalCycleMultiplier;
|
||||||
var config float SpawnTotalCycleMultiplier;
|
var public config float SingleSpawnLimitMultiplier;
|
||||||
|
var public config float SingleSpawnLimitPlayerMultiplier;
|
||||||
var config float SingleSpawnLimitMultiplier;
|
var public config float SingleSpawnLimitCycleMultiplier;
|
||||||
var config float SingleSpawnLimitPlayerMultiplier;
|
var public config int AliveSpawnLimit;
|
||||||
var config float SingleSpawnLimitCycleMultiplier;
|
|
||||||
|
|
||||||
var config int AliveSpawnLimit;
|
|
||||||
|
|
||||||
public static function InitConfig(int Version, int LatestVersion)
|
public static function InitConfig(int Version, int LatestVersion)
|
||||||
{
|
{
|
||||||
|
@ -13,8 +13,8 @@ struct S_SpawnEntryCfg
|
|||||||
var bool bSpawnAtPlayerStart;
|
var bool bSpawnAtPlayerStart;
|
||||||
};
|
};
|
||||||
|
|
||||||
var config bool bStopRegularSpawn;
|
var public config bool bStopRegularSpawn;
|
||||||
var config Array<S_SpawnEntryCfg> Spawn;
|
var private config Array<S_SpawnEntryCfg> Spawn;
|
||||||
|
|
||||||
public static function InitConfig(int Version, int LatestVersion, KFGI_Access KFGIA)
|
public static function InitConfig(int Version, int LatestVersion, KFGI_Access KFGIA)
|
||||||
{
|
{
|
||||||
|
@ -14,7 +14,7 @@ struct S_SpawnEntryCfg
|
|||||||
var bool bSpawnAtPlayerStart;
|
var bool bSpawnAtPlayerStart;
|
||||||
};
|
};
|
||||||
|
|
||||||
var config Array<S_SpawnEntryCfg> Spawn;
|
var public config Array<S_SpawnEntryCfg> Spawn;
|
||||||
|
|
||||||
public static function InitConfig(int Version, int LatestVersion, KFGI_Access KFGIA)
|
public static function InitConfig(int Version, int LatestVersion, KFGI_Access KFGIA)
|
||||||
{
|
{
|
||||||
|
@ -14,8 +14,8 @@ struct S_SpawnEntryCfg
|
|||||||
var bool bSpawnAtPlayerStart;
|
var bool bSpawnAtPlayerStart;
|
||||||
};
|
};
|
||||||
|
|
||||||
var config bool bStopRegularSpawn;
|
var public config bool bStopRegularSpawn;
|
||||||
var config Array<S_SpawnEntryCfg> Spawn;
|
var private config Array<S_SpawnEntryCfg> Spawn;
|
||||||
|
|
||||||
public static function InitConfig(int Version, int LatestVersion)
|
public static function InitConfig(int Version, int LatestVersion)
|
||||||
{
|
{
|
||||||
|
@ -40,8 +40,8 @@ struct S_SpawnEntry
|
|||||||
var bool SpawnAtPlayerStart;
|
var bool SpawnAtPlayerStart;
|
||||||
};
|
};
|
||||||
|
|
||||||
var config int Version;
|
var private config int Version;
|
||||||
var config E_LogLevel LogLevel;
|
var private config E_LogLevel LogLevel;
|
||||||
|
|
||||||
var private Array<S_SpawnEntry> SpawnListR;
|
var private Array<S_SpawnEntry> SpawnListR;
|
||||||
var private Array<S_SpawnEntry> SpawnListBW;
|
var private Array<S_SpawnEntry> SpawnListBW;
|
||||||
@ -49,26 +49,24 @@ var private Array<S_SpawnEntry> SpawnListSW;
|
|||||||
|
|
||||||
var private KFGameInfo_Survival KFGIS;
|
var private KFGameInfo_Survival KFGIS;
|
||||||
var private KFGameInfo_Endless KFGIE;
|
var private KFGameInfo_Endless KFGIE;
|
||||||
|
|
||||||
var private KFGI_Access KFGIA;
|
var private KFGI_Access KFGIA;
|
||||||
|
|
||||||
var private int CurrentWave;
|
var private int CurrentWave;
|
||||||
|
var private int SpecialWave;
|
||||||
var private int CurrentCycle;
|
var private int CurrentCycle;
|
||||||
var private int CycleWaveShift;
|
var private int CycleWaveShift;
|
||||||
var private int CycleWaveSize;
|
var private int CycleWaveSize;
|
||||||
|
|
||||||
var private int WaveTotalAI;
|
var private int WaveTotalAI;
|
||||||
|
|
||||||
var private class<KFPawn_Monster> CurrentBossClass;
|
var private class<KFPawn_Monster> CurrentBossClass;
|
||||||
var private int SpecialWave;
|
|
||||||
|
|
||||||
var private String SpawnTimerLastMessage;
|
|
||||||
|
|
||||||
var private Array<class<KFPawn_Monster> > BossClassCache;
|
var private Array<class<KFPawn_Monster> > BossClassCache;
|
||||||
var private Array<class<KFPawn_Monster> > CustomZeds;
|
var private Array<class<KFPawn_Monster> > CustomZeds;
|
||||||
|
|
||||||
|
var private String SpawnTimerLastMessage;
|
||||||
|
|
||||||
delegate bool WaveCondition(S_SpawnEntry SE);
|
delegate bool WaveCondition(S_SpawnEntry SE);
|
||||||
|
|
||||||
event PreBeginPlay()
|
public event PreBeginPlay()
|
||||||
{
|
{
|
||||||
`ZS_Trace(`Location);
|
`ZS_Trace(`Location);
|
||||||
|
|
||||||
@ -82,7 +80,7 @@ event PreBeginPlay()
|
|||||||
Super.PreBeginPlay();
|
Super.PreBeginPlay();
|
||||||
}
|
}
|
||||||
|
|
||||||
event PostBeginPlay()
|
public event PostBeginPlay()
|
||||||
{
|
{
|
||||||
`ZS_Trace(`Location);
|
`ZS_Trace(`Location);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user