Having two local co op characters appear different from one another

Hello! @SupportiveEntity sorry to bother you, I know the thread is really old but I’m having a similar issue with trying to spawn in 2 characters and being able to control both. I tried copying what you did here but the characters don’t spawn in. What did you have after the spawn actor nodes in the GameMode BP?

Hey there @ScoutAX! I think the execution past that was likely irrelevant to the spawning. I can probably guess the issue based on one question: Are you testing with 2 gamepads or keyboard + gamepad? There is an issue with assigning controller input to player 2 when trying to use keyboard for player 1.

Thanks for responding! I am using 2 gamepads right now. I also tried to recreate the “PressButtonToJoin” spawner you made but it didn’t work. Even when I set it as the default pawn in the gamemode it didn’t register me even pressing a button on the gamepad.

Hmmm. Could I take a look at your BPs? Alternatively I can take some time to prepare another slightly more up to date guide but that may take a bit more time.

sorry for the super late reply, had some life stuff come up that I had to focus on. I ended up finding a solution though! Turns out a video I overlooked bc I thought it was for a plugin was actually for default unreal and had just what I needed. This is what I ended up setting up in my gamemode to make it work

For future users that find the thread, was that plugin/setting the enhanced input system?

I was actually using the enhanced input system prior to finding this solution. The solution I have now just spawns both players in on start without the need to press a button

1 Like

I’m sorry to continue the thread but I want to ask you something. In the system you made, the characters spawn without any problems, but the second player does not move even though I am sure that I have made the settings correctly. I don’t use a gamepad, I want to control both characters from the same keyboard. What could be the problem?

In my settings I am using 1 controller for each character but it sounds like you want to use 1 controller for both characters. I think you would need to assign the same player controller to both characters and have each character use different inputs for their actions.

Hey there @solucan03! Welcome to the community! It seems as though you’re trying to do one keyboard local multiplayer, and this changes a few things. First, I’ll warn you that not all user’s keyboards are capable of hitting more than a couple keys per key bracket, and could cause problems for your game. That said most modern systems can, so that may not be a deal breaker.

As scout mentioned, you’ll need to either to have the main character controller handle the BP that holds both actors though this can be messy depending, or you’ll need to send the inputs over to the other character as a sort of puppet. Functionally they accomplish the same thing.

Yes, I was able to create 3 players using a single character, but when I tried to separate the 3, the inputs of the other players were not working. When I focus on a single character, things get mixed up and when a problem arises, it becomes difficult to solve it.