Live Xp Bars (QoL)
Изображение 1 из 4. Материалы автора из Steam Workshop.
О материале
«Live Xp Bars (QoL)» — материал мастерской Kenshi. Моды Kenshi: фракции, расы, строительство и изменения геймплея. Для установки откройте оригинал в Steam Workshop, проверьте требования автора и подпишитесь. Совместимость с версией игры редакцией не проверена.
Описание автора
Requires RE_Kenshi. Live XP bars for the skills that are levelling right now: name, level, progress to the next level. Nothing to pick or click - a bar appears when a skill grows and fades out when it stops. In-game text follows the game language: English or Russian.
Version 3 · Nexus: https://www.nexusmods.com/kenshi/mods/2188
WHAT IT DOES
Nothing to pick and nothing to click. A skill starts growing - its line appears on screen: name, level, percent to the next level and a bar. It stops growing - the line fades out.
- fade-in one second, fade-out five;
- nothing is levelling - the screen is empty;
- want the lines to stay - AlwaysShow=1: a skill that levelled at least once stays on screen until another character is selected;
- more than one character selected - no bars at all: everyone has their own skills, it would be a mess.
Level, percent and the bar fill share one colour scale: low values are dim brick, close to a hundred muted green, above a hundred purple. The colour changes smoothly, without jumps every ten points (SmoothColours); the scale steps are set in the ini.
The bars do not catch the mouse: you click through them into the world. Hide the game interface with F7 - the bars hide with it.
BACKGROUND
Over bright ground the numbers and text are hard to read. You can put a background under the bars - Background in [Colours]:
- game - the game's framed panel, like item tooltips. One panel for all lines: another skill starts levelling - the panel grows down and the frame stays whole. Looks like a native part of the interface;
- #RRGGBB - a flat fill in your own colour; ready-made shades (black, greys, dark ochre) are listed in the ini comments;
- none - no background (default).
BackgroundOpacity - from 0 to 1; at 0.6-0.8 the text is readable and the world under the panel is still visible. The background appears and fades together with the lines.
There is no separate frame over your own colour, and that is on purpose: every frame skin in the game has a solid middle (checked in the atlas), so a "frame" is always a whole panel.
POSITION ON SCREEN
SHIFT+B shows a frame with four sample lines and a hint. Drag it where you want and press SHIFT+B again - the frame disappears and the position is saved. The samples are there because an empty frame does not show where the text will be.
SETTINGS
LiveXpBars.ini next to the DLL. Read once at game start.
[Bars] Enabled 0 turns the plugin off completely. HoldSeconds how long to keep a bar after an XP gain. FadeInSeconds fade-in time. FadeOutSeconds fade-out time. HideForSquad hide the bars when several characters are selected. AlwaysShow 1 - a skill that levelled once stays while the same character is selected. HideWithGUI 1 - hide the bars together with the game interface (F7). ColourLevel colour the level by its value. ColourPercent colour the percent by progress. Left, Top position on screen, saved automatically. Width line width in pixels. Debug details in RE_Kenshi_log.txt.
[Colours] UseGameTheme 0 - never ask the game palette. Emergency switch. Name, Plain, skin - keep the widget skin colour (so the captions Hint match the stats window); auto - take it from the game palette; or your own #RRGGBB. BarColour value - colour the fill by progress, on the same scale as the percent; skin - as the game draws it; or #RRGGBB. SmoothColours 1 - a scale without steps: LevelN are anchor points, colours blend smoothly between them. Background none, game (framed game panel) or #RRGGBB (flat fill). See "Background". BackgroundOpacity its opacity, from 0 to 1 (0.6). Level0..Level100, Above100 - the "value -> colour" scale. The keys are named as in StatColours, so colours can be copied over.
No file - the plugin writes one itself at startup.
WHY, IF THERE IS XpBars
XpBars (DougTownsend) also draws XP bars, but there you tick the skills by hand, which takes three windows: the bars, the picker and a button in the stats window. Here there is no picking at all - what grows is shown - and no windows either.
There is no point in running both mods together.
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.