Bankler
08-09-2011, 09:13 AM
In my DefaultGame.ini I have:
+DefaultMapPrefixes=(Prefix="WPDM",bUsesCommonPackage=FALSE,GameType="Woodpecker.WPDeathmatch")
+DefaultMapPrefixes=(Prefix="WPBU",bUsesCommonPackage=FALSE,GameType="Woodpecker.WPGameBurglary")
When my gameclass (WPGame.uc, from which WPDeathmatch and WPGameBurglary.uc) derived from UTGame.uc, everything worked fine. But when I changed things so that WPGame.uc derives from UDKGame.uc instead, it stopped working. Strange enough, it always seems to use the WPDeathmatch gamemode now.
It loads the right map (with WPBU-prefix) but with the wrong game mode.
Any ideas?
+DefaultMapPrefixes=(Prefix="WPDM",bUsesCommonPackage=FALSE,GameType="Woodpecker.WPDeathmatch")
+DefaultMapPrefixes=(Prefix="WPBU",bUsesCommonPackage=FALSE,GameType="Woodpecker.WPGameBurglary")
When my gameclass (WPGame.uc, from which WPDeathmatch and WPGameBurglary.uc) derived from UTGame.uc, everything worked fine. But when I changed things so that WPGame.uc derives from UDKGame.uc instead, it stopped working. Strange enough, it always seems to use the WPDeathmatch gamemode now.
It loads the right map (with WPBU-prefix) but with the wrong game mode.
Any ideas?