How do i have two different gamemodes in one game?
In case you didn't understand the title picture this scenario: You have one player using a standard mouse and keyboard setup with (thinking about just using the standard 3PS template for this character/player). Then you have another player using a VR headset (I have the HTC VIVE Available for this project). I want the two players to be able to meet each other in game, so that one player uses the VR headset and the other player uses the keyboard+mouse but they can still meet each other and play on the same map. Kind of like the game Panoptic if you've heard of it. The game will also work online, as in the player with the keyboard+mouse will host (just a listen server atm) and the VR player will connect to the level hosted there (open myIpAdress).
If I'm to unclear in this post, please let me know. Fairly new to this so I dont know what information you require to be able to help me.
In advance, thank you.
The way the player controls its character shouldn't be set in the GameMode, but in the PlayerController. I'm not sure how to make different types of them, but it's more doable then making 2 GameMode. You can always create a new PlayerController of a desired type during game, but I'm not sure about destorying one. But at least it's a start!
answered Jan 05 '17 at 10:53 AM
I would lean to implementing the different schemes in the pawns. Have two different pawns much like the way spectators work. Keep anything generic in a base Pawn class, components or in the Player Controller.
answered Jan 07 '17 at 05:10 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here