Template:PatchDiff/October 4, 2011 Patch/portal2 dlc1/scripts/vscripts/credits/credits coop.nut

N/A 1 // this checks the "developer" level, will have no effct if changed manually  N/A 2 DBG <- 0   N/A 3    N/A 4 DO_CREDITS <- 0   N/A 5    N/A 6 // blanks are not sent to the server and aren't printed in the screen. They just produce blank conveyor belt and act as a PAUSE  N/A 7 BLANK                <-        " "   N/A 8 // SPACES are sent to the server to be printed on the screen   N/A 9 SPACE                <-        "     "   N/A 10    N/A 11 // "Flavor" items. These won't print anything to the screen  N/A 12 TURRET                <-        "(.)"   N/A 13 TURRET_S        <-        ":.:"   N/A 14 CUBE                <-        "[=]"   N/A 15 MONSTER                <-        "[(.)]"   N/A 16 BLUE                <-        "( o )"   N/A 17 ORANGE                <-        "|o|"   N/A 18 BIRD                <-        "**B**"   N/A 19 COMPCUBE        <-        "COMCUBE"   N/A 20 PERSPEHERE        <-        "*@OOOO@*"   N/A 21 TURRETBACK        <-        "((BACK))"   N/A 22 TURRETWIFE        <-        "((WIFE))"   N/A 23 TURRETBOX        <-        "BOX"   N/A 24    N/A 25 // these items have a special conveyor item associated with them   N/A 26 VOICESTITLE                <-        "[_____________________Voices ___________________]"   N/A 27 GLADOS                        <-        "[ GlaDOS / Turrets ]          :      Ellen McLain"   N/A 28 WHEATLEY                <-        "[ Wheatley ]                  :  Stephen Merchant"   N/A 29 CAVE                        <-  "[ Cave Johnson ]              :      J.K. Simmons"   N/A 30 ANNOUNCER                <-        "[ Announcer ]                 :      Joe Michaels"   N/A 31 CCORESTUR                <-        "[ Cores / Defective Turrets ] :       Nolan North"   N/A 32 BOTSHUG                        <-        "[ Atlas / P-Body ]            : Dee Bradley Baker"   N/A 33 //////////   N/A 34 CHELL                        <-         "[ Face model for Chell ] :        Alesia Glidewell"   N/A 35 STILLALIVE                <-        "[ 'Still Alive' by ]     :        Jonathan Coulton"   N/A 36 GONE                        <-         "[ 'Want You Gone' by ]   :        Jonathan Coulton"   N/A 37 VILIFY                        <-         "[ 'Exile Vilify' by ]    :            The National"   N/A 38 VOICERECORD                <-  "[ Voice Recording ]      : Pure Audio, Seattle, WA"   N/A 39 TRANSLATIONS        <-  "[ Translations ]         :                     SDL"   N/A 40 /////////////////////   N/A 41 SPECIALTHANKS        <-  "[ Special thanks to ]"   N/A 42    N/A 43 // when we hit this, credits will end   N/A 44 ENDING                        <-        ""   N/A 45 // when we hit this, this is the end of the humans   N/A 46 ENDOFHUMANS                        <-        ""   N/A 47    N/A 48 // when we hit this, don't play anymore glados lines to clear her for final line   N/A 49 ENDOFHUMANSPREP                        <-        ""   N/A 50    N/A 51    N/A 52 // this is the state of the credits that we start in, it brings the name from the left and scrolls it down   N/A 53 STATE_NAMES                <- "NAMES"   N/A 54    N/A 55 // this specifies to stop doing the "scanning" name stuff and just do a block of text   N/A 56 // we have a total of 10 lines to show on screen at once   N/A 57 STATE_TEXTBLOCK        <- "TEXT"   N/A 58    N/A 59 //0=blank   N/A 60 //1=female   N/A 61 //2=male   N/A 62 //3=bluebot   N/A 63 //4=orangebot   N/A 64 //5=turretnormal   N/A 65 //6=terminatorturret   N/A 66 //7=cube   N/A 67 //8=monstercube   N/A 68 //9=bird on cube   N/A 69 //10=companion cube   N/A 70 //11= 3 corrupt cores   N/A 71 //12= turret backwards   N/A 72 //13= turret wife   N/A 73 //14= turret boxes   N/A 74    N/A 75 //16= SPACE   N/A 76 //17= (VOICE) Wheatley   N/A 77 //18= RADIO SONG (still alive)   N/A 78 //19= computer   N/A 79 //20= computer2   N/A 80 //21= chell   N/A 81 //22= (VOICE) Cave portrait   N/A 82 //23= (VOICE) corrupt cores and defective turret   N/A 83 //24= (VOICE) glados   N/A 84 //25= (VOICE) Bots hugging   N/A 85 //26= RADIO SONG2 (gone)   N/A 86 //27= RADIO SONG3 (vilify)   N/A 87    N/A 88 // glados talking stuff   N/A 89 GladosRndStart <-0   N/A 90 GladosRndStart = RandomInt(1,5)   N/A 91 GladosTempCounter <-0   N/A 92 GladosInterval <- 0   N/A 93 GladosCounter <-0   N/A 94 CreditTimer <- 0   N/A 95    N/A 96 NAME_TIME_INTERVAL <- 0.85   N/A 97 BLOCKTEXT_TIME_INTERVAL <- 1.65   N/A 98 // how often the conveyor spawns a new item   N/A 99 TIME_INTERVAL <- NAME_TIME_INTERVAL   N/A 100    N/A 101 m_nLastNameTime <- 0.0   N/A 102 m_nNameIndex <- -1   N/A 103 m_nVGUIIndex <- -1   N/A 104 m_nTotalNameCount <- -1   N/A 105 m_bCreditsFinished <- false   N/A 106    N/A 107 m_nCreditsState <- 0   N/A 108 m_nStateChangeIn <- 0   N/A 109 m_nStateChangeTo <- 0   N/A 110 EndofEmployees <- 0   N/A 111    N/A 112 CreditsList<- [   N/A 113        BLANK,   N/A 114        BLANK,   N/A 115        BLANK,   N/A 116 /////////////////////////////   N/A 117 // TESTING AREA BELOW   N/A 118 ////////////////////////////   N/A 119 //          N/A 120 /////////////////////////////   N/A 121 // TESTING AREA ABOVE   N/A 122 ////////////////////////////   N/A 123         "Aaron Barber",   N/A 124         "Aaron Halifax",   N/A 125         "Aaron Kearly",   N/A 126         "Aaron Nicholls",   N/A 127         "Aaron Seeler",   N/A 128         "Adam Foster",   N/A 129         "Adrian Finol",   N/A 130        "Adrian Johnston",   N/A 131         TURRET,   N/A 132         "Al Farnsworth",   N/A 133         "Alden Kroll",   N/A 134         "Alex Vlachos",   N/A 135        "Alexander Mark",   N/A 136         "Alfred Reynolds",   N/A 137         "Alireza Razmpoosh",   N/A 138         "Amanda Beste",   N/A 139         "Andrea Wicklund",   N/A 140         "Andrew Burke",   N/A 141        "Andrew Kim",   N/A 142         CUBE,   N/A 143        "Andrew Loomer",   N/A 144         "Andrew Wolf",   N/A 145        "Andy Nisbet",   N/A 146         "Anna Sweet",   N/A 147         "Antoine Bourdon",   N/A 148         "Antonello Maddalena",   N/A 149         "Ariel Diaz",   N/A 150         "Arsenio N. Navarro II",   N/A 151         "Augusta Butlin",   N/A 152         "Bay Raitt",   N/A 153         ORANGE,   N/A 154         "Bill Fletcher",   N/A 155         "Bill Van Buren",   N/A 156         "Brandon Idol",   N/A 157         "Brandon Reinhart",   N/A 158         "Brett English",   N/A 159         "Brian Jacobson",   N/A 160         "Bronwen Grimes",   N/A 161        "Bruce Dawson",   N/A 162         "Burton Johnsey",   N/A 163        "Caleb Benefiel",   N/A 164         "Caroline Mller",   N/A 165         TURRET_S,   N/A 166         "Cayle George",   N/A 167         "Chad Weaver",   N/A 168         "Chandler Murch",   N/A 169         "Charlie Brown",   N/A 170         "Charlie Burgin",   N/A 171         "Chet Faliszek",   N/A 172         "Chris Carollo",   N/A 173         "Chris Chin",   N/A 174         "Chris Douglass",   N/A 175         "Chris Green",   N/A 176         "Chris Grinstead",   N/A 177         "Chris Shambaugh",   N/A 178         "Chris Welch",   N/A 179         "Christen Coomer",   N/A 180        "Christian Rivers",   N/A 181         "Christopher Boyd",   N/A 182        "Christine Phelan",   N/A 183         "Connor Malone",   N/A 184         "Corey Peters",   N/A 185         "Dan Berger",   N/A 186         CUBE,   N/A 187         "Danika Wright",   N/A 188         "Dario Casali",   N/A 189         "Dave Feise",   N/A 190         "Dave Riller",   N/A 191         "Dave Saunders",   N/A 192         "David Kircher",   N/A 193         "David Sawyer",   N/A 194         "David Speyrer",   N/A 195        "Derek Zumsteg",   N/A 196         "Derrick Birum",   N/A 197         "Derrick Gennrich",   N/A 198         "Dhabih Eng",   N/A 199         "Dina Nelson",   N/A 200         "DJ Powers",   N/A 201         "Don Holden",   N/A 202         BLUE,   N/A 203        "Doug Church",   N/A 204         "Doug Lombardi",   N/A 205         "Doug Valente",   N/A 206         "Doug Wood",   N/A 207         "Elan Ruskin",   N/A 208        "Elizabeth Andrade",   N/A 209        "Emily Kent",   N/A 210         "Eric Hope",   N/A 211         "Eric Kirchmer",   N/A 212         "Eric Smith",   N/A 213         "Eric Strand",   N/A 214         "Eric Tams",   N/A 215         "Eric Wanless",   N/A 216         "Erik Johnson",   N/A 217         "Erik Robson",   N/A 218         "Erik Wolpaw",   N/A 219        "Fletcher Dunn",   N/A 220        "Florent Schiffer",   N/A 221         PERSPEHERE,   N/A 222         "Gabe Newell",   N/A 223         "Gabe Van Engel",   N/A 224         "Garret Rickey",   N/A 225         "Gary McTaggart",   N/A 226         "Gautam Babbar",   N/A 227         "Gray Horsfield",   N/A 228         "Greg Coomer",   N/A 229        "Greg Towner",   N/A 230         "Gregory Sedgwick",   N/A 231         "Grgoire Cherlin",   N/A 232         "Hamish McKenzie",   N/A 233        "Heather Campbell",   N/A 234        "Henry Goffin",   N/A 235         "Ido Magal",   N/A 236        TURRETBACK,   N/A 237         "Iestyn Bleasdale-Shepherd",   N/A 238         "Iikka Kernen",   N/A 239         "Isabelle Lemay",   N/A 240         "Ivan Simoncini",   N/A 241         "Jacob J. Smith",   N/A 242         "Jakob Jungels",   N/A 243        "James Shin",   N/A 244         "Jane Lo",   N/A 245        "Jared Christen",   N/A 246         "Jason Brashill",   N/A 247         "Jason Holtman",   N/A 248         "Jason Mitchell",   N/A 249         "Jason Ruymen",   N/A 250         "Jay Pinkerton",   N/A 251         "Jay Stelly",   N/A 252         "Jeep Barnett",   N/A 253         "Jeff Ballinger",   N/A 254         "Jeff Brown",   N/A 255        "Jeff Hameluck",   N/A 256         "Jeff Lane",   N/A 257         "Jeff Lind",   N/A 258         "Jeff Sorensen",   N/A 259         "Jeff Unay",   N/A 260         "Jenny Stendahl",   N/A 261         "Jeremy Bennett",   N/A 262         "Jess Cliffe",   N/A 263         TURRET_S,   N/A 264         "Jim Hughes",   N/A 265         "Jim Murray",   N/A 266         "Jinwoo Lee",   N/A 267         "Joe Demers",   N/A 268         "Joe Han",   N/A 269         "Joe Ludwig",   N/A 270         "Joe Rohde",   N/A 271         "Joel Shoop",   N/A 272         "John Bartkiw",   N/A 273         "John Cook",   N/A 274         COMPCUBE,   N/A 275         "John Guthrie",   N/A 276         "John McCaskey",   N/A 277         "John Morello II",   N/A 278         "Jon Lippincott",   N/A 279         "Jonathan Sutton",   N/A 280         "Joshua Weier",   N/A 281         "Justin Lesamiz",   N/A 282        "Justin Skinner",   N/A 283         "Karen Prell",   N/A 284         "Karl Whinnie",   N/A 285         "Keith Huggins",   N/A 286         "Keith Lango",   N/A 287         "Kelly Thornton",   N/A 288        "Ken Banks",   N/A 289         "Ken Birdwell",   N/A 290         "Kerry Davis",   N/A 291         ORANGE,   N/A 292         "Kristopher Katz",   N/A 293        "Kurtis Chinn",   N/A 294         "Kutta Srinivasan",   N/A 295        "Kyle Davis",   N/A 296         "Kyle Monroe",   N/A 297         "Lars Jensvold",   N/A 298         "Laura Dubuk",   N/A 299        "Laure Lacascade",   N/A 300         "Liam Lavery",   N/A 301         "Lindsay Randall",   N/A 302         "Liz Cambridge",   N/A 303         "Marc Laidlaw",   N/A 304         "Marc Nagel",   N/A 305         "Marc Scaparro",   N/A 306        "Marcus Egan",   N/A 307         "Mark Behm",   N/A 308         "Mark Richardson",   N/A 309         "Martin Otten",   N/A 310         "Matt Boone",   N/A 311         "Matt Campbell",   N/A 312         "Matt Charlesworth",   N/A 313        "Matt Logue",   N/A 314         "Matt Nickerson",   N/A 315         "Matt Pritchard",   N/A 316         "Matt Rhoten",   N/A 317         "Matt T. Wood",   N/A 318         "Matt Wright",   N/A 319        "Matthew An",   N/A 320         "Matthew Russell",   N/A 321         TURRETWIFE,   N/A 322         "Matthew Scott",   N/A 323         "Max Aristov",   N/A 324         "Mellissa Stanfield",   N/A 325        "Michael Abrash",   N/A 326         "Michael Avon Oeming",   N/A 327         "Michael Booth",   N/A 328         "Michael Coupland",   N/A 329        "Michael Marcus",   N/A 330        "Michael Sartain",   N/A 331         "Mike Ambinder",   N/A 332         "Mike Belzer",   N/A 333         "Mike Blaszczak",   N/A 334         "Mike Dunkle",   N/A 335         "Mike Durand",   N/A 336         "Mike Morasky",   N/A 337         "Mike Stevens",   N/A 338         "Miles Estes",   N/A 339         "Milton Ngan",   N/A 340         MONSTER,   N/A 341         "Nate Heller",   N/A 342         "Neil Kaethler",   N/A 343         "Nick Maggiore",   N/A 344         "Noel McGinn",   N/A 345         "Olivier Nallet",   N/A 346         "Patrick McClard",   N/A 347         "Paul Graham",   N/A 348         "Paul G. Thuriot",   N/A 349         "Peter Konig",   N/A 350         "Phil Co",   N/A 351         "Phillip Saltzman",   N/A 352         "Pieter Wycoff",   N/A 353         BLUE,   N/A 354         "Pongthep Bank Charnchaichujit",   N/A 355         "Quintin Doroquez",   N/A 356         "Randy Lundeen",   N/A 357        "Ray Ueno",   N/A 358         "Realm Lovejoy",   N/A 359         "Reuben Fries",   N/A 360         "Ricardo Ariza",   N/A 361         "Rich Geldreich",   N/A 362         "Rich Kaethler",   N/A 363         "Richard Lord",   N/A 364         "Rick Johnson",   N/A 365         "Robin Walker",   N/A 366        "Roger Lundeen",   N/A 367         "Romy Hatfield",   N/A 368         "Ryan Thorlakson",   N/A 369         "Scott Dalton",   N/A 370         "Scott Ludwig",   N/A 371         TURRETBOX,   N/A 372         "Scott Lynch",   N/A 373         "Sergiy Migdalskiy",   N/A 374         "Shanon Drone",   N/A 375         "Shawn Zabecki",   N/A 376         "Stefan Landvogt",   N/A 377        "Stephane Gaudette",   N/A 378         "Steve Bond",   N/A 379         "Steve Kalning",   N/A 380         "Taylor Sherman",   N/A 381         "Ted Backman",   N/A 382         "Ted Kosmatka",   N/A 383         "Ted Rivera",   N/A 384         "Tejeev Kohli",   N/A 385         PERSPEHERE,   N/A 386         "Thad Wharton",   N/A 387         "Thorsten Scheuermann",   N/A 388         "Tim Larkin",   N/A 389         "Tobin Buttram",   N/A 390         "Tom Bui",   N/A 391         "Tom Leonard",   N/A 392         "Torsten Zabka",   N/A 393         "Tristan Reidford",   N/A 394        ENDOFHUMANSPREP,           N/A 395        "Viktoria Dillon",   N/A 396         "Vitaliy Genkin",   N/A 397         "Wade Schin",   N/A 398         "William Bacon",   N/A 399         TURRET,   N/A 400         "Yahn Bernier",   N/A 401         "Yasser Malaika",   N/A 402         "Zach Eller",   N/A 403         "Zachary Franks",   N/A 404         "Zoid Kirsch",   N/A 405         ENDOFHUMANS,   N/A 406        BLANK,   N/A 407        //////////////////////////////////////////////////   N/A 408        BLANK,   N/A 409        BIRD,   N/A 410        STATE_TEXTBLOCK,  // this switches modes to use a block of text from top to botom   N/A 411         VOICESTITLE,   N/A 412        GLADOS,   N/A 413        WHEATLEY,   N/A 414        CAVE,   N/A 415        ANNOUNCER,   N/A 416        CCORESTUR,   N/A 417        BOTSHUG,   N/A 418        BLANK,   N/A 419        BLANK,   N/A 420        BLANK,   N/A 421        STATE_TEXTBLOCK,  // this switches modes to use a block of text from top to botom   N/A 422        MONSTER,   N/A 423        SPACE,   N/A 424        CHELL,   N/A 425        VILIFY,   N/A 426         STILLALIVE,   N/A 427        GONE,   N/A 428        VOICERECORD,   N/A 429        TRANSLATIONS,   N/A 430        BLANK,   N/A 431        BLANK,   N/A 432        BLANK,   N/A 433        STATE_TEXTBLOCK,   N/A 434        SPECIALTHANKS,   N/A 435        "Alienware" ,   N/A 436        "ATI"  ,   N/A 437        "Dell"  ,   N/A 438        "Falcon Northwest"  ,   N/A 439        "Havok",   N/A 440        "Sam Gray",   N/A 441        "Jamie Hunsdale",   N/A 442        "Photo credit of Earth: NASA",   N/A 443        BLANK,   N/A 444        BLANK,   N/A 445        BLANK,   N/A 446        STATE_TEXTBLOCK,   N/A 447        SPACE,   N/A 448        "[ THANK YOU         ]",   N/A 449        "[ FOR PARTICIPATING ]",   N/A 450        "[ IN THIS           ]",   N/A 451        "[ ENRICHMENT CENTER ]",   N/A 452        "[ ACTIVITY!! ]",  N/A 453        BLANK,   N/A 454        ENDING,   N/A 455 ]   N/A 456    N/A 457 function CreditsThink   N/A 458 {   N/A 459        DBG = GetDeveloperLevel   N/A 460    N/A 461        if ( DO_CREDITS == 0 || m_bCreditsFinished == true )   N/A 462        {          N/A 463                return   N/A 464        }   N/A 465    N/A 466        if ( m_nNameIndex >= m_nTotalNameCount )   N/A 467        {          N/A 468                // the credits are over!!   N/A 469                EndCredits   N/A 470                return   N/A 471        }   N/A 472    N/A 473        if ( m_nLastNameTime == 0 || m_nLastNameTime+TIME_INTERVAL < Time )   N/A 474        {   N/A 475                m_nNameIndex++          N/A 476                m_nLastNameTime = Time   N/A 477    N/A 478                local nType = 0   N/A 479                if ( m_nNameIndex <= m_nTotalNameCount )   N/A 480                {   N/A 481                        if ( CreditsList[m_nNameIndex] == ENDING )   N/A 482                        {   N/A 483                                // the credits are over!! N/A 484                               EndCredits   N/A 485                                return   N/A 486                        }   N/A 487                        else if ( CreditsList[m_nNameIndex] == STATE_NAMES )   N/A 488                        {   N/A 489                                m_nStateChangeTo = 0   N/A 490                                UpdateVGUICreditsStateCommit   N/A 491                        }   N/A 492                        else if ( CreditsList[m_nNameIndex] == STATE_TEXTBLOCK )   N/A 493                        {   N/A 494                                m_nStateChangeTo = 1   N/A 495                                UpdateVGUICreditsStateCommit   N/A 496                        }          N/A 497                        else if ( CreditsList[m_nNameIndex] == BLANK || CreditsList[m_nNameIndex] == ENDING )   N/A 498                        {   N/A 499                                // spawn a blank   N/A 500                        }   N/A 501                        else if ( CreditsList[m_nNameIndex] == ENDOFHUMANS )   N/A 502                        {   N/A 503                                // spawn a blank   N/A 504                                EntFireByHandle( GladosCredit[92], "Start", "", 0.00, null, null )   N/A 505                        }   N/A 506                        else if ( CreditsList[m_nNameIndex] == ENDOFHUMANSPREP )   N/A 507                        {   N/A 508                                        EndofEmployees  = 1   N/A 509                                        nType = 10   N/A 510                        }   N/A 511                        else if ( CreditsList[m_nNameIndex] == BLUE )   N/A 512                        {   N/A 513                                EntFire( "relay_monsterbox_walk", "Trigger", nType, 0)   N/A 514                                nType = 3   N/A 515                        }   N/A 516                        else if ( CreditsList[m_nNameIndex] == ORANGE )   N/A 517                        {   N/A 518                                nType = 4   N/A 519                        }   N/A 520                        else if ( CreditsList[m_nNameIndex] == TURRET )   N/A 521                        {   N/A 522                                nType = 5   N/A 523                        }   N/A 524                        else if ( CreditsList[m_nNameIndex] == TURRET_S )   N/A 525                        {   N/A 526                                nType = 6   N/A 527                        }   N/A 528                        else if ( CreditsList[m_nNameIndex] == CUBE )   N/A 529                        {   N/A 530                                nType = 7   N/A 531                        }   N/A 532                        else if ( CreditsList[m_nNameIndex] == MONSTER )   N/A 533                        {   N/A 534                                nType = 8   N/A 535                        }                                  N/A 536                        else if ( CreditsList[m_nNameIndex] == BIRD )   N/A 537                        {   N/A 538                                nType = 9   N/A 539                        }          N/A 540                        else if ( CreditsList[m_nNameIndex] == COMPCUBE )   N/A 541                        {   N/A 542                                nType = 10   N/A 543                        }          N/A 544                        else if ( CreditsList[m_nNameIndex] == PERSPEHERE )   N/A 545                        {   N/A 546                                nType = 11   N/A 547                        }          N/A 548                        else if ( CreditsList[m_nNameIndex] == TURRETBACK )   N/A 549                        {   N/A 550                                EntFire( "relay_orange_peek", "Trigger", "", 5)   N/A 551                                nType = 12   N/A 552                        }   N/A 553                        else if ( CreditsList[m_nNameIndex] == TURRETWIFE )   N/A 554                        {   N/A 555                                nType = 13   N/A 556                        }   N/A 557                        else if ( CreditsList[m_nNameIndex] == TURRETBOX )   N/A 558                        {   N/A 559                                nType = 14   N/A 560                        }          N/A 561                        else if ( CreditsList[m_nNameIndex] == SPACE )   N/A 562                        {   N/A 563                                nType = 16   N/A 564                        }   N/A 565                        else if ( CreditsList[m_nNameIndex] == WHEATLEY )   N/A 566                        {   N/A 567                                nType = 17   N/A 568                        }   N/A 569                        else if ( CreditsList[m_nNameIndex] == STILLALIVE )   N/A 570                        {   N/A 571                                nType = 18   N/A 572                        }   N/A 573                        else if ( CreditsList[m_nNameIndex] == VOICERECORD || CreditsList[m_nNameIndex] == SPECIALTHANKS )   N/A 574                        {   N/A 575                                nType = 19   N/A 576                        }   N/A 577                        else if ( CreditsList[m_nNameIndex] == ANNOUNCER || CreditsList[m_nNameIndex] == TRANSLATIONS || CreditsList[m_nNameIndex] == VOICESTITLE )   N/A 578                        {   N/A 579                                nType = 20   N/A 580                        }   N/A 581                        else if ( CreditsList[m_nNameIndex] == CHELL )   N/A 582                        {   N/A 583                                nType = 21   N/A 584                        }   N/A 585                        else if ( CreditsList[m_nNameIndex] == CAVE )   N/A 586                        {   N/A 587                                nType = 22   N/A 588                        }          N/A 589                        else if ( CreditsList[m_nNameIndex] == CCORESTUR )   N/A 590                        {   N/A 591                                nType = 23   N/A 592                        }          N/A 593                        else if ( CreditsList[m_nNameIndex] == GLADOS )   N/A 594                        {   N/A 595                                nType = 24   N/A 596                        }   N/A 597                        else if ( CreditsList[m_nNameIndex] == BOTSHUG )   N/A 598                        {   N/A 599                                nType = 25   N/A 600                        }   N/A 601                        else if ( CreditsList[m_nNameIndex] == GONE )   N/A 602                        {   N/A 603                                nType = 26   N/A 604                        }   N/A 605                        else if ( CreditsList[m_nNameIndex] == VILIFY )   N/A 606                        {   N/A 607                                nType = 27   N/A 608                        }   N/A 609                        else   N/A 610                        {   N/A 611                                //if ( CreditsList[m_nNameIndex].find( ">" ) )   N/A 612    N/A 613                                nType = RandomInt( 1, 2 )   N/A 614    N/A 615                                if ( EndofEmployees == 0 )   N/A 616                                {   N/A 617                                        // spawn a human   N/A 618                                        local curTime = Time   N/A 619                                        if ( CreditTimer == 0 )   N/A 620                                        {   N/A 621                                                CreditTimer = Time //tracks overall time in case we want a time limit and then fire the last one   N/A 622                                                GladosRndStart = RandomInt( 0,5 )  //seed the first vo   N/A 623                                                GladosInterval = Time   N/A 624                                        }   N/A 625                                        if ( GladosRndStart < curTime-GladosInterval )   N/A 626                                        {   N/A 627                                                GladosCounter = GladosCounter + 1   N/A 628                                                if ( GladosCounter <= GladosCredit.len )   N/A 629                                                {   N/A 630                                                        EntFireByHandle( GladosCredit[GladosCounter], "Start", "", 0.00, null, null )   N/A 631                                                        GladosInterval = Time   N/A 632                                                        GladosRndStart = GladosLength[ GladosCounter ]+RandomFloat( 0, 7 )  //takes length of wav that already has .75 seconds added to it and randomally adds 0-7 seconds   N/A 633                                                }   N/A 634                                        }   N/A 635                                }   N/A 636                        }   N/A 637    N/A 638                        // send off a random job title          N/A 639                        EntFire( "@command", "Command", "coop_set_credits_jobtitle " + "\"" + JobPrefix[RandomInt( 0, JobPrefix.len-1 )] + " " +  JobMiddle[RandomInt( 0, JobMiddle.len-1 )] + " " + JobSuffix[RandomInt( 0, JobSuffix.len-1 )] + " <<\"", 0)   N/A 640                }   N/A 641    N/A 642                if ( nType >= 16 )   N/A 643                {   N/A 644                        // need to convert these to a string because hammer expects it!!! N/A 645                       nType = "" + nType   N/A 646                        EntFire( "counter_pick_next_spawn2", "SetValue", nType, 0)   N/A 647                }          N/A 648                else   N/A 649                {   N/A 650                        // need to convert these to a string because hammer expects it!!! N/A 651                       nType = "" + nType   N/A 652                        EntFire( "counter_pick_next_spawn", "SetValue", nType, 0)   N/A 653                }   N/A 654    N/A 655                if ( DBG )   N/A 656                {   N/A 657                        printl("[ spawning ] - " + CreditsList[m_nNameIndex])   N/A 658                }   N/A 659        }   N/A 660 }   N/A 661    N/A 662 function CreditsGrantGameCompleteAchievement   N/A 663 {   N/A 664        local bGameCompleteB = true   N/A 665        local bGameCompleteO = true   N/A 666        for ( local i = 0; i < 5; i++ )   N/A 667        {          N/A 668                if ( IsPlayerBranchComplete( 0, i ) == false )   N/A 669                {   N/A 670                        bGameCompleteB = false   N/A 671                        //printl("!!=== bGameCompleteB = false --- not completed branch " + i )   N/A 672                }   N/A 673                if ( IsPlayerBranchComplete( 1, i ) == false )   N/A 674                {   N/A 675                        bGameCompleteO = false   N/A 676                }   N/A 677        }   N/A 678    N/A 679        if ( bGameCompleteB )   N/A 680        {   N/A 681                RecordAchievementEvent( "ACH.NEW_BLOOD", GetBluePlayerIndex )          N/A 682                RecordAchievementEvent( "AV_SHIRT1", GetBluePlayerIndex )          N/A 683                //printl("!!!!!!!!=== AWARDING END GAME ACHIEVEMENT!!!" )  N/A 684        }   N/A 685        if ( bGameCompleteO )   N/A 686        {   N/A 687                RecordAchievementEvent( "ACH.NEW_BLOOD", GetOrangePlayerIndex )          N/A 688                RecordAchievementEvent( "AV_SHIRT1", GetOrangePlayerIndex )          N/A 689        }   N/A 690 }   N/A 691    N/A 692 function DoCredits   N/A 693 {   N/A 694        if ( DBG )   N/A 695        {   N/A 696                printl("================DUMPING CREDITS")   N/A 697        }   N/A 698    N/A 699        // award the game complete achievmeent - this was moved from the last map because the toast caused the bink movie's sound to echo on the 360!   N/A 700        CreditsGrantGameCompleteAchievement   N/A 701    N/A 702        // this clears out the list of names and initializes it   N/A 703        AddCoopCreditsName( "CLEAR ALL" )   N/A 704    N/A 705        local namecount = 0   N/A 706    N/A 707        foreach( index, name in CreditsList )   N/A 708        {          N/A 709                if ( DBG )   N/A 710                {   N/A 711                        printl( index + " " + CreditsList[index] )   N/A 712                }   N/A 713    N/A 714                // skip over objects which we don't display on the vgui screen and we dont want the server to know about   N/A 715                if (CreditsList[index] != TURRET && CreditsList[index] != TURRET_S &&   N/A 716                        CreditsList[index] != CUBE && CreditsList[index] != MONSTER &&   N/A 717                        CreditsList[index] != BLUE && CreditsList[index] != ORANGE &&   N/A 718                        CreditsList[index] != BLANK && CreditsList[index] != BIRD &&   N/A 719                        CreditsList[index] != COMPCUBE && CreditsList[index] != PERSPEHERE &&   N/A 720                        CreditsList[index] != STATE_NAMES && CreditsList[index] != STATE_TEXTBLOCK &&   N/A 721                        CreditsList[index] != TURRETBACK && CreditsList[index] != TURRETWIFE &&   N/A 722                        CreditsList[index] != TURRETBOX && CreditsList[index] != ENDING && CreditsList[index] != ENDOFHUMANS && CreditsList[index] != ENDOFHUMANSPREP)   N/A 723                {   N/A 724                        // send the string to the server to build the list of names   N/A 725                        AddCoopCreditsName( CreditsList[index] )   N/A 726                        namecount++   N/A 727                }   N/A 728    N/A 729                m_nTotalNameCount++   N/A 730        }   N/A 731    N/A 732        if ( DBG )   N/A 733        {   N/A 734                printl( namecount + " names total." )  N/A 735    N/A 736                printl("================END DUMP")   N/A 737        }   N/A 738    N/A 739        DO_CREDITS = 1   N/A 740    N/A 741        if ( IsLocalSplitScreen )   N/A 742        {   N/A 743                EntFire( "camera_O", "Disable", "", 1.0)   N/A 744        }   N/A 745 }   N/A 746    N/A 747 function EndCredits   N/A 748 {   N/A 749        EntFire( "relay_end_confetti", "Trigger", "", 0)   N/A 750        // disable the camera so the splitscreen player isn't stuck on spawning into the hub   N/A 751        EntFire( "camera*", "Disable", "", 9.0)   N/A 752        if ( GetNumPlayersConnected > 1 )   N/A 753        {   N/A 754                EntFire( "playmovie_level_transition_to_hub", "PlayLevelTransitionMovie", "", 6.5)   N/A 755                EntFire( "@command", "command", "go_to_hub", 10 )   N/A 756        }   N/A 757        else   N/A 758        {   N/A 759                EntFire( "fade_end_ss", "Fade", "", 6.5)   N/A 760                EntFire( "@command", "command", "disconnect", 10)   N/A 761        }   N/A 762        m_bCreditsFinished = true   N/A 763 }   N/A 764    N/A 765 function AdvanceVGUIIndex( nType )   N/A 766 {   N/A 767        // everything in the slot 16 and above are displayed on screen   N/A 768        // slots 1 and 2 are humans   N/A 769        if ( nType == 1 || nType == 2 || nType >= 16 )   N/A 770        {   N/A 771                // if we're human increment the index   N/A 772                m_nVGUIIndex++   N/A 773                if ( DBG )   N/A 774                {   N/A 775                        printl( "[" + Time + "] @@@@@@@@@ INCREMENTING INDEX TO: " + m_nVGUIIndex)   N/A 776                }   N/A 777        }   N/A 778    N/A 779        EntFire( "@command", "Command", "coop_set_credits_index " + m_nVGUIIndex + " " + nType, 0)   N/A 780 }   N/A 781    N/A 782 function UpdateVGUICreditsStateNotify( nState )   N/A 783 {   N/A 784        m_nStateChangeIn = 1   N/A 785        m_nStateChangeTo = nState          N/A 786 }   N/A 787    N/A 788 function UpdateVGUICreditsStateCommit   N/A 789 {   N/A 790        m_nCreditsState        = m_nStateChangeTo   N/A 791        if ( DBG )   N/A 792        {   N/A 793                printl( "[" + Time + "] @@@@@@@@@ UPDATE STATE TO: " + m_nCreditsState + " : Index: " + m_nVGUIIndex)   N/A 794        }   N/A 795        EntFire( "@command", "Command", "coop_set_credits_state " + m_nCreditsState, 0)   N/A 796        if ( m_nCreditsState == 1 )   N/A 797        {   N/A 798                // slow thigns down   N/A 799                TIME_INTERVAL <- BLOCKTEXT_TIME_INTERVAL   N/A 800                EntFire( "train_track_1", "EnableAlternatePath", "", 0)   N/A 801        }   N/A 802        else   N/A 803        {   N/A 804                // slow thigns down   N/A 805                TIME_INTERVAL <- NAME_TIME_INTERVAL   N/A 806                EntFire( "train_track_1", "DisableAlternatePath", "", 0)   N/A 807        }   N/A 808 }   N/A 809    N/A 810 function ScanItem( nType )   N/A 811 {   N/A 812        AdvanceVGUIIndex( nType )   N/A 813    N/A 814        // dont scan for the big items like glados, cave portrait, etc   N/A 815        // everything in the slot 16 and above should not be scanned   N/A 816        if ( nType >= 16 )   N/A 817        {   N/A 818                return   N/A 819        }   N/A 820    N/A 821        // need to convert these to a string because hammer expects it!!! N/A 822       nType = "" + nType   N/A 823    N/A 824        if ( m_nCreditsState == 1 )   N/A 825        {                  N/A 826                EntFire( "relay_scan", "Trigger", "", 0)   N/A 827        }   N/A 828        else   N/A 829        {   N/A 830                EntFire( "relay_scan_fast", "Trigger", "", 0)   N/A 831        }   N/A 832 }   N/A 833    N/A 834 JobPrefix <- [   N/A 835 "Lead",   N/A 836 "Senior",   N/A 837 "Direct",   N/A 838 "Dynamic",   N/A 839 "Future",   N/A 840 "National",   N/A 841 "Regional",   N/A 842 "Central",   N/A 843 "Global",   N/A 844 "Dynamic",   N/A 845 "International",   N/A 846 "Legacy",   N/A 847 "Forward",   N/A 848 "Internal",   N/A 849 "Chief",   N/A 850 "Principal",   N/A 851 "Postdoctoral",   N/A 852 "Regulatory",   N/A 853 ]   N/A 854    N/A 855 JobMiddle <- [   N/A 856 "Human",   N/A 857 "Environmental",   N/A 858 "Aerospace",   N/A 859 "Space",   N/A 860 "Deep Sea",   N/A 861 "Atmospheric",   N/A 862 "Cardiovascular",   N/A 863 "Electrical",   N/A 864 "Computer",   N/A 865 "Emergency",   N/A 866 "Mining",   N/A 867 "Nuclear",   N/A 868 "Safety",   N/A 869 "Histology",   N/A 870 "Forensic",   N/A 871 ]   N/A 872    N/A 873 JobSuffix <- [   N/A 874 "Surgeon",   N/A 875 "Scientist",   N/A 876 "Engineer",   N/A 877 "Technologist",   N/A 878 "Neurosurgeon",   N/A 879 "Pilot",   N/A 880 "Astronaut",   N/A 881 "Archeologist",   N/A 882 "Aviator",   N/A 883 "Specialist",   N/A 884 "Psychologist",   N/A 885 "Composer",   N/A 886 "Fighter",   N/A 887 "Professional",   N/A 888 "Geographer",   N/A 889 "Architect",   N/A 890 "Astronomer",   N/A 891 "Cytogeneticist",   N/A 892 "Dentist",   N/A 893 "Interpreter",   N/A 894 "Phlebotomist",   N/A 895 "Physician",   N/A 896 "Meteorologist",   N/A 897 "Philosopher",   N/A 898 "Garbologist",   N/A 899 ]   N/A 900    N/A 901 GladosCredit <- {}   N/A 902 GladosCredit[1] <- CreateSceneEntity("scenes/npc/glados/mp_credits01.vcd")   N/A 903 GladosCredit[2] <- CreateSceneEntity("scenes/npc/glados/mp_credits03.vcd")   N/A 904 GladosCredit[3] <- CreateSceneEntity("scenes/npc/glados/mp_credits04.vcd")   N/A 905 GladosCredit[4] <- CreateSceneEntity("scenes/npc/glados/mp_credits05.vcd")   N/A 906 GladosCredit[5] <- CreateSceneEntity("scenes/npc/glados/mp_credits06.vcd")   N/A 907 GladosCredit[6] <- CreateSceneEntity("scenes/npc/glados/mp_credits07.vcd")   N/A 908 GladosCredit[7] <- CreateSceneEntity("scenes/npc/glados/mp_credits08.vcd")   N/A 909 GladosCredit[8] <- CreateSceneEntity("scenes/npc/glados/mp_credits09.vcd")   N/A 910 GladosCredit[9] <- CreateSceneEntity("scenes/npc/glados/mp_credits10.vcd")   N/A 911 GladosCredit[10] <- CreateSceneEntity("scenes/npc/glados/mp_credits11.vcd")   N/A 912 GladosCredit[11] <- CreateSceneEntity("scenes/npc/glados/mp_credits12.vcd")   N/A 913 GladosCredit[12] <- CreateSceneEntity("scenes/npc/glados/mp_credits13.vcd")   N/A 914 GladosCredit[13] <- CreateSceneEntity("scenes/npc/glados/mp_credits14.vcd")   N/A 915 GladosCredit[14] <- CreateSceneEntity("scenes/npc/glados/mp_credits15.vcd")   N/A 916 GladosCredit[15] <- CreateSceneEntity("scenes/npc/glados/mp_credits17.vcd")   N/A 917 GladosCredit[16] <- CreateSceneEntity("scenes/npc/glados/mp_credits16.vcd")   N/A 918 GladosCredit[17] <- CreateSceneEntity("scenes/npc/glados/mp_credits18.vcd")   N/A 919 GladosCredit[18] <- CreateSceneEntity("scenes/npc/glados/mp_credits19.vcd")   N/A 920 GladosCredit[19] <- CreateSceneEntity("scenes/npc/glados/mp_credits20.vcd")   N/A 921 GladosCredit[20] <- CreateSceneEntity("scenes/npc/glados/mp_credits21.vcd")   N/A 922 GladosCredit[21] <- CreateSceneEntity("scenes/npc/glados/mp_credits22.vcd")   N/A 923 GladosCredit[22] <- CreateSceneEntity("scenes/npc/glados/mp_credits23.vcd")   N/A 924 GladosCredit[23] <- CreateSceneEntity("scenes/npc/glados/mp_credits24.vcd")   N/A 925 GladosCredit[24] <- CreateSceneEntity("scenes/npc/glados/mp_credits26.vcd")   N/A 926 GladosCredit[25] <- CreateSceneEntity("scenes/npc/glados/mp_credits25.vcd")   N/A 927 GladosCredit[26] <- CreateSceneEntity("scenes/npc/glados/mp_credits27.vcd")   N/A 928 GladosCredit[27] <- CreateSceneEntity("scenes/npc/glados/mp_credits28.vcd")   N/A 929 GladosCredit[28] <- CreateSceneEntity("scenes/npc/glados/mp_credits29.vcd")   N/A 930 GladosCredit[29] <- CreateSceneEntity("scenes/npc/glados/mp_credits30.vcd")   N/A 931 GladosCredit[30] <- CreateSceneEntity("scenes/npc/glados/mp_credits31.vcd")   N/A 932 GladosCredit[31] <- CreateSceneEntity("scenes/npc/glados/mp_credits32.vcd")   N/A 933 GladosCredit[32] <- CreateSceneEntity("scenes/npc/glados/mp_credits33.vcd")   N/A 934 GladosCredit[33] <- CreateSceneEntity("scenes/npc/glados/mp_credits34.vcd")   N/A 935 GladosCredit[34] <- CreateSceneEntity("scenes/npc/glados/mp_credits35.vcd")   N/A 936 GladosCredit[35] <- CreateSceneEntity("scenes/npc/glados/mp_credits36.vcd")   N/A 937 GladosCredit[36] <- CreateSceneEntity("scenes/npc/glados/mp_credits37.vcd")   N/A 938 GladosCredit[37] <- CreateSceneEntity("scenes/npc/glados/mp_credits38.vcd")   N/A 939 GladosCredit[38] <- CreateSceneEntity("scenes/npc/glados/mp_credits39.vcd")   N/A 940 GladosCredit[39] <- CreateSceneEntity("scenes/npc/glados/mp_credits40.vcd")   N/A 941 GladosCredit[40] <- CreateSceneEntity("scenes/npc/glados/mp_credits41.vcd")   N/A 942 GladosCredit[41] <- CreateSceneEntity("scenes/npc/glados/mp_credits42.vcd")   N/A 943 GladosCredit[42] <- CreateSceneEntity("scenes/npc/glados/mp_credits43.vcd")   N/A 944 GladosCredit[43] <- CreateSceneEntity("scenes/npc/glados/mp_credits44.vcd")   N/A 945 GladosCredit[44] <- CreateSceneEntity("scenes/npc/glados/mp_credits45.vcd")   N/A 946 GladosCredit[45] <- CreateSceneEntity("scenes/npc/glados/mp_credits46.vcd")   N/A 947 GladosCredit[46] <- CreateSceneEntity("scenes/npc/glados/mp_credits47.vcd")   N/A 948 GladosCredit[47] <- CreateSceneEntity("scenes/npc/glados/mp_credits48.vcd")   N/A 949 GladosCredit[48] <- CreateSceneEntity("scenes/npc/glados/mp_credits49.vcd")   N/A 950 GladosCredit[49] <- CreateSceneEntity("scenes/npc/glados/mp_credits50.vcd")   N/A 951 GladosCredit[50] <- CreateSceneEntity("scenes/npc/glados/mp_credits51.vcd")   N/A 952 GladosCredit[51] <- CreateSceneEntity("scenes/npc/glados/mp_credits52.vcd")   N/A 953 GladosCredit[52] <- CreateSceneEntity("scenes/npc/glados/mp_credits53.vcd")   N/A 954 GladosCredit[53] <- CreateSceneEntity("scenes/npc/glados/mp_credits54.vcd")   N/A 955 GladosCredit[54] <- CreateSceneEntity("scenes/npc/glados/mp_credits55.vcd")   N/A 956 GladosCredit[55] <- CreateSceneEntity("scenes/npc/glados/mp_credits56.vcd")   N/A 957 GladosCredit[56] <- CreateSceneEntity("scenes/npc/glados/mp_credits57.vcd")   N/A 958 GladosCredit[57] <- CreateSceneEntity("scenes/npc/glados/mp_credits58.vcd")   N/A 959 GladosCredit[58] <- CreateSceneEntity("scenes/npc/glados/mp_credits59.vcd")   N/A 960 GladosCredit[59] <- CreateSceneEntity("scenes/npc/glados/mp_credits60.vcd")   N/A 961 GladosCredit[60] <- CreateSceneEntity("scenes/npc/glados/mp_credits61.vcd")   N/A 962 GladosCredit[61] <- CreateSceneEntity("scenes/npc/glados/mp_credits62.vcd")   N/A 963 GladosCredit[62] <- CreateSceneEntity("scenes/npc/glados/mp_credits63.vcd")   N/A 964 GladosCredit[63] <- CreateSceneEntity("scenes/npc/glados/mp_credits64.vcd")   N/A 965 GladosCredit[64] <- CreateSceneEntity("scenes/npc/glados/mp_credits65.vcd")   N/A 966 GladosCredit[65] <- CreateSceneEntity("scenes/npc/glados/mp_credits66.vcd")   N/A 967 GladosCredit[66] <- CreateSceneEntity("scenes/npc/glados/mp_credits67.vcd")   N/A 968 GladosCredit[67] <- CreateSceneEntity("scenes/npc/glados/mp_credits68.vcd")   N/A 969 GladosCredit[68] <- CreateSceneEntity("scenes/npc/glados/mp_credits69.vcd")   N/A 970 GladosCredit[69] <- CreateSceneEntity("scenes/npc/glados/mp_credits70.vcd")   N/A 971 GladosCredit[70] <- CreateSceneEntity("scenes/npc/glados/mp_credits71.vcd")   N/A 972 GladosCredit[71] <- CreateSceneEntity("scenes/npc/glados/mp_credits72.vcd")   N/A 973 GladosCredit[72] <- CreateSceneEntity("scenes/npc/glados/mp_credits73.vcd")   N/A 974 GladosCredit[73] <- CreateSceneEntity("scenes/npc/glados/mp_credits74.vcd")   N/A 975 GladosCredit[74] <- CreateSceneEntity("scenes/npc/glados/mp_credits75.vcd")   N/A 976 GladosCredit[75] <- CreateSceneEntity("scenes/npc/glados/mp_credits76.vcd")   N/A 977 GladosCredit[76] <- CreateSceneEntity("scenes/npc/glados/mp_credits77.vcd")   N/A 978 GladosCredit[77] <- CreateSceneEntity("scenes/npc/glados/mp_credits79.vcd")   N/A 979 GladosCredit[78] <- CreateSceneEntity("scenes/npc/glados/mp_credits80.vcd")   N/A 980 GladosCredit[79] <- CreateSceneEntity("scenes/npc/glados/mp_credits81.vcd")   N/A 981 GladosCredit[80] <- CreateSceneEntity("scenes/npc/glados/mp_credits82.vcd")   N/A 982 GladosCredit[81] <- CreateSceneEntity("scenes/npc/glados/mp_credits83.vcd")   N/A 983 GladosCredit[82] <- CreateSceneEntity("scenes/npc/glados/mp_credits84.vcd")   N/A 984 GladosCredit[83] <- CreateSceneEntity("scenes/npc/glados/mp_credits85.vcd")   N/A 985 GladosCredit[84] <- CreateSceneEntity("scenes/npc/glados/mp_credits86.vcd")   N/A 986 GladosCredit[85] <- CreateSceneEntity("scenes/npc/glados/mp_credits87.vcd")   N/A 987 GladosCredit[86] <- CreateSceneEntity("scenes/npc/glados/mp_credits88.vcd")   N/A 988 GladosCredit[87] <- CreateSceneEntity("scenes/npc/glados/mp_credits89.vcd")   N/A 989 GladosCredit[88] <- CreateSceneEntity("scenes/npc/glados/mp_credits90.vcd")   N/A 990 GladosCredit[89] <- CreateSceneEntity("scenes/npc/glados/mp_credits91.vcd")   N/A 991 GladosCredit[90] <- CreateSceneEntity("scenes/npc/glados/mp_credits92.vcd")   N/A 992 GladosCredit[91] <- CreateSceneEntity("scenes/npc/glados/mp_credits93.vcd")   N/A 993 GladosCredit[92] <- CreateSceneEntity("scenes/npc/glados/mp_credits94.vcd")   N/A 994 GladosLength <- {}   N/A 995 GladosLength[1] <- 2.238   N/A 996 GladosLength[2] <- 2.011   N/A 997 GladosLength[3] <- 2.546   N/A 998 GladosLength[4] <- 2.310   N/A 999 GladosLength[5] <- 2.112   N/A 1000 GladosLength[6] <- 2.191   N/A 1001 GladosLength[7] <- 2.083   N/A 1002 GladosLength[8] <- 2.350   N/A 1003 GladosLength[9] <- 2.774   N/A 1004 GladosLength[10] <- 2.132   N/A 1005 GladosLength[11] <- 3.697   N/A 1006 GladosLength[12] <- 1.850   N/A 1007 GladosLength[13] <- 2.743   N/A 1008 GladosLength[14] <- 2.528   N/A 1009 GladosLength[15] <- 1.550   N/A 1010 GladosLength[16] <- 2.182   N/A 1011 GladosLength[17] <- 2.364   N/A 1012 GladosLength[18] <- 1.642   N/A 1013 GladosLength[19] <- 1.442   N/A 1014 GladosLength[20] <- 2.404   N/A 1015 GladosLength[21] <- 2.421   N/A 1016 GladosLength[22] <- 1.814   N/A 1017 GladosLength[23] <- 3.402   N/A 1018 GladosLength[24] <- 1.374   N/A 1019 GladosLength[25] <- 2.602   N/A 1020 GladosLength[26] <- 2.330   N/A 1021 GladosLength[27] <- 4.095   N/A 1022 GladosLength[28] <- 2.436   N/A 1023 GladosLength[29] <- 1.678   N/A 1024 GladosLength[30] <- 2.200   N/A 1025 GladosLength[31] <- 1.534   N/A 1026 GladosLength[32] <- 3.850   N/A 1027 GladosLength[33] <- 3.357   N/A 1028 GladosLength[34] <- 1.930   N/A 1029 GladosLength[35] <- 1.876   N/A 1030 GladosLength[36] <- 2.566   N/A 1031 GladosLength[37] <- 6.999   N/A 1032 GladosLength[38] <- 2.428   N/A 1033 GladosLength[39] <- 2.355   N/A 1034 GladosLength[40] <- 3.151   N/A 1035 GladosLength[41] <- 1.776   N/A 1036 GladosLength[42] <- 2.647   N/A 1037 GladosLength[43] <- 1.813   N/A 1038 GladosLength[44] <- 2.496   N/A 1039 GladosLength[45] <- 6.536   N/A 1040 GladosLength[46] <- 5.198   N/A 1041 GladosLength[47] <- 4.806   N/A 1042 GladosLength[48] <- 4.462   N/A 1043 GladosLength[49] <- 1.453   N/A 1044 GladosLength[50] <- 2.433   N/A 1045 GladosLength[51] <- 1.625   N/A 1046 GladosLength[52] <- 4.666   N/A 1047 GladosLength[53] <- 1.918   N/A 1048 GladosLength[54] <- 8.409   N/A 1049 GladosLength[55] <- 4.853   N/A 1050 GladosLength[56] <- 2.266   N/A 1051 GladosLength[57] <- 2.915   N/A 1052 GladosLength[58] <- 2.296   N/A 1053 GladosLength[59] <- 1.561   N/A 1054 GladosLength[60] <- 3.807   N/A 1055 GladosLength[61] <- 2.570   N/A 1056 GladosLength[62] <- 6.204   N/A 1057 GladosLength[63] <- 3.022   N/A 1058 GladosLength[64] <- 2.707   N/A 1059 GladosLength[65] <- 2.452   N/A 1060 GladosLength[66] <- 2.673   N/A 1061 GladosLength[67] <- 2.105   N/A 1062 GladosLength[68] <- 3.021   N/A 1063 GladosLength[69] <- 3.291   N/A 1064 GladosLength[70] <- 4.186   N/A 1065 GladosLength[71] <- 2.292   N/A 1066 GladosLength[72] <- 2.081   N/A 1067 GladosLength[73] <- 2.326   N/A 1068 GladosLength[74] <- 2.696   N/A 1069 GladosLength[75] <- 1.462   N/A 1070 GladosLength[76] <- 1.892   N/A 1071 GladosLength[77] <- 1.724   N/A 1072 GladosLength[78] <- 2.634   N/A 1073 GladosLength[79] <- 2.163   N/A 1074 GladosLength[80] <- 2.238   N/A 1075 GladosLength[81] <- 1.918   N/A 1076 GladosLength[82] <- 1.861   N/A 1077 GladosLength[83] <- 1.938   N/A 1078 GladosLength[84] <- 2.025   N/A 1079 GladosLength[85] <- 2.223   N/A 1080 GladosLength[86] <- 2.311   N/A 1081 GladosLength[87] <- 3.865   N/A 1082 GladosLength[88] <- 2.348   N/A 1083 GladosLength[89] <- 2.597   N/A 1084 GladosLength[90] <- 5.989   N/A 1085 GladosLength[91] <- 2.921   N/A 1086 GladosLength[92] <- 5.939   0 1087  + true   1 1088  + true