Converting the Project into a C++ Project
Why convert the project into a C++ project?
To set up a dedicated server, you need to add a server module to the project. You cannot add a server module unless your project has a source folder. To initiate the source folder, you must convert the project into a C++ project.
Â
Â
Â
Â
Â
Â
Follow the steps to convert the project to a C++ project:
Â
Step 1. Navigate to Tools > New C++ Class
Figure 1. New C++ Class
Â
Once the C++ class is added, close the Unreal Editor.
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Step 2. Choose Actor and click Next button.
Â
Figure 2. Select Actor
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Step 3. Press Create Class
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Step 4. Right-click the .uproject file of your Unreal Engine project and select Generate Visual Studio project files.
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Step 5. Double-click the .sln file to open the project in Visual Studio.
Â
Â
Â
Â
Â
Â
Â
Â
Â
Step 6. Select the project inside the Games folder (Figure 4), choose Development Editor as the configuration (Figure 5), and then build the project by pressing Ctrl + B.
Â
Â
Â
Â
Â
Â
Close the project once the build is complete.
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Ask questions and help your peers Community Forum
Need help? Contact Support
Â
Facebook | GitHub | LinkedIn | YouTube
Â
Â