My program doesn't have bugs. It just develops random features.

UE2:TeamVoicePack (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> VoicePack >> TeamVoicePack

Contents

Package: 
UnrealGame
Direct subclass:
XVoicePack
This class in other games:
UT2003

TeamVoicePack.

Constants

MAXACK

Value: 16


MAXFIRE

Value: 16


MAXTAUNT

Value: 48


MAXORDER

Value: 16


MAXOTHER

Value: 48


MAXPHRASE

Value: 8


Properties

Property group 'TeamVoicePack'

AckAbbrev

Type: string

Array size: 16 (MAXACK)

Modifiers: localized


AckAnim

Type: name

Array size: 16 (MAXACK)


AckSound

Type: Sound

Array size: 16 (MAXACK)

acknowledgement sounds

AckString

Type: string

Array size: 16 (MAXACK)

Modifiers: localized


DisplayMessage

Type: byte

Array size: 8 (MAXPHRASE)


DisplayOtherMessage

Type: byte

Array size: 48 (MAXOTHER)


FFireAbbrev

Type: string

Array size: 16 (MAXFIRE)

Modifiers: localized


FFireAnim

Type: name

Array size: 16 (MAXFIRE)


FFireSound

Type: Sound

Array size: 16 (MAXFIRE)


FFireString

Type: string

Array size: 16 (MAXFIRE)

Modifiers: localized


HumanOnlyTaunt

Type: byte

Array size: 48 (MAXTAUNT)

Whether this taunt should not be used by bots

MatureTaunt

Type: byte

Array size: 48 (MAXTAUNT)


NameSound

Type: Sound

Array size: 4

leader names

numAcks

Type: int


numFFires

Type: int


numTaunts

Type: int


OrderAbbrev

Type: string

Array size: 16 (MAXORDER)

Modifiers: localized


OrderAnim

Type: name

Array size: 16 (MAXORDER)


OrderSound

Type: Sound

Array size: 16 (MAXORDER)


OrderString

Type: string

Array size: 16 (MAXORDER)

Modifiers: localized


OtherAbbrev

Type: string

Array size: 48 (MAXOTHER)

Modifiers: localized


OtherAnim

Type: name

Array size: 48 (MAXOTHER)


OtherDelayed

Type: byte

Array size: 48 (MAXOTHER)


OtherMesgGroup

Type: name

Array size: 48 (MAXOTHER)

Used to only show relevant comments in menu

OtherSound

Type: Sound

Array size: 48 (MAXOTHER)


OtherString

Type: string

Array size: 48 (MAXOTHER)

Modifiers: localized


TauntAbbrev

Type: string

Array size: 48 (MAXTAUNT)

Modifiers: localized


TauntAnim

Type: name

Array size: 48 (MAXTAUNT)


TauntSound

Type: Sound

Array size: 48 (MAXTAUNT)


TauntString

Type: string

Array size: 48 (MAXTAUNT)

Modifiers: localized


Internal variables

bDisplayNextMessage

Type: bool


bDisplayPortrait

Type: bool


bForceMessageSound

Type: bool


bShowMessageText

Type: bool

Modifiers: config


Default value: True

CommaText

Type: string


Default value: ", "

DeathPhrases

Type: Sound

Array size: 8 (MAXPHRASE)

only spoken as alternative to death scream, not available from menus

DelayedSender

Type: PlayerReplicationInfo


DisplayString

Type: byte


HiddenPhrases

Type: array<Sound>


HiddenString

Type: array<string>


HumanOnlyDeathPhrase

Type: byte

Array size: 8 (MAXPHRASE)


LeaderSign

Type: string

Array size: 4


Default value, index 0: "Red Leader"

Default value, index 1: "Blue Leader"

Default value, index 2: "Green Leader"

Default value, index 3: "Gold Leader"

MessageAnim

Type: name


MessageString

Type: string


NumDeathPhrases

Type: int


Phrase

Type: Sound

Array size: 8 (MAXPHRASE)


PhraseNum

Type: int


PhraseString

Type: string

Array size: 8 (MAXPHRASE)


Pitch

Type: float


Default value: 1.0

PortraitPRI

Type: PlayerReplicationInfo


Enums

EVoiceGender

VG_None 
VG_Male 
VG_Female 

Functions

Static functions

ClientParseChatPercVar

static function string ClientParseChatPercVar (PlayerReplicationInfo PRI, string Cmd)


ClientParseMessageString

static function string ClientParseMessageString (PlayerReplicationInfo PRI, string Message)


GetAckString

static function string GetAckString (int i)


GetAllAcks

static function GetAllAcks (out array<stringAckArray)


GetAllFFire

static function GetAllFFire (out array<stringFFireArray)


GetAllOrder

static function GetAllOrder (out array<stringOrderArray)


GetAllOther

static function GetAllOther (out array<stringOtherArray)


GetAllTaunt

static function GetAllTaunt (out array<stringTauntArray, optional bool bNoMature)


GetFFireString

static function string GetFFireString (int i)


GetOrderString

static function string GetOrderString (int i, class<GameInfoGameClass)


GetOtherString

static function string GetOtherString (int i)


GetTauntString

static function string GetTauntString (int i)


OrderToIndex

static function int OrderToIndex (int Order, class<GameInfoGameClass)


PickCustomTauntFor

static function int PickCustomTauntFor (Controller C, bool bNoMature, bool bNoHumanOnly, int Start)


PickRandomTauntFor

static function int PickRandomTauntFor (Controller C, bool bNoMature, bool bNoHumanOnly)

Overrides: VoicePack.PickRandomTauntFor


PlayDeathPhrase

static function bool PlayDeathPhrase (Pawn P)


PlayerSpeech

static function PlayerSpeech (name Type, int Index, string Callsign, Actor PackOwner)

Overrides: VoicePack.PlayerSpeech


VoiceMatchesGender

final simulated static function bool VoiceMatchesGender (EVoiceGender GenderType, string PlayerGender)


Events

Timer

event Timer ()

Overrides: Actor.Timer


Other instance functions

BotInitialize

function BotInitialize (PlayerReplicationInfo Sender, PlayerReplicationInfo Recipient, name messagetype, byte messageIndex)


ClientInitialize

function ClientInitialize (PlayerReplicationInfo Sender, PlayerReplicationInfo Recipient, name messagetype, byte messageIndex)

Overrides: VoicePack.ClientInitialize


GetCallSign

function string GetCallSign (PlayerReplicationInfo P)


SetAckMessage

function SetAckMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)


SetClientAckMessage

function SetClientAckMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)


SetClientFFireMessage

function SetClientFFireMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)


SetClientHiddenMessage

function SetClientHiddenMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)


SetClientOrderMessage

function SetClientOrderMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)


SetClientOtherMessage

function SetClientOtherMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)


SetClientTauntMessage

function SetClientTauntMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)


SetFFireMessage

function SetFFireMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)


SetOrderMessage

function SetOrderMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)


SetOtherMessage

function SetOtherMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)


SetTauntMessage

function SetTauntMessage (int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound)