边缘世界 RimWorld

边缘世界 RimWorld

128 个评价
Development Mode Hotkey
2
2
3
   
奖励
收藏
已收藏
取消收藏
Mod, 1.3, 1.4, 1.5, 1.6
文件大小
发表于
更新日期
304.320 KB
2023 年 7 月 24 日 上午 11:34
6 月 13 日 上午 7:43
3 项改动说明 ( 查看 )

订阅以下载
Development Mode Hotkey

在 NightmareCorporation 的 1 个合集中
Dev tools
20 件物品
描述
Hotkey switches the development mode on/off. Default bound to KeyPad_Period, that's the button between the 0 and ENTER on the keypad.

If you want to change the button, go into
Options -> Controls -> Keyboard Configuration:Modify -> Scroll to Developer tools -> Toggle Development Mode
26 条留言
CatGamer 10 月 30 日 下午 3:26 
This even works on the main menu, this mod is amazing!
PSA: I had to enable Numlock to use the default hotkey (the numpad period) so if the mod isn't working for anyone that might be why.
Pooh jin ping 10 月 3 日 下午 7:34 
My wrist thanks you. My sanity thanks you.
TacocaT 9 月 14 日 下午 10:41 
It's not a monstrous issue, but hitting the default hotkey is also un-fullscreening me. It does not re-fullscreen me if I push it again. I assume it isn't supposed to be doing that :v
veoba 8 月 31 日 上午 5:20 
I'll chek what you told, but I want to note that your hotkey works fine. pressing . call devmode.
NightmareCorporation  [作者] 8 月 31 日 上午 2:11 
@veoba
The "Hotkeys 1.6" mod also patches that method. Can you try disabling this mod and see if the issue persists? if so, you'll have to report it to that author.

From what I can tell it really shouldn't be this mods patch causing the exception, unless for some reason another mod removed the KeyBindingDef. The patch applied by this mod is incredibly basic, but it can catch other mods that apply patches later and log out their errors, which is what I think is happening here: https://gitlab.com/nightcorp/devmodehotkey/-/blob/master/Source/Patches/Patch_UIRoot_Play.cs?ref_type=heads
veoba 8 月 30 日 下午 3:07 
Caught exception when trying to listen for dev-mode hotkey press: System.NullReferenceException: Object reference not set to an instance of an object
[Ref A84AC77F]
at Verse.KeyBindingDef.get_KeyDownEvent () [0x00096] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX Hotkeys: Void Hotkeys.Patches_MultiKeys+Patch_KeyPressed:Postfix(Boolean& __result, KeyBindingDef __instance)
at DevModeHotkey.Patch_UIRoot_Play.AddHookForDevHotkey () [0x00002] in <17d6b3a4a5f24da386656083e0054a6f>:0
veoba 8 月 30 日 下午 3:06 
GodzillaNaps 1 月 27 日 下午 2:36 
How many years has this game been out, and y'all are still coming out with absolute banger QoL mods? Thank you!
csfireworks 2024 年 11 月 27 日 上午 5:13 
very useful ~
NightmareCorporation  [作者] 2024 年 11 月 17 日 上午 3:27 
@arms_2003
Yea, the game limits hotkeys to not be usable in some scenarios like specific windows being open, I can only imagine it's for a good reason and would require a completely different mod to work around.