Project Zomboid

Project Zomboid

501 个评价
隐藏调试菜单 + 删除篝火/壁炉选项
6
3
4
2
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
67.534 KB
8 月 22 日 下午 2:32
12 月 12 日 下午 1:32
7 项改动说明 ( 查看 )

订阅以下载
隐藏调试菜单 + 删除篝火/壁炉选项

描述
隐藏调试菜单
此模组清理了游戏中的右键菜单,移除了不必要或过时的选项。
现在,它还会移除游戏的版本信息(兼容不稳定版本 42)。




功能

• 切换调试选项: 使用 F10(键码 68)可根据需要启用或禁用调试菜单项。
默认: 游戏启动时,调试选项隐藏。
按 F10 可在 DEBUG 关闭DEBUG 开启 之间切换,并显示屏幕确认信息。

• 自动隐藏调试选项: 禁用调试模式后,调试项默认隐藏。

• 移除露营选项: 移除以下上下文条目:
篝火套件 (
ContextMenu_CampfireKit
)– 火焰方块 (
ContextMenu_Firetiles
)使上下文菜单专注于实用且与游戏玩法相关的操作。

• 移除版本信息: 隐藏显示游戏版本或版本号的部分,带来更简洁、更一致的体验。




为什么使用此模组?

– 通过消除开发或调试过程中的杂乱信息,提升沉浸感。
– 使右键菜单更简洁、更快捷。

– 让您完全掌控:可在普通模式调试模式下使用,并可在两者之间快速切换。
轻量且兼容:仅修改上下文菜单条目;不会改变物品、平衡性或其他机制。




技术说明

该脚本使用 OnGameStartOnKeyPressedOnFillWorldObjectContextMenu 事件来动态移除或切换调试条目、营地选项和构建信息。




创意工坊 ID:3554048011
模组 ID:HideDebugMenu
105 条留言
dumbfish 12 月 12 日 下午 10:46 
can confirm that it works in MP
make sure that you add it to the workshop list menu as well
树皮 12 月 12 日 下午 9:54 
Works in server, thanks
NARKOSHAnya 12 月 12 日 下午 7:23 
я очень хотел данный мод, спасибо!
Kaedn_Holt 12 月 12 日 下午 5:17 
@SuperJetPlus - nevermind! Had to enable it in the Steam Workshop settings for the server. My bad!!
SuperJetPlus  [作者] 12 月 12 日 下午 3:05 
@Kaedn_Holt, I just tested my mod in a multiplayer game I hosted, and it works perfectly.

How did you test it?

I just updated the gallery on the page.
Kaedn_Holt 12 月 12 日 下午 2:45 
Only works in solo play. Please list that in your description, thanks.
Depresión Severa 12 月 12 日 下午 2:29 
Este es el unico mod en su funcion que sirve.
Infelicidad -100:spiffo:
gracias
SuperJetPlus  [作者] 12 月 12 日 下午 1:42 
@Sham , please don't use mods in multiplayer, not even lightweight ones like mine. Remember, we're on unstable versions.

@Depresión Severa , gracias a ti por usarlo. Acabo de actualizar el mod con la solución a la marca de agua, otra vez.

@MactraherDOS , теперь всё исправлено.

Thanks for the help, @Dragon Slayer Ornstein.
Dragon Slayer Ornstein 12 月 11 日 下午 11:24 
To remove the version watermark add this to the top of the lua file above the other functions...

---
local hideDebug = true

-- Prevent WaterMarkUI from being added to the UI manager
WaterMarkUI.addToUIManager = function() end
---

Also remove all the watermark stuff from the ongamestart function so you are just left with...

---
local function onGameStart()
applyDebugOptions()
end
---

This should fix it permanently.
MactraherDOS 12 月 11 日 下午 9:09 
Мод убирает меню отладки, но версия игры теперь находится в верхнем левом углу после обновления 42.13, а не скрывается