Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

Legacy:BallLauncher

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 :: Actor >> Inventory >> Weapon >> BallLauncher

The BallLauncher is what players use to shoot the ball (bomb) in Bombing Run games. It is a specialized weapon which is selected automatically when a player picks up the ball. The only way to get rid of the BallLauncher is to shoot the ball. When the player has the ball, he regains health via this weapon.

Properties[edit]

AITarget 
Current actor to shoot the ball at or to for bots.
HealAccum
HealRate 
How fast player is healed while holding BallLauncher.
launchedBall 
Flag to indicate whether ball has just been shot.
PassAmbient 
Sound to play while using alt-fire to target another player for a pass.
PassTarget 
Current player to pass ball to.
PassTargetLocked
PassTargetLockedForce
PassTargetLost
PassTargetLostForce
SwitchTestTime 
Last time we checked the weapon correctness in Tick. See Tick below for what that means.

Methods[edit]

BotFire 
Does dirty work of helping bots to shoot the ball to a target, be it another player or the goal.
BringUp 
Sets current weapon to BallLauncher and stores off previous weapon for later.
CanAttack 
Always true.
DrawWeaponInfo 
Draw pass target reticle on HUD (Off-Kilter: At least I think that's what it does :P)
HasAmmo 
Return true if player has the ball, false otherwise. Ensures player cannot bring this weapon up without holding the ball essentially.
ModifyPawn 
Heals the holder if their health is below 100%
NextWeapon 
Switches to pending weapon if BallLauncher is current.
OutOfAmmo 
Does nothing.
PrevWeapon 
Switches to pending weapon if BallLauncher is current.
PutDown 
Never let the player put the weapon away if the player still has the ball.
RecommendWeapon 
If player has ball, BallLauncher gets highest recommendation. If player does not have ball, BallLauncher is never recommended.
SetAITarget 
Does what it says.
ShootHoop 
Called from BotFire to do the mechanics of shooting ball to the current AITarget.
StartFire
SynchronizeWeapon
Tick 
Makes sure that BallLauncher is current when player has the ball and not current otherwise.