User Interface

* `fonts_en.swf`
* `MessageBoxMenu.swf`
* `ExamineMenu.swf`
* `hudmenu.swf`

unless they are modified to support Horizon. Currently these SWF files are setup for 16:9 aspect ratio, other ratios will possibly be added in the future.

### Font Changes and Additions

Horizon now comes with a customized version of `fonts_en.swf`, which greatly expands the UI. The `fonts_en.swf`;

* uses the standard FO4 fonts, in additional to custom UI graphical icons,
* changes the perk recipe font to a standard font.

Many of the Horizon menus were updated to use icons where they normally weren't possible before. Many item icons have been tweaked or added. For the best UI experience, the Horizon UI is recommended to be used with either white or pale colors for your UI color.

### Message Boxes

The message box size has been expanded, which greatly increases the width to allow for much more info to be displayed at once. The number of buttons displayed automatically scales based on the body text.

* The number of buttons show at once scales from 3 to 12.
* Buttons are slightly smaller, so they don't take up so much room.
* The spacing between buttons is slightly smaller, so buttons don't feel so far apart.
* The height that the message box expands to, is roughly the same as how it was.

### Crafting Workbenches

* **Perks** – Perk requirements are redesigned to be much easier to read. Perk names now show the rank in the name itself.
* **Skills** – Skills will ignore the rank display since they have a skill number instead.
* **Components** – The component list on the left side is now aligned and fits much more text and displays crafting skill-up tooltips differently.
* **Icon Tag** – All items that lack an icon tag will now automatically have a blank icon so the text is aligned the same
* **Perk Requirements** – Horizon's version of `ExamineMenu.swf` now properly uses DEFUI's compatibility for 4 perk requirements

### Main

Messages no longer have the bracket graphic, can be slightly longer now (more text characters), are prefixed by a default icon if there isn't one in the data already.

Special code was added to allow vanilla messages to be completely ignored (i.e. critical hit messages!)

### Item Icons

Many icons have been changed in Horizon's DEF\_UI icon library. New icons are added for

* Workbench modifications,
* Lockboxes, Wilson, and other items,
* Usable devices are blue, instead of purple.

Many items use less icons now to enhance overview. Weapon icons are simplified symbols based on their damage type and style to glance through lists of weapons.

## HUD

### Buff and Debuff Bars

The framework code was provided by Isathar, the author of Ammo Tweaks.

As long as HUDframework is installed, it will automatically detect it and load the HUD in game. If HUDframework isn't installed, it simply won't display, and will not effect the game.

* The Debuff Bar is designed to be displayed above the health bar
* The Buff Bar is designed to be displayed below the health bar

These bars can be moved independently or uninstalled using the options menu. The default positions are set for 1920x1080 (using Horizon's default DEFUI HUD config). Options for the HUD widgets can be found in "Field Kit > Global Options > HUD Options".

* Debuffs accounted for: Poison, Bleeding, Burning, Healing, Limb recovery debuff, Revival debuff, "in combat" indicator
* Buffs accounted for: Armor buffs (from AID items), Rad-X, Dog/animal/robot companions, when VATS overdrive is ready

Buffs can be changed to light or dark theme (dark is default). The "In Combat" indicator icon can be set to hidden.

The icon status will update every 5 seconds, some icons are not instantly updated.

### Display Stats

This HUD widget can be configured separately from the other widgets. The display updates are not instant, it may take a few seconds for the updates to display with the new ammo/grenade/pets. The names for ammo and grenades only work for vanilla or Horizon ammo/explosives.

1. Shows an ammo and grenade widget now to see the name of the currently equipped ammo type or grenade.
	* The ammo and grenade info is updated a second or 2 after you equip a new item (not instant)
2. Shows a pet widget that allows you to track how many combat pets are up, and their resources used to call them (dog food, etc.)
	* The pet widget shows separate icons for dogs, animals, and engineer devices
	* The pet info only shows if you actually have the caller device in your inventory, otherwise they are hidden
	* The pet info is updated every few seconds (not instant)

### Progress Bar

Certain actions can show a progress bar, actions can include: harvesting, salvaging, scrapping, applying first aid, etc.

There are many options for this bar, accessed in "Global Option > HUD Options". The bar can be moved on the screen (the default position is for 1920x1080).

Theres 4 styles of bars;

* Style 1: Shows a text of the action taking place, with a background
* Style 2: Shows a text of the action taking place, without a background
* Style 3: Shows no text, and the icon is moved to the side of the bar
* Style 4: No text, and no icon, just a simple bar
* Style 5: Hidden, shows no bar for standard actions (recommended over disabling/uninstalling the widget)

## Developer Notes

* Unmodified custom fonts cannot be used. Horizon also relies on some of the standard font sizes to appropriately fit inside custom menus. It is possible to import Horizon's icon fonts into a custom font library using JPEXS, but this isn't recommended.
* The hip-fire reticle bug should no longer be a problem, thanks to brumley53 on Nexus for figuring this out! This bug occurs when you have a weapon attachment or perk that improves hip-fire accuracy. What happens, is the graphical reticle seems to "bounce back" to a larger reticle which does not match the actual shots in game. This tiny 1 variable tweak seems to work so far (may need more testing.
* Why use the hidden option (Progress Bar) instead of disabling the widget completely? Basically, this option hides the progress bar for standard stuff (harvesting, healing, etc.), but it allows Horizon to still use the bar for "special occasions" that may really need a progress bar.

## Technical Issues

* **Progress Bar**, when changing the style, sometimes the first thing you harvest won't display accurately, but after that it's fine.

## See Also

* DEF\_UI
* Guide/Installation
* Guide/Modding Horizon