The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:UTCTFBase (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 03:16, 16 August 2009 by Wormbo (Talk | contribs) (added missing members)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> Actor >> NavigationPoint >> Objective >> UTGameObjective >> UTCTFBase
Package: 
UTGame
Direct subclass:
UTCTFBase_Content
This class in other games:
UDK

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

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

AmbientSound

Type: AudioComponent


Default value: AudioComponent'AmbientSoundComponent'

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>


GreedAmbientSound

Type: SoundCue


Default value: SoundCue'A_Gameplay.ONS.A_Gameplay_ONS_ConduitAmbient'

MIC_FlagBaseColor

Type: MaterialInstanceConstant


MidfieldHighSpeech

Type: array<SoundNodeWave>


MidfieldLowSpeech

Type: array<SoundNodeWave>


myFlag

Type: UTCTFFlag


NearLocationSpeech

Type: array<SoundNodeWave>


Default values

Property Value
Components[5] AudioComponent'AmbientSoundComponent'
MinimapIconScale 7.0

Subobjects

AmbientSoundComponent

Class: Engine.AudioComponent

Property Value
bShouldRemainActiveIfDropped True
bStopWhenOwnerDestroyed True

Arrow

Class: Engine.ArrowComponent

Inherits from: UTGameObjective.Arrow

No new values.

CollisionCylinder

Class: Engine.CylinderComponent

Inherits from: UTGameObjective.CollisionCylinder

No new values.

PathRenderer

Class: Engine.PathRenderingComponent

Inherits from: UTGameObjective.PathRenderer

No new values.

Sprite

Class: Engine.SpriteComponent

Inherits from: UTGameObjective.Sprite

No new values.

Sprite2

Class: Engine.SpriteComponent

Inherits from: UTGameObjective.Sprite2

No new values.

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