DEF UI

*Main article:* Guide/Installation

Horizon's **DEF\_UI** allows for better item sorting by improving and adding item tags, icons and subfolders in-game. The plugin contains a modified DEF\_HUD, DEF\_INV and KeyNuker and will conflict with other sorting mods.

## General

The original DEF\_UI was created by Neanka (with additional updates by valdacil, OldNick, ParasiteX, sekoms, lyravega).

Horizon's DEF\_UI is altered for Horizon. It's an optional Plugin and **included in the installer**. Choosing to not use Horizon's DEF\_UI is not supported since the game will look *terrible* without it. Just like the original DEF\_UI, Horzion's DEF\_UI makes heavy usage of tagging and incorporates icon designs by psychosteve (SkyUI icon Set) and omega9380 (ICONLIBS2 for DEF\_UI) which were rescaled and fixed in Phlunder's Icon Library.

The Icon Library by Phlunder in turn were further optimized for Horizon by its author Zawinul.

Zawinul announced on 06.11.2020 in his "next-update-teaser" channel on Discord, that the icons in the current version of Horizon (1.8.0-BETA-7) often times don't serve their intended purpose and make things more confusing than if there were no icons to begin with. Thus the upcoming version 1.9 will show crystal clear icons with better item assignment, bold colors and are very easy to notice while most icons have their own unique appearance.

### Features

* **Icons** – Items, skills, perks, folders, tabs, menus, damage types in-game are properly tagged with an icon.
* **Container** – Extended graphical user interface (GUI), e.g. wider trade menus.
* **New Tabs** – Available in container and barter screens.
* **Pip-Boy** – Additional tabs and sub-folder in the Pip-Boy.
* **Item Sorting** – Items follow tagging standards in the game files (thus most likely conflict with other *sorting* mods).
* **Show Scrap Components** – When looting scrap components are visible beneath items.

### DEF\_HUD

DEF\_HUD was able to customize HUD (Head's Up Display) elements such as HP, AP, Crit, XP, Enemy HP meters, compass, dialogue, and messages. Elements could be moved, rotated and resized as desired, partially hidden such as the HP tag on the HP meter for example. In Horizon these options aren't available anymore, at least not without external mods.

#### Show Scrap Components

This feature shows scrap components (component tags) beneath items when looting. This feature is enabled when choosing "**DEF\_UI Menus - Components and Menus**" during Horizon's installation.

#### HUD Framework

As of now **HUD Framework** is not required to be installed together with Horizon.

### DEF\_INV

DEF\_INV alters and improves the graphical interface for Container, Barter and Pip-Boy inventory screens. The Container and Barter screens have been re-sized and are larger compared to vanilla Fo4.

* [Settings] and [Config] icon is added to the `DEF_INV_TAGS.xml` config1.0.2:2
* The `DEF_INV_TABS.xml` was updated to set better icons1.5.4:23

#### KeyNuker

**KeyNuker** was originally written by lyravega and is incorporated into DEF\_INV and thus also into Horizon.

### Sorting Mods

Sorting mods aren't necessary because Horizon's DEF\_UI plugin integrates item sorting. External sorting mods are incompatible as they follow different sorting standards to Horizon.

## Pip-Boy

### Item Sorting

* Misc tab – Magazines/Holotapes/Notes/Keys are filtered out. Mostly everything is sorted into sub-menus now, except currency.1.5.0:117
* Food tab – Contains all Food-type items, separated from chems/meds/devices
* Tools tab – Contains all Tool/Workshop ingredients, separated from misc items
* Holotapes and Notes – combined in 1 tab
* Magazines tab – new, to help moving magazines around

### AID Tab

The sub-menus for the AID tab (, ) are reworked. Some menu colors were tweaked. 1.5.0:116

* Cures, Chems, and Buffs: radaway, cures, chems, various buffs
* Food and Water: Clean water (on top), Clean food, crops, pre-war food
* Beverages: Colas, liquor, dirty water, misc beverages
* Ingredients: Raw meat, wild plants, rotten food, etc.
* Utilities: Perk Toggles, etc.

By default, all toolkits and turrets/robots are kept in the main AID tab.

## Categories

### Weapons

All weapon icons used in Horizon are reworked, and show a symbol to denote the skill and damage type:

* Melee weapons have different icons for 1h blunt, 1h bladed, 2h blunt, 2h bladed, and unarmed
* Melee weapons sort below ranged weapons
* Standard ballistic Pipe weapons have their own icon, and no longer annoyingly switch icons if its pistol or rifle
* Gamma and Flame weapons have their own icons
* Alien blaster is sorted with energy weapons
* The Flare Gun has it's own icon and sorts with grenades
* Grenades and mines are sorted better with different icons based on energy or ballistic categories
* Artillery smoke, synth relay, and vertibird grenades each have their own unique icons
* Micro-drones have their own new icon
* Combat and hunting weapons no longer change their name based on the mods.
* Pipe guns only change their name based on pistol or rifle (not smg, or sniper, etc.)

### Item Mods

Most Horizon attachments and slots show icons in the workbench. Horizons custom mod slots are usually sorted to the bottom. Icons for menus look more clean.

### Skills

* Ballistic Skill = 2-bullet symbol
* Energy Skill = lightning bolt symbol
* Sniper Skill = crosshairs symbol
* Heavy Weapons Skill = flame symbol

### Perks

Many perks have icons to improve sorting.  All of the perks from the "perk tree" currently don't have icons.

## Icon Library

### Colored Icon Library

In order to use a colored icon library correctly, in every interface of the game, its recommended by Phlunder to add the following command to the `Fallout4Custom.ini`.

Sharp and more readable Pip-Boy screen:

```
[Pipboy]
bPipboyDisableFX=1

```

If all inventory screens should follow proper coloring, then the HUD color has to be white:

```
[Interface]
iHUDColorR=255
iHUDColorG=255
iHUDColorB=255

```

If the Power Armor HUD color should be white also, then:

```
[Pipboy]
fPAEffectColorR=1
fPAEffectColorG=1
fPAEffectColorB=1

```

The color settings for the PA Pip-Boy are handled by disabling all Pip-Boy screen effects with `bPipboyDisableFX=1`.

To disable the bright PA screen and washed out colors:

```
[Display]
fPipboyScreenEmitIntensityPA=1
fPipboyScreenDiffuseIntensityPA=0

```

### Icon List

The following is showing a full list of icons used in 1.9

🌀 *The content below is transcluded from Development:DEF UI#Item Table.*

## Technical Issues

🌀 *The content below transcludes to Technical Issues.*
* In order to allow for item sorting "loose files" must be enabled manually (user end) via text editor.
	+ Many player miss these steps and report about seeing weird text modules ingame, such as: `[JUNK] FOLDER{{{PACKING MATERIAL}}}`

## See Also

* Development/DEF\_UI
* Guide/Installation
* Guide/Modding Horizon
* Customizing DEF\_UI
* JPEXS Free Flash Decompiler
* How to patch swf files from mods and/or make patches for other resolutions

## References

1. ↑ https://discord.com/channels/436824471295361025/559888073924542464/774342208747864085
2. ↑ https://www.nexusmods.com/fallout4/mods/10654
3. ↑ https://www.nexusmods.com/fallout4/mods/5108
4. ↑ https://www.nexusmods.com/fallout4/mods/31088