• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Question]How to Preload a Map???

Status
Not open for further replies.
Level 13
Joined
Sep 13, 2010
Messages
550
Preload functions are for to Pre Load eg Sound files or Models so game will have it in memory for use. If you not use preload then it have to load it when you want to use. For a music eg 10 MB it is recommended to preload it on map ini because when you use it then you will expect a big lagg before it starts the sound. The source your lagg I think too much units/doodads/HD objects/Too much periodic functions/endless Loops... or your computer is not uptodate like mine :p :D
 
Level 13
Joined
Sep 13, 2010
Messages
550
It helps if you have soo much sounds and models etc.
  • Untitled Trigger 002
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Game - Preload ENTERTHEPATH eg. units\human\HeroPaladin\HeroPaladin.mdx
      • Game - Preload Imported\SEffects\Angel.mdx
      • Game - Preload MySounds\MapTheme.mp3
      • Game - Preload War3mapImported\otherfiles.etc
Basically it is. However nowdays preloaders used for a bug in warcraft to save data or hack computers :S Searching for tutorial... Not found
My little poor map is filled with hiveworkshop triggers :D
 
Level 13
Joined
Sep 13, 2010
Messages
550
If you really use files not imported to map then check for the path of the file.( Also you can see two radiobuttons "Imported" and "Value". Select "Value" and paste here the path ) If it is inside WCIII folder then no problem( C:\Program Files\Warcraft III\MyMapContent\Deathknight.mdx ) just
  • Game - Preload MyMapContent\Deathknight.mdx
so the file will be loaded ingame and not need to load it later.

Another when it is not in the WCIII Folder( C:\Documents and Settings\User\MyMapContent\DeathKnight.mdx ) then write in the full path.
  • Game - Preload C:\Documents and Settings\User\MyMapContent\DeathKnight.mdx
Also if you use local files then just copy the path you entered as the unit and paste it in the preload function.
There is no easier or faster way to load data.
 
Status
Not open for further replies.
Top