Botpack
Class VoiceMaleOne

source: e:\games\UnrealTournament\Botpack\Classes\VoiceMaleOne.uc
Core.Object
   |
   +--Engine.Actor
      |
      +--Engine.Info
         |
         +--Engine.VoicePack
            |
            +--Botpack.ChallengeVoicePack
               |
               +--Botpack.VoiceMale
                  |
                  +--Botpack.VoiceMaleOne
Direct Known Subclasses:None

class VoiceMaleOne
extends Botpack.VoiceMale

//============================================================================= // VoiceMaleOne. //=============================================================================

Function Summary
 void SetOtherMessage(int messageIndex, PlayerReplicationInfo Recipient, out Sound, out Float)



Source Code


00001	//=============================================================================
00002	// VoiceMaleOne.
00003	//=============================================================================
00004	class VoiceMaleOne extends VoiceMale;
00005	
00006	#exec OBJ LOAD FILE=..\Sounds\Male1Voice.uax PACKAGE=Male1Voice
00007	
00008	function SetOtherMessage(int messageIndex, PlayerReplicationInfo Recipient, out Sound MessageSound, out Float MessageTime)
00009	{
00010		if ( messageIndex == 3 )
00011		{
00012			if ( FRand() < 0.3 )
00013				messageIndex = 7;
00014			else if ( FRand() < 0.5 )
00015				messageIndex = 15;
00016		}
00017		else if ( messageIndex == 4 )
00018		{
00019			if ( FRand() < 0.3 )
00020				messageIndex = 6;
00021			else if ( FRand() < 0.5 )
00022				messageIndex = 13;
00023		}
00024		else if ( messageIndex == 10 )
00025		{
00026			SetTimer(3 + FRand(), false); // wait for initial request to be spoken
00027			if ( FRand() < 0.5 )
00028			{
00029				DelayedResponse = AckString[2]$CommaText$GetCallSign(recipient);
00030				Phrase[0] = AckSound[2];
00031				PhraseTime[0] = AckTime[2];
00032				if ( (Level.NetMode == NM_Standalone) && (recipient.TeamID == 0) )
00033				{
00034					Phrase[1] = NameSound[recipient.Team];
00035					PhraseTime[1] = NameTime[recipient.Team];
00036				}
00037				return;
00038			}
00039		}
00040		Super.SetOtherMessage(messageIndex, Recipient, MessageSound, MessageTime);
00041	}
00042	
00043	defaultproperties
00044	{
00045	     NameSound(0)=Sound'Male1Voice.(All).M1redleader'
00046	     NameSound(1)=Sound'Male1Voice.(All).M1blueleader'
00047	     NameSound(2)=Sound'Male1Voice.(All).M1greenleader'
00048	     NameSound(3)=Sound'Male1Voice.(All).M1goldleader'
00049	     NameTime(0)=0.960000
00050	     NameTime(1)=1.100000
00051	     NameTime(2)=1.020000
00052	     NameTime(3)=0.990000
00053	     AckSound(0)=Sound'Male1Voice.(All).M1gotit'
00054	     AckSound(1)=Sound'Male1Voice.(All).M1roger'
00055	     AckSound(2)=Sound'Male1Voice.(All).M1onmyway'
00056	     AckSound(3)=Sound'Male1Voice.(All).M1imonit'
00057	     AckString(0)="Got it"
00058	     AckString(1)="Roger"
00059	     AckString(2)="On my way"
00060	     AckString(3)="I'm on it."
00061	     AckTime(0)=0.780000
00062	     AckTime(1)=0.810000
00063	     AckTime(2)=0.980000
00064	     AckTime(3)=0.980000
00065	     numAcks=4
00066	     FFireSound(0)=Sound'Male1Voice.(All).M1sameteam'
00067	     FFireSound(1)=Sound'Male1Voice.(All).M1idiot'
00068	     FFireString(0)="Hey! Same team!"
00069	     FFireString(1)="I'm on your team, you idiot!"
00070	     FFireAbbrev(1)="On your team!"
00071	     numFFires=2
00072	     TauntSound(0)=Sound'Male1Voice.(All).M1eatthat'
00073	     TauntSound(1)=Sound'Male1Voice.(All).M1likethat'
00074	     TauntSound(2)=Sound'Male1Voice.(All).M1yeahbitch'
00075	     TauntSound(3)=Sound'Male1Voice.(All).M1boom'
00076	     TauntSound(4)=Sound'Male1Voice.(All).M1burnbaby'
00077	     TauntSound(5)=Sound'Male1Voice.(All).M1letsrock'
00078	     TauntSound(6)=Sound'Male1Voice.(All).M1diebitch'
00079	     TauntSound(7)=Sound'Male1Voice.(All).M1loser'
00080	     TauntSound(8)=Sound'Male1Voice.(All).M1nailedem'
00081	     TauntSound(9)=Sound'Male1Voice.(All).M1nasty'
00082	     TauntSound(10)=Sound'Male1Voice.(All).M1nice'
00083	     TauntSound(11)=Sound'Male1Voice.(All).M1ohyeah'
00084	     TauntSound(12)=Sound'Male1Voice.(All).M1slaughter'
00085	     TauntSound(13)=Sound'Male1Voice.(All).M1sucker'
00086	     TauntSound(14)=Sound'Male1Voice.(All).M1yeehaw'
00087	     TauntSound(15)=Sound'Male1Voice.(All).M1yousuck'
00088	     TauntString(0)="Eat that!"
00089	     TauntString(1)="You like that?"
00090	     TauntString(2)="Yeah, bitch!"
00091	     TauntString(3)="Boom!"
00092	     TauntString(4)="Burn, baby"
00093	     TauntString(5)="Lets Rock!"
00094	     TauntString(6)="Die, bitch."
00095	     TauntString(7)="Loser."
00096	     TauntString(8)="Nailed 'im."
00097	     TauntString(9)="That was nasty."
00098	     TauntString(10)="Nice."
00099	     TauntString(11)="Oh, yeah!"
00100	     TauntString(12)="I just slaughtered that guy."
00101	     TauntString(13)="Sucker!"
00102	     TauntString(14)="Yeehaw!"
00103	     TauntString(15)="You suck!"
00104	     TauntAbbrev(12)="Slaughtered him."
00105	     numTaunts=16
00106	     MatureTaunt(2)=1
00107	     MatureTaunt(6)=1
00108	     OrderSound(0)=Sound'Male1Voice.(All).M1defend'
00109	     OrderSound(1)=Sound'Male1Voice.(All).M1hold'
00110	     OrderSound(2)=Sound'Male1Voice.(All).M1assault'
00111	     OrderSound(3)=Sound'Male1Voice.(All).M1coverme'
00112	     OrderSound(4)=Sound'Male1Voice.(All).M1engage'
00113	     OrderSound(10)=Sound'Male1Voice.(All).M1takeflag'
00114	     OrderSound(11)=Sound'Male1Voice.(All).M1searchdestroy'
00115	     OrderString(0)="Defend the base."
00116	     OrderString(1)="Hold this position."
00117	     OrderString(2)="Assault the base."
00118	     OrderString(3)="Cover me."
00119	     OrderString(4)="Engage according to operational parameters."
00120	     OrderString(10)="Take their flag."
00121	     OrderString(11)="Search and destroy."
00122	     OrderAbbrev(0)="Defend"
00123	     OrderAbbrev(2)="Attack"
00124	     OrderAbbrev(4)="Freelance."
00125	     OtherSound(0)=Sound'Male1Voice.(All).M1uncovered'
00126	     OtherSound(1)=Sound'Male1Voice.(All).M1getflagback'
00127	     OtherSound(2)=Sound'Male1Voice.(All).M1igotflag'
00128	     OtherSound(3)=Sound'Male1Voice.(All).M1gotyourback'
00129	     OtherSound(4)=Sound'Male1Voice.(All).M1imhit'
00130	     OtherSound(6)=Sound'Male1Voice.(All).M1underattack'
00131	     OtherSound(7)=Sound'Male1Voice.(All).M1yougotpoint'
00132	     OtherSound(8)=Sound'Male1Voice.(All).M1igotflag'
00133	     OtherSound(9)=Sound'Male1Voice.(All).M1inposition'
00134	     OtherSound(10)=Sound'Male1Voice.(All).M1onmyway'
00135	     OtherSound(11)=Sound'Male1Voice.(All).M1pointsecure'
00136	     OtherSound(12)=Sound'Male1Voice.(All).M1enemycarrier'
00137	     OtherSound(13)=Sound'Male1Voice.(All).M1backup'
00138	     OtherSound(14)=Sound'Male1Voice.(All).M1takedown'
00139	     OtherSound(15)=Sound'Male1Voice.(All).M1gotyoucovered'
00140	     OtherSound(16)=Sound'Male1Voice.(All).M1objectdestroy'
00141	     otherstring(0)="Base is uncovered!"
00142	     otherstring(1)="Somebody get our flag back!"
00143	     otherstring(2)="I've got the flag."
00144	     otherstring(3)="I've got your back."
00145	     otherstring(4)="I'm hit!"
00146	     otherstring(5)="Man down!"
00147	     otherstring(6)="I'm under heavy attack!"
00148	     otherstring(7)="You got point."
00149	     otherstring(8)="I've got our flag."
00150	     otherstring(9)="I'm in position."
00151	     otherstring(10)="On my way."
00152	     otherstring(11)="Control point is secure."
00153	     otherstring(12)="Enemy flag carrier is here."
00154	     otherstring(13)="I need some backup."
00155	     otherstring(14)="Take them down."
00156	     otherstring(15)="I've got you covered."
00157	     otherstring(16)="Objective destroyed."
00158	     OtherAbbrev(1)="Get our flag!"
00159	     OtherAbbrev(2)="Got the flag."
00160	     OtherAbbrev(3)="Got your back."
00161	     OtherAbbrev(6)="Under attack!"
00162	     OtherAbbrev(8)="Got our flag."
00163	     OtherAbbrev(9)="In position."
00164	     OtherAbbrev(11)="Point is secure."
00165	     OtherAbbrev(12)="Enemy carrier here."
00166	     OtherAbbrev(15)="Got you covered."
00167	}

End Source Code