-- 2.1 Lipseste film intrare locatie function tropicana_intro() FadeIn() PlayDialog( Officer, "M3_OFF1EXPO_01" ) PlayDialog( Nick, "M3_NICKEXPO_04" ) ChangeRoom( TropicanaNickCU ) EndDisplayQuestionList( Nick ) PlayDialog( Nick, "M3_NICKEXPO_32" ) SetVisible( OPanoGun2, true) SetActive( HPanoGun1, false) SetActive( HPanoGun2, true) ChangeRoom( TropicanaPanoRoom ) AddVictim( OfficerGarvey, "Officer Garvey", "Art\\Reenactments\\Pictures\\officer.tga" ) end AddEvent( nil, false, nil, TropicanaIntro, nil, "tropicana_intro" ) function tropicana_enter() if not IsEventDone( EVTropicanaIntro ) then ChangeRoom( TropicanaIntro ) end if IsEventDone( EVTropicanaIntro ) and ((not IsEventDone( EVMorgueIntro )) and (not IsEventDone( EVBrassIntro )) and (not IsEventDone( EVLabIntro ))) then ChangeRoom( TropicanaPanoRoom ) FadeIn() end if IsEventDone( EVMorgueIntro ) or IsEventDone( EVBrassIntro ) or IsEventDone( EVLabIntro ) then ChangeRoom( TropicanaPanoRoom ) SetVisible( OPanoLights1, false ) SetVisible( OPano_Car, false ) SetVisible( NickCar, false ) SetVisible( OPano_NO_Car, true ) SetVisible( NickNoCar, true ) if not HasEvidence( EIOldGun ) then SetVisible( OPanoGun1, true ) end FadeIn() end end AddEvent( EVTropicanaIntro, true, nil, Tropicana, nil, "tropicana_enter" ) -- 2.3 function gun2_closeup() PlayDialog( nil, "M3_NICKEVID_17" ) end AddEvent( nil, false, nil, TropicanaGun2, nil, "gun2_closeup" ) -- 2.3.1 Amprentele trebuiesc declarate ca obiect, pentru a le face vizibile function gun2_prints() SetActive( OTropicanaGunFingerprint, false ) AddEvidence( ETGunPrint ) AddEvidenceDescriptionText( ETGunPrint, "TEXT3057" ) end AddEvent( nil, false, fingerdust, OTropicanaGunFingerprint, nil, "gun2_prints" ) -- 2.3.2 function gun2_pickA_condition() return not HasEvidence( ETGunPrint ) end function gun2_pickA() PlayDialog( nil, "M3_NICKEVID_23" ) end AddEvent( nil, true, gloves, HTropicanaGun2A, "gun2_pickA_condition", "gun2_pickA" ) -- 2.3.3 Ramane visibila teava pistolului function gun2_pickB_condition() return HasEvidence( ETGunPrint ) end function gun2_pickB() SetVisible( OTropicanaGun2, false ) SetVisible( OTropicanaGunFingerprint, false ) SetActive( HTropicanaGun2A, false ) SetActive( HTropicanaGun2B, false ) SetVisible( OPanoGun2, false ) SetActive( HPanoGun2, false ) PlayDialog( nil, "M3_NICKEVID_25" ) AddEvidence( EIOfficerGun ) AddEvidenceDescriptionText( EIOfficerGun, "TEXT3123" ) end AddEvent( nil, false, gloves, HTropicanaGun2A, "gun2_pickB_condition", "gun2_pickB" ) -- 2.4.1 function tire_iron_intro() return end AddEvent( EVTireIntro, true, nil, TropicanaIron, nil, "tire_iron_intro" ) --Nu este definit HOTSPOT-ul pentru TireIronCU function tire_iron_pick_condition() return HasEvidence( ETThreadCrime ) end function tire_iron_pick_condition2() return not HasEvidence( ETThreadCrime ) end function tire_iron_pick_no_pick() PlayDialog( nil, "M3_NICKEVID_69") end function tire_iron_pick() --pick the iron SetVisible( OTireIron, false ) SetVisible( OTireIronFar, false ) SetVisible( OPanoTireIron, false ) SetActive( HTireIronB, false ) SetActive( HPanoTireIron, false ) AddEvidence ( EITireIron ) end AddEvent( nil, true, gloves, HTireIronB, "tire_iron_pick_condition", "tire_iron_pick" ) AddEvent( nil, true, gloves, HTireIronB, "tire_iron_pick_condition2", "tire_iron_pick_no_pick" ) AddEvent( nil, true, gloves, HTireIronA, "tire_iron_pick_condition", "tire_iron_pick" ) AddEvent( nil, true, gloves, HTireIronA, "tire_iron_pick_condition2", "tire_iron_pick_no_pick" ) -- 2.4.2 -- Nandu: tire iron thread is now active function tire_iron_lens() ZoomToRoom( TropicanaIronThread ) end AddEvent( nil, true, magnifier, HTireIronA, nil, "tire_iron_lens" ) function pick_iron_thread() SetVisible( OTireIronThread, false ) SetVisible( OTireIronThreadFar, false ) SetActive( HTireIronThread, false ) SetActive( HTireIronA, false ) SetActive( HTireIronB, true ) AddEvidence ( ETThreadCrime ) PlayReenactment( "Art\\Reenactments\\Movie\\reenact1.xmv", "Art\\Reenactments\\Pictures\\reenact1.tga", "TEXT3012", nil, "reenact1" ) -- PlayDialog( nil, "M3_NICKEVID_02" ) end AddEvent( nil, false, tweezers, HTireIronThread, nil, "pick_iron_thread" ) -- 2.6 Trebuie Play-at un Film si in plus trebuie declarat Officer Garvey (caracter) function bullet_holes() PlayDialog( nil, "M3_NICKEVID_04A") PlayReenactment( "Art\\Reenactments\\Movie\\fatal_impact2.xmv", "Art\\Reenactments\\Pictures\\fatal_impact2.tga", "TEXT3011", nil, "fatal_impact2" ) PlayDialog( nil, "M3_NICKEVID_04B") SetActive( HTropicanaOfficerShots, false ) UpdateCaseFile( OfficerGarvey, VICTIM_CRIMESCENE, "TEXT3409", 300 ) end AddEvent( nil, false, nil, TropicanaOfficerShots, nil, "bullet_holes" ) -- 2.6.1 function head_trauma_condition() return not IsEventDone( EVTireIntro) end function head_trauma() PlayDialog( nil, "M3_NICKEVID_06") end AddEvent( nil, false, nil, TropicanaOfficerHead, "head_trauma_condition", "head_trauma" ) -- 2.6.2 function head_trauma_condition1() return IsEventDone( EVTireIntro) end function head_trauma1() PlayDialog( nil, "M3_NICKEVID_20") end AddEvent( nil, false, nil, TropicanaOfficerHead, "head_trauma_condition1", "head_trauma1" ) -- 2.6.3 function tr_head_cast() SetVisible ( OTropicanaHeadCast, true ) PlaySound( nil, "MIKROSILLP_01" ) SetVisible ( OTropicanaHeadCast, false ) SetActive ( HTropicanaHeadWounds, false ) SetActive ( HTropicanaOfficerHead, false ) AddEvidence( ETHeadCast ) AddEvidenceDescriptionText( ETHeadCast, "TEXT3051" ) end AddEvent( nil, false, mikrosil, HTropicanaHeadWounds, nil, "tr_head_cast" ) -- 2.6.4 In Location sunt definite mai multe HOTSPOT-uri cu acelasi nume pt pool_blood si nu se pot face inactive function pool_blood() SetActive( HTropicanaPoolBlood, false ) SetActive( HPanoBlood, false ) AddEvidence( ETBloodPoll ) AddEvidenceDescriptionText( ETBloodPoll, "TEXT3063" ) end AddEvent( nil, false, swab, HTropicanaPoolBlood, nil, "pool_blood" ) -- 2.7 function tr_enter_car_closeup() SetVisible( OTropicanaSeatBloodFar, false ) SetVisible( OTropicanaSeatBlood, false ) PlayDialog( nil, "M3_NICKEVID_07" ) end AddEvent( nil, false, nil, TropicanaCar, nil, "tr_enter_car_closeup" ) -- 2.7.1 function tr_enter_paper_closeup() PlayDialog( nil, "M3_NICKEVID_08" ) end AddEvent( nil, false, nil, TropicanaPad, nil, "tr_enter_paper_closeup" ) -- 2.7.2 function tr_paper_pad_pick() AddEvidence( EDPaperPad ) AddEvidenceDescriptionText( EDPaperPad, "TEXT3069" ) SetVisible( OTropicanaPad, false ) SetVisible( OTropicanaPadFar, false ) SetActive( HTropicanaPad, false ) SetActive( HTropicanaPadFar, false ) end AddEvent( nil, false, gloves, HTropicanaPad, nil, "tr_paper_pad_pick" ) -- 2.7.3 function tr_seatblood_closeup() PlayDialog( nil, "M3_NICKEVID_18" ) end AddEvent( nil, false, nil, TropicanaSeatBlood, nil, "tr_seatblood_closeup" ) -- 2.7.4 function tr_seatblood_luminol() SetVisible( OTropicanaSeatBloodFar, true ) SetVisible( OTropicanaSeatBlood, true ) PlayDialog( nil, "M3_NICKEVID_09" ) end AddEvent( EVSeatBloodLuminol, false, luminol, HTropicanaSeatBlood, nil, "tr_seatblood_luminol" ) -- 2.7.5 function tr_seatblood_pick_condition() return IsEventDone( EVSeatBloodLuminol ) end function tr_seatblood_pick() AddEvidence( ETSeatBlood ) AddEvidenceDescriptionText( ETSeatBlood, "TEXT3111" ) SetActive( HTropicanaSeatBloodFar, false ) SetActive( HTropicanaSeatBlood, false ) end AddEvent( nil, false, swab, HTropicanaSeatBlood, "tr_seatblood_pick_condition", "tr_seatblood_pick" ) -- 2.8 function tr_id_closeup() PlayDialog( nil, "M3_NICKEVID_10" ) end AddEvent( nil, false, nil, TropicanaID, nil, "tr_id_closeup" ) -- 2.8.1 function tr_ID_pick_condition() return not IsEventDone( EVIDTweezers ) end function tr_ID_pick() SetVisible( OTropicanaID, false ) SetActive( HTropicanaID, false ) SetVisible( OTropicanaIDFar, false ) SetActive( HTropicanaIDFar, false ) AddEvidence( EDIdCar ) AddEvidenceDescriptionText( EDIdCar, "TEXT3075" ) end AddEvent( EVIDGloves, false, gloves, HTropicanaID, "tr_ID_pick_condition", "tr_ID_pick" ) function tr_ID_pick_condition2() return not IsEventDone( EVIDGloves ) end function tr_ID_pick2() SetVisible( OTropicanaID, false ) SetActive( HTropicanaID, false ) SetVisible( OTropicanaIDFar, false ) SetActive( HTropicanaIDFar, false ) AddEvidence( EDIdCar ) AddEvidenceDescriptionText( EDIdCar, "TEXT3075" ) end AddEvent( EVIDTweezers, false, tweezers, HTropicanaID, "tr_ID_pick_condition2", "tr_ID_pick2" ) -- 2.9.1 conditie pentru iesire loc Tropicana -- 5.1 function tropicana_no_car_condition() return IsEventDone( EVMorgueNoCar ) or IsEventDone( EVLabNoCar ) or IsEventDone( EVBrassNoCar ) end function tropicana_no_car() PlayDialog( nil, "M3_NICKENTER_02") end AddEvent( nil, false, nil, Tropicana, "tropicana_no_car_condition", "tropicana_no_car" ) -- 5.2.1 function gun2_closeupA_condition() return not IsEventDone( EVCompID ) and not IsEventDone( EVGun2CUB ) end function gun2_closeupA() PlayDialog( nil, "M3_NICKEVID_11" ) end AddEvent( EVGun2CUA, false, nil, TropicanaGun1, "gun2_closeupA_condition", "gun2_closeupA" ) -- 5.2.2 function gun2_closeupB_condition() return IsEventDone( EVCompID ) and not IsEventDone( EVGun2CUA ) end function gun2_closeupB() PlayDialog( nil, "M3_NICKEVID_12" ) end AddEvent( EVGun2CUB, false, nil, TropicanaGun1, "gun2_closeupB_condition", "gun2_closeupB" ) -- 5.2.3 function old_gun_pick() SetVisible( OTropicanaGun1A, false) -- SetVisible( OTropicanaGun1B, false) SetActive( HTropicanaGun1A, false) SetActive( HTropicanaGun1B, false) SetVisible( OPanoGun1, false) SetActive( HPanoGun1, false) AddEvidence( EIOldGun ) AddEvidenceDescriptionText( EIOldGun, "TEXT3087" ) end AddEvent( nil, false, gloves, HTropicanaGun1A, nil, "old_gun_pick" ) -- Nick Hints function tr_nickCU() if not DisplayQuestionList( Nick ) then PlayDialog( Nick, "M4_NICK_1999" ) end end AddEvent( nil,true, nil, TropicanaNickCU, nil, "tr_nickCU" ) function tr_nickCU2() if not DisplayQuestionList( Nick ) then PlayDialog( Nick, "M4_NICK_1999" ) end end AddEvent( nil,true, nil, Nick, nil, "tr_nickCU2" ) -- Conditie iesire din Locatie function exit_tropicana() if HasEvidence( ETHeadCast ) and HasEvidence( EDIdCar ) then OpenLocationsMenu() else if HasEvidence( ETHeadCast ) and (not HasEvidence( EDIdCar )) then PlayDialog( nil, "M3_NICKINSTR_02" ) end if HasEvidence( EDIdCar ) and (not HasEvidence( ETHeadCast )) then PlayDialog( nil, "M3_NICKINSTR_01" ) end if (not HasEvidence( EDIdCar )) and (not HasEvidence( ETHeadCast )) then PlayDialog( nil, "M3_NICKINSTR_03" ) end end end AddEvent( nil, true, Tropicana, nil, nil, "exit_tropicana" )