All pastes #2086574 Raw Edit

mission1.dms

public text v1 · immutable
#2086574 ·published 2011-10-03 22:35 UTC
rendered paste body
// Driver Mission Script v0.1a
// (c)1998 Reflections Software

##########################################################
# Draft mission script for Miami 1 Bank job (getaway )	 #
# By Tony M Roberts and Andreas Tawn        30/01/98	 #
##########################################################

//************** INITIALISATION *****************
// Make sure player cant move during startup...
StopPlayer

LoadMap "Miami_01.lev"
EventScript "Miami_19.des"

DamageBarId 194
FelonyBarId 195

//FailedMessageId
//WindowMessageId
//LoseTailMessageId
SmashedMessageId 187
//OutOfRangeMessageId
//CarGotAwayMessageId

LoadSoundBank 1

LoseTailSounds 3, 5, 6, 7

RoadBlockTrigger 2048

//Set WindowSound 1

PlayerCarType 0	 //Skylark

SetMaximumCops 0
Cops_off
Set AllowCopSpeech 0

TriggerEvent 1

MaxSpeed 200000
//MaxSpeedMessage "Slow Down"
MaxSpeedMessageId 198

EnablePlayerDamage
MaxPlayerDamage 24576
//DebugInfo 1

//Motel
//SetPlayerPosition 283594, -50558 //as given by 2D department
//SetPlayerYRotation 2048 // ( 0 + 2048 )&4095

SetPlayerPosition 284813, -50302 //Parked
SetPlayerYRotation 996

AddCivCar 8,0,11,1,996,284813, -51026 //Parked 
AddCivCar 9,1,10,2,996,284813, -49578 //Parked 


//************** GET TO THE BANK *******************
FailedMessageId 145

MaxSpeedenable 1

Countdown 80 // timed - fairly generous
StopTimer

InformPlayerById 2,0
wait 2

ReleasePlayer
ContinueTimer

SetTarget 0,750, -16066, -42824 //Bank
EnableTarget 0
Set Objective 2
InformPlayerById 5,1

//*************** DRIVER HAS ARRIVED TOO EARLY *******
WindowRadius 6000
MissionWindow 15
WindowMessageId 146
EnableWindow

WaitForObjectiveComplete
DisableWindow

//*************** PICK UP THE ROGUES*****************
StopTimer
StopPlayer
Wait 2

#lights only work at night
//DisableLamp 0
//LampPosition 0, -19124, 1000, -41933
//LampType 0,2
//LampRange 0, 3000
//LampColor 0, 255,0,0

//Play3DSound 23,-19140, 1000,-40877  //plays bank alarm
Play3DSound 23,-14059, 1000,-41822  //plays bank alarm

MCS_DropOff 0  //0 building to car 1//Car to building
MCS_SetCameraStart 0, -15179, 250, -46507, 75
MCS_SetCameraEnd 0, -18163, 750, -51771, 150
MCS_SetDoorCoord -14059,0,-41822
MCS_SetDoorAxis 0
MCS_SetNumBadGuys 3
MCS_SetRun
//MCS_SetWalk
MCS_Activate
MCS_WaitForScene
CutToCar

MaxSpeedenable 0

PlayBankedSound 1 //Get us out of here

Set AllowCopSpeech 1
Set EnableLoseTailSounds 1

//**************** GET TO LOCKUP **********************

Cops_on
SetMaximumCops 1
ForceFelonyRating 2
//1 previous but new system doesn't activate cops at 1

//EnableLamp 0
InformPlayerById 5,2
//PlaySound 26

TimePlayer //No time limit

SetTarget 0,24000,129666,415995    //Lock up
EnableTarget 0
ReleasePlayer
SET Objective 2
WaitForObjectiveComplete

Cop_Respawn 480

LoseTailMessageId 103

// Once lose Tail area has been reached 
// make cops more easy to lose

Cops_PowerScale 2500
Cops_SpeedScale 2500

MustBeHidden 1    //Must arrive at drop off point without a tail
NeedToLoseTail 1
OuterRadius 24000

MaxSpeedEnable 1

SetTarget 0,1000,129666,415995   //Lock up
EnableTarget 0
SET Objective 2
WaitForObjectiveComplete

StopTimer
StopPlayer

SetMaximumCops 0
Cops_off

wait 2

//gang walk to wall
MCS_DropOff 1  //0 building to car 1//Car to building
MCS_SetCameraStart 0, 133456, 150, 416797, 75
MCS_SetCameraEnd 0, 133456, 150, 416797, 75 
MCS_SetDoorCoord 129471,0,417742
MCS_SetDoorAxis 0
MCS_SetNumBadGuys 3
MCS_SetRun
//MCS_SetWalk
MCS_Activate
MCS_WaitForScene
//CutToCar

InformPlayerById 5,3
wait 2

MissionEnd