Topic: gamepad for player 2's buttons control player 1

Hi,

I have literally searched everywhere online for this solution.

The Player 1 Gamepad controls player 1 perfectly, but with Player 2; the analog works great but the buttons only controls player 1.
I tried Adjusting the inputs in player settings, I've tried using rewired, Hinput, I looked up tutorial videos and documents, and I tried scripting the inputs.


Is there a way to make the buttons for player 2 control player 2 only?

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

I use rewired and it works fine https://guavaman.com/projects/rewired/d … ingEngine2
For rewired make sure you click restore defaults after you set it up.
You can always try rewired in a fresh UFE 2 project to make sure it works for you.

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

Tried Rewired dozens of times; The results were worse.
Probably because I don't see an option for "restore defaults" anywhere.

Where is this option?

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

When you open control mapper to change controls you will see a button near the top

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

Okay, I followed the steps and now Player 2 doesn't work at all and Player 1's buttons don't work either.

I know you were trying to help and I really appreciate it. UFE2 is still a fantastic asset.
I just want player 1 and 2 to work right.


Until then, I'm taking a break.

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

Hi Again,

I decided to take the steps previously stated in the documents and in this forum:

After I opened control mapper and restore defaults, I noticed that both controllers would not assign to anything other than player 1. I attempted to change one of the controllers to be assigned to player 2, but once I hit done It reverted back to being assigned to Player 1.

I'm not sure if this is a bug or a glitch in my system.

If this is something that anyone has gone through, Is there a way to fix this?


P.S.
I still absolutely love this asset and I think taking a little break did helped me a lot. Looking forward to showing everyone what I created soon.

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

Can I see a screen shot of your control mapper screen? There should be a button for player 2 that you press to change their controls.

Share

Thumbs up Thumbs down

8 (edited by nusaw316 2022-05-14 14:38:07)

Re: gamepad for player 2's buttons control player 1

https://drive.google.com/file/d/1_cokGS … sp=sharing

Then when I reopen it for the same controller:

https://drive.google.com/file/d/1i8_B19 … sp=sharing


Hopefully you can help.

(I don't know what happened to the other settings, I actually had the actions and buttons made last night.)

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

It's tough to say what's wrong as it's been a while since i've set rewired up, and I don't exactly know the ins and outs of it.
I think it would be easiest for me to just setup a new rewired on a fresh UFE 2.4.1 and send over the input manager prefab to you as a unity package file.

Share

Thumbs up +1 Thumbs down

Re: gamepad for player 2's buttons control player 1

That sounds great.

I'll look out for your setup.

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

I'll try to get it to ya this weekend.

Share

Thumbs up +1 Thumbs down

Re: gamepad for player 2's buttons control player 1

Cool, Thank You.

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

do you need a way to contact me? i.e. email or something?

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

I just installed a fresh rewired from scratch for UFE 2 and it works fine.
Sending you a prefab most likely won't help
If you followed the rewired documentation, the most important step is in UFE 2's input settings
Maybe you missed a step or set it up wrong?
Make sure to remove the prefix from the input names.
https://i.imgur.com/0nOye3n.png
https://i.imgur.com/KrlrWhq.png

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

YES!

After numerous trial and error, I finally got both controllers working to perfection.
Now I am pretty much ready to showcase my demo. Anything else I do is going to be polishing up the visuals.

Thank You so much.

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

nusaw316 wrote:

YES!

After numerous trial and error, I finally got both controllers working to perfection.
Now I am pretty much ready to showcase my demo. Anything else I do is going to be polishing up the visuals.

Thank You so much.

Hi usaw316.
I have created a new Unity 2021 project.3.11f1 and imported UFE, which bought on October 3, 2022. I have two Defender joysticks and when I start the game I can move Player 1 and Player 2 using Joystick 1 and Joystick2. But when I press the buttons, both joysticks control Player 1 and do not control Player 2 in any way. I have read the forum but have not found a solution. I use Unity Input Manager
What do I need to do to control each player with my joystick?

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

I have the same problem with two controllers. Both controllers control the same character (on demo UFE project). Does anyone know how to fix this? Thanks.

Share

Thumbs up Thumbs down

Re: gamepad for player 2's buttons control player 1

Does this happen on a fresh UFE 2 import?

Are you using rewired?

Share

Thumbs up Thumbs down