Results 1 to 4 of 4
  1. #1

    Default What is the best method to changing levels?

    I always assumed using the "Open Mylevel" console command would be just fine for changing levels, but as my game is getting more and more complex, changing levels are getting more and more issues.

    Post-process are carried over (despite setting it to not do it in the world properties), various events and triggers of mine that will only trigger once, won't trigger if the same level is played twice using this method so on and so forth.

    So it would seem like the the "Open Mylevel" console command does not clean up and ready up for a fresh start, is there a better method?
    I'm making a game!

    http://www.desura.com/games/modulated
    Click the link above to read more!

  2. #2
    Deathless
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    2,293

    Default

    maybe by loading the same level again, the game realizes it could re-use some of the stuff instead of unloading it only to have to load it all again
    what if you load an empty level and after that load the same first level again? maybe that will really clear everything up

    not that I know of any other solution

  3. #3
    God King
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    4,132

    Default

    There is also the "Start" command that you can use instead of "Open"
    Open appends parameters to the current level while Start is supposed to start "clean". Not sure if this applies to your PostProcess stuff as well, but it's worth a shot.
    Our Loop, which art in source code, hallowed be thy keyword.
    Thy condition come, thy instruction be done, in RAM as it is in cache.
    Increment us this day our daily counter,
    and forgive us our typos, as we also have forgiven our compilers.
    And lead us not to the nullpointer but deliver us from bugs.
    For thine is the API, the GUI, and the CLI while(true).
    Semicolon;
    Please don't send me questions about how to do something in the UDK via PM. That is better discussed in the forums and we only have limited PM storage.

  4. #4

    Default

    I see, I haven't gotten to test it thoroughly yet. I can't say I'm noticing much difference yet, but I'll do some further testing.

    Cheers for the suggestion!

    Of course, I am looking for any way to change my levels and not just console commands, if there's any other methods that cleans up further that would be great, I wouldn't mind longer loading times.
    Last edited by Graylord; 05-08-2012 at 05:17 PM.
    I'm making a game!

    http://www.desura.com/games/modulated
    Click the link above to read more!


 

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.