Thomas Burke
Games Designer, Developer & Rapid Prototyping

Making a Racing Game Framework Part 5
Now we've got our simple spline track, we need to figure out how to get multiple players actually into the game.
There are several ways of doing this but the method we'll be using is a listen server. We also need to create some functionality to allow players to spawn into our game, and create something which allows them to be seen by the server (So the server can manipulate their attributes during gameplay)
The first thing we need to do is set up a listen server for our game. We'll be using a shortcut with a couple of alterations, We want to create a shortcut to the Unreal Editor (Right click in an empty space in windows explorer (or something simiar) and select "New > Shortcut" ("With whatever version of the engine we're using") and to our project ("Wherever you've stored it") Something similar to this
"The location of your unreal install \UE4\Unreal Engine\4.7\Engine\Binaries\Win64\UE4Editor.exe" "The location of your unreal project \Unreal Projects\NetworkedAdvVehicle\NetworkedAdvVehicle.uproject" AdvancedVehicleExamplemap?listen -game
After the 2nd " we need to type in the map we want to load up and then add ?listen (This sets it to become a listen server) and -game (This sets it to launch in the game window not the editor window)
Now the server is set up, we need to connect to it, we can do this by typing into the console (Press the tilde key)
We want to type Open followed by the IP we want to connect to, if this is a LAN game (Which it probably will be) To find our local IP's on windows machines we need to open up command prompt. We can either Press the windows key and type RUN this opens another window in which we type cmd or we could just search for cmd / command prompt in the search bar. Once Command Prompt is open
We're looking for the IPv4 address and this'll be what others type in to connect to the server For example if I was hosting you'd type "Open 192.168.0.2" We can however do this in blue prints through a UMG widget with nodes similar to these

