x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

https://answers.unrealengine.com/questions/155763/maximum-number-of-local-players-on-one-pc-can-you-1.html

Product Version: UE 4.18
Tags:
more ▼

asked Apr 08 '18 at 01:13 PM in C++ Programming

avatar image

Otreum
244 18 27 38

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Apr 10 '18 at 01:17 AM

avatar image

Otreum
244 18 27 38

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question