Volume manipulation in the accusation scene is disabled without SKSE
This commit is contained in:
parent
810ded0020
commit
c806c1a482
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -2,12 +2,12 @@ Scriptname _00E_IntegrityCheckAlias extends ReferenceAlias Hidden
|
||||
|
||||
Event OnInit()
|
||||
|
||||
if Game.GetRealHoursPassed() > 0.005 ; 18 seconds
|
||||
Utility.Wait(0.1) ; wait for menu mode to end
|
||||
;Game.QuitToMainMenu()
|
||||
Debug.MessageBox("Savegames, made before the release of Enderal SE 2.1, are incompatible with the current version. Please, start a new game.")
|
||||
;return
|
||||
endif
|
||||
;if Game.GetRealHoursPassed() > 0.005 ; 18 seconds
|
||||
; Utility.Wait(0.1) ; wait for menu mode to end
|
||||
; ;Game.QuitToMainMenu()
|
||||
; Debug.MessageBox("Savegames, made before the release of Enderal SE 2.1, are incompatible with the current version. Please, start a new game.")
|
||||
; ;return
|
||||
;endif
|
||||
|
||||
RegisterForSingleUpdate(2.0) ; Give a few seconds for the game to warm up at the start
|
||||
|
||||
|
@ -20,10 +20,6 @@ Float Property IdleUpdatePeriod = 30.0 AutoReadOnly
|
||||
|
||||
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
||||
|
||||
if SKSE.GetVersion() == 0
|
||||
return
|
||||
endif
|
||||
|
||||
LockEquipUpdates()
|
||||
|
||||
CooldownShouts = New Shout[128]
|
||||
|
@ -80,17 +80,19 @@ Function StartFatherAccuseScene()
|
||||
;AudioCategoryVOCGeneral.SetVolume(7.5)
|
||||
|
||||
; Eddoursul: Instead of setting volume to 1, deafening some users, use relative values
|
||||
fMusicVolume = Utility.GetINIfloat("fVal3:AudioMenu")
|
||||
fVoiceVolume = Utility.GetINIfloat("fVal1:AudioMenu")
|
||||
fEffectsVolume = Utility.GetINIfloat("fVal4:AudioMenu")
|
||||
|
||||
AudioCategorySFX.SetVolume(fEffectsVolume * 0.75)
|
||||
AudioCategoryMUS.SetVolume(fMusicVolume * 1.20)
|
||||
|
||||
if fVoiceVolume <= fMusicVolume
|
||||
AudioCategoryVOCGeneral.SetVolume(fMusicVolume * 1.25)
|
||||
else
|
||||
AudioCategoryVOCGeneral.SetVolume(fVoiceVolume * 1.15)
|
||||
if SKSE.GetVersion() > 0
|
||||
fMusicVolume = Utility.GetINIfloat("fVal3:AudioMenu")
|
||||
fVoiceVolume = Utility.GetINIfloat("fVal1:AudioMenu")
|
||||
fEffectsVolume = Utility.GetINIfloat("fVal4:AudioMenu")
|
||||
|
||||
AudioCategorySFX.SetVolume(fEffectsVolume * 0.75)
|
||||
AudioCategoryMUS.SetVolume(fMusicVolume * 1.20)
|
||||
|
||||
if fVoiceVolume <= fMusicVolume
|
||||
AudioCategoryVOCGeneral.SetVolume(fMusicVolume * 1.25)
|
||||
else
|
||||
AudioCategoryVOCGeneral.SetVolume(fVoiceVolume * 1.15)
|
||||
endif
|
||||
endif
|
||||
|
||||
_00E_Music_Special_Dreams.Remove()
|
||||
@ -184,9 +186,11 @@ Function PlayIntroAndMovePlayerToShip()
|
||||
wait(0.2)
|
||||
|
||||
; Eddoursul: restore the original volume level
|
||||
AudioCategoryVOCGeneral.SetVolume(fVoiceVolume)
|
||||
AudioCategoryMUS.SetVolume(fMusicVolume)
|
||||
AudioCategorySFX.SetVolume(fEffectsVolume)
|
||||
if SKSE.GetVersion() > 0
|
||||
AudioCategoryVOCGeneral.SetVolume(fVoiceVolume)
|
||||
AudioCategoryMUS.SetVolume(fMusicVolume)
|
||||
AudioCategorySFX.SetVolume(fEffectsVolume)
|
||||
endif
|
||||
|
||||
AudioCategoryAMBr.SetVolume(1)
|
||||
AudioCategoryAMB.SetVolume(1)
|
||||
|
Loading…
Reference in New Issue
Block a user