4
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()
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…
Cancel
Save