Staredit Network > Forums > SC2 Assistance > Topic: Decreasing loading time
Decreasing loading time
Feb 11 2013, 12:33 am
By: payne  

Feb 11 2013, 12:33 am payne Post #1

:payne:

What are the methods to decrease the loading time of the maps we make?



None.

Feb 11 2013, 1:07 am Roy Post #2

An artist's depiction of an Extended Unit Death

Decrease the amount of content contained in the map. Imported resources and dependencies would increase the loading time.

Trimming the fat, basically.




Feb 11 2013, 6:49 am Ahli Post #3

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

During loading screen it should do the following:
- load terrain, smaller size should be faster
- load units/doodad models, less means less models to preload
- shares banks with players
- starts map init triggers (this is like the last 20% of the loading bar)
- if a player sees a model the first time at all, some data in the shader cache file is created which lags a bit... when that cache was created, it will always be loaded faster (starting the game the first time lags terribly because of that, you might even drop directly out of the game, I had that after I cleared that cache file)
- streams some things from the server for some reason
- loads data that you defined in preload trigger actions
- loads data from dependencies (just having them even if they don't seem to be used increases loading time)

To reduce it, you need to have less of that.

But a few things would only push the lags and delays into the map's runtime creating an unpleasant game flow.
So, I prefer longer loading screens instead because I can alt tab and browse the internet in the meantime. SC2 maximizes again shortly before it finishes loading.

Oh, and if someone is dropped out of the game or cancels the streaming, the others used to wait 45 seconds longer in loading screen. But I don't know if that was fixed or changed...




Feb 11 2013, 7:49 pm payne Post #4

:payne:

How can I import only a part of a dependency?
The map of a friend that I have worked on a bit has Left2Die Mod dependency in it, but he uses from it is a single little animation thingy. It is annoying because you also need to connect on B.net just to open the map because it has to get the information from the Mod.

Else, for me, SC2 Maximized only when the lobby turns into the loading screen. If I alt-tab from the loading screen, it doesn't maximize once it's done loading. :(



None.

Feb 11 2013, 9:46 pm Ahli Post #5

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from payne
How can I import only a part of a dependency?
Impossible.
You could try to extract the data that you use and put it into your map and delete the dependency, but that won't work in most cases.

Quote from payne
The map of a friend that I have worked on a bit has Left2Die Mod dependency in it, but he uses from it is a single little animation thingy. It is annoying because you also need to connect on B.net just to open the map because it has to get the information from the Mod.
Open the mod in the editor and save it locally in the mods folder. Then add a local link to that file in that mods folder.
Dependencies can have 2 links at the same time: one to battle.net and one to a file on your mods folder.




Feb 13 2013, 9:01 pm payne Post #6

:payne:

And would you have any idea as of why the same map published in NA takes more time to load than it does over EU? (Could localization affect the loading time?)



None.

Feb 13 2013, 9:26 pm Ahli Post #7

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from payne
And would you have any idea as of why the same map published in NA takes more time to load than it does over EU? (Could localization affect the loading time?)
Did you load it first on US, then changed server and then played it on EU to compare the times?

Normally it should be the same. :O If you loaded it once, it will always load faster unless you quit sc2, I assume.




Feb 13 2013, 11:32 pm payne Post #8

:payne:

Quote from Ahli
Did you load it first on US, then changed server and then played it on EU to compare the times?

Normally it should be the same. :O If you loaded it once, it will always load faster unless you quit sc2, I assume.
No, I've played the map thousands of times on NA, and hundreds on EU, and EU is consistently much faster (I'd say an average of 150% faster, but it can go all the way to 300%!).



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
Please log in to shout.


Members Online: Sylph-Of-Space, RIVE, Ultraviolet, Roy