Allow interruption of all videos

This commit is contained in:
Eddoursul 2024-01-10 16:53:20 +01:00
parent 267c1bff72
commit 2ec5f7da38
14 changed files with 6 additions and 33 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -187,7 +187,7 @@ Function ShowCredits()
Steam.UnlockAchievement("END_COMPLETE_MQ18C_01") Steam.UnlockAchievement("END_COMPLETE_MQ18C_01")
FadeToBlackHoldIMOD.Apply() FadeToBlackHoldIMOD.Apply()
Utility.Wait(8) Utility.Wait(8)
Game.PlayBink("Enderal_Credits.bik") Game.PlayBink("Enderal_Credits.bik", true)
FadeToBlackHoldIMOD.Remove() FadeToBlackHoldIMOD.Remove()
Debug.ToggleMenus() Debug.ToggleMenus()
_00E_Game_PostCreditsMessage.Show() _00E_Game_PostCreditsMessage.Show()

View File

@ -199,7 +199,7 @@ Function StartExplanationVideo01()
If _00E_VideoSkip.GetValueInt() == 0 If _00E_VideoSkip.GetValueInt() == 0
FadeToBlackAndBackIMOD.apply() FadeToBlackAndBackIMOD.apply()
Utility.Wait(3.2) Utility.Wait(3.2)
Game.PlayBink("MQ17BlackGuardian.bik") Game.PlayBink("MQ17BlackGuardian.bik", true)
Wait(2) Wait(2)
EndIf EndIf
SetCurrentStageID(40) SetCurrentStageID(40)

View File

@ -110,7 +110,7 @@ Function ShowCredits()
Steam.UnlockAchievement("END_COMPLETE_MQ18A_01") Steam.UnlockAchievement("END_COMPLETE_MQ18A_01")
FadeToBlackHoldIMOD.Apply() FadeToBlackHoldIMOD.Apply()
Wait(8) Wait(8)
Game.PlayBink("Enderal_Credits.bik") Game.PlayBink("Enderal_Credits.bik", true)
FadeToBlackHoldIMOD.Remove() FadeToBlackHoldIMOD.Remove()
Debug.ToggleMenus() Debug.ToggleMenus()
_00E_Game_PostCreditsMessage.Show() _00E_Game_PostCreditsMessage.Show()

View File

@ -31,7 +31,7 @@ Function FadeOut()
Debug.ToggleMenus() Debug.ToggleMenus()
Steam.UnlockAchievement("END_COMPLETE_MQ18B_01") Steam.UnlockAchievement("END_COMPLETE_MQ18B_01")
Debug.ToggleCollisions() Debug.ToggleCollisions()
Game.PlayBink("Enderal_Credits.bik") Game.PlayBink("Enderal_Credits.bik", true)
FadeToWhiteHoldIMOD.Remove() FadeToWhiteHoldIMOD.Remove()
Debug.ToggleMenus() Debug.ToggleMenus()
_00E_Game_PostCreditsMessage.Show() _00E_Game_PostCreditsMessage.Show()

View File

@ -193,7 +193,7 @@ Function PlayIntroAndMovePlayerToShip()
Wait(7.8) Wait(7.8)
Steam.UnlockAchievement("END_COMPLETE_MQP01_01") Steam.UnlockAchievement("END_COMPLETE_MQP01_01")
If _00E_VideoSkip.GetValueInt() == 0 If _00E_VideoSkip.GetValueInt() == 0
Game.PlayBink("EnderalIntro.bik", true, true, true, true) Game.PlayBink("EnderalIntro.bik", true)
EndIf EndIf
wait(0.2) wait(0.2)

View File

@ -1,27 +0,0 @@
Scriptname _00E_MQP02_PlayIntroLauncherScript extends ObjectReference
Sound Property _00E_MQP02_LandInSicht Auto
Quest Property MQ_P02_ANewLife Auto
ObjectReference Property SiriusMoveMarker Auto
ObjectReference Property Sirius Auto
ObjectReference Property PlayerMarker Auto
ObjectReference Property SitMarker Auto
Event OnInit()
Debug.Notification("Sound und Bink-Movie fehlen!")
_00E_MQP02_LandInSicht.Play(Game.GetPlayer())
Utility.Wait(3)
;Game.PlayBink("Intro-MovieFileNameHere")
FadeToBlackBackImod.Apply(); Delete once movie is implemented
Sirius.MoveTo(SiriusMoveMarker)
Game.ForceFirstPerson()
Game.GetPlayer().MoveTo(PlayerMarker)
;Game.GetPlayer().StartSneaking()
MQ_P02_ANewLife.SetCurrentStageID(20)
SitMarker.Disable()
EndEvent
ImageSpaceModifier Property FadeToBlackImod Auto
ImageSpaceModifier Property FadeToBlackBackImod Auto

View File

@ -46,7 +46,7 @@ EndFunction
Function ShowVisionBinkMovie() Function ShowVisionBinkMovie()
If _00E_VideoSkip.GetValueInt() == 0 If _00E_VideoSkip.GetValueInt() == 0
Game.PlayBink("MQP03NearDeathExperience.bik") Game.PlayBink("MQP03NearDeathExperience.bik", true)
EndIf EndIf
Wait(2) Wait(2)
FadeToBlackHoldIMOD.PopTo(_00E_MQP03_WakeUpIMOD) FadeToBlackHoldIMOD.PopTo(_00E_MQP03_WakeUpIMOD)