diff --git a/Classes/FPPSettings.uc b/Classes/FPPSettings.uc index 87f8708..845e57c 100644 --- a/Classes/FPPSettings.uc +++ b/Classes/FPPSettings.uc @@ -15,6 +15,7 @@ var config float SineModMultiplier; var config float Post6ZedsPerPlayer; // modifier for zed count (>6 player team) var config int TraderTime; // set our desired trader time +var config float TraderSpeedBoost; // how much to speed up var config int StartingDosh; // doshhhh var config int MinRespawnDosh; // doshhhh @@ -39,6 +40,7 @@ defaultproperties Post6ZedsPerPlayer=0.400000 TraderTime=45 + TraderSpeedBoost=1.75 StartingDosh=8000 MinRespawnDosh=8000 diff --git a/Classes/FPPSpeedInventory.uc b/Classes/FPPSpeedInventory.uc index 4cfab17..d6fae92 100644 --- a/Classes/FPPSpeedInventory.uc +++ b/Classes/FPPSpeedInventory.uc @@ -1,6 +1,15 @@ class FPPSpeedInventory extends Inventory; +var float fPenalty; + +replication +{ + reliable if (Role == ROLE_Authority) + fPenalty; +} + + simulated function float GetMovementModifierFor(Pawn InPawn) { - return class'Helper'.static.GetSpeedMod(); + return fPenalty; } \ No newline at end of file diff --git a/Classes/FleshpoundParty.uc b/Classes/FleshpoundParty.uc index d9f7f55..d3f18f0 100644 Binary files a/Classes/FleshpoundParty.uc and b/Classes/FleshpoundParty.uc differ diff --git a/Classes/Helper.uc b/Classes/Helper.uc index d728cd6..5c8ac50 100644 Binary files a/Classes/Helper.uc and b/Classes/Helper.uc differ diff --git a/Configs/FleshpoundParty.ini b/Configs/FleshpoundParty.ini index 32a8593..dd639a7 100644 --- a/Configs/FleshpoundParty.ini +++ b/Configs/FleshpoundParty.ini @@ -8,6 +8,7 @@ BaseSpawnTime=0.3 SineModMultiplier=1 Post6ZedsPerPlayer=0.400000 TraderTime=45 +TraderSpeedBoost=1.75 StartingDosh=8000 MinRespawnDosh=8000 bDisableSlomo=true @@ -19,7 +20,6 @@ MapInfo=(MapName="KF-Manor",Difficulty=0.75,MaxZombiesOnce=50) MapInfo=(MapName="KF-Cross",Difficulty=0.50,MaxZombiesOnce=50) [FleshpoundParty.Helper] -TraderSpeedBoost=1.75 MSG_Trader="%wALL %yTRADERS %wARE OPEN!" MSG_BigZeds="%wOnly %rBIG %wzeds will appear on this wave!" MSG_Fleshpounds="%wOnly %rFleshpounds %wwill appear on this wave!"