MQDadScript — технический файл, который относится Джеймсу, и который можно посмотреть в G.E.C.K..
Содержимое[]
ScriptName MQDadScript
- Placed on Object MQDad
- Ref ID
- MQDadRef
short MQ05Nearby
short LiConv
short DeathTrigger ;var used for tracking progress of animation in death scene
short VaultDoOnce
float timer
Begin OnLoad
IgnoreCrime 1
if ( GetStage MQ04 < 20 )
MQDadRef.SetGhost 1
endif
End
Begin GameMode
- If player wanders off from Dad while he's traveling to Rivet City, update MQ05Nearby to 1 so his greeting will be appropriate
- Note that greeting will set this var back to 0
if ( GetStage MQ05 == 10 )
if ( MQ05Nearby == 0 )
if ( GetDistance Player >= 10000 )
Set MQ05Nearby to 1
endif
endif
endif
- MQ05 SCRIPTING
- when dad's back at Rivet City, start conversation with Doctor Li
if ( GetStage MQ05 == 10 )
if ( LiConv == 0 )
if ( GetDistance Player < 710 )
if ( GetDistance DoctorLiRef < 1000 )
set LiConv to 1
EVP
endif
endif
endif
endif
- Check for Stage 75 in MQ05. When we hit it, update AutumnTimer and AutumnTrigger vars to run the next block
if ( GetStage MQ05 == 75 )
if ( MQ05.AutumnTrigger == 0 )
if ( Player.GetInCell PPurity01 == 1 )
- Remove player's ability to fight, so he doesn't break the scene
DisableAllMines
- if ( MQ05.NoFighting != 1 )
- Set MQ05.NoFighting to 1
- DisablePlayerControls 0 0 1
- endif
- Tangentially Related
- move NPC Anna Holt (ref: AnnaHoltRef) from Project Purity to Raven Rock for MQ09
setquestdelay MQ05 0.1
set MQ05.AutumnTrigger to 1
set MQ05.AutumnTimer to .1
endif
endif
endif
- DEATH SCENE
- when MQ05.DeathScene is 1, update DeathTrigger var and evaluate package
- package runs death animation
if ( MQ05.DeathScene == 1 )
if ( DeathTrigger == 0 )
set DeathTrigger to 1
SetAV LeftMobilityCondition 0
EVP
endif
endif
if ( DeathTrigger == 2 )
if ( timer <= 0 )
Kill
set DeathTrigger to -1
else
set timer to ( timer - GetSecondsPassed )
endif
endif
End