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.
[12:51 am]
Ultraviolet -- RIVE
RIVE shouted: Beta 4 lyfe, ya kno
feels like a lower commitment. like if someone bitches about something, I can say it's in beta phase whatchu expect? :P
[2023-9-28. : 6:46 am]
RIVE -- Beta 4 lyfe, ya kno
[2023-9-28. : 5:26 am]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider I suppose that's one justification for pushing it to 1.00. I'm still messing with some novel concepts, I completely revamped the Shadowcraft hero in v0.18 and there's some kinks to work out with some of the other changes I made, but I suppose that doesn't mean I can't call the currently version 1.XX
indeed
[2023-9-28. : 1:13 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet prediction: It will. ;)
:massimo:
[2023-9-28. : 1:13 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet Oh, then your versioning is maybe a bit misleading. I didn't have much trust in a v0.2
I suppose that's one justification for pushing it to 1.00. I'm still messing with some novel concepts, I completely revamped the Shadowcraft hero in v0.18 and there's some kinks to work out with some of the other changes I made, but I suppose that doesn't mean I can't call the currently version 1.XX
[2023-9-28. : 1:12 am]
Ultraviolet -- NudeRaider
NudeRaider shouted: Ultraviolet :lol: did you really just commit another shout just to add a bracket? :D
Damn straight! :P
[2023-9-27. : 7:22 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: Imp UV3 is actually in the works with some major changes, but it's been slow going. I'd like to have a version of Imp UV for every tileset at one point.. hopefully it doesn't take until 2030 :P
prediction: It will. ;)
[2023-9-27. : 7:21 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider Oh definitely fully playable. I used the first map as the shell, so it was basically complete from the first release. I've made some tweaks and improvements here and there based on nuances between the maps, like UV2 has more air units so certain ground-focused heroes like Psycho and Shadowcraft have needed some buffing. Other improvements have been little bug fixes or ways of stopping cheese strategies (like the bosses now spawn in a random location instead of at their lair so players can't just camp them with nukes. UV2 is definitely harder despite only being 4 levels + boss fight instead of 5. I'd say it's definitely worth a go, there's some unique mechanics that make each of the levels have kind of their own interesting spin
Oh, then your versioning is maybe a bit misleading. I didn't have much trust in a v0.2
[2023-9-27. : 7:21 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: nukes).* lol
:lol: did you really just commit another shout just to add a bracket? :D
[2023-9-27. : 4:22 pm]
ubtrueblue -- hello
Please log in to shout.


Members Online: Roy