Change the UI theme¶
The HUD, the windows and the menus take their colours, fonts and backgrounds from one Data Asset,
DA_UIStyle. You give the interface green accents, taller title bars and bigger menu buttons without
opening a widget, then a typeface and a menu picture of your own. The how-to page
Restyle the interface is the full reference of the asset.
How the asset is organised¶
Content/ZombieSurvival/DataAssets/UI/DA_UIStyle sits next to its class, PDA_UIStyle: there is no
Childs/ folder here. It holds four named tables.
| Table | What it holds |
|---|---|
Colors |
Every colour, from the panel background to the need colours. ConditionBar and SourceIconTint are here. |
Sizes |
Text sizes, heights, widths and paddings. Only TitleBarHeight and SourceTilePadding are read: the others are reference data and change nothing on screen. |
Fonts |
One entry per kind of text, such as Title, Body or MenuButton. |
Brushes |
The brushes, from the panel and the title bar to the menu backdrops, and the three loot source tiles SourceTile, SourceTileHover and SourceTileSelected. |
Next to them, ContainerKinds, FallbackContainerIcon, GroundSourceName and GroundSourceIcon
hold the names and pictures of the loot source column.
Most widgets have a Style field whose default is DA_UIStyle. Many of them name, in an ApplyStyle
function, the Fonts and Colors keys each of their texts uses. Pointing one widget's Style at
another style asset restyles that widget alone.
Steps¶
1. Open the style asset¶
Open DA_UIStyle. To keep a way back, duplicate it first as a backup, or commit the project to your
source control.
2. A green condition bar¶
In Colors, find ConditionBar. It is the thin bar under the icon of an item that has a state, such
as a weapon or a tool. Set it to a green, for example R 0.2, G 0.8, B 0.3, A 1.
3. A green outline on the selected source¶
In Brushes, find SourceTileSelected, the active tile of the loot source column. It ships with a
black fill and a 2-unit orange outline. In its outline settings, set the outline colour to the same
green.
Keep the fill dark. Several furniture pictures are light beige, and a mid-grey fill makes them hard to read.
4. Taller title bars¶
In Sizes, set TitleBarHeight from 28 to 34. Every window changes at once and gets more room
for descenders.
5. Bigger menu buttons¶
In Fonts, open MenuButton and raise its Size by 2.
6. Save and look¶
- Save
DA_UIStyle. - Open
Content/ZombieSurvival/Maps/L_Bootand press Play. The main menu buttons are larger. - Open
Content/ZombieSurvival/Maps/L_Worldand press Play. Every window has a taller title bar, and the baseball bat in your bag shows a green bar under its icon. - Walk into a house and search a piece of furniture with E. The selected tile of the source column has a green outline.

A widget reads the style when it is built, so restart Play after each change.
7. A typeface of your own (optional)¶
The interface uses Roboto from your own engine install, /Engine/EngineFonts/Roboto, named in the
Fonts table. No font ships in Content/ZombieSurvival/. This step has not been played as written.
- Import your font files into a folder of yours under
Content/ZombieSurvival/, for example a new first-levelFonts/folder: the first level of the layout is the asset type. You need a Font asset that lists the faces. - In
Fonts, open each entry you want in the new typeface. Set its font family to your Font asset and its typeface to one of its faces. Each entry names its own font, so a whole new typeface is one change per entry. - Save, and check the menus and the HUD again.
Use a font file whose licence lets you ship it: that licence is yours to check. For Roboto,
THIRD-PARTY.md section 4 states both licences that may apply.
8. Your own menu picture (optional)¶
Every menu screen shows Textures/UI/T_UI_MenuBackdrop, a 3840 × 2160 painted picture, under
Materials/UI/M_UI_MenuGradient (MenuBackdrop in Brushes), which darkens the left side behind the
buttons.
- Reimport your own 3840 × 2160 key art over
T_UI_MenuBackdrop(right-click, Reimport with New File), so every reference keeps pointing at it. - If your picture is lighter or darker, open
Materials/UI/M_UI_MenuGradientand change the default values ofLeftOpacity,RightOpacity,FadeStartandFadeEnduntil the buttons read well. - Open
Maps/L_MainMenuand press Play.
What the style asset does not reach¶
WBP_Tooltip, the body of a tooltip, holds a text but no reference to the style asset.WBP_ActionBarkeeps its own fill colour for the progress bar.- The window geometry is not in the style.
FrameWidth,MinBodyHeightandExpandedBodyHeightare Settings onWBP_PanelFrame, set per window insideWBP_HUD. Windows cannot be resized in play. - The radial ring's colours are parameters of
MI_UI_RadialSectors, not style keys.
If it does not work¶
- Nothing changed: Play was not restarted, or you edited a
Sizeskey other thanTitleBarHeightorSourceTilePadding. The others are not read. - One widget keeps the old look: its
Stylepoints at another style asset, or it holds no reference to the style at all, likeWBP_Tooltip.