Fixed Oorbaya fighting invisible enemy in MQ11c, disable coughing on bad outcome

This commit is contained in:
Eddoursul 2024-02-20 19:53:23 +01:00
parent ec1f47ebb4
commit 4dd2be9c28
2 changed files with 12 additions and 11 deletions

Binary file not shown.

View File

@ -386,7 +386,7 @@ Function RyneusTransforms()
Utility.Wait(2)
RyneusActor.Say(MQ11c_D12_RyneusTransformTopic02)
Wait(2)
if (_00E_MQ11c_RyneusPeacefulSolution.GetValueInt() == 0)
AtronachUnsummonDeathFXS.Play(RyneusActor)
Wait(3.6)
@ -396,25 +396,26 @@ Function RyneusTransforms()
EnchPurpleFXShader.Stop(RyneusActor)
_00E_MQ11c_FXRyneusParticleAttach.Stop(RyneusActor)
_00E_MQ11c_RyneusChestVFX.Stop(RyneusActor)
RyneusActor.KillEssential(RyneusActor)
RyneusActor.Disable()
MQ11c_RyneusSoundBoxREF.RyneusDead = true ; disable coughing
RyneusOorbaya = RyneusActor.PlaceActorAtMe(_30E_MQ11c_RyneusOorbaya, 1)
RyneusOorbaya.SetAlpha(0.0)
RyneusOorbaya.MoveTo(MQ11c_SC10_OorbayaSpawnMarker)
RyneusOorbaya.SetAlpha(0.90)
ElseIf (_00E_MQ11c_RyneusPeacefulSolution.GetValueInt() == 1)
Wait(3.6)
Game.ShakeCamera(afStrength = 1)
MQ11c_SC10_RyneusTransformOriginMarker.PushActorAway(RyneusActor, 4.0)
RyneusActor.KillEssential(RyneusActor)
EnchPurpleFXShader.Stop(RyneusActor)
RyneusActor.Disable()
_00E_MQ11c_FXRyneusParticleAttach.Stop(RyneusActor)
_00E_MQ11c_RyneusChestVFX.Stop(RyneusActor)
RyneusActor.Disable()
RyneusActor.PlaceAtMe(_00E_MQ11c_RyneusTransformExplosion, 1)
RyneusOorbaya = RyneusActor.PlaceActorAtMe(_30E_MQ11c_RyneusOorbayaInkarnation, 1)
RyneusOorbaya.SetAlpha(0.0)
RyneusOorbaya.MoveTo(MQ11c_SC10_OorbayaSpawnMarker)
RyneusOorbaya.SetAlpha(0.90)
EndIf
RyneusOorbaya.SetAlpha(0.0)
RyneusOorbaya.MoveTo(MQ11c_SC10_OorbayaSpawnMarker)
RyneusOorbaya.SetAlpha(0.90)
Debug.SendAnimationEvent(PlayerREF, "StaggerPlayer")
Wait(0.5)
@ -453,7 +454,7 @@ Function CrashDownEverything()
Wait(2.3)
QSTTG09NocturnalFloorRumble.Play(PlayerREF)
Game.ShakeCamera(afstrength = 0.5)
Debug.SetGodMode(True)
PlayerREF.SetGhost(True)
MQ11c_SC10_RockStartMarker01.Activate(MQ11c_SC10_RockStartMarker01)
_00E_MQ11c_RyneusTransformSoundM.Play(PlayerREF)
MQ11c_SC10_RockStartMarker02.Activate(MQ11c_SC10_RockStartMarker02)
@ -512,7 +513,7 @@ Function SetUpRealSilvergrove()
_00E_SilenceAbruptHighPriority.Add()
FadeToWhiteHoldImod.PopTo(FadeToWhiteBackImod)
(Alias_Player as _00E_MQ11c_PlayerAliasScript).UpdateWeatherTrackingState()
Debug.SetGodMode(False)
PlayerREF.SetGhost(false)
EndFunction
@ -649,7 +650,7 @@ Function PostTransformCleanup()
bPostTransformCleanupDone = True
Debug.SetGodMode(False)
PlayerREF.SetGhost(false)
MUSTavernSILENCE.Remove()
_00E_MQ11c_SilberhainRealInterior.Remove()