SelectMission("sr2"); //The CIRCUIT RACE (with AI cars) //Script set up for multipkle laps SetAnimatedCameraName( "race2camShape" ); SetAnimCamMulticontName( "race2cam" ); SetMissionResetPlayerInCar("sr2_carstart"); SetDynaLoadData("l3z1.p3d;l3r1.p3d;l3r5.p3d;l3z2.p3d;"); UsePedGroup(1); //Chuck: StreetRace Prop Load and Unload Setup StreetRacePropsLoad("l3_sr2p.p3d;"); StreetRacePropsUnload("l3_sr2p.p3d:"); AddStage(0); DisableHitAndRun(); SetHUDIcon( "race" ); PlacePlayerCar("current", "sr2_carstart"); PutMFPlayerInCar( ); // This makes the play auto reset into their car for this stage. StartCountdown("count","lisa"); AddToCountdownSequence( "3", 1000 ); // duration time in milliseconds AddToCountdownSequence( "2", 4000 ); // duration time in milliseconds AddToCountdownSequence( "1", 1000 ); // duration time in milliseconds AddToCountdownSequence( "GO", 400 ); // duration time in milliseconds SetStageMessageIndex(223); RESET_TO_HERE(); NoTrafficForStage(); AddStageVehicle("marge_v","sr2_AI_carstart1","waypoint","Missions\level03\sr2_1st.con","marge"); SetStageAIRaceCatchupParams("marge_v", 80, 1.0, 1.2, 2.5); AddStageVehicle("sportsA","sr2_AI_carstart2","waypoint","Missions\level03\sr2_2nd.con"); SetStageAIRaceCatchupParams("sportsA", 80, 0.8, 1.0, 2.0); AddStageVehicle("compactA","sr2_AI_carstart3","waypoint","Missions\level03\sr2_3rd.con"); SetStageAIRaceCatchupParams("compactA", 80, 0.8, 1.0, 2.0); // AddStageVehicle("pickupA","sr2_AI_carstart4","waypoint","Missions\level03\sr2_4th.con"); // SetStageAIRaceCatchupParams("pickupA", 80, 0.8, 1.0, 2.0); AddStageWaypoint( "sr2_waypoint1" ); //AddStageWaypoint( "sr2_waypoint2" ); AddStageWaypoint( "sr2_waypoint3" ); AddStageWaypoint( "sr2_waypoint4" ); AddStageWaypoint( "sr2_waypoint5" ); AddStageWaypoint( "sr2_waypoint5b" ); AddStageWaypoint( "sr2_waypoint5c" ); AddStageWaypoint( "sr2_waypoint6" ); AddObjective( "race", neither); AddNPC("patty", "sr2_patty"); AddNPC("selma", "sr2_selma"); AddCollectible("sr2_waypoint1","carsphere"); SetCollectibleEffect("wrench_collect"); AddCollectible("sr2_waypoint3","carsphere"); SetCollectibleEffect("wrench_collect"); AddCollectible("sr2_waypoint4","carsphere"); SetCollectibleEffect("wrench_collect"); AddCollectible("sr2_waypoint5","carsphere"); SetCollectibleEffect("wrench_collect"); AddCollectible("sr2_waypoint6","carsphere"); SetCollectibleEffect("wrench_collect"); SetRaceLaps(5); CloseObjective(); AddCondition("position"); SetConditionPosition(1); CloseCondition(); AddCondition( "damage" ); SetCondMinHealth( 0.0 ); SetCondTargetVehicle( "current"); CloseCondition(); AddCondition("outofvehicle"); SetCondTime( 10000 ); CloseCondition(); CloseStage(); AddStage(1,"final"); AddObjective("dialogue"); AddNPC("patty", "sr2_patty"); AddNPC("selma", "sr2_selma"); //AmbientAnimationRandomize( 1, 0 ); // ( pc=0, npc=1) (nonrandom=0, random=1) //AmbientAnimationRandomize( 0, 0 ); <<<===--- ASK IAN ABOUT THIS COMMAND //AddAmbientNpcAnimation( "dialogue_open_arm_hand_gesture" ); //AddAmbientNpcAnimation( "none" ); //AddAmbientNpcAnimation( "dialogue_thinking" ); //AddAmbientPcAnimation( "none" ); //AddAmbientPcAnimation( "dialogue_yes" ); //AddAmbientPcAnimation( "none" ); //AddAmbientPcAnimation( "dialogue_hands_in_air" ); SetConversationCam( 0, "npc_far" ); SetDialogueInfo("patty","lisa","success",0); SetDialoguePositions("sr2_patty","sr2_lisa_end","sr2_carstart"); CloseObjective(); CloseStage(); CloseMission();