Quantcast

Jump to content

» «
Photo

[Q]SAY_AMBIENT_SPEECH

17 replies to this topic
ceedj
  • ceedj

    PEDS Creator

  • Feroci Racing
  • Joined: 21 May 2005

#1

Posted 22 September 2009 - 02:23 AM Edited by ceedj, 22 September 2009 - 09:16 AM.

I've spent a number of days trying to get SAY_AMBIENT_SPEECH to play, but nothing seems to work with it. Should I be loading an audio bank somewhere? Setting a global? Bake a cake?

EDIT: Saw a few mods that are using this, but no source code. Is this a big secret or something? dontgetit.gif

sjaak327
  • sjaak327

    Big Homie

  • Feroci Racing
  • Joined: 01 Dec 2008
  • None

#2

Posted 23 September 2009 - 06:05 AM Edited by sjaak327, 23 September 2009 - 06:22 AM.

QUOTE (ceedj @ Sep 22 2009, 02:23)
I've spent a number of days trying to get SAY_AMBIENT_SPEECH to play, but nothing seems to work with it. Should I be loading an audio bank somewhere? Setting a global? Bake a cake?

EDIT: Saw a few mods that are using this, but no source code. Is this a big secret or something?  dontgetit.gif

Yes I got that working. (simple trainer 4.1).

It's actually very easy, unfortunately I am on a holiday, so cannot post part of the source now.

From memory:

SayAmbientSpeech takes a parm that is the speech, these can be found in a file in the audio directory. You can use SparkIV to basically browse that file. Use the names of the speeches you find using sparkiv in this native (and drop the numerics at the end).

Sorry that I cannot give specific information, as I am 10.000 KM away from home.

edit: I realized that I have the source code on a USB stick.

This is how I use it:

CODE

SetVoiceIdFromHeadComponent(c,PED_COMPONENT_HEAD,1);
SayAmbientSpeech(c,Voice1[numvoice],1,1,0);


this will get the voice ID from the PED and then say whatever speech that the user selected.

here are the speeches which I found in that file:

CODE

Voice1[1]="Arrested";
Voice1[2]="Bump";
Voice1[3]="Car_On_Fire";
Voice1[4]="Chased";
Voice1[5]="Crash_Car";
Voice1[6]="Crying";
Voice1[7]="Drink";
Voice1[8]="Dodge";
Voice1[9]="Duck";
Voice1[10]="Fight";
Voice1[11]="Followed";
Voice1[12]="Get_Out";
Voice1[13]="Hurry_Up";
Voice1[14]="Intimidate";
Voice1[15]="Late";
Voice1[16]="Mugging";
Voice1[17]="Need_A_Vehicle";
Voice1[18]="Photo";
Voice1[19]="Saved";
Voice1[20]="sh*t";
Voice1[21]="Shocked";
Voice1[22]="Shoot";
Voice1[23]="Surprised";
Voice1[24]="Surrounded";
Voice1[25]="Take_Cover";
Voice1[26]="Thanks";
Voice1[27]="Target";
Voice1[28]="Trapped";
Voice1[29]="Van";
Voice1[30]="You_Drive";
Voice1[31]="Generic_f*ck_off";
Voice1[32]="Generic_Hi";
Voice1[33]="Generic_Bye";
Voice1[34]="Generic_Yes";
Voice1[35]="Generic_No";
Voice1[36]="Blocked_Vehicle";
Voice1[37]="Blocked_Ped";
Voice1[38]="Conv_Gang_State";
Voice1[39]="Cover_Me";
Voice1[40]="Gang_Ask_Player_Leave";
Voice1[41]="Gang_Attack_Warning";
Voice1[42]="Gang_Bump";
Voice1[43]="Gang_Chase";
Voice1[44]="Gang_Dodge_Warning";
Voice1[45]="Gang_Fight_Cheer";
Voice1[46]="Gang_Intervene";
Voice1[47]="Gang_Watch_This_Guy";
Voice1[48]="Gang_Watch_This_Guy_Resp";
Voice1[49]="Gang_Watch_This_Guy_Solo";
Voice1[50]="Gang_Weapon_Warning";
Voice1[51]="Gang_You_Drop_Weapon";
Voice1[52]="Jacked_In_Car";
Voice1[53]="Jack_Car_Back";
Voice1[54]="Jacking_Car_Back";
Voice1[55]="Jacking_Generic_Back";
Voice1[56]="Mobile_Chat";
Voice1[57]="Player_Over_There";
Voice1[58]="Player_Up_There";
Voice1[59]="Shot_In_Leg";
Voice1[60]="Shut_Up_Horn";
Voice1[61]="Two_Way_Phone_Chat";
Voice1[62]="Vehicle_Attacked";
Voice1[63]="Lets_Play_Pool";
Voice1[64]="Lets_Play_Darts";
Voice1[65]="Darts_Bullseye";
Voice1[66]="Bowling_Gutter";
Voice1[67]="Bowling_Spare";
Voice1[68]="Bowling_Strike";
Voice1[69]="Bowling_Turkey";
Voice1[70]="Pool_Foul";
Voice1[71]="Cough";
Voice1[72]="Drowning";
Voice1[73]="High_Fall";
Voice1[74]="Inhale";
Voice1[75]="Cheer";
Voice1[76]="Giggle";
Voice1[77]="Laugh";
Voice1[78]="Panic";
Voice1[79]="Whoop";


Not all speeches work with all voices.

Now to set a specific voice for a ped:

CODE

SetAmbientVoiceName(c,VoiceSET);
   SayAmbientSpeech(c,Voice1[numvoice],1,1,0);


voiceset corresponds to the voice that the user has selected which you can find below:



CODE


Voice2[1]="ALEX";
Voice2[2]="BELL";
Voice2[3]="BERNIE";
Voice2[4]="BLEEDAR";
Voice2[5]="BOBBY";
Voice2[6]="BRIAN_CLEAN";
Voice2[7]="BRIAN_DRUG";
Voice2[8]="BRUCIE";
Voice2[9]="CABBY";
Voice2[10]="CARMEN";
Voice2[11]="CLARENCE";
Voice2[12]="DERRICK_MCREARY";
Voice2[13]="DIMITRI";
Voice2[14]="DWAYNE";
Voice2[15]="FRANKIE";
Voice2[16]="GORDON";
Voice2[17]="GRACIE";
Voice2[18]="HELICOPTER_PILOT_1";
Voice2[19]="HELICOPTER_PILOT_2";
Voice2[20]="HELICOPTER_PILOT_3";
Voice2[21]="HOSSAN";
Voice2[22]="IVAN";
Voice2[23]="JACOB";
Voice2[24]="JERMAINE";
Voice2[25]="JIMMY_PEGORINO";
Voice2[26]="KATE_MCREARY";
Voice2[27]="KIKI";
Voice2[28]="LUCA";
Voice2[29]="M_ZOMBIE";
Voice2[30]="MALLORIE";
Voice2[31]="MANNY";
Voice2[32]="MICHELLE";
Voice2[33]="NIKO";
Voice2[34]="NIKO_ANGRY";
Voice2[35]="NIKO_EXTRAS";
Voice2[36]="NIKO_NORMAL";
Voice2[37]="PACKIE_MCREARY";
Voice2[38]="PAIN_FEMALE_EXTRAS";
Voice2[39]="PAIN_MALE_EXTRAS";
Voice2[40]="PATHOS";
Voice2[41]="PETROVIC";
Voice2[42]="PI_CHERISE";
Voice2[43]="PI_ED_LOW";
Voice2[44]="PI_MARLENE";
Voice2[45]="PI_MEL";
Voice2[46]="PLAYBOY";
Voice2[47]="RAY_BOCCINO";
Voice2[48]="REAL_BADMAN";
Voice2[49]="ROMAN_DRUNK";
Voice2[50]="ROMAN_NORMAL";
Voice2[51]="ROMAN_SAD";
Voice2[52]="ROMAN_SHAKEN_UP";
Voice2[53]="SARA";
Voice2[54]="TALBOT";
Voice2[55]="TEST_SHOUT";
Voice2[56]="TUNA";
Voice2[57]="TWAT_WORKER";

Voice3[1]="F_M_BUSINESS_01";
Voice3[2]="F_M_BUSINESS_01_BD1";
Voice3[3]="F_M_BUSINESS_01_BN1";
Voice3[4]="F_M_BUSINESS_02";
Voice3[5]="F_M_BUSINESS_02_BD1";
Voice3[6]="F_M_BUSINESS_02_BN1";
Voice3[7]="F_M_CHINATOWN";
Voice3[8]="F_M_CHINATOWN_BD1";
Voice3[9]="F_M_CHINATOWN_BN1";
Voice3[10]="F_M_PBUSINESS_01";
Voice3[11]="F_M_PBUSINESS_BD1";
Voice3[12]="F_M_PBUSINESS_BN1";
Voice3[13]="F_M_PEASTEURO_01";
Voice3[14]="F_M_PEASTEURO_01_BD1";
Voice3[15]="F_M_PEASTEURO_01_BN1";
Voice3[16]="F_M_PHARBRON_01";
Voice3[17]="F_M_PHARBRON_01_BD1";
Voice3[18]="F_M_PHARBRON_01_BN1";
Voice3[19]="F_M_PJERSEY_01";
Voice3[20]="F_M_PJERSEY_01_BD1";
Voice3[21]="F_M_PJERSEY_01_BN1";
Voice3[22]="F_M_PJERSEY_02";
Voice3[23]="F_M_PJERSEY_02_BD1";
Voice3[24]="F_M_PJERSEY_02_BN1";
Voice3[25]="F_M_PLATIN_01";
Voice3[26]="F_M_PLATIN_01_BD1";
Voice3[27]="F_M_PLATIN_01_BN1";
Voice3[28]="F_M_PMANHAT_01";
Voice3[29]="F_M_PMANHAT_01_BD1";
Voice3[30]="F_M_PMANHAT_01_BN1";
Voice3[31]="F_M_PMANHAT_02";
Voice3[32]="F_M_PMANHAT_02_BD1";
Voice3[33]="F_M_PMANHAT_02_BN1";
Voice3[34]="F_M_PORIENT_01";
Voice3[35]="F_M_PORIENT_01_BD1";
Voice3[36]="F_M_PORIENT_01_BN1";
Voice3[37]="F_M_PRICH_01";
Voice3[38]="F_M_PRICH_01_BD1";
Voice3[39]="F_M_PRICH_01_BN1";
Voice3[40]="F_O_MAID_01";
Voice3[41]="F_O_PEASTEURO_01";
Voice3[42]="F_O_PEASTEURO_01_BD1";
Voice3[43]="F_O_PEASTEURO_01_BN1";
Voice3[44]="F_O_PEASTEURO_02";
Voice3[45]="F_O_PEASTEURO_02_BD1";
Voice3[46]="F_O_PEASTEURO_02_BN1";
Voice3[47]="F_O_PHARBRON_01";
Voice3[48]="F_O_PHARBRON_01_BD1";
Voice3[49]="F_O_PHARBRON_01_BN1";
Voice3[50]="F_O_PJERSEY_01";
Voice3[51]="F_O_PJERSEY_01_BD1";
Voice3[52]="F_O_PJERSEY_01_BN1";
Voice3[53]="F_O_PORIENT_01";
Voice3[54]="F_O_PORIENT_01_BD1";
Voice3[55]="F_O_PORIENT_01_BN1";
Voice3[56]="F_O_RICH_01";
Voice3[57]="F_O_RICH_01_BD1";
Voice3[58]="F_O_RICH_01_BN1";
Voice3[59]="F_Y_BANK";
Voice3[60]="F_Y_BANK_01_BD1";
Voice3[61]="F_Y_BANK_01_BN1";
Voice3[62]="F_Y_BUSINESS_01";
Voice3[63]="F_Y_BUSINESS_01_BD1";
Voice3[64]="F_Y_BUSINESS_01_BN1";
Voice3[65]="F_Y_CDRESS_01";
Voice3[66]="F_Y_CDRESS_01_BD1";
Voice3[67]="F_Y_CDRESS_01_BN1";
Voice3[68]="F_Y_DOCTOR_01";
Voice3[69]="F_Y_FASTFOODHISPANIC";
Voice3[70]="F_Y_FASTFOODWHITES";
Voice3[71]="F_Y_GYMGAL_01";
Voice3[72]="F_Y_GYMGAL_01_BN1";
Voice3[73]="F_Y_GYMGAL_01_BN2";
Voice3[74]="F_Y_HOOKER_01";
Voice3[75]="F_Y_HOOKER_01_BH1";
Voice3[76]="F_Y_HOOKER_01_BH2";
Voice3[77]="F_Y_HOOKER_03";
Voice3[78]="F_Y_HOOKER_03_BH1";
Voice3[79]="F_Y_HOOKER_03_BH2";
Voice3[80]="F_Y_MPASIAN_01";
Voice3[81]="F_Y_MPASIAN_02";
Voice3[82]="F_Y_MPBLACK_01";
Voice3[83]="F_Y_MPBLACK_02";
Voice3[84]="F_Y_MPLATIN_01";
Voice3[85]="F_Y_MPLATIN_02";
Voice3[86]="F_Y_MPWHITE_01";
Voice3[87]="F_Y_MPWHITE_02";
Voice3[88]="F_Y_NURSE";
Voice3[89]="F_Y_PBRONX_01";
Voice3[90]="F_Y_PBRONX_01_BD1";
Voice3[91]="F_Y_PBRONX_01_BN1";
Voice3[92]="F_Y_PCOOL_02";
Voice3[93]="F_Y_PCOOL_02_BD1";
Voice3[94]="F_Y_PCOOL_02_BN1";
Voice3[95]="F_Y_PEASTEURO_01";
Voice3[96]="F_Y_PEASTEURO_01_BD1";
Voice3[97]="F_Y_PEASTEURO_01_BN1";
Voice3[98]="F_Y_PHARBRON_01";
Voice3[99]="F_Y_PHARBRON_01_BD1";
Voice3[100]="F_Y_PHARBRON_01_BN1";
Voice3[101]="F_Y_PHARLEM_01";
Voice3[102]="F_Y_PHARLEM_01_BD1";
Voice3[103]="F_Y_PHARLEM_01_BN1";
Voice3[104]="F_Y_PJERSEY_02";
Voice3[105]="F_Y_PJERSEY_02_BD1";
Voice3[106]="F_Y_PJERSEY_02_BN1";
Voice3[107]="F_Y_PLATIN_01";
Voice3[108]="F_Y_PLATIN_01_BD1";
Voice3[109]="F_Y_PLATIN_01_BN1";
Voice3[110]="F_Y_PMANHAT_01";
Voice3[111]="F_Y_PMANHAT_01_BD1";
Voice3[112]="F_Y_PMANHAT_01_BN1";
Voice3[113]="F_Y_PMANHAT_02";
Voice3[114]="F_Y_PMANHAT_02_BD1";
Voice3[115]="F_Y_PMANHAT_02_BN1";
Voice3[116]="F_Y_PORIENT_01";
Voice3[117]="F_Y_PORIENT_01_BD1";
Voice3[118]="F_Y_PORIENT_01_BN1";
Voice3[119]="F_Y_PQUEENS_01";
Voice3[120]="F_Y_PQUEENS_01_BD1";
Voice3[121]="F_Y_PQUEENS_01_BN1";
Voice3[122]="F_Y_PRICH_01";
Voice3[123]="F_Y_PRICH_01_BD1";
Voice3[124]="F_Y_PRICH_01_BN1";
Voice3[125]="F_Y_PVILLBO_02";
Voice3[126]="F_Y_PVILLBO_02_BD1";
Voice3[127]="F_Y_PVILLBO_02_BN1";
Voice3[128]="F_Y_SHOP_03";
Voice3[129]="F_Y_SHOP_03_BD1";
Voice3[130]="F_Y_SHOP_03_BN1";
Voice3[131]="F_Y_SHOP_04";
Voice3[132]="F_Y_SHOP_04_BD1";
Voice3[133]="F_Y_SHOP_04_BN1";
Voice3[134]="F_Y_SHOPPER_05";
Voice3[135]="F_Y_SHOPPER_05_BD1";
Voice3[136]="F_Y_SHOPPER_05_BN1";
Voice3[137]="F_Y_SOCIALITE";
Voice3[138]="F_Y_SOCIALITE_BD1";
Voice3[139]="F_Y_SOCIALITE_BN1";
Voice3[140]="F_Y_STREET_02";
Voice3[141]="F_Y_STREET_02_BD1";
Voice3[142]="F_Y_STREET_02_BN1";
Voice3[143]="F_Y_STREET_05";
Voice3[144]="F_Y_STREET_05_BD1";
Voice3[145]="F_Y_STREET_05_BN1";
Voice3[146]="F_Y_STREET_09";
Voice3[147]="F_Y_STREET_09_BD1";
Voice3[148]="F_Y_STREET_09_BN1";
Voice3[149]="F_Y_STREET_12";
Voice3[150]="F_Y_STREET_12_BD1";
Voice3[151]="F_Y_STREET_12_BN1";
Voice3[152]="F_Y_STREET_30";
Voice3[153]="F_Y_STREET_30_BD1";
Voice3[154]="F_Y_STREET_30_BN1";
Voice3[155]="F_Y_STREET_34";
Voice3[156]="F_Y_STREET_34_BD1";
Voice3[157]="F_Y_STREET_34_BN1";
Voice3[158]="F_Y_STRIPPER_01";
Voice3[159]="F_Y_STRIPPER_01_BS1";
Voice3[160]="F_Y_STRIPPER_01_BS2";
Voice3[161]="F_Y_STRIPPER_02";
Voice3[162]="F_Y_STRIPPER_02_BS1";
Voice3[163]="F_Y_STRIPPER_02_BS2";
Voice3[164]="F_Y_TOURIST_01";
Voice3[165]="F_Y_TOURIST_01_BD1";
Voice3[166]="F_Y_TOURIST_01_BN1";
Voice3[167]="F_Y_VILBO_01";
Voice3[168]="F_Y_VILBO_01_BD1";
Voice3[169]="F_Y_VILBO_01_BN1";
Voice3[170]="F_Y_WAITRESS";

Voice4[1]="M_M_ALCOHOLIC";
Voice4[2]="M_M_ARMOURED";
Voice4[3]="M_M_ARMOURED_BD1";
Voice4[4]="M_M_ARMOURED_BN1";
Voice4[5]="M_M_BUSDRIVER";
Voice4[6]="M_M_BUSINESS_02";
Voice4[7]="M_M_BUSINESS_02_BD1";
Voice4[8]="M_M_BUSINESS_02_BN1";
Voice4[9]="M_M_BUSINESS_03_BD1";
Voice4[10]="M_M_BUSINESS_03_BN1";
Voice4[11]="M_M_CHINATOWN";
Voice4[12]="M_M_CHINATOWN_01_BD1";
Voice4[13]="M_M_CHINATOWN_01_BN1";
Voice4[14]="M_M_CRACKHEAD";
Voice4[15]="M_M_DOC_SCRUBS_01";
Voice4[16]="M_M_DOCTOR_01";
Voice4[17]="M_M_EE_HEAVY_01";
Voice4[18]="M_M_EE_HEAVY_01_BD1";
Voice4[19]="M_M_EE_HEAVY_01_BN1";
Voice4[20]="M_M_EE_HEAVY_02";
Voice4[21]="M_M_EE_HEAVY_02_BD1";
Voice4[22]="M_M_EE_HEAVY_02_BN1";
Voice4[23]="M_M_FACTORY_01";
Voice4[24]="M_M_FACTORY_01_BD1";
Voice4[25]="M_M_FACTORY_01_BN1";
Voice4[26]="M_M_FATCOP_01_BLACK";
Voice4[27]="M_M_FATCOP_01_WHITE";
Voice4[28]="M_M_FATMOB_01";
Voice4[29]="M_M_FATMOB_01_BD1";
Voice4[30]="M_M_FATMOB_01_BN1";
Voice4[31]="M_M_FEDCO";
Voice4[32]="M_M_FEDCO_BN1";
Voice4[33]="M_M_FEDCO_BN2";
Voice4[34]="M_M_FIRECHIEF";
Voice4[35]="M_M_GAYMID";
Voice4[36]="M_M_GAYMID_BD1";
Voice4[37]="M_M_GAYMID_BN1";
Voice4[38]="M_M_GBIK_LO_03_FULL_01";
Voice4[39]="M_M_GBIK_LO_03_GANG_01";
Voice4[40]="M_M_GBIK_LO_03_MINI_01";
Voice4[41]="M_M_GENBUM_01";
Voice4[42]="M_M_GJAM_HI_01_FULL_01";
Voice4[43]="M_M_GJAM_HI_01_GANG_01";
Voice4[44]="M_M_GJAM_HI_01_MINI_01";
Voice4[45]="M_M_GJAM_HI_02_FULL_01";
Voice4[46]="M_M_GJAM_HI_02_GANG_01";
Voice4[47]="M_M_GJAM_HI_02_MINI_01";
Voice4[48]="M_M_GRU2_HI_01_FULL_01";
Voice4[49]="M_M_GRU2_HI_01_GANG_01";
Voice4[50]="M_M_GRU2_HI_01_MINI_01";
Voice4[51]="M_M_GRU2_HI_02_FULL_01";
Voice4[52]="M_M_GRU2_HI_02_MINI_01";
Voice4[53]="M_M_GRU2_LO_02_FULL_01";
Voice4[54]="M_M_GRU2_LO_02_GANG_01";
Voice4[55]="M_M_GRU2_LO_02_MINI_01";
Voice4[56]="M_M_GTRI_HI_01_FULL_01";
Voice4[57]="M_M_GTRI_HI_01_GANG_01";
Voice4[58]="M_M_GTRI_HI_01_MINI_01";
Voice4[59]="M_M_GTRI_HI_02_FULL_01";
Voice4[60]="M_M_GTRI_HI_02_GANG_01";
Voice4[61]="M_M_GTRI_HI_02_MINI_01";
Voice4[62]="M_M_GUNNUT_01";
Voice4[63]="M_M_GUNNUT_01_HELP_01";
Voice4[64]="M_M_GUNNUT_01_HELP_02";
Voice4[65]="M_M_HPORTER_01";
Voice4[66]="M_M_KOREACOOK_01";
Voice4[67]="M_M_LOONYBLACK";
Voice4[68]="M_M_LOONYWHITE";
Voice4[69]="M_M_MIDTOWN_01_BD1";
Voice4[70]="M_M_MIDTOWN_01_BN1";
Voice4[71]="M_M_PHARBRON_01";
Voice4[72]="M_M_PHARBRON_01_BD1";
Voice4[73]="M_M_PHARBRON_01_BN1";
Voice4[74]="M_M_PILOT";
Voice4[75]="M_M_PILOT_BD1";
Voice4[76]="M_M_PILOT_BN1";
Voice4[77]="M_M_PINDUS_01";
Voice4[78]="M_M_PINDUS_01_BD1";
Voice4[79]="M_M_PINDUS_01_BN1";
Voice4[80]="M_M_PINDUS_02";
Voice4[81]="M_M_PINDUS_02_BD1";
Voice4[82]="M_M_PINDUS_02_BN1";
Voice4[83]="M_M_PITALIAN_01";
Voice4[84]="M_M_PITALIAN_01_BD1";
Voice4[85]="M_M_PITALIAN_01_BN1";
Voice4[86]="M_M_PITALIAN_02";
Voice4[87]="M_M_PITALIAN_02_BD1";
Voice4[88]="M_M_PITALIAN_02_BN1";
Voice4[89]="M_M_PLATIN_01";
Voice4[90]="M_M_PLATIN_01_BD1";
Voice4[91]="M_M_PLATIN_01_BN1";
Voice4[92]="M_M_PLATIN_02";
Voice4[93]="M_M_PLATIN_02_BD1";
Voice4[94]="M_M_PLATIN_02_BN1";
Voice4[95]="M_M_PLATIN_03";
Voice4[96]="M_M_PLATIN_03_BD1";
Voice4[97]="M_M_PLATIN_03_BN1";
Voice4[98]="M_M_PMANHAT_01";
Voice4[99]="M_M_PMANHAT_01_BD1";
Voice4[100]="M_M_PMANHAT_01_BN1";
Voice4[101]="M_M_PMANHAT_02";
Voice4[102]="M_M_PMANHAT_02_BD1";
Voice4[103]="M_M_PMANHAT_02_BN1";
Voice4[104]="M_M_PORIENT_01";
Voice4[105]="M_M_PORIENT_01_BD1";
Voice4[106]="M_M_PORIENT_01_BN1";
Voice4[107]="M_M_POSTAL_01";
Voice4[108]="M_M_POSTAL_01_BN1";
Voice4[109]="M_M_POSTAL_01_BN2";
Voice4[110]="M_M_PRICH_01";
Voice4[111]="M_M_PRICH_01_BD1";
Voice4[112]="M_M_PRICH_01_BN1";
Voice4[113]="M_M_SECURITYMAN";
Voice4[114]="M_M_SECURITYMAN_BS1";
Voice4[115]="M_M_SECURITYMAN_BS2";
Voice4[116]="M_M_SECURITYMAN_BS3";
Voice4[117]="M_M_SELLER_01";
Voice4[118]="M_M_SHORTORDER";
Voice4[119]="M_M_STREETFOOD_01";
Voice4[120]="M_M_SWEEPER";
Voice4[121]="M_M_SWEEPER_BN1";
Voice4[122]="M_M_TAXIDRIVER";
Voice4[123]="M_M_TAXIDRIVER_BD1";
Voice4[124]="M_M_TAXIDRIVER_BN1";
Voice4[125]="M_M_TELEPHONE";
Voice4[126]="M_M_TENNIS";
Voice4[127]="M_M_TENNIS_BD1";
Voice4[128]="M_M_TENNIS_BN1";
Voice4[129]="M_M_TRAIN_01";
Voice4[130]="M_M_TRAMPBLACK";
Voice4[131]="M_M_TRAMPBLACK_BN1";
Voice4[132]="M_M_TRAMPBLACK_BN2";
Voice4[133]="M_M_TRUCKER_01";
Voice4[134]="M_M_TRUCKER_01_BD1";
Voice4[135]="M_M_TRUCKER_01_BN1";

Voice5[1]="M_O_BUSKER";
Voice5[2]="M_O_EASTEURO_01";
Voice5[3]="M_O_EASTEURO_01_BD1";
Voice5[4]="M_O_EASTEURO_01_BN1";
Voice5[5]="M_O_GRUS_HI_01_FULL_01";
Voice5[6]="M_O_GRUS_HI_01_GANG_01";
Voice5[7]="M_O_GRUS_HI_01_MINI_01";
Voice5[8]="M_O_HASID_01";
Voice5[9]="M_O_HASID_01_BD1";
Voice5[10]="M_O_HASID_01_BN1";
Voice5[11]="M_O_HOTEL_FOOT";
Voice5[12]="M_O_JANITOR";
Voice5[13]="M_O_JANITOR_BD1";
Voice5[14]="M_O_JANITOR_BN1";
Voice5[15]="M_O_PEASTEURO_02";
Voice5[16]="M_O_PEASTEURO_02_BD1";
Voice5[17]="M_O_PEASTEURO_02_BN1";
Voice5[18]="M_O_PHARBRON_01";
Voice5[19]="M_O_PHARBRON_01_BD1";
Voice5[20]="M_O_PHARBRON_01_BN1";
Voice5[21]="M_O_PJERSEY_01";
Voice5[22]="M_O_PJERSEY_01_BD1";
Voice5[23]="M_O_PJERSEY_01_BN1";
Voice5[24]="M_O_STREET_01";
Voice5[25]="M_O_STREET_01_BD1";
Voice5[26]="M_O_STREET_01_BN1";
Voice5[27]="M_O_SUITED";
Voice5[28]="M_O_SUITED_BD1";
Voice5[29]="M_O_SUITED_BN1";
Voice5[30]="M_Y_AIRWORKER";
Voice5[31]="M_Y_AIRWORKER_BD1";
Voice5[32]="M_Y_AIRWORKER_BN1";
Voice5[33]="M_Y_BARMAN_01";
Voice5[34]="M_Y_BARMAN_02";
Voice5[35]="M_Y_BARRIER_COP_01";
Voice5[36]="M_Y_BARRIER_COP_02";
Voice5[37]="M_Y_BARRIER_COP_03";
Voice5[38]="M_Y_BARRIER_COP_04";
Voice5[39]="M_Y_BARRIER_COP_05";
Voice5[40]="M_Y_BOHO_01";
Voice5[41]="M_Y_BOHO_01_BD1";
Voice5[42]="M_Y_BOHO_01_BN1";
Voice5[43]="M_Y_BOHOGUY_01";
Voice5[44]="M_Y_BOHOGUY_01_BD1";
Voice5[45]="M_Y_BOHOGUY_01_BN1";
Voice5[46]="M_Y_BOUNCER_01";
Voice5[47]="M_Y_BOWL_01_BN1";
Voice5[48]="M_Y_BOWL_01_BN2";
Voice5[49]="M_Y_BOWL_02_BN1";
Voice5[50]="M_Y_BOWL_02_BN2";
Voice5[51]="M_Y_BRONX_01";
Voice5[52]="M_Y_BRONX_01_BD1";
Voice5[53]="M_Y_BRONX_01_BN1";
Voice5[54]="M_Y_BUSINESS_01";
Voice5[55]="M_Y_BUSINESS_01_BD1";
Voice5[56]="M_Y_BUSINESS_01_BN1";
Voice5[57]="M_Y_BUSINESS_02";
Voice5[58]="M_Y_BUSINESS_02_BD1";
Voice5[59]="M_Y_BUSINESS_02_BN1";
Voice5[60]="M_Y_CHINATOWN_03";
Voice5[61]="M_Y_CHINATOWN_03_BD1";
Voice5[62]="M_Y_CHINATOWN_03_BN1";
Voice5[63]="M_Y_CHINVEND_01";
Voice5[64]="M_Y_CHOPSHOP_01";
Voice5[65]="M_Y_CHOPSHOP_01_BD1";
Voice5[66]="M_Y_CHOPSHOP_01_BN1";
Voice5[67]="M_Y_CHOPSHOP_02";
Voice5[68]="M_Y_CHOPSHOP_02_BD1";
Voice5[69]="M_Y_CHOPSHOP_02_BN1";
Voice5[70]="M_Y_CLUBFIT";
Voice5[71]="M_Y_CONSTRUCT_01";
Voice5[72]="M_Y_CONSTRUCT_01_BS1";
Voice5[73]="M_Y_CONSTRUCT_01_BS2";
Voice5[74]="M_Y_CONSTRUCT_01_BS3";
Voice5[75]="M_Y_CONSTRUCT_01_BS4";
Voice5[76]="M_Y_CONSTRUCT_02";
Voice5[77]="M_Y_CONSTRUCT_02_BS1";
Voice5[78]="M_Y_CONSTRUCT_02_BS2";
Voice5[79]="M_Y_CONSTRUCT_02_BS3";
Voice5[80]="M_Y_CONSTRUCT_02_BS4";
Voice5[81]="M_Y_CONSTRUCT_03";
Voice5[82]="M_Y_COP_BLACK";
Voice5[83]="M_Y_COP_BLACK_02";
Voice5[84]="M_Y_COP_HISPANIC";
Voice5[85]="M_Y_COP_TRAFFIC_BLACK";
Voice5[86]="M_Y_COP_TRAFFIC_HISPANIC";
Voice5[87]="M_Y_COP_TRAFFIC_WHITE";
Voice5[88]="M_Y_COP_WHITE";
Voice5[89]="M_Y_COP_WHITE_02";
Voice5[90]="M_Y_COURIER";
Voice5[91]="M_Y_COURIER_BD1";
Voice5[92]="M_Y_COURIER_BN1";
Voice5[93]="M_Y_DEALER";
Voice5[94]="M_Y_DEALER_BD1";
Voice5[95]="M_Y_DEALER_BN1";
Voice5[96]="M_Y_DODGY_01";
Voice5[97]="M_Y_DODGY_01_BD1";
Voice5[98]="M_Y_DODGY_01_BN1";
Voice5[99]="M_Y_DORK_02";
Voice5[100]="M_Y_DORK_02_BD1";
Voice5[101]="M_Y_DORK_02_BN1";
Voice5[102]="M_Y_DOWNTOWN_01";
Voice5[103]="M_Y_DOWNTOWN_01_BD1";
Voice5[104]="M_Y_DOWNTOWN_01_BN1";
Voice5[105]="M_Y_DOWNTOWN_02";
Voice5[106]="M_Y_DOWNTOWN_02_BD1";
Voice5[107]="M_Y_DOWNTOWN_02_BN1";
Voice5[108]="M_Y_DOWNTOWN_03";
Voice5[109]="M_Y_DOWNTOWN_03_BD1";
Voice5[110]="M_Y_DOWNTOWN_03_BN1";
Voice5[111]="M_Y_DRUG_01";
Voice5[112]="M_Y_DRUG_01_BD1";
Voice5[113]="M_Y_DRUG_01_BN1";
Voice5[114]="M_Y_EASTEURO_01";
Voice5[115]="M_Y_EASTEURO_01_BD1";
Voice5[116]="M_Y_EASTEURO_01_BN1";
Voice5[117]="M_Y_FASTFOODBLACK";
Voice5[118]="M_Y_FASTFOODWHITES";
Voice5[119]="M_Y_FIB";
Voice5[120]="M_Y_FIREMAN_BLACK";
Voice5[121]="M_Y_FIREMAN_WHITE";
Voice5[122]="M_Y_GAFR_HI_01_FULL_01";
Voice5[123]="M_Y_GAFR_HI_01_MINI_01";
Voice5[124]="M_Y_GAFR_HI_02_FULL_01";
Voice5[125]="M_Y_GAFR_HI_02_GANG_01";
Voice5[126]="M_Y_GAFR_HI_02_MINI_01";
Voice5[127]="M_Y_GAFR_LO_01_FULL_01";
Voice5[128]="M_Y_GAFR_LO_01_FULL_02";
Voice5[129]="M_Y_GAFR_LO_01_GANG_01";
Voice5[130]="M_Y_GAFR_LO_01_MINI_01";
Voice5[131]="M_Y_GAFR_LO_02_FULL_01";
Voice5[132]="M_Y_GAFR_LO_02_GANG_01";
Voice5[133]="M_Y_GAFR_LO_02_GANG_02";
Voice5[134]="M_Y_GAFR_LO_02_MINI_01";
Voice5[135]="M_Y_GAFR_LO_02_MINI_02";
Voice5[136]="M_Y_GALB_LO_01_FULL_01";
Voice5[137]="M_Y_GALB_LO_01_GANG_01";
Voice5[138]="M_Y_GALB_LO_01_MINI_01";
Voice5[139]="M_Y_GALB_LO_02_FULL_01";
Voice5[140]="M_Y_GALB_LO_02_GANG_01";
Voice5[141]="M_Y_GALB_LO_02_MINI_01";
Voice5[142]="M_Y_GALB_LO_03_FULL_01";
Voice5[143]="M_Y_GALB_LO_03_GANG_01";
Voice5[144]="M_Y_GALB_LO_03_MINI_01";
Voice5[145]="M_Y_GALB_LO_04_FULL_01";
Voice5[146]="M_Y_GALB_LO_04_MINI_01";
Voice5[147]="M_Y_GARBAGE";
Voice5[148]="M_Y_GARBAGE_BN1";
Voice5[149]="M_Y_GARBAGE_BN2";
Voice5[150]="M_Y_GAYYOUNG";
Voice5[151]="M_Y_GAYYOUNG_BD1";
Voice5[152]="M_Y_GAYYOUNG_BN1";
Voice5[153]="M_Y_GBIK_HI_01_FULL_01";
Voice5[154]="M_Y_GBIK_HI_01_GANG_01";
Voice5[155]="M_Y_GBIK_HI_01_MINI_01";
Voice5[156]="M_Y_GBIK_HI_02_FULL_01";
Voice5[157]="M_Y_GBIK_HI_02_GANG_01";
Voice5[158]="M_Y_GBIK_HI_02_MINI_01";
Voice5[159]="M_Y_GBIK_LO_01_FULL_01";
Voice5[160]="M_Y_GBIK_LO_01_GANG_01";
Voice5[161]="M_Y_GBIK_LO_01_MINI_01";
Voice5[162]="M_Y_GBIK_LO_02_FULL_01";
Voice5[163]="M_Y_GBIK_LO_02_GANG_01";
Voice5[164]="M_Y_GBIK_LO_02_MINI_01";
Voice5[165]="M_Y_GBIK02_LO_02_FULL_01";
Voice5[166]="M_Y_GBIK02_LO_02_GANG_01";
Voice5[167]="M_Y_GBIK02_LO_02_MINI_01";
Voice5[168]="M_Y_GENSTREET_11";
Voice5[169]="M_Y_GENSTREET_11_BD1";
Voice5[170]="M_Y_GENSTREET_11_BN1";
Voice5[171]="M_Y_GENSTREET_16";
Voice5[172]="M_Y_GENSTREET_16_BD1";
Voice5[173]="M_Y_GENSTREET_16_BN1";
Voice5[174]="M_Y_GENSTREET_20";
Voice5[175]="M_Y_GENSTREET_20_BD1";
Voice5[176]="M_Y_GENSTREET_20_BN1";
Voice5[177]="M_Y_GENSTREET_34";
Voice5[178]="M_Y_GENSTREET_34_BD1";
Voice5[179]="M_Y_GENSTREET_34_BN1";

Voice6[1]="M_Y_GIRI_LO_01_FULL_01";
Voice6[2]="M_Y_GIRI_LO_01_GANG_01";
Voice6[3]="M_Y_GIRI_LO_01_MINI_01";
Voice6[4]="M_Y_GIRI_LO_02_FULL_01";
Voice6[5]="M_Y_GIRI_LO_02_MINI_01";
Voice6[6]="M_Y_GIRI_LO_03_FULL_01";
Voice6[7]="M_Y_GIRI_LO_03_GANG_01";
Voice6[8]="M_Y_GJAM_LO_01_FULL_01";
Voice6[9]="M_Y_GJAM_LO_01_GANG_01";
Voice6[10]="M_Y_GJAM_LO_01_MINI_01";
Voice6[11]="M_Y_GJAM_LO_02_FULL_01";
Voice6[12]="M_Y_GJAM_LO_02_GANG_01";
Voice6[13]="M_Y_GJAM_LO_02_MINI_01";
Voice6[14]="M_Y_GKOR_LO_01_FULL_01";
Voice6[15]="M_Y_GKOR_LO_01_GANG_01";
Voice6[16]="M_Y_GKOR_LO_01_MINI_01";
Voice6[17]="M_Y_GKOR_LO_02_FULL_01";
Voice6[18]="M_Y_GKOR_LO_02_GANG_01";
Voice6[19]="M_Y_GKOR_LO_02_MINI_01";
Voice6[20]="M_Y_GLAT_HI_01_FULL_01";
Voice6[21]="M_Y_GLAT_HI_01_GANG_01";
Voice6[22]="M_Y_GLAT_HI_01_MINI_01";
Voice6[23]="M_Y_GLAT_HI_02_FULL_01";
Voice6[24]="M_Y_GLAT_HI_02_GANG_01";
Voice6[25]="M_Y_GLAT_HI_02_MINI_01";
Voice6[26]="M_Y_GLAT_LO_01_FULL_01";
Voice6[27]="M_Y_GLAT_LO_01_GANG_01";
Voice6[28]="M_Y_GLAT_LO_01_MINI_01";
Voice6[29]="M_Y_GLAT_LO_02_FULL_01";
Voice6[30]="M_Y_GLAT_LO_02_GANG_01";
Voice6[31]="M_Y_GMAF_HI_01_FULL_01";
Voice6[32]="M_Y_GMAF_HI_01_GANG_01";
Voice6[33]="M_Y_GMAF_HI_01_MINI_01";
Voice6[34]="M_Y_GMAF_HI_02_FULL_01";
Voice6[35]="M_Y_GMAF_HI_02_GANG_01";
Voice6[36]="M_Y_GMAF_HI_02_GANG_02";
Voice6[37]="M_Y_GMAF_HI_02_MINI_01";
Voice6[38]="M_Y_GMAF_HI_02_MINI_02";
Voice6[39]="M_Y_GMAF_LO_01_FULL_01";
Voice6[40]="M_Y_GMAF_LO_01_GANG_01";
Voice6[41]="M_Y_GMAF_LO_01_GANG_02";
Voice6[42]="M_Y_GMAF_LO_01_MINI_01";
Voice6[43]="M_Y_GMAF_LO_01_MINI_02";
Voice6[44]="M_Y_GMAF_LO_02_FULL_01";
Voice6[45]="M_Y_GMAF_LO_02_GANG_01";
Voice6[46]="M_Y_GMAF_LO_02_GANG_02";
Voice6[47]="M_Y_GMAF_LO_02_MINI_01";
Voice6[48]="M_Y_GMAF_LO_02_MINI_02";
Voice6[49]="M_Y_GOON_01";
Voice6[50]="M_Y_GOON_01_BD1";
Voice6[51]="M_Y_GOON_01_BN1";
Voice6[52]="M_Y_GRU2_LO_01_FULL_01";
Voice6[53]="M_Y_GRU2_LO_01_GANG_01";
Voice6[54]="M_Y_GRU2_LO_01_MINI_01";
Voice6[55]="M_Y_GRUS_HI_02_FULL_01";
Voice6[56]="M_Y_GRUS_HI_02_GANG_01";
Voice6[57]="M_Y_GRUS_HI_02_MINI_01";
Voice6[58]="M_Y_GRUS_LO_01_FULL_01";
Voice6[59]="M_Y_GRUS_LO_01_GANG_01";
Voice6[60]="M_Y_GRUS_LO_01_MINI_01";
Voice6[61]="M_Y_GRUS_LO_02_FULL_01";
Voice6[62]="M_Y_GRUS_LO_02_GANG_01";
Voice6[63]="M_Y_GRUS_LO_02_MINI_01";
Voice6[64]="M_Y_GTRI_LO_01_FULL_01";
Voice6[65]="M_Y_GTRI_LO_01_GANG_01";
Voice6[66]="M_Y_GTRI_LO_01_MINI_01";
Voice6[67]="M_Y_GTRI_LO_02_FULL_01";
Voice6[68]="M_Y_GTRI_LO_02_GANG_01";
Voice6[69]="M_Y_GTRI_LO_02_MINI_01";
Voice6[70]="M_Y_GYMGUY_01";
Voice6[71]="M_Y_GYMGUY_01_BN1";
Voice6[72]="M_Y_GYMGUY_01_BN2";
Voice6[73]="M_Y_HARDMAN_01";
Voice6[74]="M_Y_HARDMAN_01_BD1";
Voice6[75]="M_Y_HARDMAN_01_BN1";
Voice6[76]="M_Y_HARLEM_01";
Voice6[77]="M_Y_HARLEM_01_BD1";
Voice6[78]="M_Y_HARLEM_01_BN1";
Voice6[79]="M_Y_HARLEM_02";
Voice6[80]="M_Y_HARLEM_02_BD1";
Voice6[81]="M_Y_HARLEM_02_BN1";
Voice6[82]="M_Y_HARLEM_04";
Voice6[83]="M_Y_HARLEM_04_BD1";
Voice6[84]="M_Y_HARLEM_04_BN1";
Voice6[85]="M_Y_HASID_01";
Voice6[86]="M_Y_HASID_01_BD1";
Voice6[87]="M_Y_HASID_01_BN1";
Voice6[88]="M_Y_HELI_COP";
Voice6[89]="M_Y_JOGGER_BN1";
Voice6[90]="M_Y_JOGGER_BN2";
Voice6[91]="M_Y_LEASTSIDE_01";
Voice6[92]="M_Y_LEASTSIDE_01_BD1";
Voice6[93]="M_Y_LEASTSIDE_01_BN1";
Voice6[94]="M_Y_MECHANIC_02";
Voice6[95]="M_Y_MECHANIC_02_BD1";
Voice6[96]="M_Y_MECHANIC_02_BN1";
Voice6[97]="M_Y_PBRONX_01";
Voice6[98]="M_Y_PBRONX_01_BD1";
Voice6[99]="M_Y_PBRONX_01_BN1";
Voice6[100]="M_Y_PCOOL_01";
Voice6[101]="M_Y_PCOOL_01_BD1";
Voice6[102]="M_Y_PCOOL_01_BN1";
Voice6[103]="M_Y_PCOOL_02";
Voice6[104]="M_Y_PCOOL_02_BD1";
Voice6[105]="M_Y_PCOOL_02_BN1";
Voice6[106]="M_Y_PHARBRON_01";
Voice6[107]="M_Y_PHARBRON_01_BD1";
Voice6[108]="M_Y_PHARBRON_01_BN1";
Voice6[109]="M_Y_PHARLEM_01";
Voice6[110]="M_Y_PHARLEM_01_BD1";
Voice6[111]="M_Y_PHARLEM_01_BN1";
Voice6[112]="M_Y_PINDUS_01";
Voice6[113]="M_Y_PINDUS_01_BD1";
Voice6[114]="M_Y_PINDUS_01_BN1";
Voice6[115]="M_Y_PINDUS_02";
Voice6[116]="M_Y_PINDUS_02_BD1";
Voice6[117]="M_Y_PINDUS_02_BN1";
Voice6[118]="M_Y_PINDUS_03";
Voice6[119]="M_Y_PINDUS_03_BD1";
Voice6[120]="M_Y_PINDUS_03_BN1";
Voice6[121]="M_Y_PJERSEY_01";
Voice6[122]="M_Y_PJERSEY_01_BD1";
Voice6[123]="M_Y_PJERSEY_01_BN1";
Voice6[124]="M_Y_PLATIN_01";
Voice6[125]="M_Y_PLATIN_01_BD1";
Voice6[126]="M_Y_PLATIN_01_BN1";
Voice6[127]="M_Y_PLATIN_02";
Voice6[128]="M_Y_PLATIN_02_BD1";
Voice6[129]="M_Y_PLATIN_02_BN1";
Voice6[130]="M_Y_PLATIN_03";
Voice6[131]="M_Y_PLATIN_03_BD1";
Voice6[132]="M_Y_PLATIN_03_BN1";
Voice6[133]="M_Y_PMANHAT_01";
Voice6[134]="M_Y_PMANHAT_01_BD1";
Voice6[135]="M_Y_PMANHAT_01_BN1";
Voice6[136]="M_Y_PMANHAT_02";
Voice6[137]="M_Y_PMANHAT_02_BD1";
Voice6[138]="M_Y_PMANHAT_02_BN1";
Voice6[139]="M_Y_PMEDIC_BLACK";
Voice6[140]="M_Y_PMEDIC_CHINESE";
Voice6[141]="M_Y_PORIENT_01";
Voice6[142]="M_Y_PORIENT_01_BD1";
Voice6[143]="M_Y_PORIENT_01_BN1";
Voice6[144]="M_Y_PQUEENS_01";
Voice6[145]="M_Y_PQUEENS_01_BD1";
Voice6[146]="M_Y_PQUEENS_01_BN1";
Voice6[147]="M_Y_PRICH_01";
Voice6[148]="M_Y_PRICH_01_BD1";
Voice6[149]="M_Y_PRICH_01_BN1";
Voice6[150]="M_Y_PVILBO_01";
Voice6[151]="M_Y_PVILLBO_01_BD1";
Voice6[152]="M_Y_PVILLBO_01_BN1";
Voice6[153]="M_Y_PVILLBO_02";
Voice6[154]="M_Y_PVILLBO_02_BD1";
Voice6[155]="M_Y_PVILLBO_02_BN1";
Voice6[156]="M_Y_PVILLBO_03";
Voice6[157]="M_Y_PVILLBO_03_BD1";
Voice6[158]="M_Y_PVILLBO_03_BN1";
Voice6[159]="M_Y_QUEENSBRIDGE";
Voice6[160]="M_Y_QUEENSBRIDGE_BD1";
Voice6[161]="M_Y_QUEENSBRIDGE_BN1";
Voice6[162]="M_Y_RUNNER";
Voice6[163]="M_Y_RUNNER_BD1";
Voice6[164]="M_Y_RUNNER_BN1";
Voice6[165]="M_Y_SHADY_02";
Voice6[166]="M_Y_SHADY_02_BD1";
Voice6[167]="M_Y_SHADY_02_BN1";
Voice6[168]="M_Y_SHOPASST";
Voice6[169]="M_Y_SKATEBIKE_01";
Voice6[170]="M_Y_SKATEBIKE_01_BD1";
Voice6[171]="M_Y_SKATEBIKE_01_BN1";
Voice6[172]="M_Y_SOHO_01";
Voice6[173]="M_Y_SOHO_01_BD1";
Voice6[174]="M_Y_SOHO_01_BN1";
Voice6[175]="M_Y_STREET_01";
Voice6[176]="M_Y_STREET_01_BD1";
Voice6[177]="M_Y_STREET_01_BN1";
Voice6[178]="M_Y_STREET_03";
Voice6[179]="M_Y_STREET_03_BD1";
Voice6[180]="M_Y_STREET_03_BN1";
Voice6[181]="M_Y_STREET_04";
Voice6[182]="M_Y_STREET_04_BD1";
Voice6[183]="M_Y_STREET_04_BN1";
Voice6[184]="M_Y_STREETBLK_02";
Voice6[185]="M_Y_STREETBLK_02_BD1";
Voice6[186]="M_Y_STREETBLK_02_BN1";
Voice6[187]="M_Y_STREETBLK_03";
Voice6[188]="M_Y_STREETBLK_03_BD1";
Voice6[189]="M_Y_STREETBLK_03_BN1";
Voice6[190]="M_Y_STREETPUNK_02";
Voice6[191]="M_Y_STREETPUNK_02_BD1";
Voice6[192]="M_Y_STREETPUNK_02_BN1";
Voice6[193]="M_Y_STREETPUNK_04";
Voice6[194]="M_Y_STREETPUNK_04_BD1";
Voice6[195]="M_Y_STREETPUNK_04_BN1";
Voice6[196]="M_Y_STREETPUNK_05";
Voice6[197]="M_Y_STREETPUNK_05_BD1";
Voice6[198]="M_Y_STREETPUNK_05_BN1";
Voice6[199]="M_Y_STROOPER_WHITE_01";
Voice6[200]="M_Y_SWAT_BLACK";
Voice6[201]="M_Y_SWAT_HISPANIC";
Voice6[202]="M_Y_SWAT_WHITE";
Voice6[203]="M_Y_TOUGH_05";
Voice6[204]="M_Y_TOUGH_05_BD1";
Voice6[205]="M_Y_TOUGH_05_BN1";
Voice6[206]="M_Y_TOURIST_02";
Voice6[207]="M_Y_TOURIST_02_BD1";
Voice6[208]="M_Y_TOURIST_02_BN1";
Voice6[209]="M_Y_VALET";
Voice6[210]="M_Y_VENDOR";
Voice6[211]="M_Y_WAITER_01"


The natives:

CODE

static void SetAmbientVoiceName(Ped ped, const ch *voice) { NativeInvoke::Invoke<scriptVoid>("SET_AMBIENT_VOICE_NAME", ped, voice); }
static void SetVoiceIdFromHeadComponent(Ped ped, ePedComponent head, b8 enable) { NativeInvoke::Invoke<scriptVoid>("SET_VOICE_ID_FROM_HEAD_COMPONENT", ped, head, enable); }


Have fun smile.gif

ceedj
  • ceedj

    PEDS Creator

  • Feroci Racing
  • Joined: 21 May 2005

#3

Posted 23 September 2009 - 07:39 AM Edited by ceedj, 25 September 2009 - 04:15 AM.

That is VERY cool of you. On vacation no less. THANK YOU; I had been beating my head against a wall for a few days now. I felt like I was on the right track though. Thanks for providing your list as well; I couldn't get Spark to work with my version of the game, so I don't think I would've gotten all of those. You've also made your way into my credits for the mod, if it means anything. tounge.gif

Enjoy the rest of your vacation sir. smile.gif

EDIT: I LOVE it when I can give something in return. For most of the time I was trying to get this working, I was using "mission_fail_rage". Well, it looks like you need to set the player mood to pissed off before you use it, like such:

CODE
SetPlayerMoodPissedOff(GetPlayer(), 150);
SayAmbSpeech(AnimPed, MISSION_FAIL_RAGE, 1, 1, 0);


I'm doing this to get in and out of it with GTA IV Studios:

CODE
if (KEYDOWN(VK_S))
{fscanf (pFile6, "%s", AnimIDFace3);
 SetVoiceIdFromHeadComponent(AnimPed, 0, 1);
 if (strcmp(AnimIDFace3, "MISSION_FAIL_RAGE") == 0)
 {SetPlayerMoodPissedOff(GetPlayer(), 150);}
 SayAmbSpeech(AnimPed, AnimIDFace3, 1, 1, 0);
 if (strcmp(AnimIDFace3, "MISSION_FAIL_RAGE") == 0)
 {SetPlayerMoodNormal(GetPlayer());}
 return;


Basically comparing the string in AnimIDFace3 (set in my IVspeech file) and if it matches, turn it on, do the voice, then turn it back off. Hope it helps. smile.gif

EDIT2: Oooooo nifty!

CODE
LoadAddtionalText("J1AUD", 6);


This will load the Jimmy Pegorino mission audio, so that this will now work:

CODE
SayAmbSpeechWithVoice(ped, "GET_OUT_OF_HERE", "JIMMY_PEGORINO", 1, 1, 0);


Very cool, audio options now opened up by a bunch! lol.gif

Hopefully, someone can decode speech.dat so we can figure out what the mappings are...

EDIT 3: Ok, based on what you found, and what I've found, here's some of the mappings:

CODE
*SPEECH*

(Type in 0, ACTION, then NULL. Example: 0 THANKS NULL)

NIKO ONLY:

AFTER_SEX
ARRESTED
BOWLING_GUTTER
BOWLING_SPARE
BOWLING_STRIKE
HOOKER_CAR_SMALL
HOOKER_CHEAP
HOOKER_EXPENSIVE
HOOKER_MIDRANGE
HOOKER_QUIET
HOOKER_RELIEF
HOOKER_SEX
HURRY_UP
KILLED_ALL
MESSING_WITH_PHONE
MISSION_FAIL_RAGE
RADIO_REQ_BEAT
RADIO_REQ_CLASSICS
RADIO_REQ_FRANCOIS
RADIO_REQ_FUSION
RADIO_REQ_JNR
RADIO_REQ_JOURNEY
RADIO_REQ_K109
RADIO_REQ_LCHC
RADIO_REQ_LRR
RADIO_REQ_PLR
RADIO_REQ_SANJUAN
RADIO_REQ_VIBE
RADIO_REQ_VLADIVOSTOK
RADIO_REQ_WKTT
SEARCH_BODY_TAKE_ITEM
SHOOT
SOLICIT_HOOKER_RESP_POS_CAR
STRIP_ASK_TO_LEAVE
STRIP_ENJOYING_SELF
TARGET
TARGET_NOGENDER
TAXI_HAIL_DRUNK

GANG PEDS ONLY:

DRUGS_SELL
CONV_GANG_RESP
CONV_GANG_STATE
CONV_SMOKE_STATE
COVER_ME
GANG_ATTACK_WARNING
GANG_ATTACK_WARNING
GANG_CHASE
GANG_FIGHT_CHEER
GANG_INTERVENE
GANG_WATCH_THIS_GUY
GANG_WATCH_THIS_GUY_RESP
GANG_WATCH_THIS_GUY_SOLO
GANG_WEAPON_WARNING
GANG_YOU_DROP_WEAPON
MOVE_IN
SURROUNDED
TAKE_COVER
TARGET
TARGET_NOGENDER
SHUT_UP_HORN


COPS ONLY:

INTIMIDATE
PULLED_OVER_DAMAGED
PULLED_OVER_RECKLESS
PULLED_OVER_SPEEDING
REQUEST_BACKUP
MOVE_IN
COVER_ME
FOLLOWED
SURROUNDED
TAKE_COVER
TARGET
TARGET_NOGENDER

MISSION ACTORS/GIRLFRIENDS ONLY:

NEED_A_VEHICLE
LISTEN_TO_RADIO
POST_DATE_INNUENDO
FIGHT_OTHER_GIRLFRIEND

GENERIC PEDS:
(most work with gang and some with NIKO
some are male only, some are female only)

BLOCKED_PED
BLOCKED_VEHICLE
BUMP
DRUGS_REJECT
CRASH_CAR
CRASH_GENERIC
DODGE
DRUGS_REJECT
GENERIC_BYE
GENERIC_DEJECTED
GENERIC_f*ck_OFF
GENERIC_HI
GENERIC_NO
GENERIC_YES
GET_IN_CAR
GET_OUT
GET_OUT_OF_HERE
FIGHT
GUN_RUN
GUNSHOT_IN_VEHICLE
HECKLE
INHALE
INTIMIDATE_RESP
JACK_CAR_BACK
JACKED_ON_STREET
JACKING_CAR_BACK
JACKING_GENERIC_BACK
JEERING
LATE
MOBILE_CHAT
NIGHTCLUB_CHAT
NIKO_STEALS_VEHICLE
NOTHING_TO_SEE
ORDER_FOOD
PANIC
PHOTO
PLAYER_OVER_THERE
PLAYER_UP_THERE
SAVED
sh*t
SHOCKED
SHOT_IN_LEG
SURPRISED
TAXI_BAIL
TAXI_DRIVES_FAST
TAXI_HIT_PED
TAXI_START
TAXI_SUCCESS
THANKS
TRAPPED
TWO_WAY_PHONE_CHAT
VEHICLE_ATTACKED


*SPEECH WITH VOICE*

(Type in 1, ACTION, then BANK. Example: 1 LAUGH PAIN_VOICE)

PAIN_VOICE
-COUGH
-LAUGH
-PANIC
-ON_FIRE
-HIGH_VOICE

PLAYBOY
-sh*t

JIMMY_PEGORINO
-GET_OUT_OF_HERE
-GET_IN_CAR
-LISTEN_TO_RADIO

M_Y_GJAM_LO_01_FULL_01
-EXPLOSION_IS_IMMINENT

M_Y_GJAM_LO_02_FULL_01
-TAKE_COVER

M_Y_COP_BLACK
-EMERG_PRANK_CALL
-EMERG_ARRIVE_AT_SCENE
-EVACUATE_AREA

M_Y_PMEDIC_CHINESE
-EMERG_ARRIVE_AT_SCENE
-EMERG_MEDIC_SEES_P
-EMERG_ARRIVE_AT_SCENE

M_Y_PMEDIC_BLACK
-EMERG_ARRIVE_AT_SCENE
-EMERG_MEDIC_SEES_P
-EMERG_ARRIVE_AT_SCENE

M_M_FIRECHIEF
-EMERG_ARRIVE_AT_SCENE
-EMERG_PRANK_CALL

M_Y_FIREMAN_BLACK
-EMERG_ARRIVE_AT_SCENE
-EMERG_PRANK_CALL


(Ignore the 0 and 1 instructions - this is from a file in my mod)

Still can't get SetAmbientVoiceName and the speeches to go with it to work. Maybe I'm missing another variable somewhere? Anyway, what I have now is a very good start, so we can do some lipsync stuff for machinima now. smile.gif

sjaak327
  • sjaak327

    Big Homie

  • Feroci Racing
  • Joined: 01 Dec 2008
  • None

#4

Posted 25 September 2009 - 04:05 AM Edited by sjaak327, 25 September 2009 - 04:14 AM.

You are welcome sir smile.gif

One tip, to make sparkIV work, just copy an older gtaiv.exe (like 1.0.2.0 into the same folder as where you have put sparkiv and it should work fine on the lastest gtaiv version.

Edit: you edited your post while I was adding mine smile.gif

Great mapping.

Regarding setambientvoicename, they should work fine, and I think that those two commands should do the trick, I will look into the source once more later on, to see if I left something out.


Magicdietz
  • Magicdietz

    Player Hater

  • Members
  • Joined: 22 Feb 2009

#5

Posted 26 September 2009 - 08:07 AM

First of all: Good Work

I tried the "SayAmbientSpeech" thing several months ago, it did work, however, other players in multiplayer couldn't see the voice animation of my player character. So I dropped the "SayAmbientSpeech" Idea.

If your solution works fully in MP, i'd be very glad, because this will help me to create some real machinima wich real voice acting, which would be a premiere for IV machinima.

Thanks smile.gif

(if there are some mistakes in my spelling/grammar: I'm german, sorry)

Anderson2005
  • Anderson2005

    Police Pursuit Mod Developer

  • Members
  • Joined: 21 Sep 2009

#6

Posted 10 October 2009 - 10:00 PM

Is it possible to play the ambient speeches that don't have any names? just memory addresses? such a "0x234has34" e.t.c ?


X-bone
  • X-bone

    Square Civilian

  • Members
  • Joined: 18 Apr 2010

#7

Posted 30 June 2010 - 01:48 PM

Char pPlayer;
u32 playerIndex = ConvertIntToPlayerIndex(GetPlayerId());
GetPlayerChar(playerIndex, &pPlayer);
SetVoiceIdFromHeadComponent(pPlayer,PED_COMPONENT_HEAD,1);
SayAmbientSpeech(pPlayer,"Voice1[3]",1,1,0);


what wrong with this??

123iamking
  • 123iamking

    Who am I?

  • Members
  • Joined: 21 Jan 2011

#8

Posted 18 January 2013 - 10:05 AM

but how to make ped speak random things (or the player character ) ? monocle.gif

Nevitro
  • Nevitro

    Modder

  • Members
  • Joined: 31 Mar 2009

#9

Posted 02 February 2013 - 10:10 PM

Hey people, someone found fix for animations when player say ambient speech?
I just want moving mount without body...

sc2142
  • sc2142

    Player Hater

  • Members
  • Joined: 20 Apr 2012

#10

Posted 22 February 2013 - 04:06 PM

Is there an updated version of this for vb?

123iamking
  • 123iamking

    Who am I?

  • Members
  • Joined: 21 Jan 2011

#11

Posted 28 February 2013 - 01:17 PM

Does any one know how Simple Native Trainer make player.character speak random speech when we press Alt+0 ??? monocle.gif monocle.gif

soaote
  • soaote

    Player Hater

  • Members
  • Joined: 09 Jan 2013

#12

Posted 04 March 2013 - 08:27 AM

That is VERY cool of you.

julionib
  • julionib

    Coder

  • Feroci Racing
  • Joined: 13 Sep 2012
  • Brazil

#13

Posted 30 March 2013 - 06:23 PM

some of this speechs will only work with the correct ped model?

im asking that because i was only able to say ambient speech from "generic" speechs like those:

QUOTE
PAIN_VOICE
-COUGH
-LAUGH
-PANIC
-ON_FIRE
-HIGH_VOICE


and

QUOTE
GENERIC PEDS:
(most work with gang and some with NIKO
some are male only, some are female only)

BLOCKED_PED
BLOCKED_VEHICLE
BUMP



i tryed to create the model but didnt worked too sad.gif

MOrdecki
  • MOrdecki

    Scripter

  • Members
  • Joined: 10 Jul 2006

#14

Posted 12 June 2013 - 10:36 PM

Has anyone some idea about scripted conversations ?
Like how can i create some conversation from mission voices ?

GTA_Player_M
  • GTA_Player_M

    Player Hater

  • Members
  • Joined: 02 May 2013

#15

Posted 18 June 2013 - 03:33 PM

How to play any speech located at "audio/sfx/speech" ?
This can be done??

123iamking
  • 123iamking

    Who am I?

  • Members
  • Joined: 21 Jan 2011

#16

Posted 06 December 2013 - 08:00 AM

static void SetVoiceIdFromHeadComponent(Ped ped, ePedComponent head, b8 enable) { NativeInvoke::Invoke<scriptVoid>("SET_VOICE_ID_FROM_HEAD_COMPONENT", ped, head, enable); }

In C#, I can't figure out how to put "head" para.

 

[code=auto:0]

Ped testPed

 

GTA.Native.Function.Call("SET_VOICE_ID_FROM_HEAD_COMPONENT", testPed, ???,1);

[code=auto:0]

 

I'm asking this because I can't make some ped say some speeches with Native Function "SAY_AMBIENT_SPEECH" (Ex: I can't make "fat biker" say speech "Mobile chat" with that function), but After I use SNT to make that ped say some speeches (Bodyguard speech menu,u know), I can make him say speech "Mobile chat" with "SAY_AMBIENT_SPEECH"; and it only work with the ped that has been force to say speech with SNT. 

 

 

 

 

 


iriedreadlock23
  • iriedreadlock23

    Dr. Frankenstein

  • Members
  • Joined: 14 Jan 2009

#17

Posted 07 December 2013 - 06:18 PM

if (IS_CHAR_MALE( TargetPed ))
{
   SET_VOICE_ID_FROM_HEAD_COMPONENT( TargetPed, 0, 1 );
}
else
{
   SET_VOICE_ID_FROM_HEAD_COMPONENT( TargetPed, 0, 0 );
}
FORCE_FULL_VOICE( TargetPed );

123iamking
  • 123iamking

    Who am I?

  • Members
  • Joined: 21 Jan 2011

#18

Posted 08 December 2013 - 04:54 AM Edited by 123iamking, 14 December 2013 - 06:50 AM.

if (IS_CHAR_MALE( TargetPed ))
{
   SET_VOICE_ID_FROM_HEAD_COMPONENT( TargetPed, 0, 1 );
}
else
{
   SET_VOICE_ID_FROM_HEAD_COMPONENT( TargetPed, 0, 0 );
}
FORCE_FULL_VOICE( TargetPed );

Thanks for your help, but it doesn't work with the fat biker (voice: M_Y_GBIK_HI_01_FULL_01, speech: MOBILE_CHAT). (SNT can make it work, somehow SNT has more powerful "Force full voice").

I have tried with <<GTA.Native.Function.Call("SAY_AMBIENT_SPEECH_WITH_VOICE", TargetPed, "MOBILE_CHAT", "M_Y_GBIK_HI_01_FULL_01", 1, 1, 2);>>  ,and that speech can be spoken, but then I use "SAY_AMBIENT_SPEECH", it's not working.

Ahh, I got it, actually, SNT doesn't use SET_VOICE_ID_FROM_HEAD_COMPONENT, but it uses
SET_AMBIENT_VOICE_NAME with a complete list of speeches and voices. So the real voice of the fat biker 's not really M_Y_GBIK_HI_01_FULL_01.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users