SelectMission("m7"); SetMissionResetPlayerInCar("m7_car_start"); SetDynaLoadData("l1z6.p3d;l1r6.p3d;l1z3.p3d;l1r3.p3d;l1r2.p3d;"); InitLevelPlayerVehicle("wagonA","m7_car_start","OTHER"); UsePedGroup(7); SetForcedCar(); //Chuck: StreetRace Prop Load and Unload Setup - used here to load power plant door to block he shortcut StreetRacePropsLoad("l1m7door.p3d;"); StreetRacePropsUnload("l1m7door.p3d:"); AddStage(0); SetStageMessageIndex(268); AddObjective("getin"); SetObjTargetVehicle("current"); AddStageVehicle("minivanA","m5_sedan","NULL","Missions\level06\sr3_1st.con", "male3"); CloseObjective(); SetStageTime(30); AddCondition( "timeout" ); CloseCondition(); CloseStage(); AddStage(1); RESET_TO_HERE(); SetMaxTraffic(2); //for this race, reduce traffic to prevent overwhelming the user SetStageMessageIndex(18); SetHUDIcon( "mansion" ); ShowStageComplete(); AddStageVehicle("smith_v","m7_smithers_carstart","race","Pursuit\L1cop.con", "smithers"); AddStageVehicle("pickupA","m7_lenny_carstart","race","Pursuit\L1cop.con", "lenny"); AddStageVehicle("sedanA","m7_worker_carstart","race","Pursuit\L1cop.con", "male2"); SetStageAIRaceCatchupParams("smith_v", 80, 0.5, 1.0, 1.5); SetStageAIRaceCatchupParams("pickupA", 80, 0.5, 1.0, 1.5); SetStageAIRaceCatchupParams("sedanA", 80, 0.5, 1.0, 1.5); AddStageWaypoint( "m7_smithers_race1" ); AddStageWaypoint( "m5_smithers_nav1" ); AddStageWaypoint( "m7_smithers_race1b" ); AddStageWaypoint( "m7_smithers_race9" ); AddObjective( "race","both"); AddNPC("burns", "m7_burns_place"); AddCollectible("m7_smithers_race1"); AddCollectible("m7_smithers_race2"); AddCollectible("m7_smithers_race3"); AddCollectible("m7_smithers_race5"); AddCollectible("m7_smithers_race6"); AddCollectible("m7_smithers_race7"); AddCollectible("m7_smithers_race9"); CloseObjective(); AddCondition("position"); SetConditionPosition(1); CloseCondition(); StageStartMusicEvent("M7_drama"); CloseStage(); AddStage(0); SetHUDIcon( "bsedan_v" ); SetStageMessageIndex(258); ActivateVehicle("minivanA","NULL","chase"); AddObjective("losetail"); SetObjTargetVehicle("minivanA"); SetObjDistance(200); CloseObjective(); AddCondition("outofvehicle"); SetCondTime( 10000 ); CloseCondition(); SetStageTime(45); AddCondition("timeout"); CloseCondition(); ShowStageComplete(); CloseStage(); AddStage(); SetMaxTraffic(2); SetStageMessageIndex(19); SetHUDIcon( "burns" ); AddObjective("talkto"); AddNPC("burns", "m7_burns_place"); AddObjectiveNPCWaypoint( "burns", "m7_burns_walk_1" ); SetTalkToTarget("burns"); CloseObjective(); SetCompletionDialog("there"); CloseStage(); AddStage(0, "final"); AddObjective("dialogue"); AmbientAnimationRandomize( 1, 0 ); // ( pc=0, npc=1) (nonrandom=0, random=1) AmbientAnimationRandomize( 0, 0 ); SetConversationCam( 0, "pc_far" ); SetConversationCam( 1, "npc_far" ); SetConversationCam( 2, "pc_far" ); SetConversationCam( 3, "npc_far" ); SetConversationCam( 4, "pc_far" ); SetConversationCam( 5, "npc_far" ); AddAmbientNpcAnimation( "none" ); AddAmbientNpcAnimation( "dialogue_yes" ); AddAmbientNpcAnimation( "none" ); AddAmbientNpcAnimation( "dialogue_cross_arms" ); AddAmbientNpcAnimation( "none" ); AddAmbientNpcAnimation( "dialogue_yes" ); AddAmbientPcAnimation( "dialogue_shaking_fist" ); AddAmbientPcAnimation( "none" ); AddAmbientPcAnimation( "dialogue_no" ); AddAmbientPcAnimation( "none" ); AddAmbientPcAnimation( "dialogue_hands_in_air" ); SetCamBestSide("m7_bestside2" ); SetDialogueInfo("homer","burns","accuse",0); SetDialoguePositions("m7_homer_burns","m7_burns_place","race_finish",1); CloseObjective(); CloseStage(); CloseMission();