Always snap to grid

UE2:ProjectileTakkra (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
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[edit]

Property group 'projectileTakkra'[edit]

AccelerationRate[edit]

Type: float

used when accelerating toward the target

Default value: 500.0

AccelerationRatio[edit]

Type: float

used to decelerate when closing with the target

Default value: 4.0

ActivateSound[edit]

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_Activate'

AttackDelay[edit]

Type: float


Default value: 1.75

bTargetAcquired[edit]

Type: bool

set once TargetLocation has been set

ExplodeSound[edit]

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_Explode'

HeightAboveTarget[edit]

Type: float


Default value: 128.0

MaxAttackRadius[edit]

Type: float


Default value: 512.0

MovementDelay[edit]

Type: float


Default value: 0.8

MoveSound[edit]

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_Move'

RampUpSound[edit]

Type: Sound


Default value: Sound'U2WeaponsA.Takkra.T_RampUp'

RampUpTime[edit]

Type: float


Default value: 0.5

Internal variables[edit]

bReturningToPlayer[edit]

Type: bool


EnergyGlow[edit]

Type: ParticleGenerator


Health[edit]

Type: int


Default value: 30

LastMovementTime[edit]

Type: float


MyPawnProxy[edit]

Type: PawnProxyTarget

tbd: use to help takkra with pathing?

NextAttackTime[edit]

Type: float


NextMovementTime[edit]

Type: float


NextWarnTime[edit]

Type: float


SelfDestructTimeout[edit]

Type: float

blow up if unable to find target after this time

Default value: 10.0

Target[edit]

Type: Pawn


TargetLocation[edit]

Type: Object.Vector


Default values[edit]

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[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: U2Projectile.Destroyed


HitWallEx[edit]

simulated event HitWallEx (Actor.CheckResult Hit)

Overrides: U2Projectile.HitWallEx


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: U2Projectile.PostBeginPlay


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: U2Projectile.PreBeginPlay


Replication[edit]

event Replication ()

Overrides: Projectile.Replication


Tick[edit]

event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions[edit]

AttackEffect[edit]

function AttackEffect (Object.Vector HitLocation)


AttackTarget[edit]

function AttackTarget ()


ComputeNewTargetLocation[edit]

function bool ComputeNewTargetLocation ()


FindTarget[edit]

function Pawn FindTarget ()


HandleTakkraReturn[edit]

function HandleTakkraReturn ()


InitPawnProxy[edit]

function InitPawnProxy ()


ProcessTouch[edit]

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

Overrides: U2Projectile.ProcessTouch


RampDown[edit]

function RampDown ()


RampUp[edit]

function RampUp ()


SetTarget[edit]

function SetTarget (Pawn Other, optional bool bReturning)


TakeDamage[edit]

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

Overrides: U2Projectile.TakeDamage