Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have set up all the config files to my game classes and am able to launch the game to test everything.

Although when I package the game, it still runs the UT deathmatch game?

What other lines in the config files should be changed to make it default to my game and default map once published/packaged?

share|improve this question
    
It might help to show which configuration files you have already edited, and to what values. –  Josh Petrie Apr 5 '11 at 15:18
add comment

1 Answer

This is documented here on the UDN:

http://udn.epicgames.com/Three/DevelopmentKitProgramming.html#Configuring,%20Compiling%20and%20Testing

You can also change the default game type to use when none is specified in UDKGame.ini in the [Engine.GameInfo] section. Change DefaultGame and DefaultServerGame to =MyMod.SuperFunGame. Make sure your gametype implements SetGameType() so it can prevent the gametype from being overridden.

I should mention there's a bit more info here:

http://udn.epicgames.com/Three/DevelopmentKitDeployment.html

To propagate this change or any other ini change into your packaged mod, you'll need to also modify the defaults in DefaultGame.ini.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.