Results 1 to 11 of 11
  1. #1

    Default 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. #2
    MSgt. Shooter Person
    Join Date
    Feb 2008
    Location
    Pittsburgh, Pennsylvania
    Posts
    250
    Gamer IDs

    Gamertag: IrishKilter

    Default

    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.

  3. #3
    MSgt. Shooter Person
    Join Date
    Dec 2009
    Posts
    220

    Default

    Did you compile your scripts?

  4. #4
    Veteran

    Join Date
    Dec 2002
    Location
    A world of possibilities
    Posts
    5,818

    Default

    You bumped a 2 year old thread just to rip on him? Classy...
    Learn how to make games in Kismet or read about my projects here!
    I run the UnrealDB. Find answers. Feature projects. Get connected.
    About Me: (VoxHouse Studio Website)
    Join us on #udkc irc.gamesurge.net or click here: http://clodel-studios.com/UDKC to chat live with others in the UDK community.

  5. #5
    Boomshot
    Join Date
    May 2011
    Location
    Chicago
    Posts
    2,065

    Default

    Quote 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.

  6. #6
    Prisoner 849
    Join Date
    Nov 2010
    Location
    Loch Ness Scotland
    Posts
    955

    Default

    Quote Originally Posted by Akrucious View Post
    , you learn how to not be an illiterate

    Where did you learn your grammar, China ?

  7. #7
    Prisoner 849
    Join Date
    Nov 2010
    Location
    Loch Ness Scotland
    Posts
    955

    Default

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

  8. #8

    Default

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

  9. #9
    MSgt. Shooter Person
    Join Date
    Jan 2010
    Location
    In Canada with a half-decent laptop that has SM4 support.
    Posts
    170
    Gamer IDs

    Gamertag: PSN: StingReay1

    Default

    Quote 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...

  10. #10
    MSgt. Shooter Person
    Join Date
    Aug 2012
    Location
    SI, NY
    Posts
    151
    Gamer IDs

    Gamertag: anointedknight PSN ID: captgrim21

    Default

    I like DONUTS and Muffins Too!!!! XD
    ~NOX~

  11. #11

    Default

    Hey is this fourum about making a survival game type


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.