Kenshi
Flexible UI
43 Comments
svpavlov  [author] 14 Feb, 2024 @ 11:58am 
Привет, Teq. Спасибо за отзыв!
В настоящее время я приостановил поддержку этого мода.
Не буду обещать, если появится время, то доработаю мод по твоим замечаниям.
Teq 14 Feb, 2024 @ 5:31am 
Пожалуй, лучшее из того, что я пробовал. Если автор еще поддерживает, пара моментов: 1. Всплывающее окно текущего поселения слишком близко к краю экрана, когда подводишь курсор - экран сдвигается вправо.
2. Стрелочки для перетаскивания было бы неплохо сделать поиммерсивней, чтобы не так выбивались из общего стиля.
svpavlov  [author] 25 Sep, 2023 @ 11:47am 
ShadowFTL, здорово, я очень рад )
ShadowFTL 22 Sep, 2023 @ 1:23pm 
svpavlov, Да я уже понял, что ждать нечего и ловить тоже.

Но я тут на самом деле сам сделал нужный мод - твоя работа меня вдохновила и показала, что интерфейс вообще можно переделать.

Взял твои революционные находки с тем, чтобы выкинуть за экран самые бесполезные окошки + перенос части менюшек в левый угол, исправил растянутость для 21:9, кое что ещё изменил и сделал 2 версии с 2\1 строками под отряд.

Ещё раз скажу, что именно твоя работа меня побудила на собственное решение проблемы.

сам мод: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3037522536
svpavlov  [author] 21 Sep, 2023 @ 1:50pm 
Привет, ShadowFTL. Если ты читал описание мода, то знаешь, что у меня нет возможности отладить UI на мониторах разрешением выше 1920*1080. Про поддержку Dark UI я тоже уже писал: тут нужно ещё учитывать специфику. Задача моего мода, используя ванильные цвета и шрифты, получить возможность перестраивать окна на экране. Dark UI по своему арранжиирует окна и формирует собственную игровую атмосферу. Если просто добавить туда возможность двигать окна, то что это изменит? На мой взгляд там всё органично скомпановано, нет?
ShadowFTL 17 Sep, 2023 @ 3:21pm 
И ещё один важный момент. При 21:9 соотношении сторон, игра почему-то не уменьшает размер портретов как следует, в следствии чего, когда появляется 2ая строка персонажей, она не убирается по высоте и появляется скроллбар.

Но почему-то с этим модом иконки масштабируются как надо и 2 строки убираются корректно. Так что либо хочется версию с полупрозрачным дарком и фиксом растяжения и корректным масштабом иконок, либо понять, как именно этот косяк исправить.
ShadowFTL 17 Sep, 2023 @ 2:53pm 
Есть 2 момоента.

1. Есть ли возможно сделать поддержку других скинов? Многие используют Dark UI. Я лично играю с Transpereant UI (вариация дарка, но с небольшой прозрачностью).

Реализация расположения и поведения интерфейса шикарна, но какие бы плюсы не были, интерфейс вырвиглазный и с таким я точно не стану играть.

2. Есть ли возможность добавить фикс на широкоформатных мониторов? 21:9 и выше? Т.к. на них основная часть интерфейса растянута по ширине.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2654455804 Я использую этот мод, который фиксит ситуацию.
Byzod 28 May, 2023 @ 2:58am 
Then it's must be updating constantly, hope it got fixed in kenshi 2 :rennyf1:
svpavlov  [author] 28 May, 2023 @ 2:13am 
Hi, Byzod. I assume that the data that is shown in the bottom state panel is displayed programmatically. Because in the xml structure there is only a description of the rectangle element (widget with name "StatsText") where the text with stats is displayed (without line by line markup)
So I don't know how to fix this unstable behavior with mod.
Byzod 27 May, 2023 @ 8:59pm 
It works perfectly, thanks! :necroheart:

btw the tooltip of main stats panel is unstable for unknow reason, this is reproducable on vanilla UI, do you have this issue? Is it possible to fix with mod?
demo: https://imgur.com/RwKdkdm
svpavlov  [author] 27 May, 2023 @ 10:38am 
Byzod 27 May, 2023 @ 10:03am 
Sorry I didn't get it:rennyf1:, what to what? Can you paste code snippet like this?
https://pastebin.com/8Y74vTyD
svpavlov  [author] 27 May, 2023 @ 9:56am 
Byzod, Unfortunately, there is no way to save the position of the panels. However, I do not see this as a big problem, since the gameplay is changeable and one way or another there is a need to change the position of the panels.

- "until I click the expanded stats panel, and it got overlapped again for unkown reason lol"

Yes, the sliding panels that make up the Information panel block have the feature of changing places, the one that was last clicked is on top. It seems I have an idea how to fix that.

Well, lets try that:
1. Completely remove tag <widget name="TooltipPanel"/>
2. Replace whole tag <widget name="InformationPanel" />
with tag from next message
Byzod 27 May, 2023 @ 8:19am 
It works :elrath:, until I click the expanded stats panel, and it got overlapped again for unkown reason lol

Forgot to mention that the position of moved panel are reset after each cold start of game, not sure is it possible to remember the modified layout
svpavlov  [author] 27 May, 2023 @ 7:18am 
Hi, Byzod. Thanks for the feedback. You can try that:
<Widget type="Widget" skin="Kenshi_FloatingPanelSkin" position_real="0.126 0.663333 0.15125 0.09111" style="Overlapped" name="TooltipPanel">
<Property key="Alpha" value="0.85"/>
<Widget type="Widget" skin="Kenshi_GenericTextBoxSkin" position_real="0 0 1 0.972222" align="Stretch"/>
</Widget>
You can also consider raising the y-axis a bit so that it is higher than the Info panel in a collapsed state.Or place it in a vanilla position...
Byzod 27 May, 2023 @ 3:35am 
I changed my tooltip to

[code]
<Widget type="Widget" skin="Kenshi_FloatingPanelSkin" position_real=" 0.126 0.663333 0.15125 0.09111" layer="MiddleFront" name="TooltipPanel">
[/code]
from
[code]
<Widget type="Widget" skin="Kenshi_FloatingPanelSkin" position_real="0.748438 0.663333 0.186875 0.09111" layer="MiddleFront" name="TooltipPanel">
[/code]

It works so far, but got overlapped by the faction name panel when the stats panel is not expanded, I don't know how to move the tooltip to "top layer" (good news is that I play with it expanded mostly), any help?

btw comment of your suggestion thread is not allowed...
Byzod 27 May, 2023 @ 3:34am 
I think the tooltip panel that shows up when your mouse is over some ui element should be on the left side of screen

Reason: you need this tooltip when you want to know 1. what this is 2. what value it was exact consist of.
For reason 1, there're more elements on the left, if tooltip box is on the right, moving your eye sight left and right again and again is quite annoying for bigger monitor.
For reason 2, there're even more elements on the left while only a few buttons on the right, with constant tooltip that never change and you has no need to read them again few times later. For elements on the left, most of them are variables and you need to check them much much frequently than fixed buttons on the right, for example "why my speed is 15(-9)" and "why my sneak is 9(-64) without burden"

Thus in every case, tooltip on the left is better than right
Byzod 27 May, 2023 @ 3:15am 
This is awesome!
Nyxie_Shade 26 May, 2023 @ 4:59pm 
I think I had something messed up, to use transparent ui I had to put it last in the list, ill try with this later
svpavlov  [author] 26 May, 2023 @ 3:58pm 
Hi, anv0rgu3sa. It is very strange. The mod does not change the color of the fonts and does not change the color of the GUI. I experimented with fonts, but then abandoned the changes, decided to keep the vanilla colors. I think that they create a unique atmosphere of this game. Maybe the mod is conflicting with some other mod. To check, you can turn off all mods except this one, check that everything is ok, and then turn the mods on one by one to find the conflicting one. Next, turn off all mods again, except of the conflicting one found and check that it does not break colors.
Nyxie_Shade 24 May, 2023 @ 3:41am 
I cant read anything in red or item description, its only me?
VeeDubbin 8 Jan, 2023 @ 7:45pm 
Thanks for the reply. Great mod btw
svpavlov  [author] 8 Jan, 2023 @ 3:17pm 
VeeDubbin, unfortunately no. I thought that the next step would be to adapt Dark UI. However, there are certain specificities in the MYGUI library that make such customization difficult to maintain. I will be glad if the author of the Dark UI mod applies the ideas that I managed to implement here in the next versions of his mod.
VeeDubbin 8 Jan, 2023 @ 7:45am 
not working with Dark UI? load order maybe?
Fei 27 Nov, 2022 @ 5:01pm 
This is so good!
Any chance you manage to bring the dialogue window somewhere?
I have many dialogue mods and i like to read what character are saying but sometimes it's too fast and the dialogue bubble are too small...
The only way is to open the big Faction Panel, and it can be moved or resized it's a pain in the ass.
It's Phoenix! 24 Nov, 2022 @ 3:05pm 
Oh wow this is CRAZY good! I'd love a dark version of this mod someday in the future, but the ability to move and hide a lot of the unneeded stuff on my screen is a feature that should've been in the base game. Great work man. Hope more people get to see this. :steamthumbsup:
Doofus 7 Nov, 2022 @ 8:09am 
It would be cool if the characters menu was a hidden tab like the towns menu. Always thought the characters tab in vanilla is way too big esp when you get more recruits and the icons start getting smaller leaving a lot of empty room
svpavlov  [author] 27 Aug, 2022 @ 3:37pm 
Hazzikaze, thank you very much. Yes, I can add that feature to Time panel. I plan to release an update within two week.
Hazzikaze 26 Aug, 2022 @ 5:26pm 
Also, if possible, it would be awesome if the time selection bar was move-able.
Hazzikaze 26 Aug, 2022 @ 5:22pm 
This is easily the best UI mod on kenshi. Awarded, Liked, Favorited.
svpavlov  [author] 31 Jul, 2022 @ 9:02am 
Arg, thank you! I'm glad you like this mod.
Arg 31 Jul, 2022 @ 4:55am 
I like the glass panel
Arg 31 Jul, 2022 @ 4:53am 
the best ui
svpavlov  [author] 26 Jun, 2022 @ 11:04am 
Garlic, thank you for your question.
Unfortunately no. I thought that the next step would be to adapt Dark UI. However, there are certain specificities in the MYGUI library that make such customization difficult to maintain. I will be glad if the author of the Dark UI mod applies the ideas that I managed to implement here in the next versions of his mod.

P.S.
In general, I think that some solutions are good in themselves. Mixed solutions are not always better than the original ones.
Garlic 26 Jun, 2022 @ 6:08am 
Can it be used with other UI mods? Like Dark UI?
svpavlov  [author] 12 May, 2022 @ 12:53pm 
MilkyCow, спасибо на добром слове )
Я сначала хотел только прозрачностью виджетов поиграть, залез в *.layout файлы, а потом понял, что это по сути настроечные файлы для внешней библиотеки MyGUI. Ну и, в общем, вот... ))
♥♥♥ 12 May, 2022 @ 10:25am 
Лучший, я даже не знал что FCS предоставляет такие функции, сяп за мод огромное...
Alch 8 May, 2022 @ 4:04pm 
:mindblown:
svpavlov  [author] 7 May, 2022 @ 12:03pm 
Cattrina, thank you )
Лукавi Очi, к сожалению, со вторым модом тоже будут конфликты.
svpavlov  [author] 5 May, 2022 @ 11:29am 
Лукаві Очі, да, c Dark UI будет конфликтовать, второй мод не нашёл.
Понимаю, что это дело вкуса. Например, меня не напрягает ванильное цветовое решение, но сильно не хватает обзора на главном игровом экране, хочется больше пространства...
С другой стороны Dark UI снискал огромную популярность, если здесь будет достаточно положительных откликов, то, я его адаптирую отдельным модом. Либо, попробую побороться с конфликтами.
Лукавi Очi 5 May, 2022 @ 11:10am 
Не хочу рисковать поэтому оставлю тут на будущее. Есть ли конфликт с следующими модами: Dark UI и 迪奥老母之怒 自用UI
Если кто проверит и отпишет - Благодарен!