ZHMModSDK icon indicating copy to clipboard operation
ZHMModSDK copied to clipboard

DebugMod blocks freecam movement

Open Notexe opened this issue 2 years ago • 8 comments

Enabling DebugMod blocks the freecam from moving when you use WASD and the other input controls, only mouse movement works. I suspect this is due to the recent npc tracking feature, it must be disabling input even when no NPC is being tracked.

Notexe avatar Aug 17 '23 10:08 Notexe

Oddly, DebugMod and Freecam have been working together fine for me while running the game with Proton. No problems with keyboard controls here.

VoodooHillbilly avatar Dec 20 '23 23:12 VoodooHillbilly

Oddly, DebugMod and Freecam have been working together fine for me while running the game with Proton. No problems with keyboard controls here.

It's only an issue in the nightly builds of the SDK, since the stable build doesn't have the NPC follow feature in the DebugMod which is what interferes with the FreeCam mod.

Notexe avatar Dec 20 '23 23:12 Notexe

It's only an issue in the nightly builds of the SDK

I've been using the build listed here for at least a month: https://github.com/OrfeasZ/ZHMModSDK/actions/runs/6831470304

I checked it in the game just now, the keyboard controls break for me while an NPC is actively being tracked. As soon as tracking stops, the freecam controls work again.

I assumed from the title that it referred to breaking the controls just by having the DebugMod and Freecam enabled at the same time. Which seems to be the case in your first comment.

VoodooHillbilly avatar Dec 21 '23 16:12 VoodooHillbilly

I assumed from the title that it referred to breaking the controls just by having the DebugMod and Freecam enabled at the same time. Which seems to be the case in your first comment.

This is the case for me the last time I tried it when no NPC is even being tracked. I can test it again later today though.

Notexe avatar Dec 21 '23 16:12 Notexe

I just had the Freecam controls stop working for me, but I found a workaround.

I've always had Freecam enabled after the DebugMod. I'd toggled some mods on and off, I wound up with Freecam appearing to the left of DebugMod on the SDK menu bar, and the controls stopped working like described here. I toggled Freecam off and back on so it was to the right of DebugMod, and the controls worked normally again.

Using the Release build from here: https://github.com/OrfeasZ/ZHMModSDK/actions/runs/7370673325

VoodooHillbilly avatar Jan 20 '24 03:01 VoodooHillbilly

Oh so the mod load order is what breaks it. I always loaded DebugMod after Freecam so that's why Freecam controls were broken for me.

Notexe avatar Jan 21 '24 06:01 Notexe

I'd always done the opposite. Because if there's a couple mods already enabled, the DebugMod options start getting cropped off on the right side of the screen. I don't really need the Freecam buttons, so I was fine with them not being displayed. I guess I'd never tried using Freecam when they were ordered the other way until a couple days ago.

VoodooHillbilly avatar Jan 21 '24 20:01 VoodooHillbilly