RimWorld

RimWorld

126 ratings
Development Mode Hotkey
2
2
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
304.320 KB
24 Jul, 2023 @ 11:34am
13 Jun @ 7:43am
3 Change Notes ( view )

Subscribe to download
Development Mode Hotkey

In 1 collection by NightmareCorporation
Dev tools
20 items
Description
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 Comments
CatGamer 30 Oct @ 3:26pm 
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 3 Oct @ 7:34pm 
My wrist thanks you. My sanity thanks you.
TacocaT 14 Sep @ 10:41pm 
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 31 Aug @ 5:20am 
I'll chek what you told, but I want to note that your hotkey works fine. pressing . call devmode.
NightmareCorporation  [author] 31 Aug @ 2:11am 
@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 30 Aug @ 3:07pm 
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 30 Aug @ 3:06pm 
GodzillaNaps 27 Jan @ 2:36pm 
How many years has this game been out, and y'all are still coming out with absolute banger QoL mods? Thank you!
csfireworks 27 Nov, 2024 @ 5:13am 
very useful ~
NightmareCorporation  [author] 17 Nov, 2024 @ 3:27am 
@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.