OrfeasZ / ZHMModSDK

A modding SDK for Hitman 3
Other
108 stars 27 forks source link

DebugMod blocks freecam movement #68

Open Notexe opened 1 year ago

Notexe commented 1 year ago

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.

VoodooHillbilly commented 8 months ago

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

Notexe commented 8 months ago

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.

VoodooHillbilly commented 8 months ago

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.

Notexe commented 8 months ago

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.

VoodooHillbilly commented 7 months ago

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

Notexe commented 7 months ago

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.

VoodooHillbilly commented 7 months ago

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.