How to have more than 4 players local

Has anybody successfully been able to get more than 4 player local multiplayer to work?
I have been creating C++ classes that derive from GameInstance, I have been doing the same with GameViewportClient as well, but to no avail.
It seems I can set the MaxSplitscreenPlayers, but no matter what I do, I cannot get more than 4 xbox one controllers to do anything in game. They are all connected, tested, working on the PC and other games too.
I have set my GameInstance and GameViewportClient as the engine defaults.

I am rather baffled, and I feel like it’s something that should be simple, that I am just not able to work out.
I have tried creating callable functions that set the MaxSplitscreenPlayers variable, I have also tried to make a function that calls upon my custom GameViewportClient, only to realize that it isn’t returning any value…which doesn’t help as it makes me think I’m not really changing the 4 player cap at all.

I have tried to create a C++ project rather than Blueprint project, it made no difference.

My project is a blueprint project, it uses a mixture between a shared camera, or splitscreen, and I have just added C++ classes to it.
Has anybody been successful in making a more than 4 player local game? If so, how?

Any help would be greatly appreciated.

I have been using the following as resources to solve the issue, but the solutions don’t work.
https://forums.unrealengine.com/community/community-content-tools-and-tutorials/104661-split-screen-with-over-4-players

AND

1 Like

I’m going to answer my own question here by saying that by default, XInput has a hard limit of 4 physical gamepads.
You can have keyboards alongside 4 gamepads if you can implement it, but that’s not good for local party games.

The only way to have more than 4 players, is to implement DirectInput, or to download a plugin that does this for you.

Don’t waste any time trying to get more than 4 controllers working with anything other than DirectInput, it will not work.
There are reports from other games out there that you can “daisy chain” controllers (not sure what they mean) or use 2 wireless receivers with 4 controllers each, but this is an unfeasible and unrealistic expectation of gamers who are wanting to party.

This is a link to helpful DirectInput information:
https://msdn.microsoft.com/en-us/library/windows/desktop/ee418273(v=vs.85).aspx

And a quick google search will show various plugins that enable directInput.

It is also worth noting, that apparently directInput and XInput can be implemented side-by-side so that you can still have XInput controller functionality on controllers that use XInput, while also being able to use DirectInput controllers at the same time for extra players, just with limited functionality on those controllers.

1 Like