I don't need to test my programs. I have an error-correcting modem.

UE3:UTCTFBase (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> Actor >> NavigationPoint >> Objective >> UTGameObjective >> UTCTFBase
Package: 
UTGame
Direct subclass:
UTCTFBase_Content
This class in other games:
UT3


Properties

Property group 'UTCTFBase'

BaseExitTime

Type: float

how long it takes to get entirely away from the base

MidFieldHighZOffset

Type: float


Default value: 250.0

MidFieldLowZOffset

Type: float


Default value: -250.0

NearBaseRadius

Type: float


Default value: 4000.0

TakenSound

Type: AudioComponent

audio component that should play when the flag has been taken

Internal variables

CTFAnnouncerMessagesClass

Type: class<UTLocalMessage>


FlagBaseMaterial

Type: MaterialInstanceConstant

The MICs for the flag base. We need to store the MIC we are referencing and then the one we spawn at runtime.

FlagBaseMesh

Type: StaticMeshComponent

Reference to the actual mesh base so we can modify it with a different material *

FlagEmptyParticles

Type: ParticleSystemComponent

Particles to play while the flag is gone

FlagType

Type: class<UTCTFFlag>


MIC_FlagBaseColor

Type: MaterialInstanceConstant


MidfieldHighSpeech

Type: array<SoundNodeWave>


MidfieldLowSpeech

Type: array<SoundNodeWave>


myFlag

Type: UTCTFFlag


NearLocationSpeech

Type: array<SoundNodeWave>


Default values

Property Value
MinimapIconScale 7.0

Subobjects

Arrow

Class: Engine.ArrowComponent

Inherits from: UTGameObjective.Arrow

Property Value
ReplacementPrimitive None

CollisionCylinder

Class: Engine.CylinderComponent

Inherits from: UTGameObjective.CollisionCylinder

Property Value
ReplacementPrimitive None

PathRenderer

Class: Engine.PathRenderingComponent

Inherits from: UTGameObjective.PathRenderer

Property Value
ReplacementPrimitive None

Sprite

Class: Engine.SpriteComponent

Inherits from: UTGameObjective.Sprite

Property Value
ReplacementPrimitive None

Sprite2

Class: Engine.SpriteComponent

Inherits from: UTGameObjective.Sprite2

Property Value
ReplacementPrimitive None

Functions

Events

GetBestViewTarget

event Actor GetBestViewTarget ()

Overrides: UTGameObjective.GetBestViewTarget

Returns the actual viewtarget for this actor. Should be subclassed

IsActive

simulated event bool IsActive ()

Overrides: UTGameObjective.IsActive


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: UTGameObjective.PostBeginPlay


ReplicatedEvent

simulated event ReplicatedEvent (name VarName)

Overrides: UTGameObjective.ReplicatedEvent


Other instance functions

GetFlag

function UTCarriedObject GetFlag ()

Overrides: UTGameObjective.GetFlag

returns the UTCarriedObject (if any) associated with this objective

GetLocationMessageIndex

simulated function int GetLocationMessageIndex (UTBot B, Pawn StatusPawn)

Overrides: UTGameObjective.GetLocationMessageIndex


GetLocationSpeechFor

simulated function SoundNodeWave GetLocationSpeechFor (PlayerController PC, int LocationSpeechOffset, int MessageIndex)

Overrides: UTGameObjective.GetLocationSpeechFor


ObjectiveChanged

function ObjectiveChanged ()

Overrides: UTGameObjective.ObjectiveChanged

Handle flag events.

SetAlarm

simulated function SetAlarm (bool bNowOn)

Overrides: UTGameObjective.SetAlarm

turns on or off the alarm sound played when under attack