1 / 34

Level Streaming

Level Streaming. Sai -Keung Wong Chiao Tung University, Taiwan, R.O.C. Reference: Mastering Unreal Technology (MUT). Contents. Level streaming. Game Levels. Load all the levels at the beginning of the game ? Resources ? Scene computation ?. Level Steaming: Concept. New levels.

Download Presentation

Level Streaming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Level Streaming Sai-Keung Wong Chiao Tung University, Taiwan, R.O.C. Reference: Mastering Unreal Technology (MUT)

  2. Contents • Level streaming

  3. Game Levels • Load all the levels at the beginning of the game ? • Resources ? • Scene computation ?

  4. Level Steaming: Concept

  5. New levels

  6. New levels • One persistent level • 2 kismet levels • 2 always loaded • 2 distance

  7. Levels • Stream kismet 01 persistent level

  8. All levels

  9. Level arrangement Distance 06 Distance 06 Always 03 Kismet 02 Persistent Kismet 02 Always 04 Kismet 01 Kismet 01 Always 03 Distance 05 Always 04 Distance 05

  10. Level control • In level manager, right click on a level

  11. Level control • In level manager, right click on a level

  12. World Info: Streaming Levels

  13. Level: Distance • Max Distance • If the player distance is <= Max Distance, load the level • Distance = distance(player position, origin)

  14. Level arrangement Distance 06 Distance 06 Always 03 Kismet 02 Persistent Kismet 02 Always 04 Kismet 01 Kismet 01 Always 03 Position (-1310, 22, 140) Distance 05 Always 04 Distance 05

  15. Level: Distance • Change origin and max distance. • Use a reference object to obtain the origin

  16. Level: Distance • Save and test Walk further…. The level disappears. Solve the problem!

  17. Level Distance If distance (player, origin), load the invisible level. Level invisible /not loaded Level visible origin

  18. Level: Distance • Origin • Offset • Should be visible? • Locked? • Is fully static? • Editor streaming • Object name

  19. Level: Kismet • World Info

  20. Method One: Using a trigger to load the levelLevel : Kismet • Add a touch trigger to load the level • Add action “Stream levels” • Set level name: the level should be loaded • E.g. stream_kismet_01 • Add “commit map change”

  21. Action->level->Stream Levels

  22. Method One: Using a trigger to load the levelLevel : Kismet • Save and test. • Touch the “touch trigger” • Level not loaded!!!

  23. Method One: Using trigger to load the levelLevel : Kismet • To solve the problem, copy the level to: • C:\UDK\UDK-2010-02\UTGame\Content\Maps • It is the directory of the UDK maps. If you install it to a different path, find it out. • Copy all the levels to the folder:

  24. Unreal Frontend

  25. Method One: Using trigger to load the levelLevel : Kismet • Use UnrealFrontEnd to launch the persistent level. • Still don’t work!!!! • Remember, what we need is to place a “player start” at the persistent level. Save and test.

  26. Touch the trigger. • Stream_kismet_01 loaded and visible! After touching the trigger Before touching the trigger

  27. Streaming VolumeSet Streaming level : Kismet level • Add a streaming volume

  28. Streaming VolumeSet Streaming level : Kismet level • In level manager

  29. Level: Always loaded • World Info

More Related