RimWorld

RimWorld

125 betyg
Development Mode Hotkey
2
2
3
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Mod, 1.3, 1.4, 1.5, 1.6
Filstorlek
Lades upp
Uppdaterades
304.320 KB
24 jul, 2023 @ 11:34
13 jun @ 7:43
3 ändringsnotiser ( visa )

Abonnera för att ladda ner
Development Mode Hotkey

I 1 samling av NightmareCorporation
Dev tools
20 artiklar
Beskrivning
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
24 kommentarer
TacocaT 14 sep @ 22: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 31 aug @ 5:20 
I'll chek what you told, but I want to note that your hotkey works fine. pressing . call devmode.
NightmareCorporation  [skapare] 31 aug @ 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 30 aug @ 15: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 30 aug @ 15:06 
GodzillaNaps 27 jan @ 14:36 
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:13 
very useful ~
NightmareCorporation  [skapare] 17 nov, 2024 @ 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.
arms_2003 16 nov, 2024 @ 16:04 
I wish i could activate the hotkey in the menus. Also, i removed the mod and the hotkey do not persist lmao
NightmareCorporation  [skapare] 17 okt, 2024 @ 21:47 
@Zealot-Kun69
That's not how mods work, when you remove the files (and thus the assembly) there is literally no mod anymore.

What I could imagine is that adding a keybinding to the game persists that keybinding in some internal config data. But hitting that key should not do anything. Because it can't. The mod doesn't pull some insane stunt like modifying your game itself. It's just a line of code. Feel free to check it yourself:
https://gitlab.com/nightcorp/devmodehotkey/-/blob/master/Source/Patches/Patch_UIRoot_Play.cs?ref_type=heads