SKYRIM
Better MessageBox Controls by ecirbaf
Skyrim » User interfaces
Added: 11/12/2012 - 07:03PM
Updated: 08/12/2013 - 10:40AM

18,785 Endorsements

1.2 Latest version

200,672 Unique D/Ls

360,220 Total D/Ls

698,021 Total Views

Uploaded by ecirbaf

Description

Last updated at 10:40, 8 Dec 2013 Uploaded at 19:03, 11 Dec 2012

You may also like: Better Dialogue Controls



In A Nutshell
This mod lets you navigate the message boxes with the keyboard. Use Left/Right controls, and Activate to select options (typically A,D and E but it should work if you remapped those controls to other keys). Fixes the clickable area of buttons so they are easier to click.


Reviewed by Brodual at Daily Skyrim Mod Spotlight________ ________Reviewed by olivierhacking at Skyrim Mod Reviews

......


Detailed Changes
These are the changes made to the vanilla (original) Skyrim message boxes:

  • Enabled the gamepad style controls, which lets you navigate between options with the Left/Right keys (usually WASD), and select an option with the Activate key (usually E) and Return/Enter keys. Now you can dismiss simple “Ok” message boxes by pressing a single key instead of being forced to click a tiny text label.
  • The TAB key cycles through "Exit" type buttons, where the label matches exactly "Return", "Exit", "Done", "Cancel", "Back" or "No". This helps navigate custom menus from mods that have lots of options. While SkyUI3/MCM will alleviate this, there are still many instances where mods will continue to use message boxes (or mods that won’t update to use MCM).
  • With SKSE enabled pressing ESCAPE picks the first “exit” button and selects it. Thus you can quickly exit out of most dialogs that provide an “exit” button. The recognized “exit” buttons are exactly as for the TAB key (see above). You can quickly exit out of Yes/No dialogs, and mod options. In multi level mod options usually the ESCAPE key will take you to the parent set of options, because it picks “Return”, “Back” or “Cancel”, etc. WITHOUT SKSE the ESCAPE key behaves exactly as the TAB key (I’m sorry but it was not possible otherwise to distinguish the keys as crazy as it sounds!).
  • Fixed the width of the clickable area for the buttons to properly adapt to the entire length of the button label.
  • Extended the clickable area also below the button labels, instead of only above. This makes them easier to pick with the mouse.
  • Added a subtle highlight to the focused button.


For XBox Controller/Gamepad Users
This mod may also be of interest to gamepad users: when you configure mods like Shooting Stars or Convenient Horses, instead of pressing Right multiple times to select "Return" or "Exit", which gets tedious, you can simply press ( B ) to jump to the next “exit” option (buttons labelled “Exit”, “Return”, “Cancel” and “Back”) and then press ( A ) to select. Likewise when exiting out of a "sub menu" pressing ( B ) > ( A ) quickly goes back to the parent menu.

Further Thoughts
On my computer there is a noticable lag on the mouse input in the menus despite FRAPS showing 60 FPS. This lag makes it awkward to accurately click on tiny areas. So improving the clickable area of buttons is a worthwhile usability fix as far as I’m concerned.

Enabling Left/Right/Activate keyboard controls was pretty much flipping a switch in the code. The TAB key then would simply cycle through all buttons, duplicating what the “Right” key does. So I changed its behaviour as described above to make it a bit more interesting and useful.

Lastly regarding the buggy clickable areas, to be fair it’s not much of an issue in vanilla Skyrim, because most button labels will be short like “Yes”, “No” or “Ok”. But with mods it is quite common for the button labels to become longer, exposing this bug.

Game & Mod Compatibility
- Tested with Skyrim v1.8 (this mod should work on older versions but it has not been tested).
- This mod is purely a user interface mod. It’s essentially Flash (Scaleform) technology used by the game to display menus. It runs in a sandbox pretty much, and as such can not cause incompatibilities with gameplay mods that affect quests, items and such; even if you have hundreds of these mods active.

Install / Uninstall
Activating or deactivating this interface mod does not affect your savegames at all. It does not use SKSE. The load order should not matter either.

Installing
Use Wrye Bash, or Nexus Mod Manager. It’s just one file so you can also unzip the archive and place the file in your Skyrim/Data/Interface folder.

Uninstalling
Simply delete the file, or rename it to “_messagebox.swf” (for example) to disable it temporarily.




Change Log
Version 1.2
  • Added the ESCAPE key functionality (see updated features list).
  • Added "Done" to the list of exit buttons recognized by the TAB and ESCAPE keys, as in eg. Forgotten Mastery mod (thanks assterixxx).
  • Includes a function necessary for compatiblity with future mod(s). This code is otherwise dormant and has no performance impact.

Version 1.1 - This update fixes an issue where the focus was not always shown on the first button (ie. Disenchant confirmation "Ok" button). This update has been tested with both keyboard and gamepad. Thanks to 3012 and assterixxx for reports.
Version 1.0 - First release.

Other Interface Mods
Check out my other interface mod Better Dialogue Controls.

Credits
This mod is possible thanks to the SkyUI team’s efforts to decompile and clean up the interface code, plus making it available on Github. Thank you!