Project Zomboid

Project Zomboid

Another Vehicle Claim System
此主题已被锁定
★Rainmaker★ (已封禁) 2024 年 1 月 31 日 上午 2:34
UI issue
Hi, I noticed someone else had posted this same problem but you had locked that discussion so I couldn't reply to it.

On my server I have the UI working perfectly, but a player has the same UI issue that was reported before.

My UI: https://imgur.com/a/UatRfwb

My player's UI: https://imgur.com/a/ChpRxwt
< >
正在显示第 1 - 9 条,共 9 条留言
★Rainmaker★ (已封禁) 2024 年 1 月 31 日 上午 3:51 
We figured that it's probably due to a 4K monitor and its resolution.

Mine is 1920x1080 but my player was on 3840 x 2160, and the stupid options in Zomboid didn't even allow him to go to a resolution that wouldn't just look stupid.
★Rainmaker★ (已封禁) 2024 年 2 月 15 日 下午 2:49 
引用自 Lu5ck
You may want to try this

https://psteamcommunity.yuanyoumao.com/app/108600/discussions/0/4139438760456170714/

Thank you, my player found out he could interact with the menu even with the UI bugged out so it's all good.

Also thank you for this essential and awesome mod.
HerioJohnX 2024 年 4 月 6 日 上午 6:16 
Greetings, player from China Hong Kong here, since me and my server player playing the game with Traditional Chinese language, we have encounter the same issue,
but no matter how me modify the text size in the settings, the problem still exist.

Unfortunately, this is not just a visual problem, we can't even interact with the last few feature.

This is how it looks: https://drive.google.com/file/d/1AyIK0jPOgajPK19oWGRTMgfUgMlUGtTr/view?usp=drive_link

P.S we have AVCS Addon Containers Access mod installed also.
P.S 2 - Tried to look up the solution you put above, but unfortunately the original author seems delete his content.
最后由 HerioJohnX 编辑于; 2024 年 4 月 6 日 上午 6:17
Lu5ck  [开发者] 2024 年 4 月 8 日 上午 4:11 
引用自 HerioJohnX
Greetings, player from China Hong Kong here, since me and my server player playing the game with Traditional Chinese language, we have encounter the same issue,
but no matter how me modify the text size in the settings, the problem still exist.

Unfortunately, this is not just a visual problem, we can't even interact with the last few feature.

This is how it looks: https://drive.google.com/file/d/1AyIK0jPOgajPK19oWGRTMgfUgMlUGtTr/view?usp=drive_link

P.S we have AVCS Addon Containers Access mod installed also.
P.S 2 - Tried to look up the solution you put above, but unfortunately the original author seems delete his content.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3160547758
salhan gaming 2024 年 7 月 29 日 下午 1:39 
this would only work in singleplayer, no? what can we do if we are on a MP server which has this vehicle claim mod (and is not going to install this font pack)?
最后由 salhan gaming 编辑于; 2024 年 7 月 29 日 下午 1:40
Vorshim 2024 年 9 月 6 日 上午 7:10 
hi there! can you just do this upgrade for the "public permission ui"?
just use something like this, you can get the OptionFontSize and dynamically adjust width and height based on that, like I did in my mod.
really simple.

"local coreFontSize = getCore():getOptionFontSize()

local baseWidth = 340
local baseHeight = 150

local widthMultiplier = 1 + (coreFontSize - 1) * 0.2
local heightMultiplier = 1 + (coreFontSize - 1) * 0.3

local adjustedWidth = baseWidth * widthMultiplier
local adjustedHeight = baseHeight * heightMultiplier

AdminContextMenu.onRemoveItemTool = function(playerObj)
local ui = ISRemoveItemTool:new(0, 0, adjustedWidth, adjustedHeight, playerObj);
ui:initialise();
ui:addToUIManager();
end"
hope you can implement this ;)
Emberbuck 2024 年 10 月 16 日 下午 8:28 
引用自 Vorshim
hi there! can you just do this upgrade for the "public permission ui"?
just use something like this, you can get the OptionFontSize and dynamically adjust width and height based on that, like I did in my mod.
really simple.

"local coreFontSize = getCore():getOptionFontSize()

local baseWidth = 340
local baseHeight = 150

local widthMultiplier = 1 + (coreFontSize - 1) * 0.2
local heightMultiplier = 1 + (coreFontSize - 1) * 0.3

local adjustedWidth = baseWidth * widthMultiplier
local adjustedHeight = baseHeight * heightMultiplier

AdminContextMenu.onRemoveItemTool = function(playerObj)
local ui = ISRemoveItemTool:new(0, 0, adjustedWidth, adjustedHeight, playerObj);
ui:initialise();
ui:addToUIManager();
end"
hope you can implement this ;)
Seconded just to help prevent this issue in the future
Matt 2024 年 11 月 29 日 下午 8:42 
Gonna +1 Vorshim's proposal. It's a trivial fix that would make the md work on e.g. 4k displays where players may need to crank up their font size and scaling settings in order to be able to read the text on their screen - as it stands, it seems like I've no real option but to play the game in 1080p if I want to play on a server that has this mod, which is kind of a pain to be honest.
最后由 Matt 编辑于; 2024 年 11 月 29 日 下午 8:42
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50