John Smith Posted December 17, 2017 Share Posted December 17, 2017 Hello there. When you e.g setCameraMatrix to somewhere like thousands of meters from your original distance, the game takes up to 2-5 seconds to load all the objects in your streamed in radius. So I was wondering whether it's possible to determine when that loading has been finished, or to somehow make it load faster? Oh and https://wiki.multitheftauto.com/wiki/IsElementWaitingForGroundToLoad doesn't work for this case, tried it anyway but as I expected it didn't work as it wasn't intended for that. Thanks for reading. Link to comment
Moderators IIYAMA Posted December 17, 2017 Moderators Share Posted December 17, 2017 That will probably happen when this doesn't get activated so much: https://wiki.multitheftauto.com/wiki/OnClientElementStreamIn Link to comment
koragg Posted December 17, 2017 Share Posted December 17, 2017 It's really irritating when i switch to spectating and objects around the target haven't loaded. Would love to make them load faster as well. 1 Link to comment
John Smith Posted December 17, 2017 Author Share Posted December 17, 2017 11 minutes ago, IIYAMA said: That will probably happen when this doesn't get activated so much: https://wiki.multitheftauto.com/wiki/OnClientElementStreamIn Hey, thanks but onClientElementStreamIn doesn't work on world objects, I've just tested it. Dunno what else there is to do, should I just make a feature request on bugtracker? Link to comment
Moderators IIYAMA Posted December 17, 2017 Moderators Share Posted December 17, 2017 Maybe you find something here: https://wiki.multitheftauto.com/wiki/DxGetStatus The textures are the last thing in the world to load. Link to comment
Tails Posted December 18, 2017 Share Posted December 18, 2017 There's nothing you can do. What you can do is add a small timer to when the player's screen will be visible (you can use fadeCamera) and freeze the player temporarily so they don't fall through the ground. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now