UE3:UTCTFBase (UT3): Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
Auto-generated page
 
m added missing members
 
Line 9: Line 9:
}}
}}
{{autogenerated}}
{{autogenerated}}
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.


==Properties==
==Properties==
Line 45: Line 45:


===Internal variables===
===Internal variables===
====AmbientSound====
'''Type:''' {{cl|AudioComponent}}
<!-- enter variable description -->
'''Default value:''' {{cl|AudioComponent}}'{{tl|AmbientSoundComponent}}'
====CTFAnnouncerMessagesClass====
====CTFAnnouncerMessagesClass====
'''Type:''' [[class]]<{{cl|UTLocalMessage}}>
'''Type:''' [[class]]<{{cl|UTLocalMessage}}>
Line 70: Line 77:


<!-- enter variable description -->
<!-- enter variable description -->
====GreedAmbientSound====
'''Type:''' {{cl|SoundCue}}
<!-- enter variable description -->
'''Default value:''' {{cl|SoundCue}}'A_Gameplay.ONS.A_Gameplay_ONS_ConduitAmbient'


====MIC_FlagBaseColor====
====MIC_FlagBaseColor====
Line 100: Line 114:
! Property
! Property
! Value
! Value
|-
| {{tl|Components||Actor internal variables}}[5]
| {{cl|AudioComponent}}'{{tl|AmbientSoundComponent}}'
|-
|-
| {{tl|MinimapIconScale||UTGameObjective internal variables}}
| {{tl|MinimapIconScale||UTGameObjective internal variables}}
Line 106: Line 123:


===Subobjects===
===Subobjects===
====AmbientSoundComponent====
'''Class:''' {{cl|AudioComponent|Engine}}
{| class="list defaults"
! Property
! Value
|-
| bShouldRemainActiveIfDropped
| True
|-
| bStopWhenOwnerDestroyed
| True
|}
====Arrow====
====Arrow====
'''Class:''' {{cl|ArrowComponent|Engine}}
'''Class:''' {{cl|ArrowComponent|Engine}}

Latest revision as of 03:16, 16 August 2009

UT3 Object >> Actor >> NavigationPoint >> Objective >> UTGameObjective >> UTCTFBase
Package:
UTGame
Direct subclass:
UTCTFBase_Content
This class in other games:

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