Setting up Unreal Engine

  1. Download the Epic Games Launcher for Windows.
  2. Run the Epic Games Launcher.
  3. Create an account.
  4. Inside the launcher, select Unreal Engine > Library > + > click the dropdown arrow and select 5.3.2.

image.png

Start the Backend

  1. Have all the codebase dependencies installed and set up according to the repo’s README.

  2. Make sure to adjust the udp_sender_host variable in the backend server’s code, just below the main guard, to the IP address of the computer running Unreal Engine.

  3. Start the backend server, e.g. the interactive mode:

    poetry run python demos/ue_server_interactive.py
    

Start the Frontend

  1. Download and unzip the Unreal Project from here.

  2. Load the project by opening the primal_demo.uproject file.

  3. Set the backend’s IP address:

    1. Open the Content Browser panel and there look for and open the BP/BP_LL_3P file.

    2. In the blueprint, in the Components panel (top-left) scroll down to the UDP_mogen_input component and double click it.

    3. This should open a Details panel on the right side.

    4. Here, modify the Send IP field under the UDP Connection Properties section.

      1. note that this Send IP should be the IP of your backend machine.
    5. Press the Compile and Save button in the top-left corner.

    6. Now you can go back to the primal_demo tab.

      unreal_ip_address.png

  4. In the LiveLink panel, start the LiveLink listener at port 2000.

    unreal_livelink.png

  5. Hit the green play button on the top toolbar.

  6. Finally, click inside the game window - otherwise the controls will not work.

Controls

image.png

image.png