Kenshi
Not enough ratings
Transparent UI Ultrawide Trader Money Fix
   
Award
Favorite
Favorited
Unfavorite
GUI
File Size
Posted
714.508 KB
18 Mar, 2023 @ 8:43am
1 Change Note ( view )

Subscribe to download
Transparent UI Ultrawide Trader Money Fix

Description
I really love Bayrock's Transparent UI mod, but on ultrawide resolutions you can't see how much money a trader has because it clips outside of the window. This mod is just an edited "Kenshi_InventoryTraderWindow.layout" file from that mod with 2 values tweaked so the trader's money is visible again at 3440x1440 resolution. This is untested on slightly lower ultrawide resolutions like 2560x1080 etc. & I don't think it will remain quite as well aligned, but at least it should still be visible!

This is the first personal mod I've bothered to upload after seeing someone else mention having the same problem, so please let me know if I've messed up & it doesn't work or anything like that!
8 Comments
Solus  [author] 24 Dec, 2023 @ 3:11pm 
Er, my bad, corrections to my previous comment (since I hit the character limit so editing would be pointless): the 1st number should be distance from the left, not the top (note in my screenshot the word "money" is farther to the left) so you may want to tweak that as well, & to be extra clear just in case I meant to suggest editing the 3rd number down to 0.5, not 5, lol
Solus  [author] 24 Dec, 2023 @ 3:04pm 
@fry Sure thing! Your resolution is a lot wider than anything I tested with, so even with my fix itd still clip outside of the window. The original file to edit will be at [steam install directory]\steamapps\workshop\content\233860\1681013987\gui\layout named "Kenshi_InventoryTraderWindow.layout". Line 9 should read: <Widget type="Widget" skin="PanelEmpty" position_real=" 0.011928429827094078 0 0.9860835075378418 0.077067665755748749">. The 1st & 3rd numbers are the ones to edit, iirc 1st is height & 3rd is max distance from the right of the screen or something. My fix was just changing it to position_real=" 0.020928429827094078 0 0.7760835075378418 0.077067665755748749" so you might want to start by lowering #3 to something low like 5 so it shows up & gradually increasing it til you find a position that looks good. If you need more detailed help just let me know, I'm considering trying to create a more detailed tutorial in the description or the like.
fry 23 Dec, 2023 @ 8:14pm 
Hey there, really appreciate the mod. I am using 5120x1440 and it's not working for me and I was wondering if I could ask you a few questions so you might be able to point me to the section of the file I should edit to fix it. If you have a moment to spare I'd really appreciate it.
Solus  [author] 29 Aug, 2023 @ 5:13pm 
@wiglet1 I've been on a break, but I checked & it's still ok on my end. My mod's only requirement is being loaded after the original, but putting it at the end of your load order is best & shouldn't hurt anything else. Also, you should unsubscribe & resub to make sure Steam has downloaded the workshop files properly- tbh idk if verifying checks mods, just core files.
Unfortunately my patch doesn't edit anything in the FCS, just an external file taken along when uploading, so I think my only way to "update" is making a whole new workshop item & that may not even fix it. That said, if all else fails & you're up to cloning my original patch to see if that fixes it, I can include quick instructions in a followup post!
The only other fix I can think of would be to directly edit the appropriate file from the original mod, which wouldn't be much harder aside from the difficulty locating it & need to repeat it anytime the mod updates.
Sorry about that, but hopefully you can get it working!
wiglet1 29 Aug, 2023 @ 10:25am 
it worked at first, but it randomly stopped working recently... i have tried validating game files, changing mod load order, etc. any ideas on how to get it working again? thanks so much for making this btw, it was an absolute must have before it stopped working for me
Evil Edgy Man 28 Jun, 2023 @ 6:54pm 
Thanks for this! Was driving me freaking nuts lois!
Xiyo Reven 16 Jun, 2023 @ 7:00pm 
Thanks! might not be many of us-- but I appreciate it. works on 5120x1440
Wheazzy 30 Apr, 2023 @ 10:22pm 
Thanks for this !