class SchlonzXPawnPlayer extends xPawn; var float PlayerSize; var vector OldPlayerLoc; function SetPawnPlayerSize( float fDelta ) { PlayerSize = FMax( 0.2, PlayerSize + fDelta ); if ( SetCollisionSize( Default.CollisionRadius * PlayerSize, Default.CollisionHeight * PlayerSize) ) { SetDrawScale( PlayerSize ); SetLocation( Location ); Weapon.SetDrawScale( PlayerSize ); if( PlayerSize < 1 ) GroundSpeed = 440 * PlayerSize; else GroundSpeed = 440; } } //SetPawnBotSize function Bump( Actor Other ) { local float PlayersSize; if( xPawn( Instigator ) == None || Pawn( Other ) == None ) return; if( Pawn( Other ).PlayerReplicationInfo == None ) return; if( Pawn( Other ).PlayerReplicationInfo.bBot ) { PlayersSize = SchlonzXPawnBot( Other ).PlayerSize; if( PlayersSize < 0.45 ) { // Vertrammpppäääällll Pawn(Other).Died( Instigator.Controller, class 'SchlonzDamTypeTrampleDown', Pawn( Other ).Location ); } else if( PlayersSize < 1 ) { // Bounce Pawn( Other ).Velocity.Z += 350; Pawn( Other ).Velocity.X = Instigator.Velocity.X * 1.5; Pawn( Other ).Velocity.Y = Instigator.Velocity.Y * 1.5; Pawn( Other ).SetPhysics( PHYS_Falling ); } } } // Bump defaultproperties { OldPlayerLoc = vector( 0,0,0 ) PlayerSize=1.000000 RagImpactSounds(0)=Sound'GeneralImpacts.Wet.Breakbone_01' RagImpactSounds(1)=Sound'GeneralImpacts.Wet.Breakbone_02' RagImpactSounds(2)=Sound'GeneralImpacts.Wet.Breakbone_03' RagImpactSounds(3)=Sound'GeneralImpacts.Wet.Breakbone_04' TauntAnims(0)="gesture_point" TauntAnims(1)="gesture_beckon" TauntAnims(2)="gesture_halt" TauntAnims(3)="gesture_cheer" TauntAnims(4)="PThrust" TauntAnims(5)="AssSmack" TauntAnims(6)="ThroatCut" TauntAnims(7)="Specific_1" Skins(0)=Texture'PlayerSkins.JuggMaleABodyA' Skins(1)=Texture'PlayerSkins.JuggMaleAHeadA' } // LandMovementState=PlayerSpidering