Botpack
Class VoiceMaleTwo

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

class VoiceMaleTwo
extends Botpack.VoiceMale

//============================================================================= // VoiceMaleTwo. //=============================================================================

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



Source Code


00001	//=============================================================================
00002	// VoiceMaleTwo.
00003	//=============================================================================
00004	class VoiceMaleTwo extends VoiceMale;
00005	
00006	#exec OBJ LOAD FILE=..\Sounds\Male2Voice.uax PACKAGE=Male2Voice
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 == 5 )
00025		{
00026			if ( FRand() < 0.5 )
00027				messageIndex = 17;
00028		}			
00029		else if ( messageIndex == 10 )
00030		{
00031			SetTimer(3 + FRand(), false); // wait for initial request to be spoken
00032			if ( FRand() < 0.5 )
00033			{
00034				DelayedResponse = AckString[2]$CommaText$GetCallSign(recipient);
00035				Phrase[0] = AckSound[2];
00036				PhraseTime[0] = AckTime[2];
00037				if ( (Level.NetMode == NM_Standalone) && (recipient.TeamID == 0) )
00038				{
00039					Phrase[1] = NameSound[recipient.Team];
00040					PhraseTime[1] = NameTime[recipient.Team];
00041				}
00042				return;
00043			}
00044		}
00045		Super.SetOtherMessage(messageIndex, Recipient, MessageSound, MessageTime);
00046	}
00047	
00048	defaultproperties
00049	{
00050	     NameSound(0)=Sound'Male2Voice.(All).M2redleader'
00051	     NameSound(1)=Sound'Male2Voice.(All).M2blueleader'
00052	     NameSound(2)=Sound'Male2Voice.(All).M2greenleader'
00053	     NameSound(3)=Sound'Male2Voice.(All).M2goldleader'
00054	     NameTime(0)=0.960000
00055	     NameTime(1)=1.100000
00056	     NameTime(2)=1.020000
00057	     NameTime(3)=0.990000
00058	     AckSound(0)=Sound'Male2Voice.(All).M2gotit'
00059	     AckSound(1)=Sound'Male2Voice.(All).M2roger'
00060	     AckSound(2)=Sound'Male2Voice.(All).M2onmyway'
00061	     AckString(0)="Got it"
00062	     AckString(1)="Roger"
00063	     AckString(2)="On my way"
00064	     AckTime(0)=0.780000
00065	     AckTime(1)=0.810000
00066	     AckTime(2)=0.980000
00067	     numAcks=3
00068	     FFireSound(0)=Sound'Male2Voice.(All).M2sameteam'
00069	     FFireSound(1)=Sound'Male2Voice.(All).M2idiot'
00070	     FFireString(0)="Hey! Same team!"
00071	     FFireString(1)="I'm on your team, you idiot!"
00072	     FFireAbbrev(1)="On your team!"
00073	     numFFires=2
00074	     TauntSound(0)=Sound'Male2Voice.(All).M2eatthat'
00075	     TauntSound(1)=Sound'Male2Voice.(All).M2yalikethat'
00076	     TauntSound(2)=Sound'Male2Voice.(All).M2sucker'
00077	     TauntSound(3)=Sound'Male2Voice.(All).M2boom'
00078	     TauntSound(4)=Sound'Male2Voice.(All).M2burnbaby'
00079	     TauntSound(5)=Sound'Male2Voice.(All).M2yousuck'
00080	     TauntSound(6)=Sound'Male2Voice.(All).M2diebitch'
00081	     TauntSound(7)=Sound'Male2Voice.(All).M2loser'
00082	     TauntSound(8)=Sound'Male2Voice.(All).M2yeehaw'
00083	     TauntSound(9)=Sound'Male2Voice.(All).M2ohyeah'
00084	     TauntSound(10)=Sound'Male2Voice.(All).M2thathadtohurt'
00085	     TauntSound(11)=Sound'Male2Voice.(All).M2dirtbag'
00086	     TauntSound(12)=Sound'Male2Voice.(All).M2myhouse'
00087	     TauntSound(13)=Sound'Male2Voice.(All).M2biteme'
00088	     TauntSound(14)=Sound'Male2Voice.(All).M2OnFire'
00089	     TauntSound(15)=Sound'Male2Voice.(All).M2Useless'
00090	     TauntSound(16)=Sound'Male2Voice.(All).M2laugh'
00091	     TauntSound(17)=Sound'Male2Voice.(All).M2Yoube'
00092	     TauntSound(18)=Sound'Male2Voice.(All).M2next'
00093	     TauntSound(19)=Sound'Male2Voice.(All).M2Medic'
00094	     TauntSound(20)=Sound'Male2Voice.(All).M2seeya'
00095	     TauntSound(21)=Sound'Male2Voice.(All).M2Target'
00096	     TauntSound(22)=Sound'Male2Voice.(All).M2wantsome'
00097	     TauntSound(23)=Sound'Male2Voice.(All).M2gotim'
00098	     TauntSound(24)=Sound'Male2Voice.(All).M2staydown'
00099	     TauntString(0)="Eat that!"
00100	     TauntString(1)="You like that?"
00101	     TauntString(2)="Sucker!"
00102	     TauntString(3)="Boom!"
00103	     TauntString(4)="Burn, baby"
00104	     TauntString(5)="You suck!"
00105	     TauntString(6)="Die, bitch."
00106	     TauntString(7)="Loser."
00107	     TauntString(8)="Yeehaw!"
00108	     TauntString(9)="Oh, yeah!"
00109	     TauntString(10)="That had to hurt."
00110	     TauntString(11)="Dirt bag!"
00111	     TauntString(12)="My house!"
00112	     TauntString(13)="Bite me!"
00113	     TauntString(14)="I'm on fire!"
00114	     TauntString(15)="Useless."
00115	     TauntString(16)="Ha ha ha!"
00116	     TauntString(17)="You be dead!"
00117	     TauntString(18)="Next!"
00118	     TauntString(19)="Medic!"
00119	     TauntString(20)="See ya!"
00120	     TauntString(21)="Target eliminated."
00121	     TauntString(22)="Anyone else want some?"
00122	     TauntString(23)="Got 'im!"
00123	     TauntString(24)="And stay down!"
00124	     TauntAbbrev(22)="Anyone else?"
00125	     numTaunts=25
00126	     MatureTaunt(6)=1
00127	     MatureTaunt(13)=1
00128	     OrderSound(0)=Sound'Male2Voice.(All).M2defend'
00129	     OrderSound(1)=Sound'Male2Voice.(All).M2hold'
00130	     OrderSound(2)=Sound'Male2Voice.(All).M2assault'
00131	     OrderSound(3)=Sound'Male2Voice.(All).M2coverme'
00132	     OrderSound(4)=Sound'Male2Voice.(All).M2engage'
00133	     OrderSound(10)=Sound'Male2Voice.(All).M2takeflag'
00134	     OrderSound(11)=Sound'Male2Voice.(All).M2searchdestroy'
00135	     OrderString(0)="Defend the base."
00136	     OrderString(1)="Hold this position."
00137	     OrderString(2)="Assault the base."
00138	     OrderString(3)="Cover me."
00139	     OrderString(4)="Engage according to operational parameters."
00140	     OrderString(10)="Take their flag."
00141	     OrderString(11)="Search and destroy."
00142	     OrderAbbrev(0)="Defend"
00143	     OrderAbbrev(2)="Attack"
00144	     OrderAbbrev(4)="Freelance."
00145	     OtherSound(0)=Sound'Male2Voice.(All).M2uncovered'
00146	     OtherSound(1)=Sound'Male2Voice.(All).M2getflagback'
00147	     OtherSound(2)=Sound'Male2Voice.(All).M2igotflag'
00148	     OtherSound(3)=Sound'Male2Voice.(All).M2gotyourback'
00149	     OtherSound(4)=Sound'Male2Voice.(All).M2imhit'
00150	     OtherSound(5)=Sound'Male2Voice.(All).M2mandown'
00151	     OtherSound(6)=Sound'Male2Voice.(All).M2underattack'
00152	     OtherSound(7)=Sound'Male2Voice.(All).M2gotpoint'
00153	     OtherSound(8)=Sound'Male2Voice.(All).M2ourflag'
00154	     OtherSound(9)=Sound'Male2Voice.(All).M2inposition'
00155	     OtherSound(10)=Sound'Male2Voice.(All).M2hangin'
00156	     OtherSound(11)=Sound'Male2Voice.(All).M2pointsecure'
00157	     OtherSound(12)=Sound'Male2Voice.(All).M2enemycarrier'
00158	     OtherSound(13)=Sound'Male2Voice.(All).M2backup'
00159	     OtherSound(14)=Sound'Male2Voice.(All).M2incoming'
00160	     OtherSound(15)=Sound'Male2Voice.(All).M2gotyourback'
00161	     OtherSound(16)=Sound'Male2Voice.(All).M2objectdestroy'
00162	     OtherSound(17)=Sound'Male2Voice.(All).M2Medic'
00163	     otherstring(0)="Base is uncovered!"
00164	     otherstring(1)="Somebody get our flag back!"
00165	     otherstring(2)="I've got the flag."
00166	     otherstring(3)="I've got your back."
00167	     otherstring(4)="I'm hit!"
00168	     otherstring(5)="Man down!"
00169	     otherstring(6)="I'm under heavy attack!"
00170	     otherstring(7)="You got point."
00171	     otherstring(8)="I've got our flag."
00172	     otherstring(9)="I'm in position."
00173	     otherstring(10)="Hang in there."
00174	     otherstring(11)="Control point is secure."
00175	     otherstring(12)="Enemy flag carrier is here."
00176	     otherstring(13)="I need some backup."
00177	     otherstring(14)="Incoming!"
00178	     otherstring(15)="I've got your back."
00179	     otherstring(16)="Objective destroyed."
00180	     otherstring(17)="Medic!"
00181	     OtherAbbrev(1)="Get our flag!"
00182	     OtherAbbrev(2)="Got the flag."
00183	     OtherAbbrev(3)="Got your back."
00184	     OtherAbbrev(6)="Under attack!"
00185	     OtherAbbrev(8)="Got our flag."
00186	     OtherAbbrev(9)="In position."
00187	     OtherAbbrev(11)="Point is secure."
00188	     OtherAbbrev(12)="Enemy carrier here."
00189	     OtherAbbrev(15)="Got your back."
00190	}

End Source Code