-- Theatre -- 2.0000 function fadein_theatre() if not IsEventDone ( EVEnterTheatreFirst ) then PlayIntroMovie("Art\\Movie\\Flyin\\intro_theatre01a.xmv") SetCharacterPicture ( Victim, "Art\\Reenactments\\Pictures\\maryl.tga" ) SetVisible ( OPanoDetonator, false ) end ChangeRoom( TheatrePanoRoom ) FadeIn() AddCSILocation ( Morgue ) end AddEvent( EVEnterTheatreFirst, true, nil, Theatre, nil, "fadein_theatre" ) ------------------------------------------------------------------------------------- --2.1010 function theatre_observing_blood_on_chest () PlayDialog ( nil, "M4_NICK_1752" ) end AddEvent ( nil, false, nil, TheatreMaryBloodCU, nil, "theatre_observing_blood_on_chest" ) ------------------------------------------------------------------------------------- --2.1020 -- face unavailable acelasi lucru la AlRobbins function theatre_swabbing_blood_tool () SetActive ( HTheatreBloodCU, false ) SetActive ( HTheatreBloodTool, false ) if IsEventDone ( EVAcquiredSquibProp1 ) or IsEventDone ( EVAcquiredSquibProp2 ) then SetActive ( HTheatreMaryBloodEstab, false ) if IsEventDone ( EVAcquireUVLightBruising ) then SetActive ( HPanoBody, false ) end end PlayDialog ( nil, "M4_NICK_1753" ) AddEvidence ( ETMerylRegisBloodSample ) AddEvidenceDescriptionText ( ETMerylRegisBloodSample, "_TB_E4314" ) end AddEvent ( EVSwabbingBlood, false, swab, HTheatreBloodCU, nil, "theatre_swabbing_blood_tool" ) ------------------------------------------------------------------------------------- --2.1025 function theatre_enter_squib_view() PlayDialog ( nil, "M4_NICK_1754" ) end AddEvent ( nil, false, nil, TheatreMarySquibb, nil, "theatre_enter_squib_view" ) ------------------------------------------------------------------------------------- --2.1030 function theatre_acquire_squib_prop() SetActive ( HTheatreSquibbCU, false ) SetVisible ( OTheatreSquibbCU, false ) SetActive ( HTheatreSquibb, false ) SetVisible ( OTheatreSquibbEstab, false ) AddEvidence ( EISquibProp ) AddEvidenceDescriptionText ( EISquibProp, "_TB_E2797" ) if IsEventDone ( EVSwabbingBlood ) then SetActive ( HTheatreMaryBloodEstab, false ) if IsEventDone ( EVAcquireUVLightBruising ) then SetActive ( HPanoBody, false ) end end end AddEvent ( EVAcquiredSquibProp1, false, gloves, HTheatreSquibbCU, nil, "theatre_acquire_squib_prop" ) AddEvent ( EVAcquiredSquibProp2, false, tweezers, HTheatreSquibbCU, nil, "theatre_acquire_squib_prop" ) -------------------------------------------------------------------------------------- --2.1040 function theatre_enter_face_view() PlayDialog ( nil, "M4_NICK_1755" ) end AddEvent ( EVEnteredFaceView, false, nil, TheatreMaryFace, nil, "theatre_enter_face_view" ) -------------------------------------------------------------------------------------- --2.1050 -- face unavailable hotspot-ul pentru Face la AlRobbins function theatre_acquire_face_bruising_UVlight () SetActive ( HFaceUVClick, false ) SetActive ( HFaceUVTools, false ) SetActive ( HMorgueMaryFace, false ) PlayDialog ( nil, "M4_NICK_1756" ) UpdateCaseFile ( Victim, INFORMATION, "_TB_E4731" ) SetActive ( HTheatreMaryFaceEstab, false ) if IsEventDone ( EVSwabbingBlood ) and ( IsEventDone ( EVAcquiredSquibProp1 ) or IsEventDone ( EVAcquiredSquibProp2 )) then SetActive ( HPanoBody, false ) end end AddEvent ( EVAcquireUVLightBruising, false, uv, HFaceUVClick, nil, "theatre_acquire_face_bruising_UVlight" ) -------------------------------------------------------------------------------------- --2.1060 function theatre_enter_actor_mark () PlayDialog ( nil, "M4_NICK_1757" ) SetActive ( HPanoActorMark, false ) end AddEvent ( EVEnteredActorMark, false, nil, TheatreTapeCU, nil, "theatre_enter_actor_mark" ) -------------------------------------------------------------------------------------- --2.1070 function theatre_enter_proptable() PlayDialog ( nil, "M4_NICK_1758" ) PlayReenactment( "Art\\Reenactments\\Movie\\rcns_projectile01a.xmv", "Art\\Reenactments\\Pictures\\rcns_projectile01a_tb.tga", "_TB_Z2212", nil, "M4_NICK_1759" ) PlayDialog ( nil, "M4_NICK_1760" ) end AddEvent ( nil, false, nil, TheatreGunCU, nil, "theatre_enter_proptable" ) -------------------------------------------------------------------------------------- --2.1210 function theatre_acquire_gun_powder_swab () PlayDialog ( nil, "M4_NICK_1761" ) AddEvidence ( ETSampleGunPowder ) AddEvidenceDescriptionText ( ETSampleGunPowder, "_TB_E2785" ) SetActive (EHOTSPOT_gun, false) end AddEvent ( EVAcquireGunPowder, false, swab, HTheatreGunCU, nil, "theatre_acquire_gun_powder_swab" ) -------------------------------------------------------------------------------------- --2.1211 function theatre_acquire_prop_gun () SetActive ( HTheatreGunCU, false ) SetVisible ( OTheatreGunCU, false ) SetActive ( HTheatreGunEstab, false ) SetVisible ( OTheatreGunEstab, false ) SetActive ( HPanoPropTable, false ) SetVisible ( OPanoGun, false ) AddEvidence ( EIPropGun ) AddEvidenceDescriptionText ( EIPropGun, "_TB_E2389" ) end AddEvent ( EVAcquiredPropGun, false, gloves, HTheatreGunCU, nil, "theatre_acquire_prop_gun" ) -------------------------------------------------------------------------------------- --2.1240 function theatre_enter_miss_Carter () PlayDialog ( nil, "M4_NICK_1762" ) PlayDialog ( Carter, "M4_HEATHER_1763" ) PlayDialog ( nil, "M4_NICK_1764" ) AddSuspect ( Carter, "Heather Colby", "Art\\Reenactments\\Pictures\\heather.tga" ) DisplayQuestionList ( Carter ) end AddEvent ( EVTheatreMissCarter, false, nil, TheatreCarter1, nil, "theatre_enter_miss_Carter" ) -------------------------------------------------------------------------------------- -- pentru afisarea intrebarilor pt. Miss Carter function ask_questions_to_Heather_theatre_cond () return IsEventDone ( EVTheatreMissCarter ) end function ask_questions_to_Heather_theatre () if not DisplayQuestionList ( Carter ) then PlayDialog ( Carter, "M4_HEATHER_1981") end end AddEvent ( nil, true, nil, TheatreCarter1, "ask_questions_to_Heather_theatre_cond", "ask_questions_to_Heather_theatre" ) -------------------------------------------------------------------------------------- -- afisare intrebari on click function ask_questions_Heather_on_click () if not DisplayQuestionList ( Carter ) then PlayDialog ( Carter, "M4_HEATHER_1981") end end AddEvent ( nil, true, nil, HTheatreCarter1, nil, "ask_questions_Heather_on_click" ) -------------------------------------------------------------------------------------- --2.1410 function theatre_enter_dialog_Regis () PlayDialog ( nil, "M4_NICK_1774" ) PlayDialog ( Regis, "M4_CLAYTON_1775" ) --2.1430 PlayDialog ( nil, "M4_NICK_1776" ) PlayDialog ( Regis, "M4_CLAYTON_1777" ) PlayDialog ( nil, "M4_NICK_1778" ) if not IsQuestionAsked ( Harrison, "TB_Q881" ) then AddSuspect ( Regis, "Clayton Regis", "Art\\Reenactments\\Pictures\\clayton.tga" ) end UpdateCaseFile ( Regis, SUSPECT_VICTIM, "_TB_E4689", 200 ) DisplayQuestionList ( Regis ) end AddEvent ( EVTheatreDialogRegis, false, nil, TheatreRegis1, nil, "theatre_enter_dialog_Regis" ) -------------------------------------------------------------------------------------- -- pentru afisarea intrebarilor pt. Regis Clayton function ask_questions_to_Regis_theatre_cond () return IsEventDone ( EVTheatreDialogRegis ) end function ask_questions_to_Regis_theatre () if not DisplayQuestionList ( Regis ) then PlayDialog ( Regis, "M4_CLAYTON_1980") end end AddEvent ( nil, true, nil, TheatreRegis1, "ask_questions_to_Regis_theatre_cond", "ask_questions_to_Regis_theatre" ) -------------------------------------------------------------------------------------- -- afisare intrebari on click function ask_questions_Regis_on_click () if not DisplayQuestionList ( Regis ) then PlayDialog ( Regis, "M4_CLAYTON_1980") end end AddEvent ( nil, true, nil, HTheatreRegis1, nil, "ask_questions_Regis_on_click" ) -------------------------------------------------------------------------------------- --14.3000 function theatre_enter_dummy_up () PlayDialog ( nil, "M4_NICK_1836" ) -- mai e ceva scris in walkthrough... nu am stiut sa-l interpretez. end AddEvent ( nil, false, nil, TheatreLaserDummyUp, nil, "theatre_enter_dummy_up" ) -------------------------------------------------------------------------------------- --14.9920 function theatre_activate_laser_dummy_up () -- din pacate nu merge sa-l si dezactivez... voi scrie totusi o functie comentata dedesubt... SetVisible ( OPanoDetonator, true ) SetVisible ( OPanoPointerDown, true ) SetActive ( HPanoOrchestra, true ) PlayDialog ( nil, "M4_NICK_2486" ) -- playaza un sunet... nu stiu cum sa-l bag :) end AddEvent ( EVTheatreLaserTrajectoryOn, false, nil, HTheatreLaserDummyUp, nil, "theatre_activate_laser_dummy_up" ) -------------------------------------------------------------------------------------- --14.9950 --function theatre_deactivate_laser_dummy_up_cond () -- return IsEventDone ( de mai sus... ) --function theatre_deactivate_laser_dummy_up () -- SetVisible ( OPanoPointerUp, false ) -- playaza un sunet... nu stiu cum sa-l bag :) --end --AddEvent ( nil, false, nil, HTheatreLaserDummyUp, "theatre_deactivate_laser_dummy_up_cond", "function theatre_deactivate_laser_dummy_up" ) -------------------------------------------------------------------------------------- --14.9980 function theatre_enter_balcony () PlayDialog ( nil, "M4_NICK_1900" ) end AddEvent ( nil, false, nil, BoxSeatEstab, nil, "theatre_enter_balcony" ) -------------------------------------------------------------------------------------- --15.0000 function theatre_enter_orchestra_pit() PlayDialog ( nil, "M4_NICK_1837" ) end AddEvent ( EVEnteredOrchestraPit, false, nil, TheatreDetonatorEstab, nil, "theatre_enter_orchestra_pit" ) -------------------------------------------------------------------------------------- --15.1000 function theatre_enter_detonator() PlayDialog ( nil, "M4_NICK_1839" ) end AddEvent ( nil, false, nil, TheatreDetonatorCU, nil, "theatre_enter_detonator" ) -------------------------------------------------------------------------------------- --15.1010 function theatre_acquire_detonator_fingerprint () SetActive ( OTheatreDetonatorPrintCU, false ) SetActive ( HTheatreDetonatorPrint, false ) -- SetActive ( HTheatreDetonatorCU, true ) AddEvidence ( ETDetonatorFingerprint ) AddEvidenceDescriptionText ( ETDetonatorFingerprint, "_TB_E2468" ) SetActive ( EHOTSPOT_detonator_FPrint, false ) SetActive ( EOBJ_detonator_FPrint, false ) end AddEvent ( EVAquiredDetonatorFingerprint, false, fingerdust, OTheatreDetonatorPrintCU, nil, "theatre_acquire_detonator_fingerprint" ) -------------------------------------------------------------------------------------- --15.1300 function theatre_acquire_detonator_gloves () SetVisible ( OTheatreDetonatorPrintCU, false ) SetActive ( HTheatreDetonatorPrint, false ) SetVisible ( OTheatreDetonatorCU, false ) SetActive ( HTheatreDetonatorCU, false ) SetActive ( HTheatreDetonatorEstab, false ) SetVisible ( OTheatreDetonatorEstab, false ) SetActive ( HPanoOrchestra, false ) SetActive ( HPanoDummyUp, false ) SetVisible ( OPanoDetonator, false ) AddEvidence ( EIDetonator ) AddEvidenceDescriptionText ( EIDetonator, "_TB_E2473" ) -- daca se scoate cadavrul din locatie si este dus la morga end AddEvent ( EVAcquiredDetonator, false, gloves, HTheatreDetonatorCU, nil, "theatre_acquire_detonator_gloves" ) AddEvent ( EVAcquiredDetonator1, false, gloves, HTheatreDetonatorPrint, nil, "theatre_acquire_detonator_gloves" ) -------------------------------------------------------------------------------------- --15.9980 function theatre_activate_laser_dummy_down () -- din pacate nu merge sa-l si dezactivez... voi scrie totusi o functie comentata dedesubt... SetVisible ( OPanoPointerUp, true ) SetActive ( HPanoBalcony, true ) PlayDialog ( nil, "M4_NICK_2486" ) -- playaza un sunet... nu stiu cum sa-l bag :) end AddEvent ( EVTheatreLaserTrajectoryDownOn, false, nil, HTheatreLaserDummyDown, nil, "theatre_activate_laser_dummy_down" ) -------------------------------------------------------------------------------------- --15.9994 --function theatre_deactivate_laser_dummy_down_cond () -- return IsEventDone ( de mai sus... ) --function theatre_deactivate_laser_dummy_down () -- SetVisible ( OPanoPointerDown, false ) -- playaza un sunet... nu stiu cum sa-l bag :) --end --AddEvent ( nil, false, nil, HTheatreLaserDummyDown, "theatre_deactivate_laser_dummy_down_cond", "function theatre_deactivate_laser_dummy_down" ) -------------------------------------------------------------------------------------- --22.1011 function theatre_enter_dummy_down () PlayDialog ( nil, "M4_NICK_1899" ) end AddEvent ( nil, false, nil, TheatreLaserDummyDown, nil, "theatre_enter_dummy_down" ) -------------------------------------------------------------------------------------- --23.1010 function theatre_enter_sneaker_print() PlayDialog ( nil, "M4_NICK_1901" ) end AddEvent ( nil, false, nil, BoxSeatRunnerPrint, nil, "theatre_enter_sneaker_print" ) -------------------------------------------------------------------------------------- --23.1020 function theatre_acquire_balcony_sneaker_print () SetActive ( HBoxSeatRunnerPrint, false ) SetActive ( HBoxSeatRunnerPrintEstab, false ) AddEvidence ( ETSneakerShoeprint ) AddEvidenceDescriptionText ( ETSneakerShoeprint, "_TB_E2599" ) if IsEventDone ( EVAquiredBalconyShoePrint ) and IsEventDone ( EVAquiredBalconyDarkPowder ) and IsEventDone ( EVAquiredBalconyWaterStain ) then SetActive ( HPanoBalcony, false ) SetActive ( HPanoDummyDown, false ) end end AddEvent ( EVAquiredBalconySneakerPrint, false, efoil, HBoxSeatRunnerPrint, nil, "theatre_acquire_balcony_sneaker_print" ) -------------------------------------------------------------------------------------- --23.1030 function theatre_enter_shoe_print() PlayDialog ( nil, "M4_NICK_1902" ) end AddEvent ( nil, false, nil, BoxSeatLoaferPrint, nil, "theatre_enter_shoe_print" ) -------------------------------------------------------------------------------------- --23.1050 function theatre_acquire_balcony_shoe_print () SetActive ( HBoxSeatLoaferPrintCU, false ) SetActive ( HBoxSeatLoaferPrintEstab, false ) AddEvidence ( ETLoaferShoeprint ) AddEvidenceDescriptionText ( ETLoaferShoeprint, "_TB_E2601" ) if IsEventDone ( EVAquiredBalconySneakerPrint ) and IsEventDone ( EVAquiredBalconyDarkPowder ) and IsEventDone ( EVAquiredBalconyWaterStain ) then SetActive ( HPanoBalcony, false ) SetActive ( HPanoDummyDown, false ) end end AddEvent ( EVAquiredBalconyShoePrint, false, efoil, HBoxSeatLoaferPrintCU, nil, "theatre_acquire_balcony_shoe_print" ) -------------------------------------------------------------------------------------- --23.1060 function theatre_acquire_balcony_dark_powder () SetActive ( HBoxSeatGunPowderCU, false ) SetVisible ( OBoxSeatGunPowderCU, false ) SetActive ( HBoxSeatGunpowderEstab, false ) PlayDialog ( nil, "M4_NICK_1903" ) AddEvidence ( ETBalconySubst ) AddEvidenceDescriptionText ( ETBalconySubst, "_TB_E2602" ) if IsEventDone ( EVAquiredBalconySneakerPrint ) and IsEventDone ( EVAquiredBalconyShoePrint ) and IsEventDone ( EVAquiredBalconyWaterStain ) then SetActive ( HPanoBalcony, false ) SetActive ( HPanoDummyDown, false ) end end AddEvent ( EVAquiredBalconyDarkPowder, false, asmount, HBoxSeatGunPowderCU, nil, "theatre_acquire_balcony_dark_powder" ) -------------------------------------------------------------------------------------- --23.1070 function theatre_acquire_balcony_water_stain () SetActive ( HBoxSeatWaterstainCU, false ) SetActive ( HBoxSeatWaterStainEstab, false ) PlayDialog ( nil, "M4_NICK_1904" ) AddEvidence ( ETBalconyWaterStain ) AddEvidenceDescriptionText ( ETBalconyWaterStain, "_TB_E2605" ) if IsEventDone ( EVAquiredBalconySneakerPrint ) and IsEventDone ( EVAquiredBalconyShoePrint ) and IsEventDone ( EVAquiredBalconyDarkPowder ) then SetActive ( HPanoBalcony, false ) SetActive ( HPanoDummyDown, false ) end end AddEvent ( EVAquiredBalconyWaterStain, false, swab, HBoxSeatWaterstainCU, nil, "theatre_acquire_balcony_water_stain" ) -------------------------------------------------------------------------------------- IncludeFile("Script\\Gamelogic\\TheatreQuestions.lua" )