- Home /
Local Multiplayer, Player Sign In c#
Hello there! I'm having an issue with a project I'm currently building for university. I need to create a local multiplayer sign in system, much like the Call of Duty splitscreen Press 'X' to join scene or anything like that, I'm been searching for days and I have found a plugin that would help but id rather not pay for it... (plugin is ReWired). Anyways I'm really looking for a tutorial or basic code that could help me because I simply don't know the code, I know there is Input.GetJoyStickNames() but don't know how to use that or if that is even needed. I also know that it has to be something like 'when a player presses X to join then the controller number will link to the player'. I'm using 4 players as well.
Thanks for any help, is much appreciated! P.s, the project is due in on the 30th, next Thursday...
Answer by Kossuranta · Mar 24, 2017 at 08:08 AM
Edit > Project Settings > Input Then you should map controls for Joysticks 1-4 seperately. You can duplicate entries by right clicking one and selecting Duplicate Array Element, so you don't need to manually do all 4 separately.
And apparently you also have to map buttons like this "joystick [joystick #] button [button #]" in positive button box.
Your answer
Follow this Question
Related Questions
Move forward relative to a specific camera when two cameras are present 1 Answer
Local Multiplayer 2 Person 1 Answer
Setting up Local Multiplayer Players 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers