RimWorld

RimWorld

125 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
Jul 24, 2023 @ 11:34am
Jun 13 @ 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
25 Comments
Pooh jin ping Oct 3 @ 7:34pm 
My wrist thanks you. My sanity thanks you.
TacocaT Sep 14 @ 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 Aug 31 @ 5:20am 
I'll chek what you told, but I want to note that your hotkey works fine. pressing . call devmode.
NightmareCorporation  [author] Aug 31 @ 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 Aug 30 @ 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 Aug 30 @ 3:06pm 
GodzillaNaps Jan 27 @ 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 Nov 27, 2024 @ 5:13am 
very useful ~
NightmareCorporation  [author] Nov 17, 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.
arms_2003 Nov 16, 2024 @ 4:04pm 
I wish i could activate the hotkey in the menus. Also, i removed the mod and the hotkey do not persist lmao