diff --git a/Separated health bar controls.esp b/Separated health bar controls.esp index 8edd72a7..d9b58684 100644 Binary files a/Separated health bar controls.esp and b/Separated health bar controls.esp differ diff --git a/interface/translate_english.txt b/interface/translate_english.txt index f347ff7c..ac613de4 100644 Binary files a/interface/translate_english.txt and b/interface/translate_english.txt differ diff --git a/scripts/_00e_enderalmcm.pex b/scripts/_00e_enderalmcm.pex index 6293aca8..b61d37fe 100644 Binary files a/scripts/_00e_enderalmcm.pex and b/scripts/_00e_enderalmcm.pex differ diff --git a/scripts/_00e_ski_playerloadgamealias.pex b/scripts/_00e_ski_playerloadgamealias.pex index 6b1d8631..a7531a66 100644 Binary files a/scripts/_00e_ski_playerloadgamealias.pex and b/scripts/_00e_ski_playerloadgamealias.pex differ diff --git a/source/scripts/_00e_enderalmcm.psc b/source/scripts/_00e_enderalmcm.psc index 0b834566..8e3b1cbc 100644 --- a/source/scripts/_00e_enderalmcm.psc +++ b/source/scripts/_00e_enderalmcm.psc @@ -23,6 +23,7 @@ Event OnPageReset(string page) toggleOID_ReadAloudBooks = AddToggleOption(_00E_ConfigMenu_DisableReadAloudBooks.GetName(), _00E_DisableReadAloudBooks.GetValue() != 0) toggleOID_VideoSkip = AddToggleOption(_00E_ConfigMenu_VideoSkip.GetName(), _00E_VideoSkip.GetValue() != 0) toggleOID_ActorHealthBars = AddToggleOption(_00E_ConfigMenu_ActorHealthBars.GetName(), _00E_ActorHealthBarsEnabled.GetValue() != 0) + toggleOID_KillMoves = AddToggleOption(_00E_ConfigMenu_KillMove.GetName(), KillMove.GetValue() != 0) SetCursorPosition(1) @@ -84,6 +85,14 @@ Event OnOptionSelect(int option) else ActorHealthBarWidget.UnregisterEvents() endif + elseif option == toggleOID_KillMoves + ChangeCheckbox(toggleOID_KillMoves, KillMove) + + if KillMove.GetValue() + Utility.SetINIBool("bVATSDisable:VATS", false) + else + Utility.SetINIBool("bVATSDisable:VATS", true) + endif EndIf EndEvent @@ -114,6 +123,8 @@ Event OnOptionHighlight(int option) SetInfoText("$ConfigMenuVideoSkipInfo") ElseIf option == toggleOID_ActorHealthBars SetInfoText("$ConfigMenuActorHealthBars") + ElseIf option == toggleOID_KillMoves + SetInfoText("$ConfigMenuKillMoves") EndIf EndEvent @@ -147,6 +158,7 @@ int toggleOID_OtherTutorials int toggleOID_ReadAloudBooks int toggleOID_VideoSkip int toggleOID_ActorHealthBars +int toggleOID_KillMoves Message Property _00E_ConfigMenu_Keybindings Auto Message Property _00E_ConfigMenu_OtherOptions Auto @@ -162,6 +174,7 @@ Message Property _00E_ConfigMenu_DisableOtherTutorials Auto Message Property _00E_ConfigMenu_DisableReadAloudBooks Auto Message Property _00E_ConfigMenu_VideoSkip Auto Message Property _00E_ConfigMenu_ActorHealthBars Auto +Message Property _00E_ConfigMenu_KillMove Auto _FS_Phasmalist_ControlQuest Property controlQuest Auto _00E_Horseflute_SC Property _00E_HorseFlute_New Auto @@ -174,6 +187,7 @@ GlobalVariable Property _00E_DisableOtherTutorials Auto GlobalVariable Property _00E_DisableReadAloudBooks Auto GlobalVariable Property _00E_VideoSkip Auto GlobalVariable Property _00E_ActorHealthBarsEnabled Auto +GlobalVariable Property KillMove Auto _00E_MeditationHotkeyAlias Property PlayerMeditation Auto diff --git a/source/scripts/_00e_ski_playerloadgamealias.psc b/source/scripts/_00e_ski_playerloadgamealias.psc index 771add02..a18d9098 100644 --- a/source/scripts/_00e_ski_playerloadgamealias.psc +++ b/source/scripts/_00e_ski_playerloadgamealias.psc @@ -1,10 +1,18 @@ scriptname _00E_SKI_PlayerLoadGameAlias extends ReferenceAlias - ; EVENTS ----------------------------------------------------------------------------------------- - event OnPlayerLoadGame() + + if KillMove.GetValue() + Utility.SetINIBool("bVATSDisable:VATS", false) + else + Utility.SetINIBool("bVATSDisable:VATS", true) + endif + Quest bSkyUI = Game.GetFormFromFile(0x802, "SkyUI_SE.esp") as Quest if bSkyUI (GetOwningQuest() as _00E_EnderalMCM).OnGameReload() endif + endEvent + +GlobalVariable Property KillMove Auto