jpw1991 / chebs-necromancy

Cheb's Necromancy adds Necromancy to Valheim via craftable wands and structures. Minions will follow you, guard your base, and perform menial tasks.
The Unlicense
10 stars 4 forks source link

Controller Buttons aren't working #249

Open RheaRhe94 opened 9 months ago

RheaRhe94 commented 9 months ago

Sorry in advance I kinda got into testing mod but the main issue I was having is getting the left and right shoulder buttons to map to controller, so far i can get the left and right triggers to work and the Dpad keybindings worked but whichever d pad binding you use wont work in the inventory menu anymore while the wand is equipped ( ex. if right is your summon keybinding than you can't move right in the inventory menu while the wand is equipped, tested all 4 and it was the same) DPadUp summons and unequips at the same time and DpadDown summons and uses your forsaken power at the same time as well, and the right trigger destroys the skeletons at the same time that it summons it. all the other options don't do anything. There is also no Controller Keybinding option to summon better skeletons using extra resources. I attached the cfg and log in the zipfile hopefully that works

ChebsNecromancyBugReport.zip

jpw1991 commented 9 months ago

Hello, thanks for opening the issue.

I'd like to mention in advance that I do not have a controller to test the mod with and, as far as I'm aware, you are the first to use it with a controller. So I'm sorry that you're the first to experience these issues. But fortunately, you can hopefully help me fix them.

It's true that many buttons are doubled up. For example, in the config you sent:

ChebGonaz_SkeletonWandCreateMinionGamepad = DPadRight
ChebGonaz_SkeletonWandNextMinionGamepad = LeftShoulder
ChebGonaz_SkeletonWandFollowGamepad = ButtonWest
ChebGonaz_SkeletonWandWaitGamepad = ButtonEast
ChebGonaz_SkeletonWandTeleportGamepad = SelectButton
ChebGonaz_DraugrWandCreateMinionGamepad = ButtonSouth
ChebGonaz_DraugrWandNextMinionGamepad = ButtonSouth
ChebGonaz_DraugrWandFollowGamepad = ButtonWest
ChebGonaz_DraugrWandWaitGamepad = ButtonEast
ChebGonaz_DraugrWandTeleportGamepad = SelectButton
ChebGonaz_OrbOfBeckoningCreateMinionGamepad = ButtonSouth
ChebGonaz_OrbOfBeckoningNextMinionGamepad = ButtonSouth
ChebGonaz_OrbOfBeckoningFollowGamepad = ButtonWest
ChebGonaz_OrbOfBeckoningWaitGamepad = ButtonEast
ChebGonaz_OrbOfBeckoningTeleportGamepad = SelectButton

A lot of these are set to ButtonSouth. Try making sure that they're all unique and let me know if it works better.

There is also no Controller Keybinding option to summon better skeletons using extra resources.

In the short term, you can disable that button by setting it to nothing which will fix the issue: ChebGonaz_SkeletonWandUnlockExtraResourceConsumption =

jpw1991 commented 9 months ago

@RheaRhe94 did you get it all working?

jpw1991 commented 6 months ago

Other people also having problems: https://youtu.be/JJixlbHBi_M

Hopefully some benevolent contributor can fix this on my behalf. I don't have a controller

jpw1991 commented 1 month ago

In the newest version I was forced to disable controller support completely due to this issue. Sorry about that