Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTVoice

Extends
UTLocalMessage
Modifiers
abstract

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

Core.Object
|   
+-- Engine.LocalMessage
   |   
   +-- UTGame.UTLocalMessage
      |   
      +-- UTGame.UTVoice

Direct Known Subclasses:

UTVoice_Akasha, UTVoice_Bishop, UTVoice_DefaultFemale, UTVoice_DefaultMale, UTVoice_Krall, UTVoice_Lauren, UTVoice_NecrisMale, UTVoice_Othello, UTVoice_Reaper, UTVoice_Robot

Constants Summary
ACKINDEXSTART=600
AREASECUREINDEXSTART=1700
ENCOURAGEMENTINDEXSTART=200
ENEMYFLAGCARRIERINDEXSTART=1500
ENEMYSTATUSINDEXSTART=1300
FLAGKILLINDEXSTART=400
FRIENDLYFIREINDEXSTART=700
GOTOURFLAGINDEXSTART=1900
GOTYOURBACKINDEXSTART=800
HOLDINGFLAGINDEXSTART=1600
INPOSITIONINDEXSTART=1200
KILLEDVEHICLEINDEXSTART=1400
LOCATIONUPDATEINDEXSTART=1100
MANDOWNINDEXSTART=300
NEEDOURFLAGINDEXSTART=900
NODECONSTRUCTEDINDEXSTART=2000
ORBKILLINDEXSTART=500
SNIPERINDEXINDEXSTART=1000
TAUNTINDEXSTART=0
UNDERATTACKINDEXSTART=1800
WEAPONTAUNTINDEXSTART=100

Variables Summary
Array<SoundNodeWave>AckSounds
Array<SoundNodeWave>AreaSecureSounds
Array<SoundNodeWave>EncouragementSounds
SoundNodeWaveEnemyFlagCarrierHereSound
SoundNodeWaveEnemyFlagCarrierHighSound
SoundNodeWaveEnemyFlagCarrierLowSound
SoundNodeWaveEnemyFlagCarrierSound
SoundNodeWaveEnemyOrbCarrierSound
Array<SoundNodeWave>FlagKillSounds
Array<SoundNodeWave>FriendlyFireSounds
SoundNodeWaveGotOurFlagSound
Array<SoundNodeWave>GotYourBackSounds
Array<SoundNodeWave>HaveFlagSounds
Array<SoundNodeWave>HaveOrbSounds
SoundNodeWaveIncomingSound
Array<SoundNodeWave>InPositionSounds
intLocationSpeechOffset
Array<SoundNodeWave>ManDownSounds
Array<SoundNodeWave>MatureTauntSounds
SoundNodeWaveMidfieldSound
Array<SoundNodeWave>NeedOurFlagSounds
Array<SoundNodeWave>OrbKillSounds
Array<SoundNodeWave>SniperSounds
array<TauntAnimSound>TauntAnimSoundMap
Array<SoundNodeWave>TauntSounds
Array<SoundNodeWave>UnderAttackSounds
SoundNodeWaveWeaponTauntSounds[20]
Inherited Variables from UTGame.UTLocalMessage
AnnouncementDelay, AnnouncementPriority, AnnouncementVolume, bShowPortrait, MessageArea
Inherited Variables from Engine.LocalMessage
bBeep, bCountInstances, bIsConsoleMessage, bIsPartiallyUnique, bIsSpecial, bIsUnique, DrawColor, FontSize, Lifetime, PosY

Structures Summary
TauntAnimSound
EmoteTag, TauntSoundIndex

Functions Summary
functionbool AddAnnouncement (UTAnnouncer Announcer, int MessageIndex, optional PlayerReplicationInfo PRI, optional Object OptionalObject))
functionbool AllowVoiceMessage (name MessageType, UTPlayerController PC, PlayerController Recipient))
functionSoundNodeWave AnnouncementSound (int MessageIndex, Object OptionalObject, PlayerController PC))
function ClientPlayTauntAnim (UTPlayerController PC, PlayerReplicationInfo Sender, Name EmoteTag, int Seed))
function ClientReceive (PlayerController P, optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject ))
functionSoundNodeWave EnemySound (PlayerController PC, object OptionalObject))
functionint GetAckMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
functionint GetEncouragementMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
functionint GetFlagKillMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType))
functionint GetFriendlyFireMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
functionint GetGotYourBackMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
functionint GetManDownMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType))
functionint GetMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType))
functionint GetNeedOurFlagMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
functionint GetOrbKillMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType))
functionstring GetString (optional int Switch, optional bool bPRI1HUD, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject ))
functionint GetTauntMessageIndex (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType))
function InitCombatUpdate (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
function InitSniperUpdate (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
function InitStatusUpdate (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
functionSoundNodeWave KilledVehicleSound (PlayerController PC, object OptionalObject))
functionSoundNodeWave NodeConstructedSound (PlayerController PC, object OptionalObject))
function SendEnemyFlagCarrierHereUpdate (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
function SendEnemyStatusUpdate (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
function SendInPositionMessage (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
function SendKilledVehicleMessage (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
function SendLocalizedMessage (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, int MessageIndex, optional object LocationObject))
functionbool SendLocationUpdate (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, UTGame G, Pawn StatusPawn, optional bool bDontSendMidfield))
function SendNodeConstructedMessage (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
function SendVoiceForTauntAnim (Controller Sender, Name EmoteTag, bool bOnlyTeam))
function SendVoiceMessage (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType))
function SetHoldingFlagUpdate (Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype))
functionbool ShouldBeRemoved (UTQueuedAnnouncement MyAnnouncement, class<UTLocalMessage> NewAnnouncementClass, int NewMessageIndex))
Inherited Functions from UTGame.UTLocalMessage
AddAnnouncement, AnnouncementLevel, AnnouncementSound, GetPos, KilledByVictoryMessage, ShouldBeRemoved
Inherited Functions from Engine.LocalMessage
ClientReceive, GetColor, GetConsoleColor, GetFontSize, GetLifeTime, GetPos, GetString, IsConsoleMessage, IsKeyObjectiveMessage, PartiallyDuplicates


Constants Detail

ACKINDEXSTART Source code

const ACKINDEXSTART = 600;

AREASECUREINDEXSTART Source code

const AREASECUREINDEXSTART = 1700;

ENCOURAGEMENTINDEXSTART Source code

const ENCOURAGEMENTINDEXSTART = 200;

ENEMYFLAGCARRIERINDEXSTART Source code

const ENEMYFLAGCARRIERINDEXSTART = 1500;

ENEMYSTATUSINDEXSTART Source code

const ENEMYSTATUSINDEXSTART = 1300;

FLAGKILLINDEXSTART Source code

const FLAGKILLINDEXSTART = 400;

FRIENDLYFIREINDEXSTART Source code

const FRIENDLYFIREINDEXSTART = 700;

GOTOURFLAGINDEXSTART Source code

const GOTOURFLAGINDEXSTART = 1900;

GOTYOURBACKINDEXSTART Source code

const GOTYOURBACKINDEXSTART = 800;

HOLDINGFLAGINDEXSTART Source code

const HOLDINGFLAGINDEXSTART = 1600;

INPOSITIONINDEXSTART Source code

const INPOSITIONINDEXSTART = 1200;

KILLEDVEHICLEINDEXSTART Source code

const KILLEDVEHICLEINDEXSTART = 1400;

LOCATIONUPDATEINDEXSTART Source code

const LOCATIONUPDATEINDEXSTART = 1100;

MANDOWNINDEXSTART Source code

const MANDOWNINDEXSTART = 300;

NEEDOURFLAGINDEXSTART Source code

const NEEDOURFLAGINDEXSTART = 900;

NODECONSTRUCTEDINDEXSTART Source code

const NODECONSTRUCTEDINDEXSTART = 2000;

ORBKILLINDEXSTART Source code

const ORBKILLINDEXSTART = 500;

SNIPERINDEXINDEXSTART Source code

const SNIPERINDEXINDEXSTART = 1000;

TAUNTINDEXSTART Source code

const TAUNTINDEXSTART = 0;
Index offsets for message groups

UNDERATTACKINDEXSTART Source code

const UNDERATTACKINDEXSTART = 1800;

WEAPONTAUNTINDEXSTART Source code

const WEAPONTAUNTINDEXSTART = 100;


Variables Detail

AckSounds Source code

var Array<SoundNodeWave> AckSounds;

AreaSecureSounds Source code

var Array<SoundNodeWave> AreaSecureSounds;

EncouragementSounds Source code

var Array<SoundNodeWave> EncouragementSounds;

EnemyFlagCarrierHereSound Source code

var SoundNodeWave EnemyFlagCarrierHereSound;

EnemyFlagCarrierHighSound Source code

var SoundNodeWave EnemyFlagCarrierHighSound;

EnemyFlagCarrierLowSound Source code

var SoundNodeWave EnemyFlagCarrierLowSound;

EnemyFlagCarrierSound Source code

var SoundNodeWave EnemyFlagCarrierSound;

EnemyOrbCarrierSound Source code

var SoundNodeWave EnemyOrbCarrierSound;

FlagKillSounds Source code

var Array<SoundNodeWave> FlagKillSounds;

FriendlyFireSounds Source code

var Array<SoundNodeWave> FriendlyFireSounds;

GotOurFlagSound Source code

var SoundNodeWave GotOurFlagSound;

GotYourBackSounds Source code

var Array<SoundNodeWave> GotYourBackSounds;

HaveFlagSounds Source code

var Array<SoundNodeWave> HaveFlagSounds;

HaveOrbSounds Source code

var Array<SoundNodeWave> HaveOrbSounds;

IncomingSound Source code

var SoundNodeWave IncomingSound;

InPositionSounds Source code

var Array<SoundNodeWave> InPositionSounds;

LocationSpeechOffset Source code

var int LocationSpeechOffset;
Offset into actor specific location speech array

ManDownSounds Source code

var Array<SoundNodeWave> ManDownSounds;

MatureTauntSounds Source code

var Array<SoundNodeWave> MatureTauntSounds;

MidfieldSound Source code

var SoundNodeWave MidfieldSound;

NeedOurFlagSounds Source code

var Array<SoundNodeWave> NeedOurFlagSounds;

OrbKillSounds Source code

var Array<SoundNodeWave> OrbKillSounds;

SniperSounds Source code

var Array<SoundNodeWave> SniperSounds;

TauntAnimSoundMap Source code

var array<TauntAnimSound> TauntAnimSoundMap;
Mapping from taunt animations to sounds to play.

TauntSounds Source code

var Array<SoundNodeWave> TauntSounds;

UnderAttackSounds Source code

var Array<SoundNodeWave> UnderAttackSounds;

WeaponTauntSounds[20] Source code

var SoundNodeWave WeaponTauntSounds[20];


Structures Detail

TauntAnimSound Source code

struct TauntAnimSound
{
var name EmoteTag;
var array<int> TauntSoundIndex;
};
The set of taunt sounds that we pick from when a specific taunt animation is played.
EmoteTag:
Matches the EmoteTag property of the EmoteInfo struct in FamilyInfo.
TauntSoundIndex:
Indexes into the TauntSounds array.


Functions Detail

AddAnnouncement Source code

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

AllowVoiceMessage Source code

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

AnnouncementSound Source code

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

ClientPlayTauntAnim Source code

static function ClientPlayTauntAnim ( UTPlayerController PC, PlayerReplicationInfo Sender, Name EmoteTag, int Seed) )
Used to play a voice taunt that matches a taunt animation.

ClientReceive Source code

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

EnemySound Source code

static function SoundNodeWave EnemySound ( PlayerController PC, object OptionalObject) )

GetAckMessageIndex Source code

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

GetEncouragementMessageIndex Source code

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

GetFlagKillMessageIndex Source code

static function int GetFlagKillMessageIndex ( Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType) )

GetFriendlyFireMessageIndex Source code

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

GetGotYourBackMessageIndex Source code

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

GetManDownMessageIndex Source code

static function int GetManDownMessageIndex ( Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType) )

GetMessageIndex Source code

static function int GetMessageIndex ( Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType) )

GetNeedOurFlagMessageIndex Source code

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

GetOrbKillMessageIndex Source code

static function int GetOrbKillMessageIndex ( Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType) )

GetString Source code

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

GetTauntMessageIndex Source code

static function int GetTauntMessageIndex ( Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType) )

InitCombatUpdate Source code

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

InitSniperUpdate Source code

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

InitStatusUpdate Source code

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

KilledVehicleSound Source code

static function SoundNodeWave KilledVehicleSound ( PlayerController PC, object OptionalObject) )

NodeConstructedSound Source code

static function SoundNodeWave NodeConstructedSound ( PlayerController PC, object OptionalObject) )

SendEnemyFlagCarrierHereUpdate Source code

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

SendEnemyStatusUpdate Source code

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

SendInPositionMessage Source code

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

SendKilledVehicleMessage Source code

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

SendLocalizedMessage Source code

static function SendLocalizedMessage ( Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, int MessageIndex, optional object LocationObject) )

SendLocationUpdate Source code

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

SendNodeConstructedMessage Source code

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

SendVoiceForTauntAnim Source code

static function SendVoiceForTauntAnim ( Controller Sender, Name EmoteTag, bool bOnlyTeam) )
Used to play a voice taunt that matches a taunt animation.

SendVoiceMessage Source code

static function SendVoiceMessage ( Controller Sender, PlayerReplicationInfo Recipient, Name Messagetype, class<DamageType> DamageType) )

SetHoldingFlagUpdate Source code

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

ShouldBeRemoved Source code

static function bool ShouldBeRemoved ( UTQueuedAnnouncement MyAnnouncement, class<UTLocalMessage> NewAnnouncementClass, int NewMessageIndex) )
Kill regular voice messages if doing banter, or if there are too many voice messages in front of them


Defaultproperties

defaultproperties
{
   AnnouncementPriority=-1
   bShowPortrait=True
   AnnouncementDelay=0.750000
   Name="Default__UTVoice"
   ObjectArchetype=UTLocalMessage'UTGame.Default__UTLocalMessage'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:01:01.542 - Created with UnCodeX