I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Difference between revisions of "UE3:UTCTFBase (UT3)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(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:
UDK

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

Properties[edit]

Property group 'UTCTFBase'[edit]

BaseExitTime[edit]

Type: float

how long it takes to get entirely away from the base

MidFieldHighZOffset[edit]

Type: float


Default value: 250.0

MidFieldLowZOffset[edit]

Type: float


Default value: -250.0

NearBaseRadius[edit]

Type: float


Default value: 4000.0

TakenSound[edit]

Type: AudioComponent

audio component that should play when the flag has been taken

Internal variables[edit]

AmbientSound[edit]

Type: AudioComponent


Default value: AudioComponent'AmbientSoundComponent'

CTFAnnouncerMessagesClass[edit]

Type: class<UTLocalMessage>


FlagBaseMaterial[edit]

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

Type: StaticMeshComponent

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

FlagEmptyParticles[edit]

Type: ParticleSystemComponent

Particles to play while the flag is gone

FlagType[edit]

Type: class<UTCTFFlag>


GreedAmbientSound[edit]

Type: SoundCue


Default value: SoundCue'A_Gameplay.ONS.A_Gameplay_ONS_ConduitAmbient'

MIC_FlagBaseColor[edit]

Type: MaterialInstanceConstant


MidfieldHighSpeech[edit]

Type: array<SoundNodeWave>


MidfieldLowSpeech[edit]

Type: array<SoundNodeWave>


myFlag[edit]

Type: UTCTFFlag


NearLocationSpeech[edit]

Type: array<SoundNodeWave>


Default values[edit]

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

Subobjects[edit]

AmbientSoundComponent[edit]

Class: Engine.AudioComponent

Property Value
bShouldRemainActiveIfDropped True
bStopWhenOwnerDestroyed True

Arrow[edit]

Class: Engine.ArrowComponent

Inherits from: UTGameObjective.Arrow

No new values.

CollisionCylinder[edit]

Class: Engine.CylinderComponent

Inherits from: UTGameObjective.CollisionCylinder

No new values.

PathRenderer[edit]

Class: Engine.PathRenderingComponent

Inherits from: UTGameObjective.PathRenderer

No new values.

Sprite[edit]

Class: Engine.SpriteComponent

Inherits from: UTGameObjective.Sprite

No new values.

Sprite2[edit]

Class: Engine.SpriteComponent

Inherits from: UTGameObjective.Sprite2

No new values.

Functions[edit]

Events[edit]

GetBestViewTarget[edit]

event Actor GetBestViewTarget ()

Overrides: UTGameObjective.GetBestViewTarget

Returns the actual viewtarget for this actor. Should be subclassed

IsActive[edit]

simulated event bool IsActive ()

Overrides: UTGameObjective.IsActive


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: UTGameObjective.PostBeginPlay


ReplicatedEvent[edit]

simulated event ReplicatedEvent (name VarName)

Overrides: UTGameObjective.ReplicatedEvent


Other instance functions[edit]

GetFlag[edit]

function UTCarriedObject GetFlag ()

Overrides: UTGameObjective.GetFlag

returns the UTCarriedObject (if any) associated with this objective

GetLocationMessageIndex[edit]

simulated function int GetLocationMessageIndex (UTBot B, Pawn StatusPawn)

Overrides: UTGameObjective.GetLocationMessageIndex


GetLocationSpeechFor[edit]

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

Overrides: UTGameObjective.GetLocationSpeechFor


ObjectiveChanged[edit]

function ObjectiveChanged ()

Overrides: UTGameObjective.ObjectiveChanged

Handle flag events.

SetAlarm[edit]

simulated function SetAlarm (bool bNowOn)

Overrides: UTGameObjective.SetAlarm

turns on or off the alarm sound played when under attack