Jump to content
nadrimajstor

Narrower inventory widget by default

Recommended Posts

Take a look at how UI by default looks for me. Notice that inventory widgets are wasting space as I can't make them narrower.

c3gYDXT.png

 

I propose the following patch
 

--- .steam/steam/SteamApps/common/ProjectZomboid/projectzomboid/media/lua/client/ISUI/PlayerData/ISPlayerDataObject.lua 2015-04-15 00:15:49.111465123 +0200+++ .steam/steam/SteamApps/common/ProjectZomboid/projectzomboid/media/lua/client/ISUI/PlayerData/ISPlayerDataObject.lua.bak2015-04-15 00:09:25.725865882 +0200@@ -164,11 +164,11 @@         self.x1left = 0;         self.y1top = y;         self.y1 = self.y1top;+        self.w1 = (w / 6);-        self.w1 = (w / 4);         self.h1 = divhei;         self.x2 = (x+(w/4));         self.y2 = self.y1top;+        self.w2 = (w / 6);-        self.w2 = (w / 4);         self.h2 = divhei;      else

People that have ultrawide monitor can have narrower inventory widget and others if inclined can easily make them wider. And I could enjoy MP without being kick out for patched lua files.

Share this post


Link to post
Share on other sites

×
×
  • Create New...