diff --git a/Enderal - Forgotten Stories.ini b/Enderal - Forgotten Stories.ini index 50c8bd58..7be8f5dc 100644 --- a/Enderal - Forgotten Stories.ini +++ b/Enderal - Forgotten Stories.ini @@ -38,6 +38,8 @@ fVisibleNavmeshMoveDist=12288.0000 fGlobalBloomThresholdBoost=10 ; Disables Screen Space Reflections - fixes engine bug with green water. Use ENB for better implementation (you may need to remove this, then). fWaterSSRIntensity=0.0001 +; Fix a transparent rectangle on the screen +iShadowMaskQuarter=4 [Interface] ; Closer book and note zooming diff --git a/scripts/_00e_class_openclassmenuscript.pex b/scripts/_00e_class_openclassmenuscript.pex index 05d43176..a97257c3 100644 Binary files a/scripts/_00e_class_openclassmenuscript.pex and b/scripts/_00e_class_openclassmenuscript.pex differ diff --git a/scripts/_00e_mq17_functions.pex b/scripts/_00e_mq17_functions.pex index e8b617ee..8d72942d 100644 Binary files a/scripts/_00e_mq17_functions.pex and b/scripts/_00e_mq17_functions.pex differ diff --git a/scripts/_00e_mqp01_functions.pex b/scripts/_00e_mqp01_functions.pex index 7b33e060..a97f8693 100644 Binary files a/scripts/_00e_mqp01_functions.pex and b/scripts/_00e_mqp01_functions.pex differ diff --git a/scripts/_00e_mqp01_startsc.pex b/scripts/_00e_mqp01_startsc.pex index f0175856..f7579bee 100644 Binary files a/scripts/_00e_mqp01_startsc.pex and b/scripts/_00e_mqp01_startsc.pex differ diff --git a/scripts/_00e_mqp03_functions.pex b/scripts/_00e_mqp03_functions.pex index a0d72a33..3ca69241 100644 Binary files a/scripts/_00e_mqp03_functions.pex and b/scripts/_00e_mqp03_functions.pex differ diff --git a/scripts/enderalfunctions.pex b/scripts/enderalfunctions.pex index 68d02e48..e4ec281d 100644 Binary files a/scripts/enderalfunctions.pex and b/scripts/enderalfunctions.pex differ diff --git a/source/scripts/_00e_class_openclassmenuscript.psc b/source/scripts/_00e_class_openclassmenuscript.psc index ae1771c5..37a460d4 100644 --- a/source/scripts/_00e_class_openclassmenuscript.psc +++ b/source/scripts/_00e_class_openclassmenuscript.psc @@ -56,7 +56,7 @@ EndEvent Function EnterClassMenu() - bool bDisableFighting = (SKSE.GetVersion() > 0) + bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR() DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true) Player.ForceRefTo(PlayerREF) diff --git a/source/scripts/_00e_mq17_functions.psc b/source/scripts/_00e_mq17_functions.psc index 10f4607a..57967281 100644 --- a/source/scripts/_00e_mq17_functions.psc +++ b/source/scripts/_00e_mq17_functions.psc @@ -196,7 +196,7 @@ EndFunction Function StartExplanationVideo01() MQ17_SC03_BlackGuardian_01.Stop() - If _00E_VideoSkip.GetValueInt() == 0 + If _00E_VideoSkip.GetValueInt() == 0 && EnderalFunctions.VideoSupport() FadeToBlackAndBackIMOD.apply() Utility.Wait(3.2) Game.PlayBink("MQ17BlackGuardian.bik", true) diff --git a/source/scripts/_00e_mqp01_functions.psc b/source/scripts/_00e_mqp01_functions.psc index 6addaca1..1911dcf6 100644 --- a/source/scripts/_00e_mqp01_functions.psc +++ b/source/scripts/_00e_mqp01_functions.psc @@ -180,7 +180,7 @@ Function PlayIntroAndMovePlayerToShip() BFXFireImod.Remove() Wait(7.8) Steam.UnlockAchievement("END_COMPLETE_MQP01_01") - If _00E_VideoSkip.GetValueInt() == 0 + If _00E_VideoSkip.GetValueInt() == 0 && EnderalFunctions.VideoSupport() Game.PlayBink("EnderalIntro.bik", true) EndIf wait(0.2) diff --git a/source/scripts/_00e_mqp01_startsc.psc b/source/scripts/_00e_mqp01_startsc.psc index 9787fcdd..a6b27287 100644 --- a/source/scripts/_00e_mqp01_startsc.psc +++ b/source/scripts/_00e_mqp01_startsc.psc @@ -12,13 +12,13 @@ Event OnTriggerEnter (ObjectReference akActionREF) MQP02.CompleteAllObjectives() MQP02.CompleteQuest() Utility.wait(0.5) - If _00E_VideoSkip.GetValueInt() == 0 + If _00E_VideoSkip.GetValueInt() == 0 && EnderalFunctions.VideoSupport() Game.PlayBink("MQP03NearDeathExperience.bik", true) EndIf PlayerREF.MoveTo(_00E_ClassMenuOrigin) Debug.SendAnimationEvent(PlayerRef, "IdleForceDefaultState") Game.ShowRaceMenu() - bool bDisableFighting = (SKSE.GetVersion() > 0) + bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR() Game.DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true) MQP03.SetCurrentStageID(15) (MQP02 as _00E_MQP02_Functions).AddRacialAbilites() diff --git a/source/scripts/_00e_mqp03_functions.psc b/source/scripts/_00e_mqp03_functions.psc index cfe8a747..1134af9e 100644 --- a/source/scripts/_00e_mqp03_functions.psc +++ b/source/scripts/_00e_mqp03_functions.psc @@ -36,7 +36,7 @@ Function MovePlayerToStart() _00E_Func_AIWalk.PlayerAIWalkStop() FadeToBlackHoldIMOD.Apply() ForceFirstPerson() - bool bDisableFighting = (SKSE.GetVersion() > 0) + bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR() DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true) PlayerREF.SetAlpha(0.0) PlayerREF.MoveTo(_00E_ClassMenuOrigin) @@ -46,7 +46,7 @@ EndFunction Function ShowVisionBinkMovie() - If _00E_VideoSkip.GetValueInt() == 0 + If _00E_VideoSkip.GetValueInt() == 0 && EnderalFunctions.VideoSupport() Game.PlayBink("MQP03NearDeathExperience.bik", true) EndIf Wait(2) diff --git a/source/scripts/enderalfunctions.psc b/source/scripts/enderalfunctions.psc index fea69967..4d37b025 100644 --- a/source/scripts/enderalfunctions.psc +++ b/source/scripts/enderalfunctions.psc @@ -40,3 +40,7 @@ endfunction bool function TextInputEnabled() global return SKSE.GetVersion() && ! Game.UsingGamepad() && ! IsVR() endfunction + +bool function VideoSupport() global + return Debug.GetPlatformName() != "Orbis" && ! IsVR() +endfunction