Here's the code from the script files..
MutRealism:
Code: Select all
class MutRealism extends Mutator;
simulated function PostBeginPlay(){
Super.PostBeginPlay();
class'xPawn'.default.ControllerClass = class'BWRealismMut.RealismBotController';
Level.Game.PlayerControllerClassName = "BWRealismMut.RealismPlayerController";
Level.Game.PlayerControllerClass = class'BWRealismMut.RealismPlayerController';
}
defaultproperties
{
FriendlyName="Ballistic Realism"
Description="Makes the player's movement more realistic. Single Jump, slower moving speed and even slower airspeed."
}
Code: Select all
class RealismBotController extends xBot;
defaultProperties
{
PawnClass=class'BWRealismMut.RealismPawn'
}
Code: Select all
class RealismPawn extends xPawn;
defaultproperties
{
bCanDodgeDoubleJump=False
MultiJumpRemaining=0
MaxMultiJump=0
bCanDoubleJump=False
bCanWallDodge=False
GroundSpeed=250.00
WaterSpeed=125.00
AirSpeed=180.00
JumpZ=225.00
}
Code: Select all
class RealismPlayerController extends xPlayer;
defaultProperties
{
PawnClass=class'BWRealismMut.RealismPawn'
}