Dark Ui Tweaks (QoL)
Изображение 1 из 3. Материалы автора из Steam Workshop.
О материале
«Dark Ui Tweaks (QoL)» — материал мастерской Kenshi. Моды Kenshi: фракции, расы, строительство и изменения геймплея. Для установки откройте оригинал в Steam Workshop, проверьте требования автора и подпишитесь. Совместимость с версией игры редакцией не проверена.
Описание автора
Requires RE_Kenshi. Fixes for interface parts the game builds in code, so no UI mod can touch them: taller queue rows, full-width queue bars, scrolling descriptions, taller squad cells, a proper 'Next level' bar. Works with any UI mod.
Version 1 · Nexus: https://www.nexusmods.com/kenshi/mods/2192
WHAT IT DOES
Everything below is set by the game's code, not by layout files, so no interface mod can change it. Each tweak is turned on and off separately in DarkUiTweaks.ini.
-
Taller rows in the research and crafting queues. The game gives a row about 16 pixels, and with Russian fonts the text overlaps itself. Height - QueueRowHeight (30).
-
The bar in a queue row fills the whole frame. The game measures one hundred percent of the bar by the width of the time caption ("2 hrs"), not by the row frame, so the fill never reached the end. The plugin hides the game bar and draws its own, from the black line of the frame to the black line. Inset from the edge - QueueBarInset (5).
-
Scrolling in the description on the "Research" and "Crafting" tabs. A long description (fifteen lines for armour) did not fit. The description panel has its own scrolling, the game just never turns it on. The plugin turns it on and keeps the scrollbar in place when the description refreshes. ScrollDescription (1).
-
Taller squad cells on the "Squads" tab. Portraits in a cell were visible for a row and a half. Now at least SquadPortraitRows rows (2), and with SquadAutoGrow=1 the cells grow to fit the biggest squad: a fighter joins and a new row is needed - the cells grow; they leave - the cells shrink back. All cells have one height (that is how the game list works), at most six rows.
-
The "Next level" bar in the skill description. The game made it thin, the fill lay over the black border and the caption over the bar. The plugin makes the frame taller (ProgressBarPad), fits the fill inside the border, centres the text (ProgressBarDrop, ProgressBarGrowUp) and moves the lines below so the bar does not overlap them.
WHICH INTERFACE IT WORKS WITH
Any: vanilla and any interface mod. The plugin replaces no layout or skin file - it adjusts the sizes of widgets the game builds itself, at runtime.
Notes:
- items 1, 3, 4 and 5 do not depend on layouts at all;
- item 2 finds the ItemValue captions and the Progress bar in a queue row by their names from the vanilla layout. If an interface mod renames them, the plugin leaves that row alone - the bar stays the game's;
- the fill insets (items 2 and 5) are fitted to the frame of the vanilla Kenshi_Button1 skin - its border is six pixels. If an interface mod draws the frame differently, adjust QueueBarInset and ProgressBarPad in the ini.
Layout edits of the "Russian Dark UI simplistic" mod (column widths, room for the remove button in the queue, etc.) are not part of the plugin: they live in that interface mod itself.
SETTINGS
DarkUiTweaks.ini next to the DLL, read at game start. If there is no file, the plugin creates one itself with default settings.
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.