[Question] How to apply GameInfo Blueprint to my game?

Hi!

I create project from “Blank” template.
Then I create GameInfo Blueprint, and now I need to apply it to my project.

How I can do that? In UDK we simply set DefaultGame class and it works, but here I can’t find anything similar.

Thank you!

In the toolbar select World Settings (WorldInfo in UDK)

Then from Details Tab you can select your GameType:

Hi Satheesh!

Thank you for your reply!

I have another question - can I specify map prefix for some game type?

I think yes. I havent tried this yet but feel free to do so.

In your Project folder go to Config folder and open DefaultGame.ini file. In there add the below lines;

[Engine.GameInfo]
+GameInfoClassAliases=(ShortName="PREFIXHERE",GameClassName="GAMEPROJECTNAME.YOURGAMEMODE")

As i said i havent tried this myself. :slight_smile:

Example:

[Engine.GameInfo]
    +GameInfoClassAliases=(ShortName="TDM",GameClassName="MyGameProject.MyTeamDeathmatch")