After spending WAY to much time messing around with the code of this mod and driving myself ever further into the Mad God Sheogorath's clutches, I finally figured out how to get this mod working with a controller:
It's possible i've overlooked something, but it seems to work ingame when using a gamepad with NorthernUi A drawback of my implementation is you can't activate anything while blocking and moving simultaneously, and you can't perform a dodge when your weapons are sheathed. No idea why.
To the author, feel free to upload this as an optional file, or to make any edits you feel necessary.
Hello, I just tried out your patch for the mod. I'm not sure why but one of the drawbacks you stated was not happening to me. I could still dodge with my weapons sheathed. I'm not complaining though. I'm using both your patch esp file and the original mod's esp at the same time. Not sure if that matters and I don't know if this is supposed to be a replacer for the original esp. Anyways, thank you for the patch. May the Nine bless you. \[T]/
yes my patch is a replacer, also i meant the fix wont work with weapons sheathed.
Basically, i changed the script from detecting "isKeyPressed" to "PlayerIsBlocking" (not a direct quote of the script) so the game now just looks to see if the player is actively in the block stance, rather than checking if your pressing the block key.
Since NUI uses a completely different form of control input, any script which uses the vanilla input detection wont work, you have to specifically add in a check for NUI's input method.
I spent a very long time trying to understand exactly how it is NUI implements its inputs, but i simply could not figure it out. So someone smarter than me would need to update the script to add in both KB/M and NUI input detection to get the mod working with sheathed weapons as intended.
Too much of the description is hidden in a spoiler halfway down the page. I imagine some people will miss it and just move on, thinking you didn't bother to write what is "broken" (which people say about anything nowadays) and how you fixed it.
Having said that, this seems like a great fix that I'd like to try the next time I play! I just figured I'd give that feedback for the mod page itself in the meantime.
hey man thanks for the mod! it's the best fix for this bug so far. Could the script be edited to detect the right mouse button press+direction instead of wether the player is blocking? That way it will work even if weapons are sheathed(if i try to roll with no weapon out the bug persists). Still better than nothing so thank you again!
23 comments
https://drive.google.com/file/d/1vU2iAjlNXmumQiWOluj136lhZQ_lEjRc/view?usp=drive_link
It's possible i've overlooked something, but it seems to work ingame when using a gamepad with NorthernUi
A drawback of my implementation is you can't activate anything while blocking and moving simultaneously, and you can't perform a dodge when your weapons are sheathed. No idea why.
To the author, feel free to upload this as an optional file, or to make any edits you feel necessary.
Basically, i changed the script from detecting "isKeyPressed" to "PlayerIsBlocking" (not a direct quote of the script) so the game now just looks to see if the player is actively in the block stance, rather than checking if your pressing the block key.
Since NUI uses a completely different form of control input, any script which uses the vanilla input detection wont work, you have to specifically add in a check for NUI's input method.
I spent a very long time trying to understand exactly how it is NUI implements its inputs, but i simply could not figure it out.
So someone smarter than me would need to update the script to add in both KB/M and NUI input detection to get the mod working with sheathed weapons as intended.
Having said that, this seems like a great fix that I'd like to try the next time I play! I just figured I'd give that feedback for the mod page itself in the meantime.
The high level acrobatics rolls?
Still better than nothing so thank you again!
Thank you very much.
i tried it out and it wasn't working before.
Right now it doesn't seam to be detecting the controller.