Zed fixes #16
@ -325,6 +325,11 @@ defaultproperties
|
||||
{
|
||||
GameName="Nice Floor"
|
||||
Description="Nice Edition of ScrN Killing Floor game mode (ScrnGameType)."
|
||||
// custom player controller
|
||||
PlayerControllerClass=class'NicePlayerController'
|
||||
PlayerControllerClassName="NicePack.NicePlayerController"
|
||||
// skills menu
|
||||
LoginMenuClass="NicePack.NiceInvasionLoginMenu"
|
||||
ZedTimeSlomoScale=0.4
|
||||
LesserZedTimeSlomoScale=0.6
|
||||
}
|
@ -188,25 +188,20 @@ simulated function PostBeginPlay()
|
||||
// Find game type and ScrN mutator
|
||||
ScrnGT = ScrnGameType(Level.Game);
|
||||
NiceGT = NiceGameType(Level.Game);
|
||||
if(ScrnGT == none){
|
||||
Log("ERROR: Wrong GameType (requires at least ScrnGameType)", Class.Outer.Name);
|
||||
if (NiceGT == none)
|
||||
{
|
||||
Log("ERROR: Wrong GameType (requires NiceGameType)", class.Outer.Name);
|
||||
Destroy();
|
||||
return;
|
||||
}
|
||||
// Skills menu
|
||||
ScrnGT.LoginMenuClass = string(class'NiceInvasionLoginMenu');
|
||||
if(NiceGT != none)
|
||||
NiceGT.RegisterMutator(Self);
|
||||
ScrnMut = ScrnGT.ScrnBalanceMut;
|
||||
// FIXME poosh forces this variable in his mutator...
|
||||
NiceGT.LoginMenuClass = "NicePack.NiceInvasionLoginMenu";
|
||||
NiceGT.RegisterMutator(self);
|
||||
ScrnMut = NiceGT.ScrnBalanceMut;
|
||||
if(bReplacePickups)
|
||||
ScrnMut.bReplacePickups = false;
|
||||
// Replication of some variables
|
||||
SetReplicationData();
|
||||
// New player controller class
|
||||
if(!ClassIsChildOf(ScrnGT.PlayerControllerClass, class'NicePlayerController')){
|
||||
ScrnGT.PlayerControllerClass = class'NicePlayerController';
|
||||
ScrnGT.PlayerControllerClassName = string(class'NicePlayerController');
|
||||
}
|
||||
// Game rules
|
||||
GameRules = Spawn(class'NiceRules', self);
|
||||
// -- Lower starting HL
|
||||
|
@ -1537,6 +1537,7 @@ function ClientLocationalVoiceMessage(PlayerReplicationInfo Sender,
|
||||
|
||||
defaultproperties
|
||||
{
|
||||
MidGameMenuClass="NicePack.NiceInvasionLoginMenu"
|
||||
nicePlayerInfoVersionNumber=1
|
||||
bAltSwitchesModes=True
|
||||
bAdvReloadCheck=True
|
||||
|
Loading…
Reference in New Issue
Block a user