Announcement

Collapse
No announcement yet.

UDK.exe and custom game type question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    UDK.exe and custom game type question

    hi everyone

    I write a game type by unrealscript.
    and, I excute UDK.exe.

    it's don't have any chang...

    I have read "the ball" tutorial. and when I excute it I still can't see any change...


    In Editor, I can change the world info and it can work...

    But, I don't know how can I excute game by UDK.exe and my game type can work...

    thanks.

    #2
    Make a shortcut to UDK.exe, right click it and hit properties. Go to Target and change the very end to something like so

    MapName?Game=SrcFolderName.GameInfoClass

    example

    D:\Games\UDK-2010-05\Binaries\UDK.exe N-FarmHouse?Game=Nocturne.SurvivalGame

    You can also setup Frontend and the ini files to do this by default!

    Go to your Config files and find "DefaultGame.ini" and "DefaultGameUDK.ini" to be honest, I'm not sure WHICH one is used primarily so I personally just changed both of them, but some one might be able to clarify which one is used, I believe it is DefaultGameUDK.ini as that's what is created later.

    Anyways; the top line in both of them you'll see


    [Engine.GameInfo]
    DefaultGame=UDKBase.UDKGame
    DefaultServerGame=UDKBase.UDKGame
    PlayerControllerClassName=UDKBase.UDKPlayerControl ler
    DefaultGameType="UDKBase.UDKGame";

    change it to reflect your game and there scripts. Example:

    [Engine.GameInfo]
    DefaultGame=Nocturne.SurvivalGame
    DefaultServerGame=Nocturne.SurvivalGame
    PlayerControllerClassName=Nocturne.NPlayerControll er

    DefaultGameType="Nocturne.SurvivalGame";

    (this last bit of line is only in DefaultGame.ini)

    you can also setup Frontend to load a specific map inside DefaultEngineUDK.ini at the top there is


    [URL]
    MapExt=udk
    Map=UTFrontEnd.udk
    LocalMap=UTFrontEnd.udk
    TransitionMap=EnvyEntry.udk
    EXEName=UTGame.exe
    DebugEXEName=DEBUG-UTGame.exe

    you can change the Map and LocaMap to your map name, and when you hit "Launch" it should load that map up automatically (should)

    [Engine.GameInfo]
    DefaultGame=UDKBase.UDKGame

    UDKBase = the folder of your Source code.

    UDKGame = the name of your Gameinfo class.


    And after you changed the information you need to delete the NON Default inis. So that next time you launch it rebuilds them. So find UDKGame.ini and delete it (make sure Default isn't infront of it) and then when you launch the game next, it'll look for "DefaultUDKGame.ini" and make "UDKGame.ini" using that. It's sort of a safety so you can make changes to the "UDKGame.ini", make sure it works. Then change it to your DEFAULT version which then will always be there, since sometimes changing an ini file can crash a lot of things. But in this case, it shouldn't harm anything.

    Comment


      #3
      Did you compile your scripts?

      Comment


        #4
        You bumped a 2 year old thread just to rip on him? Classy...

        Comment


          #5
          Originally posted by Henrik View Post
          You bumped a 2 year old thread just to rip on him? Classy...
          Seriously. "How dare you most likely use an English translator app to translate your legitimate question to English from your native language and not have perfect English grammar!"

          Sincerely, your neighborhood guy who dislikes clueless jerks on the Internet.

          Comment


            #6
            Originally posted by Akrucious
            , you learn how to not be an illiterate

            Where did you learn your grammar, China ?

            Comment


              #7
              Originally posted by Henrik View Post
              You bumped a 2 year old thread just to rip on him? Classy...
              ........................................

              Comment


                #8
                You have no future in game design or development. Go back to school and learn the basics of the English language fist.

                Comment


                  #9
                  Originally posted by Chibawawa View Post
                  You have no future in game design or development. Go back to school and learn the basics of the English language fist.
                  Meanwhile, a lot of people employed at Japanese studios don't speak a word of English...

                  Comment


                    #10
                    I like DONUTS and Muffins Too!!!! XD

                    Comment


                      #11
                      Hey is this fourum about making a survival game type

                      Comment

                      Working...
                      X