Custom Pawn
Posted: Sun 08 Sep , 2013 12:58 pm
Okay, I'm making a mutator that slows down the player move speed, disables double jump and adds more fall damage. But the pawn doesn't seem to change.
Here's the code from the script files..
MutRealism:
RealismBotController:
RealismPawn:
RealismPlayerController:
Any idea what I'm doing wrong? 
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'
}
