Advertisement
Guest User

m7i.mfk - Fixed!

a guest
Jul 25th, 2015
1,068
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. SelectMission("m7");
  2.  
  3. SetMissionResetPlayerInCar("m7_car_start");
  4. SetDynaLoadData("l1z6.p3d;l1r6.p3d;l1z3.p3d;l1r3.p3d;l1r2.p3d;");
  5. InitLevelPlayerVehicle("wagonA","m7_car_start","OTHER");
  6.  
  7. UsePedGroup(7);
  8.  
  9. SetForcedCar();
  10.  
  11. //Chuck: StreetRace Prop Load and Unload Setup - used here to load power plant door to block he shortcut
  12. StreetRacePropsLoad("l1m7door.p3d;");
  13. StreetRacePropsUnload("l1m7door.p3d:");
  14.  
  15. AddStage(0);
  16. SetStageMessageIndex(268);
  17. AddObjective("getin");
  18. SetObjTargetVehicle("current");
  19. AddStageVehicle("minivanA","m5_sedan","NULL","Missions\level06\sr3_1st.con", "male3");
  20. CloseObjective();
  21. SetStageTime(30);
  22. AddCondition( "timeout" );
  23. CloseCondition();
  24. CloseStage();
  25.  
  26. AddStage(1);
  27. RESET_TO_HERE();
  28. SetMaxTraffic(2); //for this race, reduce traffic to prevent overwhelming the user
  29. SetStageMessageIndex(18);
  30. SetHUDIcon( "mansion" );
  31. ShowStageComplete();
  32. AddStageVehicle("smith_v","m7_smithers_carstart","race","Pursuit\L1cop.con", "smithers");
  33. AddStageVehicle("pickupA","m7_lenny_carstart","race","Pursuit\L1cop.con", "lenny");
  34. AddStageVehicle("sedanA","m7_worker_carstart","race","Pursuit\L1cop.con", "male2");
  35. SetStageAIRaceCatchupParams("smith_v", 80, 0.5, 1.0, 1.5);
  36. SetStageAIRaceCatchupParams("pickupA", 80, 0.5, 1.0, 1.5);
  37. SetStageAIRaceCatchupParams("sedanA", 80, 0.5, 1.0, 1.5);
  38. AddStageWaypoint( "m7_smithers_race1" );
  39. AddStageWaypoint( "m5_smithers_nav1" );
  40. AddStageWaypoint( "m7_smithers_race1b" );
  41. AddStageWaypoint( "m7_smithers_race9" );
  42. AddObjective( "race","both");
  43. AddNPC("burns", "m7_burns_place");
  44. AddCollectible("m7_smithers_race1");
  45. AddCollectible("m7_smithers_race2");
  46. AddCollectible("m7_smithers_race3");
  47. AddCollectible("m7_smithers_race5");
  48. AddCollectible("m7_smithers_race6");
  49. AddCollectible("m7_smithers_race7");
  50. AddCollectible("m7_smithers_race9");
  51. CloseObjective();
  52. AddCondition("position");
  53. SetConditionPosition(1);
  54. CloseCondition();
  55. StageStartMusicEvent("M7_drama");
  56. CloseStage();
  57.  
  58. AddStage(0);
  59. SetHUDIcon( "bsedan_v" );
  60. SetStageMessageIndex(258);
  61. ActivateVehicle("minivanA","NULL","chase");
  62. AddObjective("losetail");
  63. SetObjTargetVehicle("minivanA");
  64. SetObjDistance(200);
  65. CloseObjective();
  66. AddCondition("outofvehicle");
  67. SetCondTime( 10000 );
  68. CloseCondition();
  69. SetStageTime(45);
  70. AddCondition("timeout");
  71. CloseCondition();
  72. ShowStageComplete();
  73. CloseStage();
  74.  
  75. AddStage();
  76. SetMaxTraffic(2);
  77. SetStageMessageIndex(19);
  78. SetHUDIcon( "burns" );
  79. AddObjective("talkto");
  80. AddNPC("burns", "m7_burns_place");
  81. AddObjectiveNPCWaypoint( "burns", "m7_burns_walk_1" );
  82. SetTalkToTarget("burns");
  83. CloseObjective();
  84. SetCompletionDialog("there");
  85. CloseStage();
  86.  
  87. AddStage(0, "final");
  88. AddObjective("dialogue");
  89. AmbientAnimationRandomize( 1, 0 ); // ( pc=0, npc=1) (nonrandom=0, random=1)
  90. AmbientAnimationRandomize( 0, 0 );
  91. SetConversationCam( 0, "pc_far" );
  92. SetConversationCam( 1, "npc_far" );
  93. SetConversationCam( 2, "pc_far" );
  94. SetConversationCam( 3, "npc_far" );
  95. SetConversationCam( 4, "pc_far" );
  96. SetConversationCam( 5, "npc_far" );
  97.  
  98. AddAmbientNpcAnimation( "none" );
  99. AddAmbientNpcAnimation( "dialogue_yes" );
  100. AddAmbientNpcAnimation( "none" );
  101. AddAmbientNpcAnimation( "dialogue_cross_arms" );
  102. AddAmbientNpcAnimation( "none" );
  103. AddAmbientNpcAnimation( "dialogue_yes" );
  104.  
  105. AddAmbientPcAnimation( "dialogue_shaking_fist" );
  106. AddAmbientPcAnimation( "none" );
  107. AddAmbientPcAnimation( "dialogue_no" );
  108. AddAmbientPcAnimation( "none" );
  109. AddAmbientPcAnimation( "dialogue_hands_in_air" );
  110. SetCamBestSide("m7_bestside2" );
  111. SetDialogueInfo("homer","burns","accuse",0);
  112. SetDialoguePositions("m7_homer_burns","m7_burns_place","race_finish",1);
  113. CloseObjective();
  114. CloseStage();
  115.  
  116. CloseMission();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement