Guys, I got stuck on this seemingly obvious stuff that already killed several hours of my nerves.
I have a custom gametype and it always ran well in Editor window, but it switches to first person when I try to "start this level on PC" or cook the test map.
Seems easy to fix, right? Well..What I did so far:
+Custom gametype, pawns and controllers are referenced correctly in respective .uc files
+World PIE in Editor has correct custom gametype
+Map has name with prefix: NEB-Tests
+DefaultGame.ini was modified:
DefaultGame=NEB.NEBGame
DefaultServerGame=NEB.NEBGame
PlayerControllerClassName=NEB.NEBPlayerController
DefaultGameType="NEB.NEBGame";
+DefaultMapPrefixes=(Prefix="NEB",bUsesCommonPacka ge=FALSE,GameType="NEB.NEBGame")
+DefaultGameUDK.ini was modified as well on same lines with exception of default map prefix line.
+other INI files were deleted so that editor successfully rewrote them.
+All these steps were repeated several times in case I made a mechanical mistake.
And yet it still switches to First Person! Why?
Did I miss something obvious not covered in Hourence's/elsewhere?
Please, any new ideas welcome at this point.
I have a custom gametype and it always ran well in Editor window, but it switches to first person when I try to "start this level on PC" or cook the test map.
Seems easy to fix, right? Well..What I did so far:
+Custom gametype, pawns and controllers are referenced correctly in respective .uc files
+World PIE in Editor has correct custom gametype
+Map has name with prefix: NEB-Tests
+DefaultGame.ini was modified:
DefaultGame=NEB.NEBGame
DefaultServerGame=NEB.NEBGame
PlayerControllerClassName=NEB.NEBPlayerController
DefaultGameType="NEB.NEBGame";
+DefaultMapPrefixes=(Prefix="NEB",bUsesCommonPacka ge=FALSE,GameType="NEB.NEBGame")
+DefaultGameUDK.ini was modified as well on same lines with exception of default map prefix line.
+other INI files were deleted so that editor successfully rewrote them.
+All these steps were repeated several times in case I made a mechanical mistake.
And yet it still switches to First Person! Why?
Did I miss something obvious not covered in Hourence's/elsewhere?
Please, any new ideas welcome at this point.
Comment