Exide
I am amazingly focused right now!
- Reaction score
- 448
Exide’s
Welcome to Thehelper.net
Welcome to Thehelper.net
*Part I: Basics
-[goto="A1"]Pre Words[/goto]
-[goto="A2"]Thehelper.net[/goto]
-[goto="A3"]The World Editor[/goto]
-[goto="A4"]FAQ’s[/goto]
[anchor]A1[/anchor]Pre words
First of all, I want to tell you all that I come from Sweden, so my English might not be the best.
Now that we’ve got that sorted out, we can begin.
The idea of this tutorial is to welcome new members to Thehelper.net, and to answer some of the regular questions that new members usually have. My tutorial will show you how to use a few, simple commands regarding Thehelper.net and the Warcraft III World Editor. Later in the Tutorial, I will show how to make a few simpler triggers.
[anchor]A2[/anchor]Thehelper.net
Welcome to Thehelper.net!
As the name hints, this website offers help regarding Warcraft III and all that comes with it.
Thehelper.net is a forum in where you can ask questions to other members, who will do their very best to answer as accurately as possible.
If you want people to take you seriously and “help them help you”. There are a few rules to follow. There’s a closed thread about the rules which you will be asked to read before posting any threads. These rules are not difficult to follow at all, in fact they are mostly common sense.
Here’s a short list of the rules: (Note: this list is how I feel about the rules, the real thread can be read here)
*When starting a new thread, try to explain your problem as detailed as possible.
-Tell us what is wrong. What happens, and why you believe it’s wrong. Also include information about what you have done, trying to solve the problem.
*Try searching before asking, it might save you and other people a lot of time.
-Usually people before you has had the same problem. If you use the search function before starting a thread, you might save yourself a lot of time.
*Language and common sense.
-If your mother tongue isn’t English, you might want to state this in the beginning of the thread. Unless you feel your English is understandable enough. Also do try to write properly and not use “leet-language” such as “own, pwn, lol, noob, rofl, 1337” and writing shorts for words really don’t save you that much time, such as: “u” instead of “you”, “y” instead of “why”, “no” instead of “know”, “gd” instead of “good”, or whatever it might be. This causes confusion and you will be taken less seriously if writing this way.
*Use of “smilies”.
When using smilies (plural of smiley, otherwise known as “emoticon”), do NOT spam them in the thread. One or two is, usually, more than enough. Seeing 5 identical smilies next to each other isn’t going to help anyone understand what you’re saying.
*More common sense.
Be polite. Someone might not always understand you, but after all, they’re trying to help you. So do try to keep your calm (even if your map that you haven’t saved for four hours just crashed on you), and explain your problem as well as possible in a polite way. This will encourage people to help you. (One wouldn’t want to help a person who just called one a moron, right?)
The list got pretty long, but it should all be implicit anyway. Just make sure you read the real rules before posting any threads and do your best to follow them.
Let’s say you are writing your first post and you want to know what all the icons, etc, does.
Firstly, at the top of the box in which you write, you have the usual font settings (similar to Microsoft Word, and tons of other writing software). With which you can set the font of your post. Size, color, bolded or not, and so on.
Then you have the more useful icons, such as ‘importing an image’, ‘inserting links’, wrapping code tags around your text’, and more.
The code tags are probably the one icon you will use the most. The icon looks like this: # and the actual tags look like this: [noparse]
Code:
*Insert text here*
This will change how your post will look, and is very useful when pasting trigger codes into a post for “troubleshooting”.
It is all very simple, really. If you want to know what your post will look like, there’s a ‘Preview Post’ button at the bottom of the box in which you write.
[anchor]A3[/anchor]The World Editor
The World Editor (WE for shorts) is your powerful software that comes together with Warcraft III. It is this you use when creating maps for Warcraft III.
I will show you a few things about WE that you need to know for making maps.
This bar here holds all the useful tools that you need for creating a map. From the left:
Terrain Editor (F3), Trigger Editor (F4), Sound Editor (F5), Object Editor (F6), Campaign Editor (F7), AI Editor (F8), Object Manager (F11), Import Manager (F12) and ‘Test Map’ (Ctrl+F9).
Note: Your bar might not look exactly like this. This might depend on what version of Warcraft III that you have. Warcraft III: Reign of Chaos (RoC) - the original, does not have a few things that the expansion has, Warcraft III: The Frozen Throne (TFT).
TFT is easier and more powerful than RoC, when it comes to mapmaking.
This is your Tool Palette.
It is very useful, it contains a few palettes:
Terrain Palette, Doodad Palette, Unit Palette, Region Palette and Camera Palette.
The Terrain Palette will help you adjust your terrain. What texture you want to use, if you want water and what height you want, and more.
The Doodad Palette contains lots of Doodads, which are usually used for decorating your maps. But also for adding useful stuff such as trees and gates.
The Unit Palette contains all units and buildings in the game, even the custom made ones that you might create later on.
The Region Palette helps you draw regions which will be great things to use in your map. For example: When a hero enters “Ambush Region” make 3 bandits attack the hero.
The Camera Palette lets you create cameras and place them across your map. This is very useful if you want a short movie to occur. (Maybe when the unsuspecting hero enters “Ambush Region”, perhaps?)
Let us take a quick look inside a few of the most used tools that WE has. Press F6 on your keyboard to bring up the Object Editor.
Here, in the Object Editor, you will find every object you have in the map, and look at it’s stats. You will also find other useful stuff, such as spells and doodads. In case you want to create your own spell. Just browse through the tabs at the top of the window.
Mark a unit (or spell or whatever) to bring up it’s stats to the right. There you can easily modify it to fit your purposes.
Another useful tool is the Trigger Editor.
Press F4 on your keyboard to view the Trigger Editor.
At the top of the window you can see the normal hotkey-icons, leading to different tools (such as the Object Editor, etc). You will also notice a rather special icon inside the Trigger Editor, the Variable Editor. The icon looks like a yellow X (hotkey: Ctrl+b). Variables are very useful when creating advanced triggers.
To the left of the Trigger Editor window, you can see the name of your map, one folder and one trigger (by default), named ‘Initialization’ and ‘Melee Initialization’. These are the default triggers for all maps.
By right clicking on either the name of the map, the name of the folder or the name of the trigger you will bring up a small menu containing the following options:
*Cut
*Copy
*Paste
*Delete
*View in Object Manager
*New Category
*New Trigger
*New Trigger Comment
*Enable Trigger
*Initially On
*Category is Comment
These commands are rather simple to understand, and helps you creating a new trigger or folder (Category).
The folders will help you keeping your Trigger Editor clean, making it easier for you to find your triggers.
[anchor]A4[/anchor]FAQ’s
This short chapter will contain a few FAQ’s and their answers. I will attempt to answer these FAQ’s more detailed later on in the Tutorial.
The idea of having FAQ’s in this Tutorial is for the frequently asked trigger problems that new members seem to have, and other things that the Warcraft world contains.
*What does FAQ mean?
FAQ is shorts for ‘Frequently asked Question’
*What do WE, RoC, TFT, JASS and Dota mean?
I answered some of these questions earlier in the Tutorial, but in case you forgot:
WE are shorts for World Editor, which is the program you use when making maps for Warcraft III.
RoC means Reign of Chaos and refers to the original Warcraft III version.
TFT stands for The Frozen Throne and is the expansion version to Warcraft III: RoC.
JASS, a new word to be familiar with. JASS is the language that Warcraft III uses for …everything. It is the raw code for Warcraft III. I don’t know what it stands for but it doesn’t matter anyway.
Dota stands for Defense of the Ancients. Most of you have probably played Dota on Battle.net. It’s one of the most famous custom made maps for Warcraft III ever. Most people refer to Dota Allstars when they say Dota. Allstars is actually the TFT-version of Dota (larger, funnier, better, in my opinion.) The “real” Dota was made for RoC.
*What is reputation in Thehelper.net?
Reputation is a funny thing, actually. It shows how much reputation (rep) each member of Thehelper.net has got, to the right of his/her avatar and name. Just below the Post counter. It shows as a small green (or red) square. Green means positive (+) and red means negative (-). It really doesn’t do anything, but it gives other members a clue of how skilled/helpful you are. (If you have a high reputation, they figure you must’ve helped a lot of people on Thehelper.net, and the other way around.)
It’s a sort of competition.
If someone helps you with a problem that you have, be sure to add to his/her rep by clicking on the scale icon above the Post counter and the person’s rep.
*Trigger FAQ’s
I will put a few common questions that new members have here, and I will attempt to answer them more detailed in later posts. (Click on the arrows below to go directly to the answer.)
-How do I fix so that when my Hero acquires two items, they become one, powerful item? [goto="A5"]-->[/goto]
-How do I create a Hero selecting sequence at the start of my map? [goto="A6"]-->[/goto]
-How do I do the above, but with dialogs instead of units? [goto="A7"]-->[/goto]
-How do I make everyone/someone see the entire map? [goto="A8"]-->[/goto]
-What are Memory leaks? [goto="A9"]-->[/goto]
-How can I teleport units from one point to another?
[anchor]A5[/anchor]How do I fix so that when my Hero acquires two items, they become one, powerful item?
To solve this we need to use triggers.
Let us pretend that we have made the two items that we want to merge and the third, powerful item already.
Then place the two weak items on your map, to test the following trigger that we are about to make.
Open the Trigger Editor (F4) and add a new trigger.
Right click on an existing trigger or folder (Category) and choose the ‘New Trigger’ command.
Now in the bottom-right of the Trigger Editor, you will see a new trigger which contains:
Events
Conditions
Actions
We start from the top by adding an Event. The event is what fires the trigger. (For example, A unit dies. In this case we will use the ‘A unit acquires an item’ -event.)
Now, right click on the ‘Events’ text and click the ‘New Event’ command. This will bring up a brand new, small window. There are two scroll lists in this small window. To narrow down your search, click the above one (-All) and choose the bottom option ‘Unit’.
Now, click the below scroll list (which should have changed into ‘Specific Unit Event’). Click this list and use ‘Generic Unit Event’. Now you will see the text: ‘A Unit Dies’ below.
Click on the ‘Dies’ word, to bring up a few options. In this big list, choose the ‘Acquires an Item’, and then click ‘Ok’.
This will add the ‘Unit - a unit Acquires an item’ -event to your trigger.
Now we will add the Conditions. These will help us define what we want our trigger to do.
Start the same way as you did with the Events, but choose ‘New Condition’ this time.
Choose the ‘Boolean Comparison’ in the top scroll list (it should be select by default). Then click on the “link” to the left. Here choose: ‘Hero - Hero has item of -Type’. Then click on the link to the left, below saying: ‘(Triggering unit)’ and change this to ‘Event Response - Hero Manipulating Item’ and click ok. Then click the link to the right (the item, should be Tome of Experience, by default) and choose one of the two weaker items that you have. Then click ‘Ok’ 2-3 times and you should have added your first condition.
This condition checks if the Hero that acquires an item has one of the two weaker items.
If, for example, this item’s name is ‘Assassin’s Blade’ (as in my map), the condition will look like this:
Code:
((Hero manipulating item) has an item of type Assassin's Blade) Equal to True
(My second item is the Orb of Fire). When you’ve chosen your item, click ‘Ok’ all the way back, and you will now have two conditions that looks like this:
Code:
((Hero manipulating item) has an item of type Assassin's Blade) Equal to True
((Hero manipulating item) has an item of type Orb of Fire) Equal to True
Now, add the actions.
We will need three actions, two for removing the old items and one for adding the new.
Start as you did with the Events and Conditions but this time choose ‘New Action’ instead.
Chose ‘Item’ in the above scroll list, and choose ‘Remove’ in the below one.
Then click on the link saying ‘(Last Created Item)’ and choose ‘Item Carried By Hero Of Type’ from the scroll list. Then define the Hero as ‘Event Response - Hero Manipulating Item’ and then define the type of item as one of the items in your condition (Assassin’s Blade).
Then do the same copy - procedure as you did with the Conditions, and change the item to the next (Orb of Fire).
Now you should have two Actions saying:
Code:
Item - Remove (Item carried by (Hero manipulating item) of type Assassin's Blade)
Item - Remove (Item carried by (Hero manipulating item) of type Orb of Fire)
Now, add the final action. Start with the ‘New Action’ command, choose ‘Hero’ in the above list and then choose ‘Create item for Hero’ in the below list. Change the default link (Tome of Experience) into whatever item that you want to have (the powerful one). Then lastly change the ‘(Triggering Unit)’ text into: ‘Event Response - Hero manipulating Item’ and click ‘Ok’.
Your trigger should now be done and should look like this:
Code:
Blade of Fire
Events
Unit - A unit Acquires an item
Conditions
((Hero manipulating item) has an item of type Assassin's Blade) Equal to True
((Hero manipulating item) has an item of type Orb of Fire) Equal to True
Actions
Item - Remove (Item carried by (Hero manipulating item) of type Assassin's Blade)
Item - Remove (Item carried by (Hero manipulating item) of type Orb of Fire)
Hero - Create Searing Blade and give it to (Hero manipulating item)
This means that:
When a unit acquires an item
And has the two items of type Assassin’s Blade and Orb of Fire
The same unit will lose both items and have them replaced by a third, called Searing Blade.
Simple!
Now to see if this works, save your map and run it. Order your hero to pickup the pre-placed items (Assassin’s Blade and Orb of Fire) and watch what happens.
EDIT: Added the example map for this trigger.
Download and open the map if you want to see what the trigger looks like in WE.