PDA

View Full Version : defaultproperties



Taxxem
11-08-2009, 12:08 PM
I wanted to start simple to make sure I understand fully what I am doing before I jump into something too heavy so I decided to just make an adjustment to the persons groundspeed and acceleration. I saw in UTPawn there was this information in default properties so I did a simple entry like so...

class AdjustPawn extends UTPawn;

defaultproperties
{
AccelRate=0048.0
GroundSpeed=44440.0
bCanDoubleJump=false
}

This did nothing. I then changed UTPawn to just Pawn because I noticed inside of Pawn class there was information that showed the increase of groundspeed and accelrate. I made adjustments to that and tried and still nothing. I did change my extends to Pawn to make sure it understood where I was going.

My question is obvious. What am I doing wrong?

IceIYIaN
11-08-2009, 12:11 PM
You didn't create a Mutator or GameType or make the game force your pawn class.

Taxxem
11-08-2009, 12:14 PM
It is placed in MyMod along with superfungame. So how would I link it into superfungame?

marilol
11-08-2009, 12:38 PM
You would need to modify the Gametypes DefaultPawnClass (in the gametypes defaultproperties). You might be able to do this via game rules.

Taxxem
11-08-2009, 03:08 PM
Figured it out.