I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:ProjectileTakkra (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2XMP Object >> Actor >> Projectile >> U2Projectile >> ProjectileTakkra
Package: 
U2Weapons

projectileTakkra.uc -- spawned by the weaponTakkra Fire() Created by: Mark Poesch Created on: 1/31/2001 $Author: Aleiby $ $Date: 12/09/02 5:48p $ $Revision: 29 $

Properties

Property group 'projectileTakkra'

AccelerationRate

Type: float

used when accelerating toward the target

Default value: 500.0

AccelerationRatio

Type: float

used to decelerate when closing with the target

Default value: 4.0

ActivateSound

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_Activate'

AttackDelay

Type: float


Default value: 1.75

bTargetAcquired

Type: bool

set once TargetLocation has been set

ExplodeSound

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_Explode'

HeightAboveTarget

Type: float


Default value: 128.0

MaxAttackRadius

Type: float


Default value: 512.0

MovementDelay

Type: float


Default value: 0.8

MoveSound

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_Move'

RampUpSound

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_RampUp'

RampUpTime

Type: float


Default value: 0.5

Internal variables

bReturningToPlayer

Type: bool


EnergyGlow

Type: ParticleGenerator


Health

Type: int


Default value: 30

LastMovementTime

Type: float


MyPawnProxy

Type: PawnProxyTarget

tbd: use to help takkra with pathing?

NextAttackTime

Type: float


NextMovementTime

Type: float


NextWarnTime

Type: float


SelfDestructTimeout

Type: float

blow up if unable to find target after this time

Default value: 10.0

Target

Type: Pawn


TargetLocation

Type: Object.Vector


Default values

Property Value
AmbientSound Sound'U2WeaponsA.Takkra.T_Ambient'
bAllowClipping True
bCollideWorld False
bNoStaticMeshCollide True
CollisionHeight 16.0
CollisionRadius 16.0
Damage 10.0
DrawType DT_StaticMesh
LifeSpan 0.0
MaxSpeed 1000.0
MomentumTransfer 10000.0
MyDamageType Class'U2.DamageTypeTakkra'
Speed 500.0
StaticMesh StaticMesh'TakkraM.temp.Takkra_open'

Functions

Events

Destroyed

event Destroyed ()

Overrides: U2Projectile.Destroyed


HitWallEx

simulated event HitWallEx (Actor.CheckResult Hit)

Overrides: U2Projectile.HitWallEx


PostBeginPlay

event PostBeginPlay ()

Overrides: U2Projectile.PostBeginPlay


PreBeginPlay

event PreBeginPlay ()

Overrides: U2Projectile.PreBeginPlay


Replication

event Replication ()

Overrides: Projectile.Replication


Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions

AttackEffect

function AttackEffect (Object.Vector HitLocation)


AttackTarget

function AttackTarget ()


ComputeNewTargetLocation

function bool ComputeNewTargetLocation ()


FindTarget

function Pawn FindTarget ()


HandleTakkraReturn

function HandleTakkraReturn ()


InitPawnProxy

function InitPawnProxy ()


ProcessTouch

simulated function ProcessTouch (Actor Other, Object.Vector HitLocation)

Overrides: U2Projectile.ProcessTouch


RampDown

function RampDown ()


RampUp

function RampUp ()


SetTarget

function SetTarget (Pawn Other, optional bool bReturning)


TakeDamage

function TakeDamage (int Damage, Pawn EventInstigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: U2Projectile.TakeDamage