Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //THE SIMPSONS HIT AND RUN - 22 SHORT MISSIONS ABOUT SPRINGFIELD
- //MISSION 15 - HOOLIGAN HIGHWAY
- //BY KOAL ROBERTSON
- //10/9/18
- SelectMission("m1");
- SetMissionResetPlayerInCar("m1_nelson_start");
- SetDynaLoadData("l3z1.p3d;l3r1.p3d;l3r5.p3d;l3r5_dam.p3d;");
- InitLevelPlayerVehicle("bart_v","m1_nelson_start","OTHER");
- UsePedGroup(0);
- SetForcedCar();
- AddStage(5); //RACE DOLPH
- SetStageMusicAlwaysOn();
- SetStageCharacterModel("nelson", "lisa");
- SetMaxTraffic(5); //THIS RACE TAKES PLACE ON THE HIGHWAY SO WE SHOULD HAVE THE MAXIMUM AMOUNT OF TRAFFIC THE GAME WILL ALLOW
- SetStageMessageIndex(149);
- SetHUDIcon( "22_dolph" );
- AddStageVehicle("fGreen","m1_dolph_start","race","Missions\level03\m1_race1.con", "dolph"); //SPAWN DOLPH IN THE GREEN FERINNI
- SetVehicleAIParams( "fGreen", 100, 101 );
- //SetStageAIRaceCatchupParams("fGreen", 20, 0.7, 1.0, 1.2);
- StartCountdown(count);
- AddToCountdownSequence( "3", 1000 ); // duration time in milliseconds
- AddToCountdownSequence( "2", 1000 ); // duration time in milliseconds
- AddToCountdownSequence( "1", 1000 ); // duration time in milliseconds
- AddToCountdownSequence( "GO", 400 ); // duration time in milliseconds
- AddStageWaypoint( "m1_r1_p1" );
- AddStageWaypoint( "m1_r1_p2" );
- AddStageWaypoint( "m1_r1_p3" );
- AddStageWaypoint( "m1_r1_p4" );
- AddObjective( "race", "both" );
- AddCollectible("m1_r1_p1", "carsphere");
- AddCollectible("m1_r1_p2", "carsphere");
- AddCollectible("m1_r1_p3", "carsphere");
- AddCollectible("m1_r1_p4", "carsphere");
- AddNPC("kearney", "m1_hide"); //HIDE KEARNEY
- CloseObjective();
- AddCondition("position");
- SetConditionPosition(1);
- CloseCondition();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 10000 );
- CloseCondition();
- CloseStage();
- CloseStage();
- AddStage(10); //RACE JIMBO
- SetStageMusicAlwaysOn();
- SetHUDIcon( "22_jimbo" );
- SetStageCharacterModel("nelson", "lisa");
- SetMaxTraffic(3); //LOWER THE TRAFFIC TO AN EASIER LEVEL BECAUSE WE WILL NOT BE ON THE HIGHWAY DURING THIS RACE
- SetStageMessageIndex(150);
- AddStageVehicle("fPurple","m1_jimbo_start", "race" ,"Missions\level03\m1_race2.con", "jimbo"); //SPAWN JIMBO IN THE PURPLE FERINNI
- SetVehicleAIParams( "fPurple", 100, 101 );
- AddStageWaypoint( "m1_r2_p1" );
- AddStageWaypoint( "m1_r2_p2" );
- AddStageWaypoint( "m1_r2_p3" );
- AddStageWaypoint( "m1_r2_p4" );
- AddObjective( "race", "both" );
- AddCollectible("m1_r2_p1", "carsphere");
- AddCollectible("m1_r2_p2", "carsphere");
- //AddCollectible("m1_r2_p3", "carsphere"); IF YOU TAKE THE SHIP JUMP SHORTCUT YOU MISS THIS CHECKPOINT SO IT IS DISABLED
- AddCollectible("m1_r2_p4", "carsphere");
- AddNPC("jimbo", "m1_hide"); //HIDE JIMBO SO HE DOESN'T APPEAR BY THE SHIP
- CloseObjective();
- AddCondition("position");
- SetConditionPosition(1);
- CloseCondition();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 10000 );
- CloseCondition();
- CloseStage();
- CloseStage();
- AddStage(15); //RACE KEARNEY
- SetStageMusicAlwaysOn();
- SetHUDIcon( "22_kearney" );
- SetStageCharacterModel("nelson", "lisa");
- SetStageMessageIndex(151);
- AddStageVehicle("fOrange","m1_kearney_start","race","Missions\level03\m1_race3.con", "kearney"); //SPAWN KEARNEY IN GLOBEX CAR
- SetVehicleAIParams( "fOrange", 100, 101 );
- AddStageWaypoint( "m1_r3_p1" );
- AddStageWaypoint( "m1_r3_p2" );
- AddStageWaypoint( "m1_r3_p3" );
- AddStageWaypoint( "m1_r3_p4" );
- AddStageWaypoint( "m1_r3_p5" );
- AddStageWaypoint( "m1_r3_p6" );
- AddStageWaypoint( "m1_r3_p7" );
- AddStageWaypoint( "m1_r3_p8" );
- AddStageWaypoint( "m1_r3_p9" );
- AddStageWaypoint( "m1_r3_p10" );
- AddObjective( "race", "both" );
- AddNPC("jimbo", "m1_hide"); //HIDE JIMBO SO HE DOESN'T APPEAR BY THE SHIP
- AddCollectible("m1_r3_p1", "carsphere");
- AddCollectible("m1_r3_p2", "carsphere");
- AddCollectible("m1_r3_p3", "carsphere");
- AddCollectible("m1_r3_p4", "carsphere");
- AddCollectible("m1_r3_p5", "carsphere");
- AddCollectible("m1_r3_p6", "carsphere");
- AddCollectible("m1_r3_p7", "carsphere");
- AddCollectible("m1_r3_p8", "carsphere");
- AddCollectible("m1_r3_p9", "carsphere");
- AddCollectible("m1_r3_p10", "carsphere");
- CloseObjective();
- AddCondition("position");
- SetConditionPosition(1);
- CloseCondition();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 10000 );
- CloseCondition();
- CloseStage();
- CloseStage();
- AddStage("final"); //RACE BART
- SetMaxTraffic(5);
- SetStageMusicAlwaysOn();
- SetHUDIcon( "22_bart_2" );
- SetStageCharacterModel("nelson", "lisa");
- SetStageMessageIndex(152);
- AddStageVehicle("bart_v","m1_bart_start","race","Missions\level03\M1_race4.con", "bart"); //SPAWN BART IN RED FERINNI
- SetVehicleAIParams( "bart_v", 100, 101 );
- AddStageWaypoint( "m1_r4_p1" );
- AddStageWaypoint( "m1_r4_p5" );
- AddStageWaypoint( "m1_r4_p6" );
- AddStageWaypoint( "m1_r4_p7" );
- AddStageWaypoint( "m1_r4_p8" );
- AddStageWaypoint( "m1_r4_p9" );
- AddObjective("race", "both");
- AddNPC("jimbo", "m1_hide"); //HIDE JIMBO SO HE DOESN'T APPEAR BY THE SHIP
- AddCollectible("m1_r4_p1", "carsphere");
- //AddCollectible("m1_r4_p2", "carsphere"); //THIS ONE LOOKS WEIRD WHEN TAKING THE KRUSTYLU SHORTCUT
- //AddCollectible("m1_r4_p3", "carsphere"); //CHECKPOINT 3 IS BACKWARDS DO NOT USE
- //AddCollectible("m1_r4_p4", "carsphere"); //I ACCIDENTALLY SKIPPED PATH 4
- AddCollectible("m1_r4_p5", "carsphere");
- AddCollectible("m1_r4_p6", "carsphere");
- AddCollectible("m1_r4_p7", "carsphere");
- AddCollectible("m1_r4_p8", "carsphere");
- AddCollectible("m1_r4_p9", "carsphere");
- CloseObjective();
- AddCondition("position");
- SetConditionPosition(1);
- CloseCondition();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 10000 );
- CloseCondition();
- CloseStage();
- CloseObjective();
- CloseStage();
- CloseMission();
- //SetStageAIRaceCatchupParams("scorp_v", 150, 2.0, 1.0, 60.0);
- //SetStageAIRaceCatchupParams("bart_v", 200, 1.5, 1.0, 60.0);
- //SetStageAIRaceCatchupParams("oblit_v", 25, 0.75, 1.0, 60.0);
- //
- //VEHICLENAME
- //HOW CLOSE I NEED TO BE *BEHIND* THEM BEFORE THEY APPLY MAX CATCH UP
- //HOW MUCH FASTER THEY WILL DRIVE WHEN YOU ARE LESS THAN THE SPECIFIED DISTANCE
- //???
- //HOW MUCH FASTER THEY WILL DRIVE WHEN YOU ARE IN MAX CATACH UP RANGE (MULTIPLICATION SO 0.5 IS HALF SPEED AND 2.0 IS TWICE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement