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 9 - FULL OTTO
- //BETA v2.0
- //BY KOAL ROBERTSON
- //9-10-18
- SelectMission("m2");
- InitLevelPlayerVehicle("otto_v", "m2_bus_start", "OTHER");
- SetMissionResetPlayerInCar("m2_bus_start");
- SetDynaLoadData("l2z3.p3d;l2r2.p3d;l2r3.p3d;");
- SetForcedCar();
- UsePedGroup(4);
- AddStage(0); //PICK UP BARNEY
- SetMaxTraffic(3); //i keep hitting stuff so...
- SetStageTime(19);
- SetHUDIcon("22_barney");
- SetStageMessageIndex(132);
- SetStageCharacterModel("nrivie", "bart"); //using nrivie makes the player invisible so it looks like you are actually playing as otto
- //don't get out of the vehicle though it will ruin the illusion
- AddObjective("goto", "neither");
- TurnGotoDialogOff();
- AddNPC("barney", "m2_barney_start");
- SetDestination("m2_barney_trigger", "carsphere");
- CloseObjective();
- SetMusicState("Mission2", "Stage1"); //plays the music otto chase
- AddCondition("timeout");
- SetCompletionDialog("barney-p");
- CloseCondition();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- CloseStage();
- AddStage(5); //DRIVE BARNEY TO MOES
- SetCompletionDialog("barney-dest");
- AddStageTime(39);
- SetHUDIcon("moes");
- SetStageMessageIndex(133);
- SetStageCharacterModel("barney", "bart"); //then it changes the player from the invisible nrivie to barney so it looks like otto picked him up
- AddObjective("goto", "neither");
- TurnGotoDialogOff();
- AddNPC("barney", "m2_hide");
- SetDestination("m2_barney_dest", "carsphere");
- CloseObjective();
- ShowStageComplete();
- AddCondition("timeout");
- CloseCondition();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- CloseStage();
- AddStage(10); //PICK UP ABE
- AddStageTime(29);
- SetHUDIcon("22_abe");
- SetStageMessageIndex(134);
- SetStageCharacterModel("nrivie", "bart"); //after dropping off the passenger the player turns back invisble using nrivie
- AddObjective("goto", "neither");
- TurnGotoDialogOff();
- AddNPC("barney", "m2_barney_end");
- AddNPC("grandpa", "m2_abe_start");
- SetDestination("m2_abe_trigger", "carsphere");
- CloseObjective();
- AddCondition("timeout");
- CloseCondition();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- SetCompletionDialog("abe-pickup");
- CloseStage();
- AddStage(15); //DRIVE ABLE TO MONORAIL
- AddStageTime(39);
- SetHUDIcon("monorail");
- SetStageMessageIndex(135);
- SetStageCharacterModel("grandpa", "bart");
- AddObjective("goto", "neither");
- TurnGotoDialogOff();
- AddNPC("grandpa", "m2_hide");
- SetDestination("m2_abe_dest", "carsphere");
- CloseObjective();
- ShowStageComplete();
- AddCondition("timeout");
- CloseCondition();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- SetCompletionDialog("abe-dest", "otto");
- CloseStage();
- AddStage(20); //PICK UP SMITHERS
- SetCompletionDialog("smithers-p", "otto");
- AddStageTime(9);
- SetStageMessageIndex(134);
- SetHUDIcon("smithers");
- SetStageCharacterModel("nrivie", "bart");
- AddObjective("goto", "neither");
- TurnGotoDialogOff();
- AddNPC("grandpa", "m2_abe_end");
- AddNPC("smithers", "m2_smithers_start");
- SetDestination("m2_smithers_trigger", "carsphere");
- CloseObjective();
- AddCondition("timeout");
- CloseCondition();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- CloseStage();
- AddStage(25); //DRIVE SMITHERS TO COURTHOUSE
- SetCompletionDialog("smithers-d", "smithers");
- AddStageTime(-1);
- SetHUDIcon("22_court"); //it kind of looks like the courthouse so it'll do as a placeholder for now or I could just change the destination to the museum yeah that would make sense
- SetStageMessageIndex(136);
- SetStageCharacterModel("smithers", "bart");
- AddObjective("goto", "neither");
- TurnGotoDialogOff();
- AddNPC("smithers", "m2_hide");
- SetDestination("m2_smithers_dest", "carsphere");
- CloseObjective();
- ShowStageComplete();
- AddCondition("timeout");
- CloseCondition();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- CloseStage();
- AddStage(30); //PICK UP SNAKE
- AddStageTime(9);
- SetHUDIcon("snake");
- SetStageMessageIndex(134);
- SetStageCharacterModel("nrivie", "bart");
- AddObjective("goto", "neither");
- TurnGotoDialogOff();
- AddNPC("smithers", "m2_smithers_end");
- AddNPC("snake", "m2_snake_start");
- SetDestination("m2_snake_trigger", "carsphere");
- AddStageVehicle("wiggu_v","m2_wiggum_start","NULL","Missions\level02\m2_wiggum.con", "wiggum");
- CloseObjective();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- AddCondition("timeout");
- CloseCondition();
- SetCompletionDialog("snakepickup", "otto");
- CloseStage();
- AddStage(35); //ESCAPE WIGGUM
- SetCompletionDialog("escaped");
- AddStageTime(38);
- SetMusicState("Mission2", "Stage2"); //plays halls balls
- SetHUDIcon("wiggum");
- SetStageMessageIndex(137);
- SetStageCharacterModel("snake", "bart");
- AddObjective("losetail");
- AddNPC("snake", "m2_hide");
- ActivateVehicle("wiggu_v", "NULL","chase");
- SetObjDistance(150);
- SetObjTargetVehicle("wiggu_v");
- TurnGotoDialogOff();
- CloseObjective();
- ShowStageComplete();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- AddCondition("timeout");
- CloseCondition();
- AddStageVehicle("cMilk","m2_milk_start","NULL","Missions\level02\m2_milk.con", "none");
- CloseStage();
- AddStage(37); //TIMER TO LET DIALOGUE PLAY BEFORE YOU RECIEVE THE OBJECTIVE
- SetStageCharacterModel("snake", "bart");
- AddObjective("timer");
- SetDurationTime(9);
- CloseObjective();
- AddStageVehicle("cMilk","m2_milk_start","NULL","Missions\level02\m2_milk.con", "none");
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- AddCondition("timeout");
- AddStageTime(9);
- CloseCondition();
- CloseStage();
- AddStage(40); //GO TO THE MILK TRUCK
- AddStageTime(9);
- SetHUDIcon("milk_v");
- SetStageMessageIndex(138);
- SetStageCharacterModel("snake", "bart");
- AddObjective("goto");
- TurnGotoDialogOff();
- SetDestination("m2_milk_trigger", "carsphere");
- AddStageVehicle("cMilk","m2_milk_start","NULL","Missions\level02\m2_milk.con", "none");
- CloseObjective();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- AddCondition("timeout");
- CloseCondition();
- CloseStage();
- AddStage(45); //DESTROY MILK TRUCK
- AddStageTime(50);
- SetHUDIcon("milk_v");
- SetStageMessageIndex(139);
- AddStageWaypoint("m2_milk_path1");
- AddStageWaypoint("m2_milk_path2");
- AddStageWaypoint("m2_milk_path3");
- AddStageWaypoint("m2_milk_path4");
- AddStageWaypoint("m2_milk_path4.5");
- AddStageWaypoint("m2_milk_path5");
- AddStageWaypoint("m2_milk_path6");
- AddStageWaypoint("m2_milk_path7");
- AddStageWaypoint("m2_milk_path8");
- AddStageWaypoint("m2_milk_path9");
- AddStageWaypoint("m2_milk_path10");
- AddStageWaypoint("m2_milk_path11");
- SetStageCharacterModel("snake", "bart");
- AddObjective("destroy");
- TurnGoToDialogOff();
- ActivateVehicle("cMilk", "NULL","race");
- SetObjTargetVehicle("cMilk");
- CloseObjective();
- ShowStageComplete();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- AddCondition("timeout");
- SetCompletionDialog("dest-truck", "otto");
- CloseCondition();
- CloseStage();
- AddStage("final"); //DRIVE SNAKE HIS HIDEOUT
- AddStageTime(9);
- SetHUDIcon("lexicon");
- SetStageMessageIndex(140);
- SetStageCharacterModel("snake", "bart");
- AddObjective("goto");
- SetDestination("m2_snake_dest", "carsphere");
- CloseObjective();
- AddCondition( "damage" );
- SetCondMinHealth( 0.0 );
- SetCondTargetVehicle( "current");
- CloseCondition();
- AddCondition("outofvehicle");
- SetCondTime( 1 );
- CloseCondition();
- AddCondition("timeout");
- CloseCondition();
- CloseStage();
- CloseMission();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement