class TeamUTJumpPad extends UTJumpPad placeable; var() int m_jumppadTeam; var() sound m_jumpSoundError; var() float m_jumpVelocityMod; var sound BACKUP_JumpSound; function Reset() { Super.Reset(); JumpSound = BACKUP_JumpSound; } function PostBeginPlay() { Super.PostBeginPlay(); BACKUP_JumpSound = JumpSound; } event PostTouch(Actor Other) { local Pawn P; local int team; P = Pawn(Other); if (P == None) return; team = P.GetTeamNum(); if (team == m_jumppadTeam) { Super.PostTouch(Other); } else { JumpSound = m_jumpSoundError; JumpVelocity *= m_jumpVelocityMod; Super.PostTouch(Other); Reset(); } }