• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Preloading Questions

Status
Not open for further replies.
Level 13
Joined
May 11, 2008
Messages
1,198
a hero is built normally. it is selected from a list in a tavern, or an altar.
the hero has custom spells? the spells should be preloaded?
which spells must be preloaded? the dummy unit spells? the base hero spells? both types?
what about a hero that is placed on map on the terrain. you get the hero by selecting him.
now doesn't preloading change? if we preload base hero spells will we not be preloading them twice, thus increasing loading time?

but also, each hero placed on map on the terrain can potentially add to loading time, correct? if in case of we want to only load after heroes are selected, which saves on loading time, but makes for an irritating lag pause. in that case, it is simpler if we don't want irritating lag pause to keep heroes on the terrain on the map.

but the main question is that should we not preload via trigger those hero spells because placing the hero should load the spells, or doesn't it? the hero has not learned the abilities yet, so i'm thinking that the abilities haven't been preloaded. i'm just not sure if i'm slowing down the game by double preloading.

all this might not seem such a big deal to some people but i guess i'm looking for ways to cut down on the loading time for my map for testing. but i guess a faster computer would be an easier solution.
 
Level 15
Joined
Oct 16, 2010
Messages
942
which spells must be preloaded? the dummy unit spells? the base hero spells? both types?

You should preload any spells that you add/remove via triggers.

but the main question is that should we not preload via trigger those hero spells because placing the hero should load the spells, or doesn't it? the hero has not learned the abilities yet, so i'm thinking that the abilities haven't been preloaded.

The abilities are loaded before the hero learns them.

__________________________________________

On a personal note, I have never been bothered by long load times while I am bothered by in-game lag.

GL ^-^
 
Status
Not open for further replies.
Top