Eagle 3D Streaming

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Follow the steps to set up the multiplayer server:

Step 1. Navigate to Source folder

image-20241202-174248.png

Step 2. Create a new file and name it as YourProjectNameServer.Target.cs

If it already exists, skip this step.

Make sure to replace YourProjectName with the actual name of your project.

image-20241202-174356.png

Step 3. Open the YourProjectNameServer.Target.cs file in any text editor, add the following code, and save it

Make sure to replace YourProjectName with the actual name of your project.

// Fill out your copyright notice in the Description page of Project Settings.

using UnrealBuildTool;
using System.Collections.Generic;

public class YourProjectNameServerTarget : TargetRules
{
	public YourProjectNameServerTarget(TargetInfo Target) : base(Target)
	{
		Type = TargetType.Server;
		DefaultBuildSettings = BuildSettingsVersion.V2;

		ExtraModuleNames.AddRange( new string[] { "YourProjectName" } );
	}
}

image-20241202-174741.png

Don't forget to save the file from your editor after making the changes.

Step 4. Right-click the .uproject file of your Unreal Engine project and select Generate Visual Studio project files.

image-20241202-174830.png

Step 5. Double-click the .sln file to open the project in Visual Studio.

image-20241202-174932.png

Step 6. Set the configuration to Development Server and build the project by pressing Ctrl + B

image-20241202-175126.png

Step 7. Once the build is successful, switch the configuration to Development Editor and build the project by pressing Ctrl + B. Then press F5 to open the project automatically.

image-20241202-175217.png

image-20241129-045530.png

Step 8. Navigate to project setting

image-20241202-180307.png

Step 9. Select Maps and Modes

image-20241202-180547.png

Step 10. Configure Maps and Modes

  • Default Game Mode: Set as BP_ThirdPersonGameMode

  • Global Default Server Game Mode: Set as BP_ThirdPersonGameMode

  • Editor Startup Map: Set as ThirdPersonMap

  • Game Default Map: Set as ThirdPersonMap

  • Server Default Map: Set as ThirdPersonMap

image-20241202-181016.png


💬 Ask questions and help your peers Community Forum

📄 Need help? Contact Support

 

Facebook | GitHub | LinkedIn | YouTube

  • No labels