VR: disable video, enable shouting in meditation

This commit is contained in:
Eddoursul 2024-02-15 18:03:58 +01:00
parent 43035e5f71
commit 7a925fa9c7
13 changed files with 13 additions and 7 deletions

View File

@ -38,6 +38,8 @@ fVisibleNavmeshMoveDist=12288.0000
fGlobalBloomThresholdBoost=10 fGlobalBloomThresholdBoost=10
; Disables Screen Space Reflections - fixes engine bug with green water. Use ENB for better implementation (you may need to remove this, then). ; 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 fWaterSSRIntensity=0.0001
; Fix a transparent rectangle on the screen
iShadowMaskQuarter=4
[Interface] [Interface]
; Closer book and note zooming ; Closer book and note zooming

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -56,7 +56,7 @@ EndEvent
Function EnterClassMenu() Function EnterClassMenu()
bool bDisableFighting = (SKSE.GetVersion() > 0) bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR()
DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true) DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
Player.ForceRefTo(PlayerREF) Player.ForceRefTo(PlayerREF)

View File

@ -196,7 +196,7 @@ EndFunction
Function StartExplanationVideo01() Function StartExplanationVideo01()
MQ17_SC03_BlackGuardian_01.Stop() MQ17_SC03_BlackGuardian_01.Stop()
If _00E_VideoSkip.GetValueInt() == 0 If _00E_VideoSkip.GetValueInt() == 0 && EnderalFunctions.VideoSupport()
FadeToBlackAndBackIMOD.apply() FadeToBlackAndBackIMOD.apply()
Utility.Wait(3.2) Utility.Wait(3.2)
Game.PlayBink("MQ17BlackGuardian.bik", true) Game.PlayBink("MQ17BlackGuardian.bik", true)

View File

@ -180,7 +180,7 @@ Function PlayIntroAndMovePlayerToShip()
BFXFireImod.Remove() BFXFireImod.Remove()
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 && EnderalFunctions.VideoSupport()
Game.PlayBink("EnderalIntro.bik", true) Game.PlayBink("EnderalIntro.bik", true)
EndIf EndIf
wait(0.2) wait(0.2)

View File

@ -12,13 +12,13 @@ Event OnTriggerEnter (ObjectReference akActionREF)
MQP02.CompleteAllObjectives() MQP02.CompleteAllObjectives()
MQP02.CompleteQuest() MQP02.CompleteQuest()
Utility.wait(0.5) Utility.wait(0.5)
If _00E_VideoSkip.GetValueInt() == 0 If _00E_VideoSkip.GetValueInt() == 0 && EnderalFunctions.VideoSupport()
Game.PlayBink("MQP03NearDeathExperience.bik", true) Game.PlayBink("MQP03NearDeathExperience.bik", true)
EndIf EndIf
PlayerREF.MoveTo(_00E_ClassMenuOrigin) PlayerREF.MoveTo(_00E_ClassMenuOrigin)
Debug.SendAnimationEvent(PlayerRef, "IdleForceDefaultState") Debug.SendAnimationEvent(PlayerRef, "IdleForceDefaultState")
Game.ShowRaceMenu() Game.ShowRaceMenu()
bool bDisableFighting = (SKSE.GetVersion() > 0) bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR()
Game.DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true) Game.DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
MQP03.SetCurrentStageID(15) MQP03.SetCurrentStageID(15)
(MQP02 as _00E_MQP02_Functions).AddRacialAbilites() (MQP02 as _00E_MQP02_Functions).AddRacialAbilites()

View File

@ -36,7 +36,7 @@ Function MovePlayerToStart()
_00E_Func_AIWalk.PlayerAIWalkStop() _00E_Func_AIWalk.PlayerAIWalkStop()
FadeToBlackHoldIMOD.Apply() FadeToBlackHoldIMOD.Apply()
ForceFirstPerson() ForceFirstPerson()
bool bDisableFighting = (SKSE.GetVersion() > 0) bool bDisableFighting = SKSE.GetVersion() > 0 && ! EnderalFunctions.IsVR()
DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true) DisablePlayerControls(false, bDisableFighting, true, false, true, false, false, true)
PlayerREF.SetAlpha(0.0) PlayerREF.SetAlpha(0.0)
PlayerREF.MoveTo(_00E_ClassMenuOrigin) PlayerREF.MoveTo(_00E_ClassMenuOrigin)
@ -46,7 +46,7 @@ EndFunction
Function ShowVisionBinkMovie() Function ShowVisionBinkMovie()
If _00E_VideoSkip.GetValueInt() == 0 If _00E_VideoSkip.GetValueInt() == 0 && EnderalFunctions.VideoSupport()
Game.PlayBink("MQP03NearDeathExperience.bik", true) Game.PlayBink("MQP03NearDeathExperience.bik", true)
EndIf EndIf
Wait(2) Wait(2)

View File

@ -40,3 +40,7 @@ endfunction
bool function TextInputEnabled() global bool function TextInputEnabled() global
return SKSE.GetVersion() && ! Game.UsingGamepad() && ! IsVR() return SKSE.GetVersion() && ! Game.UsingGamepad() && ! IsVR()
endfunction endfunction
bool function VideoSupport() global
return Debug.GetPlatformName() != "Orbis" && ! IsVR()
endfunction