Убежище
Убежище
Advertisement
Убежище

MQ05EnclaveSceneSCRIPT — технический файл, который описывает некоторые моменты вторжения сил Анклава на проект «Чистота» и который можно посмотреть в G.E.C.K..

Содержимое[]

Transcript

scn MQ05EnclaveSceneSCRIPT

staged scene during which the Enclave invade Project Purity
Chappy wants to trigger dad's speech differently, leaving hooks in case he changes his mind later


==VARS======================;;


float timer

several flags/floats to control timestamps

short active
short dadSpeechFlag01 ;Dad "Everyone, it seems we have some..."
float dadStamp01

short dadSpeechFlag02 ;Dad "Please remain in your assigned ..."
float dadStamp02

short dadSpeechFlag03 ;Dad "...The Enclave? What are they doing...."
float dadStamp03

short troopactivityFlag
float troopactivityStamp

short vertiFlag ;flag for entering and animating the vertibird.
float vertibird01Stamp ;timestamp for first vertibird appearance
short vertiFlag2 ;flag for second (offscreen) vertibird
float vertibird02Stamp ;timestamp for second vertibird appearance

short officerFlag
float officerStamp

short extrasFlag
float extrasStamp

==LOAD======================;;


begin onLoad
; initialization stuffs
set timer to 16 ;total number of seconds we store for the sequence
set troopactivityStamp to (timer - 16)
set vertibird01Stamp to (timer - 0) ; cue 1st bird @ 5secs
set vertibird02Stamp to (timer - 3) ; cue 2nd bird @ 7secs
set dadStamp01 to (timer - 9)
set officerStamp to (timer - 12)
set extrasStamp to (timer - 14)
end

==LOOP======================;;


begin gameMode

if active == 1
if timer > 0
set timer to (timer - getSecondsPassed)
else
; timer has expired, move on w/quest.
MQ05VertibirdLandREF.playgroup backward 0
MQ05VertibirdLandREF02.playgroup backward 0
set active to 0
MQ05ExDoor02Ref.unlock
setStage MQ05 75
endif


if VertiFlag == 0
if timer <= Vertibird01Stamp
MQ05VertibirdLandREF.enable
set Vertiflag to 1
endif
endif

if VertiFlag2 == 0
if timer <= Vertibird02Stamp
set MQ05.cueMusic to 1 ; kick off combat music...
MQ05VertibirdLandREF02.enable
set Vertiflag2 to 1
endif
endif

if officerFlag == 0
if timer <= officerStamp
MQ05LandingOfficerREF.enable
MQ05LandingOfficerREF.moveto MQ05LandingOfficerREF
MQ05LandingOfficerREF.evp
set officerFlag to 1
endif
endif

if extrasFlag == 0
if timer <= extrasStamp
MQ05Extra01.enable
MQ05Extra01.moveto MQ05Extra01
MQ05Extra01.evp
set extrasFlag to 1
endif
endif

if troopActivityFlag == 0
if timer <= troopActivityStamp
MQ05TroopSFXmarker.playsound3D QSTEnclaveTroopsMoving2D
set troopActivityFlag to 1
endif
endif
endif

if dadSpeechFlag01 == 0
if timer <= dadStamp01
; dad speaks up from PA system
MQ05PipeSpeaker.sayto Player MQ05DadBroadcast 1
set dadSpeechFlag01 to 1
endif
endif

end

==END=======================;;





+ Player enters exterior pipe section
+ Distant vertibird approaching sfx
+ Dad "Everyone, it seems we have some visitors. I don't know who they are or what they want."
+ Vertibirds are very near now. Loud and not far overhead. One may be in view.
+ Dad "Please remain in your assigned areas while we get this sorted out…"
+ Vertibirds touch down, player sees armored soldier run by. Troop chatter can be heard.
+ Dad "...The Enclave? What are they doing here... They're where? Madison, lock that door!"
+ Door Unlocks, sfx of troops and vertibirds on loop

Заметки[]

Реплики Джеймса в отношении прибытия Анклава немного отличаются от того варианта, который виден в игре.

Advertisement