Preparing to cook in UDK

in DefaultGame.ini edit these line with <MyGame> to <YourGameName>

[Engine.GameInfo]
DefaultGame=MyGame.MyGame
DefaultServerGame=MyGame.MyGame
PlayerControllerClassName=MyGame.MyPlayerController
GameDifficulty=+1.0
MaxPlayers=1
DefaultGameType=“MyGame.MyGame”;

 

/////////////////////////////

and also this bit snarfed from UDK forum, from a post by SpaceMonkey:
I used my own 3 letter prefix (IGL) and of course my own game name: 
MyGame and gametype -also MyGame 

/////////////////////////////

The whole missing part was on UDKGameConfigDefaultGame.ini

So, to solve the problem, and force UDK to load my correct classes, I did the following.

First of all, I decided to use PLA as a prefix for my gametype (as I’m developing a PLAtformer game – pretty obvious ). So, in the section [Engine.GameInfo] I’ve added the following line:

+DefaultMapPrefixes=(Prefix=“PLA”,bUsesCommonPacka ge=FALSE,GameType=“Platformer.PlatformerGameInfo”)

… in a sense that Platformer.PlatformerGameInfo is my custom games class, which extends, of course, from UTGame. (on my PlatformerGameInfo.uc, I’ve also inserted MapPrefixes(0)=“PLA” on my DefaultProperties. Obviously, in my custom game class, I’ve also declared my PlayerControllerClass, BotClass and HUDType, as it was necessary for my case scenario.

Besides that, I had to add my Gamemode and Map on DefaultGame.ini… So I’ve added them like this:

Right bellow:

;///////////////
; UT3 Game Modes
;///////////////

I’ve added:

[Platformer UTUIDataProvider_GameModeInfo]
GameMode=Platformer.PlatformerGameInfo
GameSettingsClass=UTgameSettingsDM
GameSearchClass=UTGameSearchDM
PreviewImageMarkup=UI_FrontEnd_Art.GameTypes.___De athmatch
DefaultMap=PLA-MetroidFeelings_01
Prefixes=PLA
OptionSet=PLA
IconImage=UI_HUD.HUD.UI_HUD_BaseD
IconU=442
IconV=76
IconUL=129
IconVL=104

And right below:
;///////////////
; UT3 Maps
;///////////////

I’ve added:
[PLA-MetroidFeelings_01 UTUIDataProvider_MapInfo]
MapName=PLA-MetroidFeelings_01
PreviewImageMarkup=UI_FrontEnd_Art.MapPics.___Map-Pic-DM-Deck
Description=<Strings:UTGAMEUI.CampaignBriefing.Bri efDesc139>