m2sdi.mfk
SelectMission("m2sd"); // m1sd SetMissionResetPlayerOutCar("m2_marge_2","m2_margecar_2"); SetDynaLoadData("l4z7.p3d;l4r6.p3d;l4r7.p3d;"); UsePedGroup(6); AddStage(0); SetMaxTraffic(3); SetStageMessageIndex(33); SetHUDIcon("cemetery") AddObjective("goto"); AddNPC("bart","m4_moleman_sd"); SetDestination("m5_graveyard"); SetStageTime(30); CloseObjective(); CloseStage(); AddStage(1); SetStageMissionIndex(25); SetHUDIcon("lisa"); AddObjective("timer"); SetDurationTime(3); CloseObjective(); CloseStage(); AddStage(2); SetStageMissionIndex(26); SetHUDIcon("bart"); AddObjective("timer"); SetDurationTime(3); CloseObjective(); CloseStage(); AddStage(3); SetStageMissionIndex(27); SetHUDIcon("lisa"); AddObjective("timer"); SetDurationTime(3); CloseObjective(); CloseStage(); AddStage("final"); SetStageMissionIndex(28); SetHUDIcon("bart"); AddObjective("timer"); SetDurationTime(3); CloseObjective(); CloseStage(); CloseMission();m2i.mfk
SelectMission("m2"); // m1 SetMissionResetPlayerInCar("m5_graveyard"); SetDynaLoadData("l4z7.p3d;l4r6.p3d;l4r7.p3d;"); UsePedGroup(6); AddStage(0); // find the armored car SetMaxTraffic(5); SetStageMessageIndex(29); AddObjective("goto"); SetDestination("m5_grampa_sd", "carsphere"); SetCollectibleEffect("wrench_collect"); CloseObjective(); AddCondition("outofvehicle"); SetCondTime( 10000 ); CloseCondition(); AddCondition( "damage" ); SetCondMinHealth( 0.0 ); SetCondTargetVehicle( "elect_v" ); CloseCondition(); CloseStage(); AddStage(1); SetStageMessageIndex(30); SetMaxTraffic(3); ActivateVehicle("cArmor","NULL","target"); SetVehicleAIParams( "cArmor", -10, -9 ); // <=== name, min, max; 0,1 = really dumb, no shortcuts AddStageWaypoint( "m2_waypoint1" ); AddStageWaypoint( "m2_waypoint2" ); AddStageWaypoint( "m2_waypoint3" ); AddStageWaypoint( "m2_waypoint4" ); AddStageWaypoint( "m2_waypoint5" ); AddStageWaypoint( "m2_waypoint6" ); AddStageWaypoint( "m2_waypoint1" ); AddStageWaypoint( "m2_waypoint2" ); AddStageWaypoint( "m2_waypoint3" ); AddStageWaypoint( "m2_waypoint4" ); AddStageWaypoint( "m2_waypoint5" ); AddStageWaypoint( "m2_waypoint6" ); AddObjective("destroy"); SetObjTargetVehicle("cArmor"); CloseObjective(); AddStageTime(210); AddCondition("timeout"); //SetHitNRun(); CloseCondition(); AddCondition("outofvehicle"); SetCondTime( 10000 ); CloseCondition(); AddCondition( "damage" ); SetCondMinHealth( 0.0 ); SetCondTargetVehicle( "elect_v" ); CloseCondition(); ShowStageComplete(); CloseStage();m2l.mfk
LoadP3DFile( "art\missions\level01\m2.p3d" ); LoadDisposableCar( "art\cars\cArmor.p3d","cArmor","AI" );m2sdl.mfk
LoadP3DFile( "art\frontend\dynaload\images\msnicons\char\lisa.p3d" ); LoadP3DFile( "art\frontend\dynaload\images\msnicons\char\bart.p3d" ); LoadP3DFile( "art\frontend\dynaload\images\msnicons\location\cemetery.p3d" );
thanks,
hipporeno