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

KFMod.KFVoicePack

Extends
xVoicePack

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- Engine.VoicePack
         |   
         +-- UnrealGame.TeamVoicePack
            |   
            +-- XGame.xVoicePack
               |   
               +-- KFMod.KFVoicePack

Direct Known Subclasses:

KFVoicePackFemale, KFVoicePackMumble, KFVoicePackRobot, KFVoicePackTwo

Constants Summary
Inherited Contants from UnrealGame.TeamVoicePack
MAXACK, MAXFIRE, MAXORDER, MAXOTHER, MAXPHRASE, MAXTAUNT

Variables Summary
boolbIsFromDifferentTeam
boolbTraderMessage
boolbUseLocationalVoice
nameCurrentMessageType
PawnPawnSender
vectorSenderLoc
soundTraderRadioBeep
floatunitShoutDistance
floatunitWhisperDistance
KFVoicePack
stringAcknowledgmentAbbrev[48]
nameAcknowledgmentAnim[48]
SoundGroupAcknowledgmentSound[20]
stringAcknowledgmentString[48]
stringAlertAbbrev[48]
nameAlertAnim[48]
SoundGroupAlertSound[20]
stringAlertString[48]
SoundGroupAutomaticSound[25]
stringDirectionAbbrev[48]
nameDirectionAnim[48]
SoundGroupDirectionSound[20]
stringDirectionString[48]
stringInsultAbbrev[48]
nameInsultAnim[48]
SoundGroupInsultSound[20]
stringInsultString[48]
intNumAcknowledgments
intNumAlerts
intNumDirections
intNumInsults
intNumSupports
floatShoutRadius
byteShoutVolume
stringSupportAbbrev[48]
nameSupportAnim[48]
SoundGroupSupportSound[20]
stringSupportString[48]
SoundGroupTraderSound[12]
stringTraderString[12]
floatWhisperRadius
byteWhisperVolume
Inherited Variables from XGame.xVoicePack
VoiceGender
Inherited Variables from UnrealGame.TeamVoicePack
AckAbbrev[MAXACK], AckAnim[MAXACK], AckSound[MAXACK], AckString[MAXACK], bDisplayNextMessage, bDisplayPortrait, bForceMessageSound, bShowMessageText, CommaText, DeathPhrases[MAXPHRASE], DelayedSender, DisplayMessage[MAXPHRASE], DisplayOtherMessage[MAXOTHER], DisplayString, FFireAbbrev[MAXFIRE], FFireAnim[MAXFIRE], FFireSound[MAXFIRE], FFireString[MAXFIRE], HiddenPhrases, HiddenString, HumanOnlyDeathPhrase[MAXPHRASE], HumanOnlyTaunt[MAXTAUNT], LeaderSign[4], MatureTaunt[MAXTAUNT], MessageAnim, MessageString, NameSound[4], numAcks, NumDeathPhrases, numFFires, numTaunts, OrderAbbrev[MAXORDER], OrderAnim[MAXORDER], OrderSound[MAXORDER], OrderString[MAXORDER], OtherAbbrev[MAXOTHER], OtherAnim[MAXOTHER], OtherDelayed[MAXOTHER], OtherMesgGroup[MAXOTHER], OtherSound[MAXOTHER], OtherString[MAXOTHER], PhraseNum, PhraseString[MAXPHRASE], Phrase[MAXPHRASE], Pitch, PortraitPRI, TauntAbbrev[MAXTAUNT], TauntAnim[MAXTAUNT], TauntSound[MAXTAUNT], TauntString[MAXTAUNT]

Enumerations Summary
Inherited Enumerations from UnrealGame.TeamVoicePack
EVoiceGender

Functions Summary
function ClientInitialize (PlayerReplicationInfo Sender, PlayerReplicationInfo Recipient, name MessageType, byte MessageIndex))
function ClientInitializeLocational (PlayerReplicationInfo Sender, PlayerReplicationInfo Recipient, name MessageType, byte MessageIndex, optional Pawn SoundSender, optional vector SenderLocation))
function GetAllAcknowledgments (out array<string> CmdArray))
function GetAllAlerts (out array<string> CmdArray))
function GetAllDirections (out array<string> CmdArray))
function GetAllInsults (out array<string> CmdArray))
function GetAllSupports (out array<string> CmdArray))
functionstring getClientParsedMessage ()))
functionbyte GetMessageIndex (name PhraseName))
function PlayerSpeech (name Type, int Index, string Callsign, Actor PackOwner))
function SetClientAcknowledgmentMessage (int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound))
function SetClientAlertMessage (int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound))
function SetClientAutomaticMessage (int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound))
function SetClientDirectionMessage (int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound))
function SetClientInsultMessage (int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound))
function SetClientSupportMessage (int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound))
function SetClientTraderMessage (int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound))
function SetMessageByType (name MessageType, int MessageIndex, PlayerReplicationInfo Recipient))
function Timer ()))
Inherited Functions from XGame.xVoicePack
GetMessageIndex
Inherited Functions from UnrealGame.TeamVoicePack
BotInitialize, ClientInitialize, ClientParseChatPercVar, ClientParseMessageString, GetAckString, GetAllAcks, GetAllFFire, GetAllOrder, GetAllOther, GetAllTaunt, GetCallSign, GetFFireString, GetOrderString, GetOtherString, GetTauntString, OrderToIndex, PickCustomTauntFor, PickRandomTauntFor, PlayDeathPhrase, PlayerSpeech, SetAckMessage, SetClientAckMessage, SetClientFFireMessage, SetClientHiddenMessage, SetClientOrderMessage, SetClientOtherMessage, SetClientTauntMessage, SetFFireMessage, SetOrderMessage, SetOtherMessage, SetTauntMessage, Timer, VoiceMatchesGender


Variables Detail

bIsFromDifferentTeam Source code

var bool bIsFromDifferentTeam;

bTraderMessage Source code

var bool bTraderMessage;

bUseLocationalVoice Source code

var bool bUseLocationalVoice;

CurrentMessageType Source code

var name CurrentMessageType;

PawnSender Source code

var Pawn PawnSender;

SenderLoc Source code

var vector SenderLoc;

TraderRadioBeep Source code

var sound TraderRadioBeep;

unitShoutDistance Source code

var float unitShoutDistance;

unitWhisperDistance Source code

var float unitWhisperDistance;

KFVoicePack

AcknowledgmentAbbrev[48] Source code

var(KFVoicePack) localized string AcknowledgmentAbbrev[48];

AcknowledgmentAnim[48] Source code

var(KFVoicePack) name AcknowledgmentAnim[48];

AcknowledgmentSound[20] Source code

var(KFVoicePack) SoundGroup AcknowledgmentSound[20];

AcknowledgmentString[48] Source code

var(KFVoicePack) localized string AcknowledgmentString[48];

AlertAbbrev[48] Source code

var(KFVoicePack) localized string AlertAbbrev[48];

AlertAnim[48] Source code

var(KFVoicePack) name AlertAnim[48];

AlertSound[20] Source code

var(KFVoicePack) SoundGroup AlertSound[20];

AlertString[48] Source code

var(KFVoicePack) localized string AlertString[48];

AutomaticSound[25] Source code

var(KFVoicePack) SoundGroup AutomaticSound[25];

DirectionAbbrev[48] Source code

var(KFVoicePack) localized string DirectionAbbrev[48];

DirectionAnim[48] Source code

var(KFVoicePack) name DirectionAnim[48];

DirectionSound[20] Source code

var(KFVoicePack) SoundGroup DirectionSound[20];

DirectionString[48] Source code

var(KFVoicePack) localized string DirectionString[48];

InsultAbbrev[48] Source code

var(KFVoicePack) localized string InsultAbbrev[48];

InsultAnim[48] Source code

var(KFVoicePack) name InsultAnim[48];

InsultSound[20] Source code

var(KFVoicePack) SoundGroup InsultSound[20];

InsultString[48] Source code

var(KFVoicePack) localized string InsultString[48];

NumAcknowledgments Source code

var(KFVoicePack) int NumAcknowledgments;

NumAlerts Source code

var(KFVoicePack) int NumAlerts;

NumDirections Source code

var(KFVoicePack) int NumDirections;

NumInsults Source code

var(KFVoicePack) int NumInsults;

NumSupports Source code

var(KFVoicePack) int NumSupports;

ShoutRadius Source code

var(KFVoicePack) float ShoutRadius;

ShoutVolume Source code

var(KFVoicePack) byte ShoutVolume;

SupportAbbrev[48] Source code

var(KFVoicePack) localized string SupportAbbrev[48];

SupportAnim[48] Source code

var(KFVoicePack) name SupportAnim[48];

SupportSound[20] Source code

var(KFVoicePack) SoundGroup SupportSound[20];

SupportString[48] Source code

var(KFVoicePack) localized string SupportString[48];

TraderSound[12] Source code

var(KFVoicePack) SoundGroup TraderSound[12];

TraderString[12] Source code

var(KFVoicePack) localized string TraderString[12];

WhisperRadius Source code

var(KFVoicePack) float WhisperRadius;

WhisperVolume Source code

var(KFVoicePack) byte WhisperVolume;


Functions Detail

ClientInitialize Source code

function ClientInitialize ( PlayerReplicationInfo Sender, PlayerReplicationInfo Recipient, name MessageType, byte MessageIndex) )

ClientInitializeLocational Source code

function ClientInitializeLocational ( PlayerReplicationInfo Sender, PlayerReplicationInfo Recipient, name MessageType, byte MessageIndex, optional Pawn SoundSender, optional vector SenderLocation) )

GetAllAcknowledgments Source code

static function GetAllAcknowledgments ( out array<string> CmdArray) )

GetAllAlerts Source code

static function GetAllAlerts ( out array<string> CmdArray) )

GetAllDirections Source code

static function GetAllDirections ( out array<string> CmdArray) )

GetAllInsults Source code

static function GetAllInsults ( out array<string> CmdArray) )

GetAllSupports Source code

static function GetAllSupports ( out array<string> CmdArray) )

getClientParsedMessage Source code

function string getClientParsedMessage ( ) )

GetMessageIndex Source code

static function byte GetMessageIndex ( name PhraseName) )

PlayerSpeech Source code

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

SetClientAcknowledgmentMessage Source code

function SetClientAcknowledgmentMessage ( int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound) )

SetClientAlertMessage Source code

function SetClientAlertMessage ( int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound) )

SetClientAutomaticMessage Source code

function SetClientAutomaticMessage ( int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound) )

SetClientDirectionMessage Source code

function SetClientDirectionMessage ( int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound) )

SetClientInsultMessage Source code

function SetClientInsultMessage ( int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound) )

SetClientSupportMessage Source code

function SetClientSupportMessage ( int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound) )

SetClientTraderMessage Source code

function SetClientTraderMessage ( int MessageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound) )

SetMessageByType Source code

function SetMessageByType ( name MessageType, int MessageIndex, PlayerReplicationInfo Recipient) )

Timer Source code

function Timer ( ) )


Defaultproperties

defaultproperties
{
     SupportSound(0)=SoundGroup'KF_MaleVoiceOne.SUPPORT.MEDIC'
     SupportSound(1)=SoundGroup'KF_MaleVoiceOne.SUPPORT.Help'
     SupportSound(2)=SoundGroup'KF_MaleVoiceOne.SUPPORT.Need_money'
     SupportSound(3)=SoundGroup'KF_MaleVoiceOne.SUPPORT.Drop_Weapon'
     SupportString(0)="Medic!"
     SupportString(1)="Help!"
     SupportString(2)="I need some money"
     SupportString(3)="Drop a weapon for me"
     SupportAbbrev(0)="Medic"
     SupportAbbrev(1)="Help"
     SupportAbbrev(2)="I need some money"
     SupportAbbrev(3)="Drop a weapon for me"
     numSupports=4
     AcknowledgmentSound(0)=SoundGroup'KF_MaleVoiceOne.Acknowledgements.Yes'
     AcknowledgmentSound(1)=SoundGroup'KF_MaleVoiceOne.Acknowledgements.No'
     AcknowledgmentSound(2)=SoundGroup'KF_MaleVoiceOne.Acknowledgements.Thanks'
     AcknowledgmentSound(3)=SoundGroup'KF_MaleVoiceOne.Acknowledgements.sorry'
     AcknowledgmentString(0)="Yes"
     AcknowledgmentString(1)="No"
     AcknowledgmentString(2)="Thanks!"
     AcknowledgmentString(3)="Sorry!"
     AcknowledgmentAbbrev(0)="Yes"
     AcknowledgmentAbbrev(1)="No"
     AcknowledgmentAbbrev(2)="Thanks"
     AcknowledgmentAbbrev(3)="Sorry"
     NumAcknowledgments=4
     AlertSound(0)=SoundGroup'KF_MaleVoiceOne.Alerts.Look_Out'
     AlertSound(1)=SoundGroup'KF_MaleVoiceOne.Alerts.Run'
     AlertSound(2)=SoundGroup'KF_MaleVoiceOne.Alerts.Wait_for_me'
     AlertSound(3)=SoundGroup'KF_MaleVoiceOne.Alerts.Weld_the_doors'
     AlertSound(4)=SoundGroup'KF_MaleVoiceOne.Alerts.Hole_up'
     AlertSound(5)=SoundGroup'KF_MaleVoiceOne.Alerts.Follow_me'
     AlertString(0)="Look out!"
     AlertString(1)="RUN!"
     AlertString(2)="Wait for me!"
     AlertString(3)="Weld the doors"
     AlertString(4)="Lets hole up here!"
     AlertString(5)="Follow me"
     AlertAbbrev(0)="Look out"
     AlertAbbrev(1)="Run"
     AlertAbbrev(2)="Wait for me"
     AlertAbbrev(3)="Weld the doors"
     AlertAbbrev(4)="Lets hole up here"
     AlertAbbrev(5)="Follow me"
     numAlerts=6
     DirectionSound(0)=SoundGroup'KF_MaleVoiceOne.Directions.Get_to_the_trader'
     DirectionSound(1)=SoundGroup'KF_MaleVoiceOne.Directions.Go_upstairs'
     DirectionSound(2)=SoundGroup'KF_MaleVoiceOne.Directions.Head_downstairs'
     DirectionSound(3)=SoundGroup'KF_MaleVoiceOne.Directions.Get_inside'
     DirectionSound(4)=SoundGroup'KF_MaleVoiceOne.Directions.Go_outside'
     DirectionString(0)="Get to the Trader"
     DirectionString(1)="Go Upstairs"
     DirectionString(2)="Head Downstairs"
     DirectionString(3)="Get Inside"
     DirectionString(4)="Go Outside"
     DirectionAbbrev(0)="Get to the Trader"
     DirectionAbbrev(1)="Go Upstairs"
     DirectionAbbrev(2)="Head Downstairs"
     DirectionAbbrev(3)="Get Inside"
     DirectionAbbrev(4)="Go Outside"
     NumDirections=5
     InsultSound(0)=SoundGroup'KF_MaleVoiceOne.INSULT.Insult_Specimens'
     InsultSound(1)=SoundGroup'KF_MaleVoiceOne.INSULT.Insult_players'
     InsultString(0)="Insult Specimens"
     InsultString(1)="Insult Players"
     InsultAbbrev(0)="Insult Specimens"
     InsultAbbrev(1)="Insult Players"
     NumInsults=2
     AutomaticSound(0)=SoundGroup'KF_MaleVoiceOne.Automatic_Commands.Auto_Welding'
     AutomaticSound(1)=SoundGroup'KF_MaleVoiceOne.Automatic_Commands.Auto_Unwelding'
     AutomaticSound(2)=SoundGroup'KF_MaleVoiceOne.Automatic_Commands.Auto_Reloading'
     AutomaticSound(3)=SoundGroup'KF_MaleVoiceOne.Automatic_Commands.Auto_Out_of_Ammo'
     AutomaticSound(4)=SoundGroup'KF_MaleVoiceOne.Automatic_Commands.Auto_Drop_Cash'
     AutomaticSound(5)=SoundGroup'KF_MaleVoiceOne.Automatic_Commands.Auto_Healing'
     AutomaticSound(6)=SoundGroup'KF_MaleVoiceOne.Automatic_Commands.Auto_Dying'
     AutomaticSound(7)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.BloatPuking'
     AutomaticSound(8)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.PatriarchInvisible'
     AutomaticSound(9)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.PatriarchChainGun'
     AutomaticSound(10)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.PatriarchRockets'
     AutomaticSound(11)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.GrabbedByClot'
     AutomaticSound(12)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.SpottedFleshpound'
     AutomaticSound(13)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.SpottedGorefast'
     AutomaticSound(14)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.SpottedScrake'
     AutomaticSound(15)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.SpottedSiren'
     AutomaticSound(16)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.SirenAfterScream'
     AutomaticSound(17)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.StalkerUncloaks'
     AutomaticSound(18)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.SpottedCrawler'
     AutomaticSound(19)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.KilledStalkerMelee'
     AutomaticSound(20)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.EnemyBurnedToDeath'
     AutomaticSound(21)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.SwitchToDBShotgun'
     AutomaticSound(22)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.SwitchToDualHandcannon'
     AutomaticSound(23)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.SwitchToLAW'
     AutomaticSound(24)=SoundGroup'KF_MaleVoiceOne.Fun_Auto_Commands.SwitchToAxe'
     TraderSound(0)=SoundGroup'KF_Trader.Radio_Moving'
     TraderSound(1)=SoundGroup'KF_Trader.Radio_AlmostOpen'
     TraderSound(2)=SoundGroup'KF_Trader.Radio_ShopsOpen'
     TraderSound(3)=SoundGroup'KF_Trader.Radio_LastWave'
     TraderSound(4)=SoundGroup'KF_Trader.Radio_ThirtySeconds'
     TraderSound(5)=SoundGroup'KF_Trader.Radio_TenSeconds'
     TraderSound(6)=SoundGroup'KF_Trader.Radio_Closed'
     TraderSound(7)=SoundGroup'KF_Trader.Welcome'
     TraderSound(8)=SoundGroup'KF_Trader.TooExpensive'
     TraderSound(9)=SoundGroup'KF_Trader.TooHeavy'
     TraderSound(10)=SoundGroup'KF_Trader.ThirtySeconds'
     TraderSound(11)=SoundGroup'KF_Trader.TenSeconds'
     TraderString(0)="Watch the arrow - check where the shop is!"
     TraderString(1)="Make sure you are close to the shop when you finish them off"
     TraderString(2)="The shop is now open for business!"
     TraderString(3)="Shop's open, last chance to stock up before the Patriarch!"
     TraderString(4)="30 seconds before the shop shuts!"
     TraderString(5)="10 seconds left!"
     TraderString(6)="The shop is now CLOSED until you've cleared the next wave!"
     TraderString(7)="Welcome to the shop – sell what you've got, Buy Bigger Guns!"
     TraderString(8)="You can't afford that – pick something cheaper, or sell something first!"
     TraderString(9)="That is too heavy for you – pick something smaller, or sell something!"
     TraderString(10)="30 seconds before the shop shuts!"
     TraderString(11)="10 seconds left!"
     TraderRadioBeep=Sound'KF_Trader.Walkie_Beep'
     ShoutVolume=2
     WhisperVolume=1
     ShoutRadius=409.600006
     WhisperRadius=25.600000
     unitWhisperDistance=512.000000
     unitShoutDistance=4096.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:47.809 - Created with UnCodeX