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

XGame.xVoicePack


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
class xVoicePack extends TeamVoicePack;

var EVoiceGender VoiceGender;

static function byte GetMessageIndex(name PhraseName)
{
    local float r;
    r = FRand();

    if ( PhraseName == 'GOTENEMYFLAG' )
        return 2;
    if ( PhraseName == 'INJURED' )
    {
        if ( r < 0.3 )
            return 6;
        else if ( r < 0.5 )
            return 13;
        else
            return 4;
    }
    else if ( PhraseName == 'GOTOURFLAG' )
        return 8;
    else if ( PhraseName == 'NEEDBACKUP' )
    {
        if(r<0.5)
            return 13;
        else
            return 22;
    }
    else if ( PhraseName == 'NEEDOURFLAG' )
        return 1;
    else if ( PhraseName == 'ENEMYFLAGCARRIERHERE' )
        return 12;
    else if ( PhraseName == 'ENEMYBALLCARRIERHERE' )
        return 15;
    else if ( PhraseName == 'INCOMING' )
    {
        if(r < 0.33)
            return 20;
        else if(r < 0.66)
            return 21;
        else
            return 14;
    }
    else if ( PhraseName == 'GOTYOURBACK' )
        return 3;
    else if ( PhraseName == 'MANDOWN' )
        return 5;
    else if ( PhraseName == 'INPOSITION' )
        return 9;
    else if ( PhraseName == 'ONMYWAY' )
        return 10;
}

defaultproperties
{
     AckString(0)="Affirmative"
     AckString(1)="Got It"
     AckString(2)="I'm On It"
     AckString(3)="Roger"
     numAcks=4
     FFireString(0)="I'm On Your Team!"
     FFireString(1)="I'm On Your Team, Idiot!"
     FFireString(2)="Same Team!"
     FFireAbbrev(1)="Your Team, Idiot!"
     numFFires=3
     TauntString(0)="And Stay Down"
     TauntString(1)="Anyone Else Want Some?"
     TauntString(2)="Boom!"
     TauntString(3)="BURN Baby"
     TauntString(4)="Die Bitch"
     TauntString(5)="Eat THAT"
     TauntString(6)="You Fight Like Nali"
     TauntString(7)="Is That Your Best?"
     TauntString(8)="Kiss My Ass"
     TauntString(9)="Loser"
     TauntString(10)="MY House"
     TauntString(11)="Next!"
     TauntString(12)="Oh YEAH!"
     TauntString(13)="Ownage"
     TauntString(14)="Seeya"
     TauntString(15)="That HAD To Hurt"
     TauntString(16)="Useless"
     TauntString(17)="You Play Like A Girl"
     TauntString(18)="You Be Dead"
     TauntString(19)="You Like That?"
     TauntString(20)="You Whore"
     numTaunts=21
     MatureTaunt(4)=1
     MatureTaunt(8)=1
     MatureTaunt(20)=1
     HumanOnlyTaunt(6)=1
     HumanOnlyTaunt(17)=1
     OrderString(0)="Defend the base"
     OrderString(1)="Hold this position"
     OrderString(2)="Assault the base"
     OrderString(3)="Cover me"
     OrderString(4)="Search and destroy"
     OrderString(10)="Take their flag"
     OrderString(11)="Defend the flag"
     OrderString(12)="Attack Alpha"
     OrderString(13)="Attack Bravo"
     OrderString(14)="Get the ball"
     OrderAbbrev(0)="Defend"
     OrderAbbrev(2)="Attack"
     OtherString(0)="Base is undefended!"
     OtherString(1)="Somebody get our flag back!"
     OtherString(2)="I've got the flag"
     OtherString(3)="I've got your back"
     OtherString(4)="I'm hit!"
     OtherString(5)="Man down!"
     OtherString(6)="I'm all alone here %l"
     OtherString(7)="Negative!"
     OtherString(8)="I've got our flag"
     OtherString(9)="I'm in position %l"
     OtherString(10)="I'm going in!"
     OtherString(11)="Area is secure"
     OtherString(12)="Enemy flag carrier is %l"
     OtherString(13)="I need some backup %l"
     OtherString(14)="Incoming!"
     OtherString(15)="Enemy ball carrier is %l"
     OtherString(16)="Alpha secure!"
     OtherString(17)="Bravo secure!"
     OtherString(18)="Attack Alpha"
     OtherString(19)="Attack Bravo"
     OtherString(20)="The base is under attack %l"
     OtherString(21)="We're being overrun %l!"
     OtherString(22)="Under heavy attack %l"
     OtherString(23)="Defend point Alpha"
     OtherString(24)="Defend point Bravo"
     OtherString(25)="Get The Ball"
     OtherString(26)="I'm on defense"
     OtherString(27)="I'm on offense"
     OtherString(28)="Take point Alpha"
     OtherString(29)="Take point Bravo"
     OtherString(30)="Medic"
     OtherString(31)="Nice"
     OtherAbbrev(1)="Get our flag!"
     OtherAbbrev(2)="Got the flag"
     OtherAbbrev(3)="Got your back"
     OtherAbbrev(6)="All alone!"
     OtherAbbrev(8)="Got our flag"
     OtherAbbrev(9)="In position"
     OtherAbbrev(12)="Enemy flag carrier"
     OtherAbbrev(13)="Need backup"
     OtherAbbrev(15)="Enemy ball carrier"
     OtherAbbrev(20)="Base under attack"
     OtherAbbrev(21)="Being overrun"
     OtherAbbrev(22)="Under heavy attack"
     OtherDelayed(10)=1
     DisplayOtherMessage(9)=1
     DisplayOtherMessage(12)=1
     DisplayOtherMessage(15)=1
     DisplayOtherMessage(20)=1
     DisplayOtherMessage(21)=1
     DisplayOtherMessage(22)=1
     OtherMesgGroup(0)="CTFGame"
     OtherMesgGroup(1)="CTFGame"
     OtherMesgGroup(2)="CTFGame"
     OtherMesgGroup(8)="CTFGame"
     OtherMesgGroup(12)="CTFGame"
     OtherMesgGroup(15)="BombingRun"
     OtherMesgGroup(16)="DoubleDom"
     OtherMesgGroup(17)="DoubleDom"
     OtherMesgGroup(18)="DoubleDom"
     OtherMesgGroup(19)="DoubleDom"
     OtherMesgGroup(20)="CTFGame"
     OtherMesgGroup(23)="DoubleDom"
     OtherMesgGroup(24)="DoubleDom"
     OtherMesgGroup(25)="BombingRun"
     OtherMesgGroup(28)="DoubleDom"
     OtherMesgGroup(29)="DoubleDom"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Mon 23/10/2006 20:35:08.000 - Creation time: Wed 7/2/2007 19:16:59.890 - Created with UnCodeX