Howto build UT gamemode to distribute to map authors?

I have a C++ game mode plugin for Unreal Tournament. I can compile it and test it on my pc, but how do I package it to allow others to use it? No matter what build type I use (Development, Test, etc.) the Editor always states that it must recompile my game mode dll file and fails at it. Even though I can compile it just fine in Visual Studio.

Hey Snake.Pliskin,

Thank you for taking the time to report this issue, and we appreciate your patience while awaiting a response. In order to assist you in an effective manner and to increase our support within this section of the AnswerHub, we would like to see if you are still experiencing the issue you are reporting in engine versions 4.8.3 and/or 4.9.2?

To that end, we do have some helpful documentation on Plugins that you might find insightful in regards to your specific issue.

Plugins UE4 Documentation

Let me know if you have questions.

Thank you,

I have figured how to do this. Here is a few tips not covered in the official guide that I think other people may find very helpful. This works on 4.7, 4.8 and 4.9 of UnrealTournament builds of UE. I also imagine that the following also does apply to other games using UE.

There is no cooking of the plugin required. Cooking is only done from the map author.

First is make sure the plugin is compiled, to the EXACT build version for the UT Editor you are using.

The cooker seems to want the map and all content assets used in the map and the plugin, to be in a subfolder of the

<Editor install location>\UnrealTournament\Content\RestrictedAssets folder. 

The cooker will not complete if any of the maps assets, or the map itself is not in this area.
If the plugin has required uasset files, you must force them to be included in the cooking process. The is just for demonstration, replace it with the name of your folder.

Setup map cooking with a custom C++ game mode plugin for UT

1) edit the Project Settings (Toolbar->Edit->Project Settings)

2) Select the Project - Packaging section

3) Add a new element to the “Additional Asset Directories to Cook”
list and browse to/type in the following path

RestrictedAssets/<YourFolder>

4) Add a new element to the “Additional Non-Asset Directories to Cook”
list and browse to/type in the following path

RestrictedAssets/<YourFolder>

5) Now you can cook the map