1
Fork 0

Volume manipulation in the accusation scene is disabled without SKSE

development
Eddoursul 3 months ago
parent 810ded0020
commit c806c1a482
  1. BIN
      scripts/_00E_IntegrityCheckAlias.pex
  2. BIN
      scripts/_00e_game_talentcooldownsc.pex
  3. BIN
      scripts/_00e_mqp01_functions.pex
  4. 12
      source/scripts/_00E_IntegrityCheckAlias.psc
  5. 4
      source/scripts/_00e_game_talentcooldownsc.psc
  6. 32
      source/scripts/_00e_mqp01_functions.psc

Binary file not shown.

@ -2,12 +2,12 @@ Scriptname _00E_IntegrityCheckAlias extends ReferenceAlias Hidden
Event OnInit() Event OnInit()
if Game.GetRealHoursPassed() > 0.005 ; 18 seconds ;if Game.GetRealHoursPassed() > 0.005 ; 18 seconds
Utility.Wait(0.1) ; wait for menu mode to end ; Utility.Wait(0.1) ; wait for menu mode to end
;Game.QuitToMainMenu() ; ;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.") ; Debug.MessageBox("Savegames, made before the release of Enderal SE 2.1, are incompatible with the current version. Please, start a new game.")
;return ; ;return
endif ;endif
RegisterForSingleUpdate(2.0) ; Give a few seconds for the game to warm up at the start 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) Event OnEffectStart(Actor akTarget, Actor akCaster)
if SKSE.GetVersion() == 0
return
endif
LockEquipUpdates() LockEquipUpdates()
CooldownShouts = New Shout[128] CooldownShouts = New Shout[128]

@ -80,17 +80,19 @@ Function StartFatherAccuseScene()
;AudioCategoryVOCGeneral.SetVolume(7.5) ;AudioCategoryVOCGeneral.SetVolume(7.5)
; Eddoursul: Instead of setting volume to 1, deafening some users, use relative values ; Eddoursul: Instead of setting volume to 1, deafening some users, use relative values
fMusicVolume = Utility.GetINIfloat("fVal3:AudioMenu") if SKSE.GetVersion() > 0
fVoiceVolume = Utility.GetINIfloat("fVal1:AudioMenu") fMusicVolume = Utility.GetINIfloat("fVal3:AudioMenu")
fEffectsVolume = Utility.GetINIfloat("fVal4:AudioMenu") fVoiceVolume = Utility.GetINIfloat("fVal1:AudioMenu")
fEffectsVolume = Utility.GetINIfloat("fVal4:AudioMenu")
AudioCategorySFX.SetVolume(fEffectsVolume * 0.75)
AudioCategoryMUS.SetVolume(fMusicVolume * 1.20) AudioCategorySFX.SetVolume(fEffectsVolume * 0.75)
AudioCategoryMUS.SetVolume(fMusicVolume * 1.20)
if fVoiceVolume <= fMusicVolume
AudioCategoryVOCGeneral.SetVolume(fMusicVolume * 1.25) if fVoiceVolume <= fMusicVolume
else AudioCategoryVOCGeneral.SetVolume(fMusicVolume * 1.25)
AudioCategoryVOCGeneral.SetVolume(fVoiceVolume * 1.15) else
AudioCategoryVOCGeneral.SetVolume(fVoiceVolume * 1.15)
endif
endif endif
_00E_Music_Special_Dreams.Remove() _00E_Music_Special_Dreams.Remove()
@ -184,9 +186,11 @@ Function PlayIntroAndMovePlayerToShip()
wait(0.2) wait(0.2)
; Eddoursul: restore the original volume level ; Eddoursul: restore the original volume level
AudioCategoryVOCGeneral.SetVolume(fVoiceVolume) if SKSE.GetVersion() > 0
AudioCategoryMUS.SetVolume(fMusicVolume) AudioCategoryVOCGeneral.SetVolume(fVoiceVolume)
AudioCategorySFX.SetVolume(fEffectsVolume) AudioCategoryMUS.SetVolume(fMusicVolume)
AudioCategorySFX.SetVolume(fEffectsVolume)
endif
AudioCategoryAMBr.SetVolume(1) AudioCategoryAMBr.SetVolume(1)
AudioCategoryAMB.SetVolume(1) AudioCategoryAMB.SetVolume(1)

Loading…
Cancel
Save