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

UE3:UTVoice (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> LocalMessage >> UTLocalMessage >> UTVoice

Contents

Package: 
UTGame
Direct subclasses:
UTVoice_Reaper, UTVoice_DefaultFemale, UTVoice_NecrisMale, UTVoice_Robot, UTVoice_Akasha, UTVoice_Bishop, UTVoice_DefaultMale, UTVoice_Krall, UTVoice_Lauren, UTVoice_Othello
This class in other games:
UDK

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

Constants[edit]

TAUNTINDEXSTART[edit]

Value: 0

Index offsets for message groups

WEAPONTAUNTINDEXSTART[edit]

Value: 100


ENCOURAGEMENTINDEXSTART[edit]

Value: 200


MANDOWNINDEXSTART[edit]

Value: 300


FLAGKILLINDEXSTART[edit]

Value: 400


ORBKILLINDEXSTART[edit]

Value: 500


ACKINDEXSTART[edit]

Value: 600


FRIENDLYFIREINDEXSTART[edit]

Value: 700


GOTYOURBACKINDEXSTART[edit]

Value: 800


NEEDOURFLAGINDEXSTART[edit]

Value: 900


SNIPERINDEXINDEXSTART[edit]

Value: 1000


LOCATIONUPDATEINDEXSTART[edit]

Value: 1100


INPOSITIONINDEXSTART[edit]

Value: 1200


ENEMYSTATUSINDEXSTART[edit]

Value: 1300


KILLEDVEHICLEINDEXSTART[edit]

Value: 1400


ENEMYFLAGCARRIERINDEXSTART[edit]

Value: 1500


HOLDINGFLAGINDEXSTART[edit]

Value: 1600


AREASECUREINDEXSTART[edit]

Value: 1700


UNDERATTACKINDEXSTART[edit]

Value: 1800


GOTOURFLAGINDEXSTART[edit]

Value: 1900


NODECONSTRUCTEDINDEXSTART[edit]

Value: 2000


Properties[edit]

AckSounds[edit]

Type: array<SoundNodeWave>


AreaSecureSounds[edit]

Type: array<SoundNodeWave>


EncouragementSounds[edit]

Type: array<SoundNodeWave>


EnemyFlagCarrierHereSound[edit]

Type: SoundNodeWave


EnemyFlagCarrierHighSound[edit]

Type: SoundNodeWave


EnemyFlagCarrierLowSound[edit]

Type: SoundNodeWave


EnemyFlagCarrierSound[edit]

Type: SoundNodeWave


EnemyOrbCarrierSound[edit]

Type: SoundNodeWave


FlagKillSounds[edit]

Type: array<SoundNodeWave>


FriendlyFireSounds[edit]

Type: array<SoundNodeWave>


GotOurFlagSound[edit]

Type: SoundNodeWave


GotYourBackSounds[edit]

Type: array<SoundNodeWave>


HaveFlagSounds[edit]

Type: array<SoundNodeWave>


HaveOrbSounds[edit]

Type: array<SoundNodeWave>


IncomingSound[edit]

Type: SoundNodeWave


InPositionSounds[edit]

Type: array<SoundNodeWave>


LocationSpeechOffset[edit]

Type: int

Offset into actor specific location speech array

ManDownSounds[edit]

Type: array<SoundNodeWave>


MatureTauntSounds[edit]

Type: array<SoundNodeWave>


MidfieldSound[edit]

Type: SoundNodeWave


NeedOurFlagSounds[edit]

Type: array<SoundNodeWave>


OrbKillSounds[edit]

Type: array<SoundNodeWave>


SniperSounds[edit]

Type: array<SoundNodeWave>


TauntAnimSoundMap[edit]

Type: array<TauntAnimSound>

Mapping from taunt animations to sounds to play.

TauntSounds[edit]

Type: array<SoundNodeWave>


UnderAttackSounds[edit]

Type: array<SoundNodeWave>


WeaponTauntSounds[edit]

Type: SoundNodeWave

Array size: 20


Default values[edit]

Property Value
AnnouncementDelay 0.75
AnnouncementPriority -1
bShowPortrait True

Structs[edit]

TauntAnimSound[edit]

The set of taunt sounds that we pick from when a specific taunt animation is played.

name EmoteTag 
Matches the EmoteTag property of the EmoteInfo struct in FamilyInfo.
array<int> TauntSoundIndex 
Indexes into the TauntSounds array.

Static functions[edit]

AddAnnouncement[edit]

static function bool AddAnnouncement (UTAnnouncer Announcer, int MessageIndex, optional PlayerReplicationInfo PRI, optional Object OptionalObject)

Overrides: UTLocalMessage.AddAnnouncement


AllowVoiceMessage[edit]

static function bool AllowVoiceMessage (name MessageType, UTPlayerController PC, PlayerController Recipient)


AnnouncementSound[edit]

static function SoundNodeWave AnnouncementSound (int MessageIndex, Object OptionalObject, PlayerController PC)

Overrides: UTLocalMessage.AnnouncementSound


ClientPlayTauntAnim[edit]

static function ClientPlayTauntAnim (UTPlayerController PC, PlayerReplicationInfo Sender, name EmoteTag, int Seed)

Used to play a voice taunt that matches a taunt animation.

ClientReceive[edit]

static simulated function ClientReceive (PlayerController P, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)

Overrides: LocalMessage.ClientReceive


EnemySound[edit]

static function SoundNodeWave EnemySound (PlayerController PC, Object OptionalObject)


GetAckMessageIndex[edit]

static function int GetAckMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


GetEncouragementMessageIndex[edit]

static function int GetEncouragementMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


GetFlagKillMessageIndex[edit]

static function int GetFlagKillMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype, class<DamageTypeDamageType)


GetFriendlyFireMessageIndex[edit]

static function int GetFriendlyFireMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


GetGotYourBackMessageIndex[edit]

static function int GetGotYourBackMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


GetManDownMessageIndex[edit]

static function int GetManDownMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype, class<DamageTypeDamageType)


GetMessageIndex[edit]

static function int GetMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype, class<DamageTypeDamageType)


GetNeedOurFlagMessageIndex[edit]

static function int GetNeedOurFlagMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


GetOrbKillMessageIndex[edit]

static function int GetOrbKillMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype, class<DamageTypeDamageType)


GetString[edit]

static function string GetString (optional int Switch, optional bool bPRI1HUD, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject)

Overrides: LocalMessage.GetString


GetTauntMessageIndex[edit]

static function int GetTauntMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype, class<DamageTypeDamageType)


InitCombatUpdate[edit]

static function InitCombatUpdate (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


InitSniperUpdate[edit]

static function InitSniperUpdate (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


InitStatusUpdate[edit]

static function InitStatusUpdate (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


KilledVehicleSound[edit]

static function SoundNodeWave KilledVehicleSound (PlayerController PC, Object OptionalObject)


NodeConstructedSound[edit]

static function SoundNodeWave NodeConstructedSound (PlayerController PC, Object OptionalObject)


SendEnemyFlagCarrierHereUpdate[edit]

static function SendEnemyFlagCarrierHereUpdate (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


SendEnemyStatusUpdate[edit]

static function SendEnemyStatusUpdate (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


SendInPositionMessage[edit]

static function SendInPositionMessage (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


SendKilledVehicleMessage[edit]

static function SendKilledVehicleMessage (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


SendLocalizedMessage[edit]

static function SendLocalizedMessage (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype, int MessageIndex, optional Object LocationObject)


SendLocationUpdate[edit]

static function bool SendLocationUpdate (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype, UTGame G, Pawn StatusPawn, optional bool bDontSendMidfield)


SendNodeConstructedMessage[edit]

static function SendNodeConstructedMessage (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


SendVoiceForTauntAnim[edit]

static function SendVoiceForTauntAnim (Controller Sender, name EmoteTag, bool bOnlyTeam)

Used to play a voice taunt that matches a taunt animation.

SendVoiceMessage[edit]

static function SendVoiceMessage (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype, class<DamageTypeDamageType)


SetHoldingFlagUpdate[edit]

static function SetHoldingFlagUpdate (Controller Sender, PlayerReplicationInfo Recipient, name Messagetype)


ShouldBeRemoved[edit]

static function bool ShouldBeRemoved (UTQueuedAnnouncement MyAnnouncement, class<UTLocalMessageNewAnnouncementClass, int NewMessageIndex)

Overrides: UTLocalMessage.ShouldBeRemoved

Kill regular voice messages if doing banter, or if there are too many voice messages in front of them