KF2-MSK-GS/MSKGS/Classes/MSKGS_Survival.uc

37 lines
838 B
Ucode
Raw Normal View History

2022-08-17 07:53:13 +00:00
class MSKGS_Survival extends KFGameInfo_Survival;
2022-08-01 11:09:38 +00:00
const GIC = "KFGameContent.KFGameInfo_Survival";
2022-08-16 23:07:11 +00:00
var public IMSKGS_GameInfo GI;
var public IMSKGS MSKGS;
var public E_LogLevel LogLevel;
2022-08-01 11:09:38 +00:00
2022-08-16 23:07:11 +00:00
public simulated function ExileServerUsingKickBan()
2022-08-01 11:09:38 +00:00
{
2022-08-16 23:07:11 +00:00
`Log_Trace();
2022-08-01 11:09:38 +00:00
return;
}
public function UpdateGameSettings()
{
2022-08-16 23:07:11 +00:00
`Log_Trace();
if (GI != None)
{
2022-08-17 07:53:13 +00:00
GI.UpdateGameSettings(Self, GIC, MSKGS, bIsCustomGame, !IsUnrankedGame());
2022-08-16 23:07:11 +00:00
}
2022-08-01 11:09:38 +00:00
}
2022-09-13 02:10:25 +00:00
protected function DistributeMoneyAndXP(class<KFPawn_Monster> MonsterClass, const out Array<DamageInfo> DamageHistory, Controller Killer)
2022-08-01 11:09:38 +00:00
{
2022-08-16 23:07:11 +00:00
`Log_Trace();
Super.DistributeMoneyAndXP(MSKGS == None ? MonsterClass : MSKGS.PickProxyZed(MonsterClass), DamageHistory, Killer);
2022-08-01 11:09:38 +00:00
}
defaultproperties
{
2022-08-17 18:25:39 +00:00
KFGFxManagerClass = class'MSKGS_GFxMoviePlayer_Manager'
2022-08-01 11:09:38 +00:00
}