• 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.

Map Initilization

Status
Not open for further replies.
Level 11
Joined
Jul 28, 2007
Messages
920
Map init is time before games starts right ?
Is anywhere any post or guide what things can and what can't be used at Map Initilization.
Like can be units created , added abilities to them and removed, and what is best to use at map init and what not.
Thank you.
 
Level 5
Joined
Dec 18, 2007
Messages
205
basically everything that makes sense should be done at map init.
for example all variable declarations, doodads and units should be created at map init, so the map won't lag in-game when creating these units.

things that should not be done at amp init are timers, multiboards, leaderboards and special effects because they could not work properly.

but there are also exceptions, like adding and removing the fly ability trick in map intialization won't work when trying to make the unit fly i guess.
 
Level 18
Joined
Mar 7, 2005
Messages
824
yupp mainly bReathl3sS said all..

You should think yourself what fits the best.. like the variables.. most people place units on the map, and link them to some variables and remove them on map ini, so they can be used later in game.. and the players didn't even notice a thing.. there are a lot of things, that can be done.. but there are also stuff that is better to use not at beginning, but some seconds later, like 0,1 seconds or so.. but mainly you should use all important stuff at the beginning, maybe adding some info, please wait, the game starts in 10seconds, while it loads all stuff... it's normally the best way..

I don't believe that there's some rules or tutorials what shall be used or not.. you can decide it yourself, and you'll see what works well, what's better to use it later, and what doesn't work.. just experience with it
 
Level 11
Joined
Jul 28, 2007
Messages
920
Anyway wont lose lost of time experiencing what we did wrong, i know all of that, exept that fly change... didnt try that yet but now i know and it wont take me time to figure out what i did wrong. Another question is, if i create unit at start of the map and at map init, what would last longer, or is it the same ?, i mean, lets create 100 units, and will it laggs for 2 seconds or load for 2 seconds or results wont be the same, did i make myself clear on that ?

And i suppose that run trigger wont work at map init ?

And what about floating texts can they be created at map init ?
 
Status
Not open for further replies.
Top