Advertisement
Guest User

M3

a guest
Jul 25th, 2015
629
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. SelectMission("m3");
  2.  
  3. SetMissionResetPlayerInCar("m3_carstart");
  4. SetDynaLoadData("l1z1.p3d;l1r1.p3d;l1r7.p3d;");
  5.  
  6. SetNumValidFailureHints( 5 );
  7.  
  8. UsePedGroup( 1 );
  9.  
  10. AddStage(0);
  11. SetStageMessageIndex(12);
  12. AddObjective("getin");
  13. AddStageVehicle("smith_v","m4_smithers_carstart","NULL","Missions\level04\sr2_1st.con", "smithers");
  14. SetObjTargetVehicle("current");
  15. CloseObjective();
  16. CloseStage();
  17.  
  18. AddStage(0);
  19. SetMaxTraffic(3);
  20. SetStageMessageIndex(1002);
  21. SetHUDIcon( "pwrplant" );
  22. //AddStageWaypoint( "m7_smithers_race1"); // This line does not seem to belong here.
  23. ActivateVehicle("smith_v","NULL","race"); // This is the correct spot for this line.
  24. SetStageAIRaceCatchupParams("smith_v", 80, 0.9, 1.5, 2.3);
  25. SetVehicleAIParams( "smith_v", 50, 51 );
  26. AddStageWaypoint( "m4_smithers_path1" );
  27. AddStageWaypoint( "m4_smithers_path2" );
  28. AddStageWaypoint( "m4_smithers_path3" );
  29. AddObjective( "race" );
  30. AddCollectible("m4_smithers_path3", "finish_line");
  31. CloseObjective();
  32. AddCondition("race");
  33. SetCondTargetVehicle("smith_v");
  34. CloseCondition();
  35. CloseStage();
  36.  
  37. AddStage(10);
  38. RESET_TO_HERE();
  39. SetStageMessageIndex(10);
  40. SetHUDIcon( "powercou" );
  41. AddObjective("delivery","neither");
  42. AddCollectible("PP_powerbox1");
  43. AddCollectible("PP_powerbox2");
  44. AddCollectible("PP_powerbox3");
  45. AddCollectible("PP_powerbox4");
  46. AddCollectible("PP_powerbox5");
  47. AddCollectible("PP_powerbox6");
  48. AddCollectible("PP_powerbox7");
  49. AddCollectible("PP_powerbox8");
  50. AddCollectible("PP_powerbox9");
  51. CloseObjective();
  52. SetStageTime(210);
  53. AddCondition("timeout");
  54. CloseCondition();
  55. StageStartMusicEvent("M4_start");
  56. SetStageMusicAlwaysOn();
  57. ShowStageComplete();
  58. CloseStage();
  59.  
  60. //AddStage("final");
  61. // SetStageMessageIndex(11);
  62. // SetHUDIcon( "wstation" );
  63. // AddObjective("goto");
  64. // TurnGotoDialogOff();
  65. // SetDestination("m4_locator_sd","triggersphere");
  66. // SetCollectibleEffect("wrench_collect");
  67. // CloseObjective();
  68. // AddStageTime(30);
  69. // AddCondition("timeout");
  70. // CloseCondition();
  71. // SetCompletionDialog("sleep","burns");
  72. //CloseStage();
  73.  
  74. AddStage(0);
  75. SetStageMessageIndex(11);
  76. SetHUDIcon( "wstation" );
  77. AddObjective("goto");
  78. AddNPC("burns", "m4_carl_sd");
  79. SetDestination("m4_locator_sd", "triggersphere");
  80. SetCollectibleEffect("wrench_collect");
  81. CloseObjective();
  82. CloseStage();
  83.  
  84. AddStage("final");
  85. AddObjective("dialogue");
  86. AmbientAnimationRandomize( 1, 0 ); // ( pc=0, npc=1) (nonrandom=0, random=1)
  87. AmbientAnimationRandomize( 0, 0 );
  88. AddAmbientNpcAnimation( "none" );
  89. AddAmbientPcAnimation( "dialogue_hands_in_air" );
  90. SetDialogueInfo("homer","burns","sleep",0);
  91. CloseObjective();
  92. CloseStage();
  93.  
  94.  
  95. CloseMission();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement