All-Aircraft-Simulations
Voices Pilots - Printable Version

+- All-Aircraft-Simulations (https://allaircraftsimulations.com)
+-- Forum: IL2 MODS Download & Discussion (https://allaircraftsimulations.com/forumdisplay.php?fid=267)
+--- Forum: IL-2 4.09m (https://allaircraftsimulations.com/forumdisplay.php?fid=348)
+---- Forum: IL2 MODS Discussion Section 4.09m (https://allaircraftsimulations.com/forumdisplay.php?fid=292)
+---- Thread: Voices Pilots (/showthread.php?tid=54523)

Pages: 1 2 3


- ghostil - 01.06.2008

I tried to insert it but not on sense it turns out. And the Oleg Medoks does not wish to do it back


- ghostil - 01.06.2008

http://ghostrecon.ru/forum/viewtopic.ph ... 4597#p4597


- lorenai - 01.06.2008

Bee Wrote:Hope he comes here Smile
It seems he's already here. :lol: Concerning the accent he speaks, this guy is... GHOSLI Smile

Novichok8 or Ghostil, so how did you turn it on? would you be sokind to put in here your mod?


- ghostil - 01.06.2008

да я новичок8 на Сухом здесь гхостил на том сайте гхост


- ghostil - 01.06.2008

It has turned out to add only losses of planes.


- lorenai - 01.06.2008

ghostil Wrote:It has turned out to add only losses of planes.
Soryr but i got nothing from what you say! :roll: You'd better tell us thw way to turn on all those disabled voice messages.


- ghostil - 02.06.2008

1 hud_msg.properties


- ghostil - 02.06.2008

2 Voicebase.class
/* VoiceBase - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
package com.maddox.il2.objects.sounds;

public class VoiceBase
{
public static final int vb_0 = 1;
public static final int vb_01 = 2;
public static final int vb_030 = 3;
public static final int vb_05 = 4;
public static final int vb_060 = 5;
public static final int vb_090 = 6;
public static final int vb_10 = 7;
public static final int vb_100 = 8;
public static final int vb_10_o_clock = 9;
public static final int vb_10_o_clock_high = 10;
public static final int vb_10_o_clock_low = 11;
public static final int vb_11_o_clock = 12;
public static final int vb_11_o_clock_high = 13;
public static final int vb_11_o_clock_low = 14;
public static final int vb_120 = 15;
public static final int vb_12_o_clock = 16;
public static final int vb_12_o_clock_high = 17;
public static final int vb_12_o_clock_low = 18;
public static final int vb_15 = 19;
public static final int vb_150 = 20;
public static final int vb_180 = 21;
public static final int vb_1_minute_to_target = 22;
public static final int vb_1_o_clock = 23;
public static final int vb_1_o_clock_high = 24;
public static final int vb_1_o_clock_low = 25;
public static final int vb_20 = 26;
public static final int vb_210 = 27;
public static final int vb_240 = 28;
public static final int vb_25 = 29;
public static final int vb_270 = 30;
public static final int vb_2_o_clock = 31;
public static final int vb_2_o_clock_high = 32;
public static final int vb_2_o_clock_low = 33;
public static final int vb_30 = 34;
public static final int vb_300 = 35;
public static final int vb_330 = 36;
public static final int vb_35 = 37;
public static final int vb_3_o_clock = 38;
public static final int vb_3_o_clock_high = 39;
public static final int vb_3_o_clock_low = 40;
public static final int vb_40 = 41;
public static final int vb_45 = 42;
public static final int vb_4_o_clock = 43;
public static final int vb_4_o_clock_high = 44;
public static final int vb_4_o_clock_low = 45;
public static final int vb_50 = 46;
public static final int vb_55 = 47;
public static final int vb_5_kilometers_ahead = 48;
public static final int vb_5_minutes_to_target = 49;
public static final int vb_5_o_clock = 50;
public static final int vb_5_o_clock_high = 51;
public static final int vb_5_o_clock_low = 52;
public static final int vb_60 = 53;
public static final int vb_65 = 54;
public static final int vb_6_o_clock = 55;
public static final int vb_6_o_clock_high = 56;
public static final int vb_6_o_clock_low = 57;
public static final int vb_70 = 58;
public static final int vb_75 = 59;
public static final int vb_7_o_clock = 60;
public static final int vb_7_o_clock_high = 61;
public static final int vb_7_o_clock_low = 62;
public static final int vb_80 = 63;
public static final int vb_85 = 64;
public static final int vb_8_o_clock = 65;
public static final int vb_8_o_clock_high = 66;
public static final int vb_8_o_clock_low = 67;
public static final int vb_90 = 68;
public static final int vb_95 = 69;
public static final int vb_9_o_clock = 70;
public static final int vb_9_o_clock_high = 71;
public static final int vb_9_o_clock_low = 72;
public static final int vb_Approaching_our_target_1_minute_out = 73;
public static final int vb_Approaching_our_target_5_minutes_out = 74;
public static final int vb_Attack = 75;
public static final int vb_Attack_bombers = 76;
public static final int vb_Attack_fighters = 77;
public static final int vb_Attack_the_escort = 78;
public static final int vb_Attacking_with_rockets = 79;
public static final int vb_Attention_Stay_in_formation_Stand_by_for_my_orders
= 80;
public static final int vb_Attention = 81;
public static final int vb_Bail_out_Bail_out = 82;
public static final int vb_bandits = 83;
public static final int vb_Bombers = 84;
public static final int vb_Bombs_away = 85;
public static final int vb_Bridge = 86;
public static final int vb_Cease_fire_shooting_at_friendly = 87;
public static final int vb_Check = 88;
public static final int vb_Clear_my_tail = 89;
public static final int vb_Damn = 90;
public static final int vb_Damn_I_m_hit = 91;
public static final int vb_Destroyer = 92;
public static final int vb_Direct_hit_Target_destroyed = 93;
public static final int vb_Eigh = 94;
public static final int vb_Eleven = 95;
public static final int vb_Enemy_bombers = 96;
public static final int vb_Enemy_fighters = 97;
public static final int vb_Enemy_ships = 99;
public static final int vb_Engage = 100;
public static final int vb_Engage_bomber_formation = 101;
public static final int vb_Engage_bombers = 102;
public static final int vb_Engage_fighters = 103;
public static final int vb_Engage_the_escort = 104;
public static final int vb_Everyone_let_s_go_home = 105;
public static final int vb_Fifteen = 106;
public static final int vb_Fighters = 107;
public static final int vb_Firing_rockets = 108;
public static final int vb_First_Para = 109;
public static final int vb_Five = 110;
public static final int vb_Flak = 111;
public static final int vb_Four = 112;
public static final int vb_Fourteen = 113;
public static final int vb_Fourth_Para = 114;
public static final int vb_get_him_off_me = 115;
public static final int vb_Get_out_and_hit_the_silk = 116;
public static final int vb_Going_around = 117;
public static final int vb_Height = 118;
public static final int vb_Hell = 119;
public static final int vb_Hit_the_silk = 120;
public static final int vb_I_m_bailing_out = 121;
public static final int vb_I_m_hit_I_m_hit = 122;
public static final int vb_I_m_on_fire_bailing_out = 123;
public static final int vb_I_m_out_of_ammo = 124;
public static final int vb_I_ve_had_it_I_m_bailing_out = 125;
public static final int vb_Mayday_Mayday_I_m_going_down = 126;
public static final int vb_Mission_accomplished = 127;
public static final int vb_Mission_accomplished_Excellent_Just_like_the_movies
= 128;
public static final int vb_My_guns_are_empty = 129;
public static final int vb_Negative_I_m_going_in = 130;
public static final int vb_Nine = 131;
public static final int vb_Okay_we_are_finished_here_Let_s_go_home = 132;
public static final int vb_One = 133;
public static final int vb_On_final_requesting_permission_to_land = 134;
public static final int vb_On_the_go_around = 135;
public static final int vb_Over = 136;
public static final int vb_Pull_up_Pull_up = 137;
public static final int vb_Repeat_attack = 138;
public static final int vb_Return_to_base_I_repeat_return_to_home_base
= 139;
public static final int vb_Return_to_base_immediately = 140;
public static final int vb_Rockets_gone = 141;
public static final int vb_Second_Para = 142;
public static final int vb_Seven = 143;
public static final int vb_Six = 144;
public static final int vb_Sixteen = 145;
public static final int vb_Somebody = 146;
public static final int vb_Stand_by_for_my_orders = 147;
public static final int vb_Stay_in_formation = 148;
public static final int vb_Stay_on_course = 149;
public static final int vb_Stay_on_leader_s_course = 150;
public static final int vb_Stay_with_me = 151;
public static final int vb_Tanks = 152;
public static final int vb_Target_destroyed = 153;
public static final int vb_Target_in_fire_Direct_hit = 154;
public static final int vb_Ten = 155;
public static final int vb_Third_Para = 156;
public static final int vb_Thirteen = 157;
public static final int vb_This_is_One = 158;
public static final int vb_Three = 159;
public static final int vb_Torpedo_boats = 160;
public static final int vb_Train = 161;
public static final int vb_Transport_column = 162;
public static final int vb_Twelve = 163;
public static final int vb_Two = 164;
public static final int vb_Vector = 165;
public static final int vb_Watch_it_You_re_shooting_at_one_of_ours = 166;
public static final int vb_Watch_the_ground_Pull_up = 167;
public static final int vb_We_are_heading_home = 168;
public static final int vb_We_are_on_target_starting_our_attack_run = 169;
public static final int vb_What_the_Hell = 170;
public static final int vb_Where_are_you = 171;
public static final int vb_You_re_getting_too_close_Pull_up = 172;
public static final int vb_your_1_o_clock = 173;
public static final int vb_your_1_o_clock_high = 174;
public static final int vb_your_1_o_clock_low = 175;
public static final int vb_your_10_o_clock = 176;
public static final int vb_your_10_o_clock_high = 177;
public static final int vb_your_10_o_clock_low = 178;
public static final int vb_your_11_o_clock = 179;
public static final int vb_your_11_o_clock_high = 180;
public static final int vb_your_11_o_clock_low = 181;
public static final int vb_your_2_o_clock = 182;
public static final int vb_your_2_o_clock_high = 183;
public static final int vb_your_2_o_clock_low = 184;
public static final int vb_your_3_o_clock = 185;
public static final int vb_your_3_o_clock_high = 186;
public static final int vb_your_3_o_clock_low = 187;
public static final int vb_your_4_o_clock = 188;
public static final int vb_your_4_o_clock_high = 189;
public static final int vb_your_4_o_clock_low = 190;
public static final int vb_your_5_o_clock = 191;
public static final int vb_your_5_o_clock_high = 192;
public static final int vb_your_5_o_clock_low = 193;
public static final int vb_your_6_o_clock = 194;
public static final int vb_your_6_o_clock_high = 195;
public static final int vb_your_6_o_clock_low = 196;
public static final int vb_your_7_o_clock = 197;
public static final int vb_your_7_o_clock_high = 198;
public static final int vb_your_7_o_clock_low = 199;
public static final int vb_your_8_o_clock = 200;
public static final int vb_your_8_o_clock_high = 201;
public static final int vb_your_8_o_clock_low = 202;
public static final int vb_your_9_o_clock = 203;
public static final int vb_your_9_o_clock_high = 204;
public static final int vb_your_9_o_clock_low = 205;
public static final int vb_your_12_o_clock = 206;
public static final int vb_your_12_o_clock_high = 207;
public static final int vb_your_12_o_clock_low = 208;
public static final int vb_Zveno_1 = 209;
public static final int vb_Zveno_2 = 210;
public static final int vb_Zveno_3 = 211;
public static final int vb_Zveno_4 = 212;
public static final int vb_Hell2 = 213;
public static final int vb_Damn1 = 214;
public static final int vb_Hell1 = 215;
public static final int vb_Hell3 = 216;
public static final int vb_What_the_Hell1 = 217;
public static final int vb_Anybody = 218;
public static final int vb_Hello_guys = 219;
public static final int vb_Nice_to_see_you = 220;
public static final int vb_Thanks_for_joining_us = 221;
public static final int vb_Thanks_for_the_cover = 222;
public static final int vb_Thanks_for_the_cover_see_you_back_at_home_base
= 223;
public static final int vb_Thanks_for_the_support_have_a_good_trip_home
= 224;
public static final int vb_We_are_coming_under_attack_request_assistance_over
= 225;
public static final int vb_We_are_under_attack_requesting_immediate_assistance
= 226;
public static final int vb_We_are_under_attack_we_need_assistance_over
= 227;
public static final int vb_Where_are_you_fighters_We_need_immediate_assistance
= 228;
public static final int vb_They_are_chopping_us_up_We_have_lost_one_more_aircraft_Request_immediate_assistance
= 229;
public static final int vb_We_are_under_attack_Repeat_we_are_under_attack_We_have_lost_aircraft
= 230;
public static final int vb_Commencing_bomb_run_now = 231;
public static final int vb_We_are_at_IP_commencing_bomb_run = 232;
public static final int vb_Negative_all_available_fighters_are_busy_at_this_time_Sorry
= 233;
public static final int vb_Negative_no_other_fighters_are_near_by_Good_luck
= 234;
public static final int vb_This_is_Home_base = 235;
public static final int vb_This_is_tower_Abort_approach_Abort_approach
= 236;
public static final int vb_Vectoring_fighters_to_your_area_Hang_on_tight
= 237;
public static final int vb_Wave_off_Wave_off = 238;
public static final int vb_We_are_sending_fighters_to_your_location_Hang_on
= 239;
public static final int vb_You_re_cleared_for_full_stop_Watch_the_traffic
= 240;
public static final int vb_You_re_cleared_for_take_off = 241;
public static final int vb_You_are_ready_to_go_Sir = 242;
public static final int vb_Control_tower_confirm_you_re_cleared_to_land
= 243;
public static final int vb_Eight = 244;
public static final int vb_Warning_Traffic_is_on_the_runway_Go_round_repeat_go_round
= 245;
public static final int vb_This_is_control_tower_Repeat_this_is_control_tower_You_re_not_cleared_hold_the_pattern
= 246;
public static final int vb_Watch_the_traffic_You_re_not_cleared_to_land_Fly_the_holding_pattern
= 247;
public static final int vb_Approach_control_here_Proceed_you_re_cleared_to_land
= 248;
public static final int vb_Are_you_sure_You_re_clear_there_are_no_bandits_in_your_area
= 249;
public static final int vb_Attention_Traffic_is_on_the_runway_Go_round_repeat_go_round
= 250;
public static final int vb_Clear_you_have_no_contact_with_the_enemy = 251;
public static final int vb_Good_luck = 252;
public static final int vb_Ground_control_here_Stand_by = 253;
public static final int vb_Break_right = 254;
public static final int vb_Break_left = 255;
public static final int vb_Damn_what_are_you_doing = 256;
public static final int vb_Good_job = 257;
public static final int vb_I_got_him_He_s_going_down = 258;
public static final int vb_Look_out_Stop_that_Or_NO = 259;
public static final int vb_Maneuver_immediately_Enemy_on_our_tail = 260;
public static final int vb_Well_done = 261;
public static final int vb_Roger_we_are_starting_our_attack_run = 262;
public static final int vb_Are_you_ill = 263;
public static final int vb_Copy_attacking_now = 264;
public static final int vb_Copy_breaking_off = 265;
public static final int vb_Copy_disengaging = 266;
public static final int vb_Copy_engaging_bandits = 267;
public static final int vb_Copy_I_ll_cover_you = 268;
public static final int vb_Copy_loitering_here = 269;
public static final int vb_Copy_loose_formation = 270;
public static final int vb_Copy_next_check_point = 271;
public static final int vb_Copy_previous_check_point = 272;
public static final int vb_Copy_proceeding_to_next_check_point = 273;
public static final int vb_Copy_rejoining = 274;
public static final int vb_Copy_releasing_tanks = 275;
public static final int vb_Copy_returning_to_base = 276;
public static final int vb_Copy_targeting_all = 277;
public static final int vb_Copy_that = 278;
public static final int vb_Copy_tight_formation = 279;
public static final int vb_Copy_we_are_loitering = 280;
public static final int vb_Eighth = 281;
public static final int vb_Eleventh = 282;
public static final int vb_Fifteenth = 283;
public static final int vb_Fifth = 284;
public static final int vb_First = 285;
public static final int vb_Fourteenth = 286;
public static final int vb_Fourth = 287;
public static final int vb_Good_kill_The_way_in_hell = 288;
public static final int vb_Good_shooting = 289;
public static final int vb_He_s_going_down = 290;
public static final int vb_I_ll_be_right_there = 291;
public static final int vb_I_ve_gone_my_guns = 292;
public static final int vb_I_got_I_got_one = 293;
public static final int vb_I_got_it_Hold_on = 294;
public static final int vb_Negative = 295;
public static final int vb_Nice_shot = 296;
public static final int vb_Ninth = 297;
public static final int vb_Roger = 298;
public static final int vb_Roger_breaking_off = 299;
public static final int vb_Roger_closing_formation = 300;
public static final int vb_Roger_closing_it_in = 301;
public static final int vb_Roger_disengaging_now = 302;
public static final int vb_Roger_echelon_left_formation = 303;
public static final int vb_Roger_echelon_right_formation = 304;
public static final int vb_Roger_heading_home = 305;
public static final int vb_Roger_here_we_go_Attacking_bandits_now = 306;
public static final int vb_Roger_here_we_go_Attacking_bombers_now = 307;
public static final int vb_Roger_holding_here = 308;
public static final int vb_Roger_I_m_right_with_you = 309;
public static final int vb_Roger_I_ve_got_you_covered = 310;
public static final int vb_Roger_kicking_out = 311;
public static final int vb_Roger_line_abreast_formation = 312;
public static final int vb_Roger_line_astern_formation = 313;
public static final int vb_Roger_next_check_point_We_are_on_our_way = 314;
public static final int vb_Roger_opening_formation = 315;
public static final int vb_Roger_previous_check_point_We_are_on_our_way
= 316;
public static final int vb_Roger_regrouping = 317;
public static final int vb_Roger_rejoining_formation = 318;
public static final int vb_Roger_returning_to_previous_check_point = 319;
public static final int vb_Roger_targeting_freely = 320;
public static final int vb_Roger_vic_formation = 321;
public static final int vb_Roger_we_re_dropping_tanks = 322;
public static final int vb_Roger_we_re_engaging = 323;
public static final int vb_Roger_we_re_targeting_freely = 324;
public static final int vb_Roger_we_are_returning_to_base = 325;
public static final int vb_Second = 326;
public static final int vb_Seventh = 327;
public static final int vb_Sixteenth = 328;
public static final int vb_Sixth = 329;
public static final int vb_Tenth = 330;
public static final int vb_Third = 331;
public static final int vb_Thirteenth = 332;
public static final int vb_This_is_Eight = 333;
public static final int vb_This_is_First_Para = 334;
public static final int vb_This_is_First_Wing = 335;
public static final int vb_This_is_Sixteen = 336;
public static final int vb_This_is_Twelve = 337;
public static final int vb_Twelfth = 338;
public static final int vb_Unable = 339;
public static final int vb_Unable_to_comply = 340;
public static final int vb_You_re_all_clear = 341;
public static final int vb_Your_six_is_clear = 342;
public static final int vb_This_is_Eleven = 343;
public static final int vb_This_is_Fifteen = 344;
public static final int vb_This_is_Five = 345;
public static final int vb_This_is_Four = 346;
public static final int vb_This_is_Second_Para = 347;
public static final int vb_This_is_Second_Wing = 348;
public static final int vb_This_is_Fourteen = 349;
public static final int vb_This_is_Nine = 350;
public static final int vb_This_is_Seven = 351;
public static final int vb_This_is_Third_Para = 352;
public static final int vb_This_is_Third_Wing = 353;
public static final int vb_This_is_Three = 354;
public static final int vb_This_is_Fourth_Para = 355;
public static final int vb_This_is_Fourth_Wing = 356;
public static final int vb_This_is_Six = 357;
public static final int vb_This_is_Ten = 358;
public static final int vb_This_is_Thirteen = 359;
public static final int vb_This_is_Two = 360;
public static final int vb_This_is_First_Rotte = 361;
public static final int vb_This_is_Second_Rotte = 362;
public static final int vb_This_is_Third_Rotte = 363;
public static final int vb_This_is_Fourth_Rotte = 364;
public static final int vb_This_is_First_Swarm = 365;
public static final int vb_This_is_Second_Swarm = 366;
public static final int vb_This_is_Third_Swarm = 367;
public static final int vb_This_is_Fourth_Swarm = 368;
public static String[] vbStr = null;

static {
vbStr = new String[369];
vbStr[0] = null;
vbStr[1] = "0";
vbStr[2] = "01";
vbStr[3] = "030";
vbStr[4] = "05";
vbStr[5] = "060";
vbStr[6] = "090";
vbStr[7] = "10";
vbStr[8] = "100";
vbStr[9] = "10_o_clock";
vbStr[10] = "10_o_clock_high";
vbStr[11] = "10_o_clock_low";
vbStr[12] = "11_o_clock";
vbStr[13] = "11_o_clock_high";
vbStr[14] = "11_o_clock_low";
vbStr[15] = "120";
vbStr[16] = "12_o_clock";
vbStr[17] = "12_o_clock_high";
vbStr[18] = "12_o_clock_low";
vbStr[19] = "15";
vbStr[20] = "150";
vbStr[21] = "180";
vbStr[22] = "1_minute_to_target";
vbStr[23] = "1_o_clock";
vbStr[24] = "1_o_clock_high";
vbStr[25] = "1_o_clock_low";
vbStr[26] = "20";
vbStr[27] = "210";
vbStr[28] = "240";
vbStr[29] = "25";
vbStr[30] = "270";
vbStr[31] = "2_o_clock";
vbStr[32] = "2_o_clock_high";
vbStr[33] = "2_o_clock_low";
vbStr[34] = "30";
vbStr[35] = "300";
vbStr[36] = "330";
vbStr[37] = "35";
vbStr[38] = "3_o_clock";
vbStr[39] = "3_o_clock_high";
vbStr[40] = "3_o_clock_low";
vbStr[41] = "40";
vbStr[42] = "45";
vbStr[43] = "4_o_clock";
vbStr[44] = "4_o_clock_high";
vbStr[45] = "4_o_clock_low";
vbStr[46] = "50";
vbStr[47] = "55";
vbStr[48] = "5_kilometers_ahead";
vbStr[49] = "5_minutes_to_target";
vbStr[50] = "5_o_clock";
vbStr[51] = "5_o_clock_high";
vbStr[52] = "5_o_clock_low";
vbStr[53] = "60";
vbStr[54] = "65";
vbStr[55] = "6_o_clock";
vbStr[56] = "6_o_clock_high";
vbStr[57] = "6_o_clock_low";
vbStr[58] = "70";
vbStr[59] = "75";
vbStr[60] = "7_o_clock";
vbStr[61] = "7_o_clock_high";
vbStr[62] = "7_o_clock_low";
vbStr[63] = "80";
vbStr[64] = "85";
vbStr[65] = "8_o_clock";
vbStr[66] = "8_o_clock_high";
vbStr[67] = "8_o_clock_low";
vbStr[68] = "90";
vbStr[69] = "95";
vbStr[70] = "9_o_clock";
vbStr[71] = "9_o_clock_high";
vbStr[72] = "9_o_clock_low";
vbStr[73] = "Approaching_our_target_1_minute_out";
vbStr[74] = "Approaching_our_target_5_minutes_out";
vbStr[75] = "Attack";
vbStr[76] = "Attack_bombers";
vbStr[77] = "Attack_fighters";
vbStr[78] = "Attack_the_escort";
vbStr[79] = "Attacking_with_rockets";
vbStr[80] = "Attention_Stay_in_formation_Stand_by_for_my_orders";
vbStr[81] = "Attention";
vbStr[82] = "Bail_out_Bail_out";
vbStr[83] = "bandits";
vbStr[84] = "Bombers";
vbStr[85] = "Bombs_away";
vbStr[86] = "Bridge";
vbStr[87] = "Cease_fire_shooting_at_friendly";
vbStr[88] = "Check";
vbStr[89] = "Clear_my_tail";
vbStr[90] = "Damn";
vbStr[91] = "Damn_I_m_hit";
vbStr[92] = "Destroyer";
vbStr[93] = "Direct_hit_Target_destroyed";
vbStr[94] = "Eight";
vbStr[95] = "Eleven";
vbStr[96] = "Enemy_bombers";
vbStr[97] = "Enemy_fighters";
vbStr[98] = "Enemy_fighters_";
vbStr[99] = "Enemy_ships";
vbStr[100] = "Engage";
vbStr[101] = "Engage_bomber_formation";
vbStr[102] = "Engage_bombers";
vbStr[103] = "Engage_fighters";
vbStr[104] = "Engage_the_escort";
vbStr[105] = "Everyone_let_s_go_home";
vbStr[106] = "Fifteen";
vbStr[107] = "Fighters";
vbStr[108] = "Firing_rockets";
vbStr[109] = "First_Para";
vbStr[110] = "Five";
vbStr[111] = "Flak";
vbStr[112] = "Four";
vbStr[113] = "Fourteen";
vbStr[114] = "Fourth_Para";
vbStr[115] = "get_him_off_me";
vbStr[116] = "Get_out_and_hit_the_silk";
vbStr[117] = "Going_around";
vbStr[118] = "Height";
vbStr[119] = "Hell";
vbStr[120] = "Hit_the_silk";
vbStr[121] = "I_m_bailing_out";
vbStr[122] = "I_m_hit_I_m_hit";
vbStr[123] = "I_m_on_fire_bailing_out";
vbStr[124] = "I_m_out_of_ammo";
vbStr[125] = "I_ve_had_it_I_m_bailing_out";
vbStr[126] = "Mayday_Mayday_I_m_going_down";
vbStr[127] = "Mission_accomplished";
vbStr[128] = "Mission_accomplished_Excellent_Just_like_the_movies";
vbStr[129] = "My_guns_are_empty";
vbStr[130] = "Negative_I_m_going_in";
vbStr[131] = "Nine";
vbStr[132] = "Okay_we_are_finished_here_Let_s_go_home";
vbStr[133] = "One";
vbStr[134] = "On_final_requesting_permission_to_land";
vbStr[135] = "On_the_go_around";
vbStr[136] = "Over";
vbStr[137] = "Pull_up_Pull_up";
vbStr[138] = "Repeat_attack";
vbStr[139] = "Return_to_base_I_repeat_return_to_home_base";
vbStr[140] = "Return_to_base_immediately";
vbStr[141] = "Rockets_gone";
vbStr[142] = "Second_Para";
vbStr[143] = "Seven";
vbStr[144] = "Six";
vbStr[145] = "Sixteen";
vbStr[146] = "Somebody";
vbStr[147] = "Stand_by_for_my_orders";
vbStr[148] = "Stay_in_formation";
vbStr[149] = "Stay_on_course";
vbStr[150] = "Stay_on_leader_s_course";
vbStr[151] = "Stay_with_me";
vbStr[152] = "Tanks";
vbStr[153] = "Target_destroyed";
vbStr[154] = "Target_in_fire_Direct_hit";
vbStr[155] = "Ten";
vbStr[156] = "Third_Para";
vbStr[157] = "Thirteen";
vbStr[158] = "This_is_One";
vbStr[159] = "Three";
vbStr[160] = "Torpedo_boats";
vbStr[161] = "Train";
vbStr[162] = "Transport_column";
vbStr[163] = "Twelve";
vbStr[164] = "Two";
vbStr[165] = "Vector";
vbStr[166] = "Watch_it_You_re_shooting_at_one_of_ours";
vbStr[167] = "Watch_the_ground_Pull_up";
vbStr[168] = "We_are_heading_home";
vbStr[169] = "We_are_on_target_starting_our_attack_run";
vbStr[170] = "What_the_Hell";
vbStr[171] = "Where_are_you";
vbStr[172] = "You_re_getting_too_close_Pull_up";
vbStr[173] = "your_1_o_clock";
vbStr[174] = "your_1_o_clock_high";
vbStr[175] = "your_1_o_clock_low";
vbStr[176] = "your_10_o_clock";
vbStr[177] = "your_10_o_clock_high";
vbStr[178] = "your_10_o_clock_low";
vbStr[179] = "your_11_o_clock";
vbStr[180] = "your_11_o_clock_high";
vbStr[181] = "your_11_o_clock_low";
vbStr[182] = "your_2_o_clock";
vbStr[183] = "your_2_o_clock_high";
vbStr[184] = "your_2_o_clock_low";
vbStr[185] = "your_3_o_clock";
vbStr[186] = "your_3_o_clock_high";
vbStr[187] = "your_3_o_clock_low";
vbStr[188] = "your_4_o_clock";
vbStr[189] = "your_4_o_clock_high";
vbStr[190] = "your_4_o_clock_low";
vbStr[191] = "your_5_o_clock";
vbStr[192] = "your_5_o_clock_high";
vbStr[193] = "your_5_o_clock_low";
vbStr[194] = "your_6_o_clock";
vbStr[195] = "your_6_o_clock_high";
vbStr[196] = "your_6_o_clock_low";
vbStr[197] = "your_7_o_clock";
vbStr[198] = "your_7_o_clock_high";
vbStr[199] = "your_7_o_clock_low";
vbStr[200] = "your_8_o_clock";
vbStr[201] = "your_8_o_clock_high";
vbStr[202] = "your_8_o_clock_low";
vbStr[203] = "your_9_o_clock";
vbStr[204] = "your_9_o_clock_high";
vbStr[205] = "your_9_o_clock_low";
vbStr[206] = "your_12_o_clock";
vbStr[207] = "your_12_o_clock_high";
vbStr[208] = "your_12_o_clock_low";
vbStr[209] = "Zveno_1";
vbStr[210] = "Zveno_2";
vbStr[211] = "Zveno_3";
vbStr[212] = "Zveno_4";
vbStr[213] = "Hell2";
vbStr[214] = "Damn1";
vbStr[215] = "Hell1";
vbStr[216] = "Hell3";
vbStr[217] = "What_the_Hell1";
vbStr[218] = "Anybody";
vbStr[219] = "Hello_guys";
vbStr[220] = "Nice_to_see_you";
vbStr[221] = "Thanks_for_joining_us";
vbStr[222] = "Thanks_for_the_cover";
vbStr[223] = "Thanks_for_the_cover_see_you_back_at_home_base";
vbStr[224] = "Thanks_for_the_support_have_a_good_trip_home";
vbStr[225] = "We_are_coming_under_attack_request_assistance_over";
vbStr[226] = "We_are_under_attack_requesting_immediate_assistance";
vbStr[227] = "We_are_under_attack_we_need_assistance_over";
vbStr[228] = "Where_are_you_fighters_We_need_immediate_assistance";
vbStr[229]
= "They_are_chopping_us_up_We_have_lost_one_more_aircraft_Request_immediate_assistance";
vbStr[230]
= "We_are_under_attack_Repeat_we_are_under_attack_We_have_lost_aircraft";
vbStr[231] = "Commencing_bomb_run_now";
vbStr[232] = "We_are_at_IP_commencing_bomb_run";
vbStr[233]
= "Negative_all_available_fighters_are_busy_at_this_time_Sorry";
vbStr[234] = "Negative_no_other_fighters_are_near_by_Good_luck";
vbStr[235] = "This_is_Home_base";
vbStr[236] = "This_is_tower_Abort_approach_Abort_approach";
vbStr[237] = "Vectoring_fighters_to_your_area_Hang_on_tight";
vbStr[238] = "Wave_off_Wave_off";
vbStr[239] = "We_are_sending_fighters_to_your_location_Hang_on";
vbStr[240] = "You_re_cleared_for_full_stop_Watch_the_traffic";
vbStr[241] = "You_re_cleared_for_take_off";
vbStr[242] = "You_are_ready_to_go_Sir";
vbStr[243] = "Control_tower_confirm_you_re_cleared_to_land";
vbStr[244] = "Eight";
vbStr[245]
= "Warning_Traffic_is_on_the_runway_Go_round_repeat_go_round";
vbStr[246]
= "This_is_control_tower_Repeat_this_is_control_tower_You_re_not_cleared_hold_the_pattern";
vbStr[247]
= "Watch_the_traffic_You_re_not_cleared_to_land_Fly_the_holding_pattern";
vbStr[248] = "Approach_control_here_Proceed_you_re_cleared_to_land";
vbStr[249]
= "Are_you_sure_You_re_clear_there_are_no_bandits_in_your_area";
vbStr[250]
= "Attention_Traffic_is_on_the_runway_Go_round_repeat_go_round";
vbStr[251] = "Clear_you_have_no_contact_with_the_enemy";
vbStr[252] = "Good_luck";
vbStr[253] = "Ground_control_here_Stand_by";
vbStr[254] = "Break_right";
vbStr[255] = "Break_left";
vbStr[256] = "Damn_what_are_you_doing";
vbStr[257] = "Good_job";
vbStr[258] = "I_got_him_He_s_going_down";
vbStr[259] = "Look_out_Stop_that_Or_NO";
vbStr[260] = "Maneuver_immediately_Enemy_on_our_tail";
vbStr[261] = "Well_done";
vbStr[262] = "Roger_we_are_starting_our_attack_run";
vbStr[263] = "Are_you_ill";
vbStr[264] = "Copy_attacking_now";
vbStr[265] = "Copy_breaking_off";
vbStr[266] = "Copy_disengaging";
vbStr[267] = "Copy_engaging_bandits";
vbStr[268] = "Copy_I_ll_cover_you";
vbStr[269] = "Copy_loitering_here";
vbStr[270] = "Copy_loose_formation";
vbStr[271] = "Copy_next_check_point";
vbStr[272] = "Copy_previous_check_point";
vbStr[273] = "Copy_proceeding_to_next_check_point";
vbStr[274] = "Copy_rejoining";
vbStr[275] = "Copy_releasing_tanks";
vbStr[276] = "Copy_returning_to_base";
vbStr[277] = "Copy_targeting_all";
vbStr[278] = "Copy_that";
vbStr[279] = "Copy_tight_formation";
vbStr[280] = "Copy_we_are_loitering";
vbStr[281] = "Eighth";
vbStr[282] = "Eleventh";
vbStr[283] = "Fifteenth";
vbStr[284] = "Fifth";
vbStr[285] = "First";
vbStr[286] = "Fourteenth";
vbStr[287] = "Fourth";
vbStr[288] = "Good_kill_The_way_in_hell";
vbStr[289] = "Good_shooting";
vbStr[290] = "He_s_going_down";
vbStr[291] = "I_ll_be_right_there";
vbStr[292] = "I_ve_gone_my_guns";
vbStr[293] = "I_got_I_got_one";
vbStr[294] = "I_got_it_Hold_on";
vbStr[295] = "Negative";
vbStr[296] = "Nice_shot";
vbStr[297] = "Ninth";
vbStr[298] = "Roger";
vbStr[299] = "Roger_breaking_off";
vbStr[300] = "Roger_closing_formation";
vbStr[301] = "Roger_closing_it_in";
vbStr[302] = "Roger_disengaging_now";
vbStr[303] = "Roger_echelon_left_formation";
vbStr[304] = "Roger_echelon_right_formation";
vbStr[305] = "Roger_heading_home";
vbStr[306] = "Roger_here_we_go_Attacking_bandits_now";
vbStr[307] = "Roger_here_we_go_Attacking_bombers_now";
vbStr[308] = "Roger_holding_here";
vbStr[309] = "Roger_I_m_right_with_you";
vbStr[310] = "Roger_I_ve_got_you_covered";
vbStr[311] = "Roger_kicking_out";
vbStr[312] = "Roger_line_abreast_formation";
vbStr[313] = "Roger_line_astern_formation";
vbStr[314] = "Roger_next_check_point_We_are_on_our_way";
vbStr[315] = "Roger_opening_formation";
vbStr[316] = "Roger_previous_check_point_We_are_on_our_way";
vbStr[317] = "Roger_regrouping";
vbStr[318] = "Roger_rejoining_formation";
vbStr[319] = "Roger_returning_to_previous_check_point";
vbStr[320] = "Roger_targeting_freely";
vbStr[321] = "Roger_vic_formation";
vbStr[322] = "Roger_we_re_dropping_tanks";
vbStr[323] = "Roger_we_re_engaging";
vbStr[324] = "Roger_we_re_targeting_freely";
vbStr[325] = "Roger_we_are_returning_to_base";
vbStr[326] = "Second";
vbStr[327] = "Seventh";
vbStr[328] = "Sixteenth";
vbStr[329] = "Sixth";
vbStr[330] = "Tenth";
vbStr[331] = "Third";
vbStr[332] = "Thirteenth";
vbStr[333] = "This_is_Eight";
vbStr[334] = "This_is_First_Para";
vbStr[335] = "This_is_First_Wing";
vbStr[336] = "This_is_Sixteen";
vbStr[337] = "This_is_Twelve";
vbStr[338] = "Twelfth";
vbStr[339] = "Unable";
vbStr[340] = "Unable_to_comply";
vbStr[341] = "You_re_all_clear";
vbStr[342] = "Your_six_is_clear";
vbStr[343] = "This_is_Eleven";
vbStr[344] = "This_is_Fifteen";
vbStr[345] = "This_is_Five";
vbStr[346] = "This_is_Four";
vbStr[347] = "This_is_Second_Para";
vbStr[348] = "This_is_Second_Wing";
vbStr[349] = "This_is_Fourteen";
vbStr[350] = "This_is_Nine";
vbStr[351] = "This_is_Seven";
vbStr[352] = "This_is_Third_Para";
vbStr[353] = "This_is_Third_Wing";
vbStr[354] = "This_is_Three";
vbStr[355] = "This_is_Fourth_Para";
vbStr[356] = "This_is_Fourth_Wing";
vbStr[357] = "This_is_Six";
vbStr[358] = "This_is_Ten";
vbStr[359] = "This_is_Thirteen";
vbStr[360] = "This_is_Two";
vbStr[361] = "This_is_First_Rotte";
vbStr[362] = "This_is_Second_Rotte";
vbStr[363] = "This_is_Third_Rotte";
vbStr[364] = "This_is_Fourth_Rotte";
vbStr[365] = "This_is_First_Swarm";
vbStr[366] = "This_is_Second_Swarm";
vbStr[367] = "This_is_Third_Swarm";
vbStr[368] = "This_is_Fourth_Swarm";
}
}


- ghostil - 02.06.2008

3 Voice.class
/* Voice - Decompiled by JODE
* Visit http://jode.sourceforge.net/
*/
package com.maddox.il2.objects.sounds;
import java.io.IOException;

import com.maddox.JGP.Point3d;
import com.maddox.JGP.Vector3d;
import com.maddox.JGP.Vector3f;
import com.maddox.il2.ai.Front;
import com.maddox.il2.ai.RangeRandom;
import com.maddox.il2.ai.Squadron;
import com.maddox.il2.ai.War;
import com.maddox.il2.ai.Wing;
import com.maddox.il2.ai.World;
import com.maddox.il2.ai.air.Maneuver;
import com.maddox.il2.ai.air.Pilot;
import com.maddox.il2.ai.ground.TgtShip;
import com.maddox.il2.engine.Actor;
import com.maddox.il2.engine.Config;
import com.maddox.il2.game.HUD;
import com.maddox.il2.game.Main3D;
import com.maddox.il2.game.Mission;
import com.maddox.il2.net.NetUser;
import com.maddox.il2.objects.air.Aircraft;
import com.maddox.il2.objects.air.JU_88MSTL;
import com.maddox.il2.objects.air.TypeBomber;
import com.maddox.il2.objects.air.TypeDiveBomber;
import com.maddox.il2.objects.air.TypeFighter;
import com.maddox.il2.objects.air.TypeTransport;
import com.maddox.il2.objects.trains.Train;
import com.maddox.il2.objects.trains.Wagon;
import com.maddox.il2.objects.vehicles.artillery.AAA;
import com.maddox.il2.objects.vehicles.cars.CarGeneric;
import com.maddox.il2.objects.vehicles.tanks.TankGeneric;
import com.maddox.rts.MsgAction;
import com.maddox.rts.NetEnv;
import com.maddox.rts.NetMsgGuaranted;
import com.maddox.rts.NetMsgInput;
import com.maddox.rts.Time;

public class Voice extends VoiceBase
{
private int SpeakRearGunKill;
private int SpeakPullUp;
private int SpeakRearGunShake;
private int[][] SpeakAttackByRockets = new int[2][4];
private int[][] SpeakAttackByBombs = new int[2][4];
private int[][] SpeakTargetDestroyed = new int[2][4];
private int[][] SpeakDanger = new int[2][4];
private int[][] SpeakHelpNeeded = new int[2][4];
private int[][] SpeakClearTail = new int[2][4];
private int[][] SpeakCoverMe = new int[2][4];
private int[][] SpeakCoverProvided = new int[2][4];
private int[][] SpeakHelpFromAir = new int[2][4];
private int[][] SpeakNiceKill = new int[2][4];
private int[][] SpeakEndOfAmmo = new int[2][4];
private int[][] SpeakMayday = new int[2][4];
private int[][] SpeakCheckFire = new int[2][4];
private int[][] SpeakHint = new int[2][4];
private int[][] SpeakToReturn = new int[2][4];
public int[][] SpeakBailOut = new int[2][4];
private int[][] SpeakAttackGround = new int[2][4];
private int[][] SpeakAttackMyTarget = new int[2][4];
private int[][] SpeakAttackBombers = new int[2][4];
private int[][] SpeakTargetAll = new int[2][4];
private int[][] SpeakDropTanks = new int[2][4];
private int[][] SpeakBreak = new int[2][4];
private int[][] SpeakRejoin = new int[2][4];
private int[][] SpeakTightFormation = new int[2][4];
private int[][] SpeakLoosenFormation = new int[2][4];
private int[][] SpeakOk = new int[2][4];
private int[][] SpeakLandingPermited = new int[2][4];
private int[] SpeakBombing = new int[2];
private int[] SpeakEndBombing = new int[2];
private int[] SpeakEndGattack = new int[2];
private int[] SpeakDeviateSmall = new int[2];
private int[] SpeakDeviateBig = new int[2];
private int[] SpeakHeading = new int[2];
private int[] SpeakAltitude = new int[2];
public int[] SpeakNearBombers = new int[2];
private int[] Speak1minute = new int[2];
private int[] Speak5minutes = new int[2];
public int[] SpeakBombersUnderAttack = new int[2];
public int[] SpeakBombersUnderAttack1 = new int[2];
public int[] SpeakBombersUnderAttack2 = new int[2];
private int[] SpeakEnemyDetected = new int[2];
private static Aircraft internalAir = null;
private static RangeRandom rnd = new RangeRandom();
public static int[] str = new int[8];
public static int[][] str2 = new int[4][8];
public static final int afPILOT = 0;
public static final int afNEARFRIEND = 1;
public static final int afWINGMAN = 2;
public static final int afLEADER = 3;
public static final int afREARGUN = 4;
public static final int afLAND = 5;
public static final int afBOMBERS = 6;
public static final int anNONE = 0;
public static final int anLEADER = 1;
public static final int anBOMBER1 = 2;
public static final int anBOMBER2 = 3;
public static final int anLAND = 4;
public static final int anREARGUN = 5;
public static final int anACTOR6 = 6;
public static final int anACTOR7 = 7;
public static final int anACTOR8 = 8;
public static final int anACTOR9 = 9;
private static int[] headings
= { 1, 3, 5, 6, 15, 20, 21, 27, 28, 30, 35, 36 };
private static int[] altitudes = { 2, 4, 7, 19, 26, 29, 34, 37, 41, 42, 46,
47, 53, 54, 58, 59, 63, 64, 68, 69, 8 };
private static final int[] clkstr
= { 16, 23, 31, 38, 43, 50, 55, 60, 65, 70, 9, 12, 16, 24, 32, 39, 44,
51, 56, 61, 66, 71, 10, 13, 17, 25, 33, 40, 45, 52, 57, 62, 67, 72,
11, 14, 18 };
private static final int[] aNumber
= { 285, 326, 331, 287, 284, 329, 327, 281, 297, 330, 282, 338, 332,
286, 283, 328 };
private static int[] your_o_clock
= { 206, 173, 182, 185, 188, 191, 194, 197, 200, 203, 176, 179, 206,
174, 183, 186, 189, 192, 195, 198, 201, 204, 177, 180, 207, 175,
184, 187, 190, 193, 196, 199, 202, 205, 178, 181, 208 };
private static final int[] thisIsNumber
= { 158, 360, 354, 346, 345, 357, 351, 333, 350, 358, 343, 337, 359,
349, 344, 336 };
private static final int[] thisIsPara = { 334, 347, 352, 355 };
private static final int[] thisIsWing = { 335, 348, 353, 356 };
private static final int[] thisIsRotte = { 361, 362, 363, 364 };
private static final int[] thisIsSwarm = { 365, 366, 367, 368 };
private static final int[] pilotVoice
= { 6, 9, 8, 7, 7, 9, 8, 6, 8, 9, 7, 6, 9, 8, 7, 6 };
public static final int M_SYNC = 0;
public static final int M_DELAY = 1;
public static final int M_IMMED = 2;
protected static int syncMode;
private static Point3d P3d;

public static Voice cur() {
return World.cur().voicebase;
}

public static boolean isEnableVoices() {
return VoiceFX.isEnabled();
}

public static void setEnableVoices(boolean bool) {
VoiceFX.setEnabled(bool);
}

static boolean frequency() {
return Main3D.cur3D().ordersTree.frequency();
}

public static void setSyncMode(int i) {
syncMode = i;
}

public static void reset() {
for (int i = 0; i < str.length; i++)
str[i] = 0;
for (int i = 0; i < str2.length; i++) {
if (str2[i] != null) {
for (int i_0_ = 0; i_0_ < str2[i].length; i_0_++)
str2[i][i_0_] = 0;
}
}
}

public static void endSession() {
VoiceFX.end();
}

private static boolean isPunctChar(char c) {
return c == '!' || c == '?' || c == '.' || c == ',' || c == '@';
}

public static int actorVoice(Aircraft aircraft, int i) {
if (aircraft == null || !Actor.isValid(aircraft)
|| aircraft instanceof JU_88MSTL)
return 0;
if (aircraft.FM instanceof Maneuver) {
if (((Maneuver) aircraft.FM).silence)
return 0;
if (((Maneuver) aircraft.FM).kamikaze)
return 0;
}
Squadron squadron = aircraft.getSquadron();
if (squadron == null)
return 0;
Wing wing = null;
Object object = null;
if (i == 3 || i == 0) {
if (aircraft.isNet() && !aircraft.isNetMaster())
return 0;
float f = 0.0F;
for (int i_1_ = 0; i_1_ < squadron.wing.length; i_1_++) {
if (squadron.wing[i_1_] != null)
f += (float) squadron.wing[i_1_].aircReady();
}
if (f < 2.0F)
return 0;
}
switch (i) {
case 3: {
for (int i_2_ = 0; i_2_ 0 && wing.airc[0] != null)
aircraft_3_ = wing.airc[0];
else
return 0;
if (!Actor.isAlive(aircraft_3_))
return 0;
Aircraft aircraft_4_ = aircraft_3_;
World.cur();
if (aircraft_4_ == World.getPlayerAircraft())
return 0;
if (aircraft_3_.FM.AS.astatePilotStates[0] > 50)
return 0;
return 1;
}
case 1: {
Aircraft aircraft_5_ = War.getNearestFriend(aircraft);
if (!Actor.isAlive(aircraft_5_))
return 0;
if (aircraft_5_ == World.getPlayerAircraft())
return 0;
if (Mission.isDogfight())
return 0;
return pilotVoice[(aircraft_5_.getWing().indexInSquadron() * 4
+ aircraft_5_.aircIndex())];
}
case 4:
if (!Actor.isAlive(aircraft))
return 0;
if (aircraft == World.getPlayerAircraft()
&& aircraft.FM.turret[0].bIsAIControlled)
return 5;
return 0;
case 0:
if (!Actor.isAlive(aircraft))
return 0;
if (aircraft == World.getPlayerAircraft())
return 0;
if (aircraft.FM.AS.astatePilotStates[0] > 50)
return 0;
return pilotVoice[(aircraft.getWing().indexInSquadron() * 4
+ aircraft.aircIndex())];
case 6:
return 2;
case 5:
return 4;
default:
return 0;
}
}

public static void new_speak(int i, int i_6_, String string, int[] is,
int i_7_) {
speak(i, i_6_, string, is, i_7_, true, true);
}

public static void speak(int i, int i_8_, String string, int[] is,
int i_9_) {
speak(i, i_8_, string, is, i_9_, true, false);
}

public static void speak(int i, int i_10_, String string, int[] is,
int i_11_, boolean bool, boolean bool_12_) {
int i_13_ = syncMode;
syncMode = 0;
if (i != 0) {
if (bool && i != 5)
((NetUser) NetEnv.host()).speekVoice(syncMode, i, i_10_,
string, is, i_11_,
bool_12_);
if (Config.isUSE_RENDER()) {
int i_14_ = World.getPlayerArmy();
if (Main3D.cur3D().ordersTree.frequency()) {
if (i_10_ != i_14_)
return;
} else if (i_10_ == i_14_)
return;
play(i_13_, i, i_10_, string, is, bool_12_);
if (World.cur().isDebugFM()) {
String string_15_ = "";
for (int i_16_ = 0; i_16_ < is.length && is[i_16_] != 0;
i_16_++)
string_15_ += " " + VoiceBase.vbStr[is[i_16_]];
System.out.print("AN: ");
System.out.print(i);
System.out.print(" Army: ");
System.out.print(i_10_);
System.out.println(" : " + string_15_);
}
for (int i_17_ = 0; i_17_ < is.length && is[i_17_] != 0;
i_17_++)
is[i_17_] = 0;
}
}
}

public static void play(int i, int i_18_, int i_19_, String string,
int[] is, boolean bool) {
if (Main3D.cur3D().gameTrackPlay() == null) {
if (Main3D.cur3D().gameTrackRecord() != null) {
try {
NetMsgGuaranted netmsgguaranted = new NetMsgGuaranted();
netmsgguaranted.writeByte(4);
netmsgguaranted.writeInt(i);
netmsgguaranted.writeInt(i_18_);
netmsgguaranted.writeInt(i_19_);
netmsgguaranted.writeBoolean(bool);
int i_20_ = is.length;
netmsgguaranted.writeInt(i_20_);
for (int i_21_ = 0; i_21_ < i_20_; i_21_++)
netmsgguaranted.writeInt(is[i_21_]);
if (string != null)
netmsgguaranted.write255(string);
Main3D.cur3D().gameTrackRecord().postTo
(Main3D.cur3D().gameTrackRecord().channel(),
netmsgguaranted);
} catch (Exception exception) {
/* empty */
}
}
HUD.message(is, i_18_, i_19_, bool);
VoiceFX.play(i, i_18_, i_19_, string, is);
}
}

public static boolean netInputPlay(NetMsgInput netmsginput)
throws IOException {
int i = netmsginput.readInt();
int i_22_ = netmsginput.readInt();
int i_23_ = netmsginput.readInt();
boolean bool = netmsginput.readBoolean();
int i_24_ = netmsginput.readInt();
int[] is = new int[i_24_];
for (int i_25_ = 0; i_25_ 0)
string = netmsginput.read255();
HUD.message(is, i_22_, i_23_, bool);
VoiceFX.play(i, i_22_, i_23_, string, is);
return true;
}

public static void speak(int i, int i_26_, String string, int i_27_,
int i_28_) {
str[0] = i_27_;
str[1] = 0;
speak(i, i_26_, string, str, i_28_);
}

public static void new_speak(int i, int i_29_, String string, int i_30_,
int i_31_) {
str[0] = i_30_;
str[1] = 0;
new_speak(i, i_29_, string, str, i_31_);
}

public static void speakRandom(int i, int i_32_, String string, int[] is,
int i_33_) {
int i_34_;
for (i_34_ = 0; i_34_ = 1) {
int i_35_ = rnd.nextInt(0, i_34_ - 1);
speak(i, i_32_, string, is[i_35_], i_33_);
}
}

public static void speakNewRandom(int i, int i_36_, String string,
int[] is, int i_37_) {
int i_38_;
for (i_38_ = 0; i_38_ = 1) {
int i_39_ = rnd.nextInt(0, i_38_ - 1);
new_speak(i, i_36_, string, is[i_39_], i_37_);
}
}

public static void airSpeaksArray(Aircraft aircraft, int i, int[] is,
int i_40_) {
int i_41_ = actorVoice(aircraft, i);
if (i_41_ != 0) {
int i_42_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
speak(i_41_, i_42_, string, is, i_40_);
}
}

public static void airSpeaksNewArray(Aircraft aircraft, int i, int[] is,
int i_43_) {
int i_44_ = actorVoice(aircraft, i);
if (i_44_ != 0) {
int i_45_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
new_speak(i_44_, i_45_, string, is, i_43_);
}
}

public static void airSpeaks(Aircraft aircraft, int i, int i_46_,
int i_47_) {
str[0] = i_46_;
str[1] = 0;
airSpeaksArray(aircraft, i, str, i_47_);
}

public static void airSpeaks(Aircraft aircraft, int i, int i_48_) {
str[0] = i;
str[1] = 0;
airSpeaksArray(aircraft, 0, str, i_48_);
}

public static void airSpeaksNew(Aircraft aircraft, int i, int i_49_) {
str[0] = i;
str[1] = 0;
airSpeaksNewArray(aircraft, 0, str, i_49_);
}

public static void speakRandomArray(Aircraft aircraft, int[][] is, int i) {
for (int i_50_ = 0; i_50_ < is.length && is[i_50_] != null; i_50_++) {
if (is[i_50_][0] != 0) {
if (is[i_50_][1] == 0)
airSpeaks(aircraft, is[i_50_][0], i);
else {
int i_51_;
if (is[i_50_][2] == 0)
i_51_ = 2;
else
i_51_ = 3;
airSpeaks(aircraft, is[i_50_][rnd.nextInt(0, i_51_ - 1)],
i);
}
}
}
reset();
}

public static void speakRandom(Aircraft aircraft, int[] is, int i) {
int i_52_;
for (i_52_ = 0; i_52_ = 1) {
int i_53_ = rnd.nextInt(0, i_52_ - 1);
airSpeaks(aircraft, is[i_53_], i);
}
}

public static void speakNewRandom(Aircraft aircraft, int[] is, int i) {
int i_54_;
for (i_54_ = 0; i_54_ = 1) {
int i_55_ = rnd.nextInt(0, i_54_ - 1);
airSpeaksNew(aircraft, is[i_55_], i);
}
}

public static void speakAltitude(Aircraft aircraft, int i) {
if (Actor.isAlive(aircraft)) {
int i_56_ = (int) (Time.current() / 1000L);
int i_57_ = aircraft.getArmy() - 1 & 0x1;
if (i_56_ >= cur().SpeakAltitude[i_57_]) {
cur().SpeakAltitude[i_57_] = i_56_ + 20;
str[0] = 118;
if (i > 10000)
i = 10000;
if (i < 1)
i = 1;
str[1] = altitudes[i / 500];
str[2] = 0;
airSpeaksNewArray(aircraft, 3, str, 3);
}
}
}

public static void speakHeading(Aircraft aircraft, Vector3f vector3f) {
float f = 57.32484F * (float) Math.atan2((double) vector3f.x,
(double) vector3f.y);
int i = (int) f;
i = (i + 180) % 360;
speakHeading(aircraft, i);
}

public static void speakHeading(Aircraft aircraft) {
Vector3d vector3d = aircraft.FM.Vwld;
float f = 57.32484F * (float) Math.atan2(vector3d.x, vector3d.y);
int i = (int) f;
i = (i + 180) % 360;
speakHeading(aircraft, i);
}

public static void speakHeadingToHome(Aircraft aircraft, Point3d point3d) {
float f = 57.32484F * (float) Math.atan2(point3d.x, point3d.y);
int i = (int) f;
for (i = (i + 180) % 360; i = 360; i -= 360) {
/* empty */
}
i /= 30;
int i_58_ = actorVoice(aircraft, 5);
int i_59_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
new_speak(i_58_, i_59_, string, 235, 2);
str[0] = 165;
str[1] = headings[i];
str[2] = 0;
airSpeaksArray(aircraft, 5, str, 2);
speak(i_58_, i_59_, string, 252, 2);
}

public static void speakHeadingToTarget(Aircraft aircraft,
Point3d point3d) {
float f = 57.32484F * (float) Math.atan2(point3d.x, point3d.y);
int i = (int) f;
for (i = (i + 180) % 360; i = 360; i -= 360) {
/* empty */
}
i /= 30;
int i_60_ = actorVoice(aircraft, 5);
int i_61_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
str[0] = 165;
str[1] = headings[i];
str[2] = 0;
airSpeaksNewArray(aircraft, 5, str, 2);
speak(i_60_, i_61_, string, 252, 2);
}

public static void speakHeading(Aircraft aircraft, int i) {
if (Actor.isAlive(aircraft)) {
int i_62_ = (int) (Time.current() / 1000L);
int i_63_ = aircraft.getArmy() - 1 & 0x1;
if (i_62_ >= cur().SpeakHeading[i_63_]) {
cur().SpeakHeading[i_63_] = i_62_ + 20;
for (/**/; i = 360; i -= 360) {
/* empty */
}
i /= 30;
str[0] = 165;
str[1] = headings[i];
str[2] = 0;
airSpeaksNewArray(aircraft, 3, str, 3);
}
}
}

public static void speak5minutes(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
int i = (int) (Time.current() / 1000L);
int i_64_ = aircraft.getArmy() - 1 & 0x1;
if (i >= cur().Speak5minutes[i_64_]) {
cur().Speak5minutes[i_64_] = i + 40;
str[0] = 81;
if (rnd.nextFloat() = cur().Speak1minute[i_65_]) {
cur().Speak1minute[i_65_] = i + 40;
str[0] = 81;
if (rnd.nextFloat() = 2) {
int i = actorVoice(aircraft, 3);
if (i != 0) {
int i_66_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
new_speak(i, i_66_, string, 81, 1);
speak(i, i_66_, string, 169, 1);
if (aircraft.FM instanceof Pilot) {
Pilot pilot = (Pilot) aircraft.FM;
if (Actor.isValid(pilot.target_ground)) {
Actor actor = pilot.target_ground;
if (actor instanceof CarGeneric)
str[0] = 162;
else if (actor instanceof TankGeneric)
str[0] = 152;
else if (actor instanceof AAA)
str[0] = 111;
else if (actor instanceof Wagon)
str[0] = 161;
else if (actor instanceof Train)
str[0] = 161;
else if (actor instanceof TgtShip)
str[0] = 99;
str[1] = 0;
speak(i, i_66_, string, str[0], 1);
speak(i, i_66_, string, 75, 1);
}
Squadron squadron = aircraft.getSquadron();
Wing wing = aircraft.getWing();
Wing wing_67_ = null;
for (int i_68_ = 0; i_68_ 0) {
for (int i_69_ = 0; i_69_ < wing.airc.length;
i_69_++) {
if ((wing_67_ != wing || i_69_ != 0)
&& wing.airc[i_69_] != null)
speakAttackGround(wing.airc[i_69_]);
}
}
}
}
}
}

public static void speakLeaderEndGattack() {
if (Actor.isValid(internalAir)) {
str[0] = 81;
str[1] = 153;
str[2] = 136;
str[3] = 0;
airSpeaksNewArray(internalAir, 3, str, 1);
}
}

public static void speakLeaderRepeatGattack() {
if (Actor.isValid(internalAir)) {
str[0] = 81;
str[1] = 138;
str[2] = 136;
str[3] = 0;
airSpeaksNewArray(internalAir, 3, str, 1);
}
}

public static void speakEndGattack(Aircraft aircraft) {
if (Actor.isAlive(aircraft) && aircraft.aircIndex() = 2) {
int i = (int) (Time.current() / 1000L);
int i_70_ = aircraft.getArmy() - 1 & 0x1;
if (i >= cur().SpeakEndGattack[i_70_]) {
cur().SpeakEndGattack[i_70_] = i + 60;
if (aircraft.FM instanceof Pilot) {
Pilot pilot = (Pilot) aircraft.FM;
internalAir = aircraft;
if (Actor.isValid(pilot.target_ground))
new MsgAction(10.0) {
public void doAction() {
speakLeaderRepeatGattack();
}
};
else
new MsgAction(10.0) {
public void doAction() {
speakLeaderEndGattack();
}
};
}
}
}
}

public static void speakAttackByRockets(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
int i = (int) (Time.current() / 1000L);
int i_71_ = aircraft.getArmy() - 1 & 0x1;
int i_72_ = aircraft.aircIndex();
if (i >= cur().SpeakAttackByRockets[i_71_][i_72_]) {
cur().SpeakAttackByRockets[i_71_][i_72_] = i + 60;
setSyncMode(2);
speakThisIs(aircraft);
str[0] = 108;
str[1] = 79;
str[2] = 141;
speakRandom(aircraft, str, 1);
}
}
}

public static void speakAttackByBombs(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
int i = (int) (Time.current() / 1000L);
int i_73_ = aircraft.getArmy() - 1 & 0x1;
int i_74_ = aircraft.aircIndex();
if (i >= cur().SpeakAttackByBombs[i_73_][i_74_]) {
cur().SpeakAttackByBombs[i_73_][i_74_] = i + 60;
setSyncMode(2);
speakThisIs(aircraft);
str[0] = 85;
str[1] = 0;
airSpeaksArray(aircraft, 0, str, 1);
}
}
}

public static void speakNearBombers(Aircraft aircraft) {
int i = (int) (Time.current() / 60000L);
int i_75_ = aircraft.getArmy() - 1 & 0x1;
if (i >= cur().SpeakNearBombers[i_75_]) {
cur().SpeakNearBombers[i_75_] = i + 300;
int i_76_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
str[0] = 219;
str[1] = 220;
str[2] = 221;
str[3] = 136;
str[4] = 0;
airSpeaksNewArray(aircraft, 6, str, 3);
}
}

public static void speakCheckFire(Aircraft aircraft,
Aircraft aircraft_77_) {
if (Actor.isAlive(aircraft)) {
int i = (int) (Time.current() / 1000L);
int i_78_ = aircraft.getArmy() - 1 & 0x1;
int i_79_ = aircraft.aircIndex();
if (i >= cur().SpeakCheckFire[i_78_][i_79_]) {
cur().SpeakCheckFire[i_78_][i_79_] = i + 15;
int i_80_ = (aircraft_77_.getWing().indexInSquadron() * 4
+ aircraft_77_.aircIndex());
if (i_80_ = cur().SpeakClearTail[i_90_][i_89_]) {
cur().SpeakClearTail[i_90_][i_89_] = i + 37;
setSyncMode(2);
speakThisIs(aircraft);
float f = rnd.nextFloat();
if (f < 0.33F)
str[0] = 90;
else if (f < 0.66F)
str[0] = 218;
else
str[0] = 146;
f = rnd.nextFloat();
if (f = cur().SpeakBombing[i_91_]) {
cur().SpeakBombing[i_91_] = i + 1;
reset();
str2[0][0] = 81;
str2[1][0] = 232;
str2[1][1] = 231;
str2[1][2] = 85;
speakRandomArray(aircraft, str2, 1);
}
}

public static void speakEndBombing(Aircraft aircraft) {
int i = (int) (Time.current() / 60000L);
int i_92_ = aircraft.getArmy() - 1 & 0x1;
if (i >= cur().SpeakEndBombing[i_92_]) {
cur().SpeakEndBombing[i_92_] = i + 300;
int i_93_ = aircraft.getRegiment().diedBombers;
str[0] = 107;
if (i_93_ > 1)
str[1] = 222;
else if (i_93_ == 1)
str[1] = 223;
else
str[1] = 224;
str[2] = 0;
airSpeaksNewArray(aircraft, 6, str, 2);
}
}

public static void speakDeviateSmall(Aircraft aircraft) {
int i = (int) (Time.current() / 60000L);
int i_94_ = aircraft.getArmy() - 1 & 0x1;
if (i >= cur().SpeakDeviateSmall[i_94_]) {
cur().SpeakDeviateSmall[i_94_] = i + 4;
str[0] = 170;
str[1] = 150;
str[2] = 0;
airSpeaksNewArray(aircraft, 3, str, 2);
Wing wing = aircraft.getWing();
if (wing.airc.length > 0) {
speakHeading(wing.airc[0]);
speakAltitude(aircraft, (int) wing.airc[0].FM.Loc.z);
str[0] = 136;
str[1] = 0;
airSpeaksArray(aircraft, 3, str, 2);
}
}
}

public static void speakDeviateBig(Aircraft aircraft) {
int i = (int) (Time.current() / 60000L);
int i_95_ = aircraft.getArmy() - 1 & 0x1;
if (i >= cur().SpeakDeviateBig[i_95_]) {
cur().SpeakDeviateBig[i_95_] = i + 10;
if (rnd.nextFloat() < 0.5F) {
if (rnd.nextFloat() < 0.5F)
str[0] = 90;
else
str[0] = 214;
} else if (rnd.nextFloat() 0) {
speakHeading(wing.airc[0]);
speakAltitude(aircraft, (int) wing.airc[0].FM.Loc.z);
}
}
}

public static void speakEnemyDetected(Aircraft aircraft,
Aircraft aircraft_96_) {
int i = (int) (Time.current() / 1000L);
int i_97_ = aircraft.getArmy() - 1 & 0x1;
if (i >= cur().SpeakEnemyDetected[i_97_]) {
cur().SpeakEnemyDetected[i_97_] = i + 40;
if (aircraft.FM instanceof Pilot && aircraft.aircNumber() >= 2) {
Aircraft aircraft_98_ = aircraft_96_;
if (aircraft_98_ != null) {
str[0] = 81;
if (aircraft_98_ instanceof TypeFighter)
str[1] = 107;
else if (aircraft_98_ instanceof TypeBomber)
str[1] = 84;
else if (aircraft_98_ instanceof TypeDiveBomber)
str[1] = 84;
else
str[1] = 83;
str[2] = speakTarget_O_Clock(aircraft, aircraft_98_);
str[3] = 0;
int i_99_ = actorVoice(aircraft, 3);
if (i_99_ != 0)
airSpeaksNewArray(aircraft, 3, str, 1);
}
}
}
}

private static int speakTarget_O_Clock(Aircraft aircraft, Actor actor) {
int i = aircraft.target_O_Clock(actor);
if (i 36)
return 0;
return clkstr[i];
}

public static void speakCheckYour6(Aircraft aircraft,
Aircraft aircraft_100_) {
if (Actor.isAlive(aircraft)) {
int i = (int) (Time.current() / 60000L);
int i_101_ = aircraft.getArmy() - 1 & 0x1;
int i_102_ = aircraft.aircIndex();
if (i >= cur().SpeakHint[i_101_][i_102_]) {
cur().SpeakHint[i_101_][i_102_] = i + 2;
if (aircraft.aircNumber() >= 2) {
int i_103_ = (aircraft.getWing().indexInSquadron() * 4
+ aircraft.aircIndex());
if (i_103_ = cur().SpeakToReturn[i_104_][i_105_]) {
cur().SpeakToReturn[i_104_][i_105_] = i + 5;
if (aircraft.aircNumber() >= 2) {
int i_106_ = (aircraft.getWing().indexInSquadron() * 4
+ aircraft.aircIndex());
if (i_106_ = cur().SpeakBailOut[i_107_][i_108_]) {
cur().SpeakBailOut[i_107_][i_108_] = i + 1;
if (aircraft.aircNumber() >= 2) {
int i_109_ = (aircraft.getWing().indexInSquadron() * 4
+ aircraft.aircIndex());
if (i_109_ 0.5F
|| aircraft == World.getPlayerAircraft())) {
airSpeaksNew(aircraft_111_, aNumber[i_109_], 1);
str[0] = 82;
str[1] = 116;
str[2] = 120;
str[3] = 0;
setSyncMode(2);
speakRandom(aircraft_111_, str, 1);
} else if (aircraft != World.getPlayerAircraft()) {
speakThisIs(aircraft);
str[0] = 121;
str[1] = 123;
str[2] = 125;
str[3] = 0;
setSyncMode(2);
speakRandom(aircraft, str, 1);
}
}
}
}
}
}

public static void speakMayday(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
int i = (int) (Time.current() / 60000L);
int i_112_ = aircraft.getArmy() - 1 & 0x1;
int i_113_ = aircraft.aircIndex();
if (i >= cur().SpeakMayday[i_112_][i_113_]) {
cur().SpeakMayday[i_112_][i_113_] = i + 1;
setSyncMode(2);
speakThisIs(aircraft);
str[0] = 122;
str[1] = 91;
str[2] = 126;
str[3] = 0;
speakRandom(aircraft, str, 1);
}
}
}

public static void speakMissionAccomplished(Aircraft aircraft) {
int i = actorVoice(aircraft, 3);
if (i != 0) {
int i_114_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
new_speak(i, i_114_, string, 81, 1);
if (aircraft.getRegiment().diedAircrafts == 0)
speak(i, i_114_, string, 128, 1);
else
speak(i, i_114_, string, 127, 1);
str[0] = 139;
str[1] = 105;
str[2] = 168;
str[3] = 0;
speakRandom(i, i_114_, string, str, 1);
speakHeading(aircraft);
speakAltitude(aircraft, (int) aircraft.FM.Loc.z);
if (!(aircraft instanceof TypeFighter)) {
Aircraft aircraft_115_
= War.getNearestFriendlyFighter(aircraft, 50000.0F);
if (aircraft_115_ != null)
speakEndBombing(aircraft);
}
}
}

public static void speakThisIs(Aircraft aircraft) {
if (aircraft != null) {
int i = aircraft.getWing().indexInSquadron();
int i_116_ = aircraft.aircIndex();
int i_117_ = aircraft.aircNumber();
int i_118_ = i * 4 + i_116_;
if (i_118_ 1)
str[0] = thisIsSwarm[i];
}
str[1] = 0;
int i_124_ = syncMode;
airSpeaksNewArray(aircraft, 0, str, 1);
setSyncMode(i_124_);
}
}
}

public static void speakNumber_same_str(int i, Aircraft aircraft) {
if (aircraft != null) {
int i_125_ = aircraft.getWing().indexInSquadron();
int i_126_ = aircraft.aircIndex();
int i_127_ = i_125_ * 4 + i_126_;
if (i_127_ = cur().SpeakCoverMe[i_139_][i_140_]) {
cur().SpeakCoverMe[i_139_][i_140_] = i + 15;
speakThisIs(aircraft);
str[0] = 341;
str[1] = 0;
airSpeaksArray(aircraft, 0, str, 1);
}
}

public static void speakTargetAll(Aircraft aircraft) {
int i = (int) (Time.current() / 60000L);
int i_141_ = aircraft.getArmy() - 1 & 0x1;
int i_142_ = aircraft.aircIndex();
if (i >= cur().SpeakTargetAll[i_141_][i_142_]) {
cur().SpeakTargetAll[i_141_][i_142_] = i + 1;
int i_143_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
int i_144_ = actorVoice(aircraft, 0);
speakThisIs(aircraft);
str[0] = 324;
str[1] = 320;
str[2] = 277;
str[3] = 0;
speakRandom(i_144_, i_143_, string, str, 1);
}
}

public static void speakAttackFighters(Aircraft aircraft) {
int i = (int) (Time.current() / 1000L);
int i_145_ = aircraft.getArmy() - 1 & 0x1;
int i_146_ = aircraft.aircIndex();
if (i >= cur().SpeakTargetAll[i_145_][i_146_]) {
cur().SpeakTargetAll[i_145_][i_146_] = i + 30;
int i_147_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
int i_148_ = actorVoice(aircraft, 0);
speakThisIs(aircraft);
str[0] = 323;
str[1] = 306;
str[2] = 267;
str[3] = 0;
speakRandom(i_148_, i_147_, string, str, 1);
}
}

public static void speakAttackBombers(Aircraft aircraft) {
int i = (int) (Time.current() / 1000L);
int i_149_ = aircraft.getArmy() - 1 & 0x1;
int i_150_ = aircraft.aircIndex();
if (i >= cur().SpeakAttackBombers[i_149_][i_150_]) {
cur().SpeakAttackBombers[i_149_][i_150_] = i + 30;
int i_151_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
int i_152_ = actorVoice(aircraft, 0);
speakThisIs(aircraft);
str[0] = 307;
str[1] = 264;
str[2] = 0;
speakRandom(i_152_, i_151_, string, str, 1);
}
}

public static void speakAttackMyTarget(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
str2[0][0] = 278;
str2[0][1] = 264;
speakRandomArray(aircraft, str2, 1);
}
}

public static void speakAttackGround(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
str2[0][0] = 262;
str2[0][1] = 264;
speakRandomArray(aircraft, str2, 1);
}
}

public static void speakDropTanks(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
str2[0][0] = 322;
str2[0][1] = 275;
speakRandomArray(aircraft, str2, 1);
}
}

public static void speakHelpNeeded(Aircraft aircraft, int i) {
if (Actor.isAlive(aircraft)) {
int i_153_ = (int) (Time.current() / 1000L);
int i_154_ = aircraft.getArmy() - 1 & 0x1;
int i_155_ = aircraft.aircIndex();
if (i_153_ >= cur().SpeakHelpNeeded[i_154_][i_155_])
cur().SpeakHelpNeeded[i_154_][i_155_] = i_153_ + 30;
}
}

public static void speakCoverProvided(Aircraft aircraft,
Aircraft aircraft_156_) {
if (Actor.isAlive(aircraft) && Actor.isAlive(aircraft_156_)) {
int i = (int) (Time.current() / 1000L);
int i_157_ = aircraft.aircIndex();
int i_158_ = aircraft.getArmy() - 1 & 0x1;
if (i >= cur().SpeakCoverProvided[i_158_][i_157_]) {
cur().SpeakCoverProvided[i_158_][i_157_] = i + 30;
int i_159_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
int i_160_ = actorVoice(aircraft, 0);
speakThisIs(aircraft);
if (World.Rnd().nextBoolean())
speakNumber_same_str(i_160_, aircraft_156_);
str[0] = 310;
str[1] = 309;
str[2] = 268;
str[3] = 0;
speakRandom(i_160_, i_159_, string, str, 1);
}
}
}

public static void speakHelpNeededFromBase(Aircraft aircraft,
boolean bool) {
if (Actor.isAlive(aircraft)) {
int i = aircraft.getArmy() - 1 & 0x1;
int i_161_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
int i_162_ = actorVoice(aircraft, 5);
new_speak(i_162_, i_161_, string, 235, 1);
if (bool) {
str[0] = 237;
str[1] = 239;
str[2] = 0;
speakRandom(i_162_, i_161_, string, str, 1);
} else {
str[0] = 234;
str[1] = 233;
str[2] = 0;
speakRandom(i_162_, i_161_, string, str, 1);
}
}
}

public static void speakHelpFromAir(Aircraft aircraft, int i) {
if (Actor.isAlive(aircraft)) {
int i_163_ = (int) (Time.current() / 1000L);
int i_164_ = aircraft.getArmy() - 1 & 0x1;
int i_165_ = aircraft.aircIndex();
if (i_163_ >= cur().SpeakCoverProvided[i_164_][i_165_]) {
cur().SpeakCoverProvided[i_164_][i_165_] = i_163_ + 45;
speakThisIs(aircraft);
switch (i) {
case 1:
str[0] = 291;
str[1] = 294;
str[2] = 291;
break;
case 2:
str[0] = 341;
str[1] = 342;
str[2] = 342;
break;
default:
str[0] = 295;
str[1] = 339;
str[2] = 340;
}
str[3] = 0;
speakRandom(aircraft, str, 1);
}
}
}

public static void speakRearGunKill() {
int i = (int) (Time.current() / 1000L);
if (i >= cur().SpeakRearGunKill) {
cur().SpeakRearGunKill = i + 20;
int i_166_ = World.getPlayerArmy();
String string = World.getPlayerAircraft().getRegiment().speech();
setSyncMode(2);
new_speak(5, i_166_, string, 258, 1);
}
}

public static void speakRearGunShake() {
int i = (int) (Time.current() / 1000L);
if (i >= cur().SpeakRearGunShake) {
cur().SpeakRearGunShake = i + 20;
int i_167_ = World.getPlayerArmy();
String string = World.getPlayerAircraft().getRegiment().speech();
setSyncMode(2);
if (rnd.nextFloat() = cur().SpeakNiceKill[i_168_][i_169_]) {
cur().SpeakNiceKill[i_168_][i_169_] = i + 5;
if (aircraft != null) {
float f = rnd.nextFloat();
int i_170_ = actorVoice(aircraft, 1);
setSyncMode(2);
if (aircraft == World.getPlayerAircraft())
f = 0.0F;
else if (i_170_ == 0)
f = 1.0F;
if (f > 0.5F) {
speakThisIs(aircraft);
str[0] = 293;
str[1] = 290;
str[2] = 0;
speakRandom(aircraft, str, 2);
} else {
int i_171_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
speakNumber(i_170_, aircraft);
str[0] = 289;
str[1] = 288;
str[2] = 296;
str[3] = 0;
speakRandom(i_170_, i_171_, string, str, 1);
}
}
}
}
}

public static void speakRearGunTargetDestroyed() {
Aircraft aircraft = World.getPlayerAircraft();
if (Actor.isAlive(aircraft)) {
int i = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
setSyncMode(2);
str[0] = 153;
str[1] = 93;
str[2] = 154;
str[3] = 0;
speakNewRandom(5, i, string, str, 2);
str[0] = 257;
str[1] = 261;
str[2] = 0;
speakRandom(5, i, string, str, 2);
}
}

public static void speakTargetDestroyed(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
int i = (int) (Time.current() / 1000L);
int i_172_ = aircraft.getArmy() - 1 & 0x1;
int i_173_ = aircraft.aircIndex();
if (i >= cur().SpeakTargetDestroyed[i_172_][i_173_]) {
cur().SpeakTargetDestroyed[i_172_][i_173_] = i + 60;
if (aircraft == World.getPlayerAircraft()
&& aircraft.FM.turret.length > 0
&& (aircraft.FM.AS.astatePilotStates
[aircraft.FM.turret.length]) = cur().SpeakEndOfAmmo[i_174_][i_175_]) {
cur().SpeakEndOfAmmo[i_174_][i_175_] = i + 5;
setSyncMode(2);
speakThisIs(aircraft);
str[0] = 292;
str[1] = 124;
str[2] = 0;
speakRandom(aircraft, str, 2);
}
}
}

public static void speakBreak(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
int i = (int) (Time.current() / 60000L);
int i_176_ = aircraft.getArmy() - 1 & 0x1;
int i_177_ = aircraft.aircIndex();
if (i >= cur().SpeakBreak[i_176_][i_177_]) {
cur().SpeakBreak[i_176_][i_177_] = i + 1;
speakIAm(aircraft);
str[0] = 302;
str[1] = 298;
str[2] = 266;
str[3] = 0;
speakRandom(aircraft, str, 2);
}
}
}

public static void speakRejoin(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
str[0] = 318;
str[1] = 317;
str[2] = 274;
str[3] = 0;
speakRandom(aircraft, str, 2);
}
}

public static void speakTightFormation(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
str[0] = 300;
str[1] = 301;
str[2] = 279;
str[3] = 0;
speakRandom(aircraft, str, 2);
}
}

public static void speakLoosenFormation(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
str[0] = 299;
str[1] = 299;
str[2] = 265;
str[3] = 0;
speakNewRandom(aircraft, str, 2);
}
}

public static void speakOk(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
airSpeaks(aircraft, 298, 1);
}
}

public static void speakUnable(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
str[0] = 339;
str[1] = 340;
str[2] = 0;
speakRandom(aircraft, str, 1);
}
}

public static void speakNextWayPoint(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
str[0] = 314;
str[1] = 271;
str[2] = 0;
speakRandom(aircraft, str, 1);
}
}

public static void speakPrevWayPoint(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
str[0] = 316;
str[1] = 319;
str[2] = 272;
str[3] = 0;
speakRandom(aircraft, str, 1);
}
}

public static void speakReturnToBase(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
str[0] = 325;
str[1] = 305;
str[2] = 276;
str[3] = 0;
speakRandom(aircraft, str, 1);
}
}

public static void speakHangOn(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
speakIAm(aircraft);
str[0] = 308;
str[1] = 269;
str[2] = 0;
speakRandom(aircraft, str, 1);
}
}

public static void speakEchelonRight(Aircraft aircraft) {
speakIAm(aircraft);
airSpeaks(aircraft, 304, 2);
}

public static void speakEchelonLeft(Aircraft aircraft) {
speakIAm(aircraft);
airSpeaks(aircraft, 303, 2);
}

public static void speakLineAbreast(Aircraft aircraft) {
speakIAm(aircraft);
airSpeaks(aircraft, 312, 2);
}

public static void speakLineAstern(Aircraft aircraft) {
speakIAm(aircraft);
airSpeaks(aircraft, 313, 1);
}

public static void speakVic(Aircraft aircraft) {
speakIAm(aircraft);
airSpeaks(aircraft, 321, 1);
}

public static void speakPullUp(Aircraft aircraft) {
int i = (int) (Time.current() / 1000L);
if (i >= cur().SpeakPullUp) {
cur().SpeakPullUp = i + 30;
int i_178_ = actorVoice(aircraft, 1);
int i_179_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
setSyncMode(2);
speakNumber(i_178_, aircraft);
str[0] = 137;
str[1] = 172;
str[2] = 167;
str[3] = 0;
speakRandom(i_178_, i_179_, string, str, 3);
}
}

public static void speakLandingPermited(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
int i = (int) (Time.current() / 60000L);
int i_180_ = aircraft.getArmy() - 1 & 0x1;
int i_181_ = aircraft.aircIndex();
if (aircraft == World.getPlayerAircraft()
|| i >= cur().SpeakLandingPermited[i_180_][i_181_]) {
cur().SpeakLandingPermited[i_180_][i_181_] = i + 60;
int i_182_ = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
speakNumber(4, aircraft);
str[0] = 240;
str[1] = 243;
str[2] = 248;
str[3] = 0;
speakRandom(4, i_182_, string, str, 2);
}
}
}

public static void speakLandingDenied(Aircraft aircraft) {
int i = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
speakNumber(4, aircraft);
str[0] = 250;
str[1] = 236;
str[2] = 0;
speakRandom(4, i, string, str, 2);
}

public static void speakWaveOff(Aircraft aircraft) {
int i = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
speakNumber(4, aircraft);
str[0] = 236;
str[1] = 238;
str[2] = 0;
speakRandom(4, i, string, str, 2);
}

public static void speakLanding(Aircraft aircraft) {
speakThisIs(aircraft);
airSpeaks(aircraft, 134, 1);
}

public static void speakGoAround(Aircraft aircraft) {
int i = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
int i_183_ = actorVoice(aircraft, 0);
speakThisIs(aircraft);
str[0] = 135;
str[1] = 117;
str[2] = 0;
speakRandom(i_183_, i, string, str, 1);
}

public static void speakGoingIn(Aircraft aircraft) {
airSpeaks(aircraft, 130, 1);
}

public static void testTargDestr(Actor actor, Actor actor_184_) {
if (Actor.isValid(actor_184_)
&& (!actor_184_.isNet() || actor_184_.isNetMaster())) {
try {
if (actor instanceof Aircraft) {
if (!(actor instanceof TypeFighter)) {
((Wing) actor.getOwner()).regiment().diedBombers++;
if (actor_184_ instanceof TypeFighter)
speakBombersUnderAttack((Aircraft) actor, true);
}
((Wing) actor.getOwner()).regiment().diedAircrafts++;
if (actor_184_ instanceof Aircraft
&& actor.getArmy() != actor_184_.getArmy()
&& !((Aircraft) actor).buried)
speakNiceKill((Aircraft) actor_184_);
} else if (actor_184_ instanceof Aircraft) {
int i = actor.getArmy();
if (i == 0) {
actor.pos.getAbs(P3d);
i = Front.army(P3d.x, P3d.x);
}
if (i != actor_184_.getArmy())
speakTargetDestroyed((Aircraft) actor_184_);
}
} catch (Exception exception) {
System.out.println(exception.getMessage());
exception.printStackTrace();
}
}
}

public static void speakTakeoffPermited(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
int i = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
speakNumber(4, aircraft);
str[0] = 241;
str[1] = 0;
speakRandom(4, i, string, str, 1);
}
}

public static void speakTakeoffDenied(Aircraft aircraft) {
if (Actor.isAlive(aircraft)) {
int i = aircraft.getArmy();
String string = aircraft.getRegiment().speech();
speakNumber(4, aircraft);
str[0] = 253;
str[1] = 0;
speakRandom(4, i, string, str, 1);
}
}

static {
reset();
syncMode = 0;
P3d = new Point3d();
}
}


- lorenai - 02.06.2008

Ghostli, mate, please, put here a ready-to-use mod with all the fixes u've done. Many thanks in advance.


- ghostil - 02.06.2008

How here to insert files?


- renmik - 02.06.2008

@Ghostil: Maybe you could host a RAR File with included Readme somewhere on a Server,

and post a Link here in Reply Topic, so we could download your Fix ?

Many THX in Advance.


- ghostil - 02.06.2008

Where to take the converter for creation of planes?


- lorenai - 02.06.2008

ghostil Wrote:How here to insert files?
use any file sharing service, rapidshare.de filefactory.com or something else.


- ghostil - 02.06.2008

Выложил туда то что вы назвали модом.
Has laid out there that that you have named mods.
http://ghostrecon.ru/forum/viewtopic.ph ... 4601#p4601