Set up a dedicated Unreal Tournament server under Ubuntu. Review all instructions on this page before you begin. Commands issued at the command prompt in this section are done so as superuser or root unless otherwise specified.
Make a game
1. Required Setup
Networking Overview. Client-Server Model. Multiplayer Programming Quick Start. Launching and Testing Your Dedicated Server. The server-client model used by Unreal Engine represents network multiplayer games with one server acting as the host of the game, and players joining that game as clients. The true game state is moderated by the server, while each player controls their pawns remotely with an autonomous proxy.
How to set up and package a dedicated server for your project.
To build a dedicated server in Unreal, you will need to build the Unreal Engine from source. Documentation about this can be found here:. If above gave an error about. We are going to use the default Third Person example game. It already has built-in multiplayer working. Run UE4 from Visual Studio that you built in the previous section. You should be able to run the game with a dedicated with this setting:. The dedicated will spawn a character also.
This document covers the bare basics on how to get your Unreal Engine 4 game project able to build both Windows and Linux dedicated server builds, using just a Windows machine for compiling. For 4. X or older, you need Visual Studio Community Edition Note: The word Project in any referenced file name or code will refer to your project's name. For example, my project for this tutorial is named GenShooter , so in my case Project. ProjectTarget in my case would be GenShooterTarget. Now your project supports building for dedicated servers, for all platforms, including Linux. Whether Linux will compile is dependant on if your Linux x86 Cross-Compile Toolchain is setup correctly. If you have packaged your regular game builds, you'll see them listed here as WindowsNoEditor and LinuxNoEditor as well.