• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

WE Map Editor for Newbies!

Level 20
Joined
Jan 6, 2008
Messages
2,627

Warcraft III World Editor Guide!



Index:

image2q.png

For this tutorial I’m using Warcraft III Editor Unlimited which can be downloaded on www.wc3campaigns.net/tools/weu/.
I’m using it because it can make your map a bit over 2x times bigger, and more items to use, but you won’t need it for this tutorial.

However, I do not recommend using this tool, since it is outdated and may crash your map.

1) Terrain

In this section I would learn you about the terrain editor and the Doodads that are making your map more interesting.
This is a picture of a member of The Hive Workshop called "MadseN", which is a very simple terrain:
image3f.png
Now, the grass, mushrooms, shrouds, stones, lamps, fences and trees you see are Doodads and Destructibles.
The area it’s placed on is the Terrain.

Let’s make a simple terrain, start off with a map at any size, and be creative. These are the tools you will need in the Terrain Editor:
Tools:
Terrain Palette:
image4b.png

Doodad Palette:
image5n.png

Let’s start making something, start off with some different terrains:
See what tiles fit together and place them how they would look in reality:
image6r.png

Then you would use the “Apply Height” tool for random terrain height too.
(Note: You might use some higher Size for this tool.)

Again, look what fits and how it should look, don't overdo it.
image7k.png

Now the terrain looks good, let’s put on some Doodads and Destructibles on it.
Start off with Environment in the Doodads, and Ashenvale, you would use almost all of these, just if it fits in, If it is flying, or sticks in the ground, press Ctrl + Page up/down to fix it.

Do not make your map overfilled with shrubs, watch where you place everything.
It may not look too 'forced', but natural.

image8c.png

Looks nice now, doesn’t it?
Lets insert some Trees/Destructibles, so it will look beter.
This is done very fast if you know where to place them, remember to use dead trees too, and you might want to increase the size.
image9h.png

Now a simple trigger, just to show you how to improve this terrain, this is just for the terrain, so it’s not much of a trigger.
Well, open you’re trigger editor and make a new trigger called "Fog", or place the actions in an exisiting trigger that runs at map init.
Right click – New Event and select "Map Initialization", then make something like this:

image10.png
This is how it looks in-game, sweet terrain and you’re done with the terrain, I didnt show you the cliffs and water because you wont need it so much, but if you're going to use it, you should use ”Ramps” on it to make it walkable or anything that fits.

image11w.png
image12h.png

2) Objects

Units:


This is the Object editor, which is needed in all maps; you can make buildings, units, heroes. You can use custom models to fit your map, they can be found on many wc3 sites (like this site).
You can also attach some models into a unit like a sword on a peasant.
I will show you how, start off by pressing Ctrl-C and Ctrl-V on ANY unit you like, and open up the Import Manager.

image13v.png

When you've got the model you want and the sword, shield, helm, armor or trousers, you must go to your Import manager and insert all the .mdx and .blp files inside it.

Rename the paths to the correct names (most of the time, .blp files have "Texture\" in front of the name, but this isn't always the case - check the readme, or the site where you got the model for the correct paths).

Like this:
image14u.png

Let’s insert it to our unit, open up your object editor again and find Art – Model File and select your model (not sword), if you choose not to use a model, just skip this part and go right to the trigger editor part.

image15x.png

Right click on the unit, press “Select in Tool Palette” and place it inside the terrain we made earlier.
It would appear as a box, just let it be like that and if you want it like the model, save, close and re-open the map and it’s done.
If your model is still a box, one of the paths isn't correct.

Now, let’s make the weapon attached.
Go to the Trigger menu and insert this action into the trigger you have made earlier for the fog.
If you didn't make that trigger, insert the actions or create a trigger that runs at map init.

image16y.png
image17x.png

Not an excellent picture, but I have used a two-handed axe.
But he is wielding it, now, let’s rename our unit.
image18h.png
Just search for it on your selected unit, it should be in the end. Then lets edit his abilities.
Find the "Abilities normal" in the Unit's page and place some random stuff the normal abilities are always on these unit’s and won’t need to be learned.
Just random, to start with.
image19e.png

Now find the stats HP and Mana and edit to what you would like.
Then we could edit what he a can build.
image20r.png

Let's see out progress:
image21.png

Now we can create a building...
In my example, the building will be like a tree hut.
Let’s make it a large building, that we can “Walk” inside with triggers (these triggers will be shown later on).
First we need to make a tree Doodad in the "Doodad page" in object editor and change the model to whatever you like, set the Maximum and Minimum scale to around 5 and put the Pathing textures to "NONE".
image22.png

Now go to the region palette and make a region around the tree, and another nearby the region you've just made, call the big one "Enter 1" and the small one "Leave 2"
image23b.png

We will need these regions later for the triggers.
You can also put regions around other units and buildings; change all the models on human buildings, like a whole new race.
Next up, the Trigger editor, but first we need to make our tree “Hut”.

Now it’s time to use Doodads->Pathing Blockers and Cliffs on the terrain. Take it all the way north on the map, or south in a deserted area and make a cliff like this:
image24.png

Then, create a large region inside this area called "Leave 1", but make it a bit from the end. So we can make that if a unit leaves that region it would get back, and you make a small in the middle called "Enter 2".
Now we've got a secret tree house. We can make it Only Available for our Troll here to get into.
Inside this we can put something inside, like a Fountain of Health and Mana inside and Doodads and then we are actually done with this topic.

image25a.png

3) Triggers

Okay, this is the most advanced thing in Warcraft Editor, so let’s just start with our Treehouse.
Note that these triggers are very simple, but this is a start.

Trigger
  • Enter
    • Events
      • Unit - A unit enters Enter 1
      • Unit - A unit enters Leave 1
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Slaydon tha Troll
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Enter 1 contains (Entering unit)) Equal to True
        • Then - Actions
          • Set TempLoc = (Center of Enter 2)
          • Unit - Move (Triggering Unit) instantly to TempLoc
          • Camera - Pan camera for (Owner of (Triggering unit)) to TempLoc over 0.00 seconds
          • Custom script: call RemoveLocation(udg_TempLoc)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Leave 1 contains (Entering unit)) Equal to True
        • Then - Actions
          • Set TempLoc = (Center of Leave 2)
          • Unit - Move (Triggering Unit) instantly to TempLoc
          • Camera - Pan camera for (Owner of (Triggering unit)) to TempLoc over 0.00 seconds
          • Custom script: call RemoveLocation(udg_TempLoc)
        • Else - Actions
Now, let's check this trigger:
There are multiple events, but it requires only 1 event for the trigger to start.
So if a unit enters Leave, but no one enters start, the trigger will still run.

Then there is 1 condition, this seems pretty self-eplanatory, but here is the explenation:
If the unit that has entered one of the regions in the events is of the type " Slaydon tha Troll", the trigger will run - if another unit enters the regions, nothing will happen.

Then the actions, this is more advanced:

We start with an if/then/else-function, this is to check in which region the unit is, so we can move him to the correct position.

Then we have the condition "(Enter 1 contains (Entering unit)) Equal to True" - this means that the entering unit is in the region "Enter 1"
Now we know where we need to send him.

We set the correct location in a variable called "TempLoc", This is to remove the leaks, always do this!.
This variable is of type "Point" and has no array.

We move the unit to the variable "TempLoc", which we have just set to the correct position, we do the same for the camera (since it won't move to the position on it's own).

After that, we remove the leak caused by the position with the custom script.
For more information about leaks, go to this tutorial: Things that Leak

Note that leaks cause lag and (in huge amounts) can cause Warcraft to crash and can split the server!
You always have to remove leaks to prevent this from happening.


Credits
  • Slaydon: Creater of the tutorial
  • Ap0calypse: changed the word-file to this text, uploaded the images, edited the trigger and fixed some typo's
  • MadseN: Made the terrain in the first screenshot.
Thank you for reading this guide, good luck and keep improving your skills.
 
Last edited:
Level 24
Joined
Feb 28, 2007
Messages
3,480
You need to attach the content of the word document into the tutorial itself, neither are you following the guidelines for formatting or anything like that.
I haven't had time to check the document itself as of now, but the above things are enough of a to-do list for you now.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Yes... it selects all the images, but when uploaded, click on the image you want (and after that, click on it again), then you can set that URL between image-tags (it should only display the single image, without anything else).

By the way: when uploading with ImageShack, I recommend this way (even when uploading a single photo), otherwise you will be on the ImageShack-site, instead of your image.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Cookies, its about how you do Terraining cool, and making a cool unit w/ attachments and some basics :)
nd ap0calypse, if i attach all the images, i got a file in Word that i can see all whats inside, could you import it, or anyone else? :s

I'll import it for you :wink:
Erm... can you do the BB-codes yourself, or do you also need help with that?

Hehh, you've made it a word 2007-file, you're lucky I've got Microsoft Office 2007, but keep in mind that there are a lot of people who do not have this software.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Really? I thought .docx-files couldn't be opened if you didn't have Word 2007, or a patch for the file.

Anyhow, the images are uploaded, check the hidden thing for the url's... (Png because of the alpha-layer and I didn't rename the URL because I'm lazy).
And I'm going to read the tutorial to point out some things, I'll tell you when I'm done.



Edit:
I wouldn't advice using WEU (I use it myself, but I never use any of it's functions and I should stop it).

"Now, the grass, mushrooms, shrouds, stones, lamp, fence and trees you see is Doodads and Destructible"
Should be "are doodads and destructibles"

"This is the tools"
Should be "These are the tools"

"if it flies or too much in the ground, simply Ctrl – Page up or Page Down to fix it"
Should be: "If it is flying, or sticks in the ground, press Ctrl + Page up/down to fix it."

"completely random"
I see this a lot, but it shouldn't be "completely random", place it where it looks good, or where it would naturally appear.

"i didnt show you the cliffs and water because you wont need it so much"
What about a game that is based on sea-wars or anything like that? You may not assume that the reader isn't going to use it a lot.

"Something cool you can make is custom models"
Should be: "You can use custom models" (standard models are actually also really good, except for the trees).

"put your model that’s not sword"
Should be: "Put the unit model in the Import-path"

You should add a little information about what to do if the model doesn't show.

You didn't remove the leaks!
A major mistake when teaching newbs how to xcreate triggers like that!



Overall:
This tutorial needs some more time, explain everything a little further (of course, this is for newbs, but what if something doesn't work? Explain what they have to do then).
Watch your language, don't use words like "gonna", but use "going to", fix the grammar mistakes I've pointed out (there are more, though).

And fix the leaks! Seriously :p
 
Last edited:
Top