M0lD Posted February 18, 2018 Share Posted February 18, 2018 If anyone here have used Source Engine or seen this asset from Unity, Map chunk Streaming sounds very cool. And im sure you can make this with c++ or lua in the current Leadwerks(4.5)... But haveing it as native support and selling point would be neet... As im intrested in makeing an semi open world game... It works by exporting parts of the map into and chunk, and load it as the player is inside, aswell as the connected ones or more... I know that you can load maps onto other maps. but its currently not so useable. Sectr in unit also has support for unloading objects inside an Room. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted February 18, 2018 Share Posted February 18, 2018 I was working on randomly generated dungeon game for this month's tournament so this would have been nice. You can load in and position your own rooms and generate a navmesh for the world after but I came across an unresolved issue with the navmesh generation acting weird. Quote Link to comment Share on other sites More sharing options...
M0lD Posted February 18, 2018 Author Share Posted February 18, 2018 oh, im makeing an space "dungeon like rooms" but premade... and then stream it. but unity feels to open and unspesific as an engine. Testing this idea in Leadwerks and Source Engine i saw the both was suffering from big maps (170 Rooms+). but the addon for unity was running very nicely. Quote Link to comment Share on other sites More sharing options...
Rick Posted February 19, 2018 Share Posted February 19, 2018 Leadwerks doesn't really allow "true" file streaming of maps. You'd have to mock this behavior. Main key would be to preload all assets once at the start otherwise an asset loaded for the first time will cause a delay but an already loaded asset "loaded" again will be almost instant since an instance is created vs going back to disk again. However loading map files will still cause a delay because of the amount of assets loaded in 1 iteration. You'd probably have to make your own map file and load the entities a few at a time per iteration to give a smooth loading experience that seems like it's multithreaded. Quote Link to comment Share on other sites More sharing options...
Josh Posted February 19, 2018 Share Posted February 19, 2018 Version 5 will be more friendly to threaded lbackground loading. 2 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
M0lD Posted February 20, 2018 Author Share Posted February 20, 2018 so its somewhat posible in Leadwerks 5? Quote Link to comment Share on other sites More sharing options...
Josh Posted February 22, 2018 Share Posted February 22, 2018 I don't plan on building this capability in because it cannot possibly support all the features of our maps or the engines, but if you are willing to disable some functionality I think it will be possible to write a plugin or some code that does this. For example, it would not be possible to stream in a level where a button on one side of the world operates a door on the other side of the world because the other side would not be loaded yet. But if your game does not need something like that then I think this will work. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.