1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  4. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

FAQ & Guidelines

Discussion in 'World Editor Help Zone' started by Rui, Sep 8, 2007.

Thread Status:
Not open for further replies.
  1. Rui

    Rui

    Joined:
    Jan 7, 2005
    Messages:
    8,506
    Resources:
    8
    Maps:
    8
    Resources:
    8
    Welcome to the World Editor FAQ.

    This thread is meant to guide you through not only basic, frequently asked questions regarding Blizzard's Warcraft III World Editor, but also this forum's (the Help Zone) guidelines. Make sure you read the latest (the guidelines) before posting.

    FAQ Links



    Welcome to The Hive Workshop's

    [​IMG]

    World Editor Help Zone

    This forum was made in order to help you solve problems with the Editor. We also accept that you ask for help about trigger creation or script programming, however, Trigger/JASS fixing and spell creation should always go on Triggers & Scripts section.

    These are the general rules for this forum: please read them before posting.
    1. Please review and understand the information in The Hive Workshop's Tutorials;
    2. Try to explain your question or problem in detail;
    3. Make the title of your post relevant to the post's content;
    4. Do not write subject lines to simply draw attention to your post;
    5. Do not shout your subject out (i.e. write it in all capital letters);
    6. Do not use excessive punctuation, one or two will be sufficient;
    7. Only post relevant replies to questions and problems;
    8. Do NOT double-post in less than 24 hours;
    9. [highlight]We do not support the protection or opening of protected maps: topics regarding these subjects will be closed![/highlight]
    10. Be patient, nobody has to answer your question in the next hour. The Hive has many good triggerers and coders, it is almost guaranteed that you WILL get an answer.


    ~Credits to Archian for "The World Editor Help Zone"


    Posting in the Help Zone
    This part of the sticky features some information that is important to this forum part and posting in it.
    Reading it is suggested if you are not sure where to post or how to post.

    Remember that the Hive Workshop's Rules also apply in this forum! Read the Rules to make sure you won't run in trouble!

    ____________________________________________________________________________________

    Question: What can I post in this forum part?
    Answer:
    You may report problems you are experiencing with Blizzard's Warcraft III World Editor. You may also ask for help on creating GUI Triggers, JASS Scripts, and Spells. Remember, however, that threads asking for help on any of these (that you previously made) go on the Triggers & Scripts forum.


    Question: Whats the average time someone will answer my question.
    Answer:
    It depends on the degree of your question and the amount of people looking in it. Since the Hive is growing, you can expect a fast answer, HOWEVER, if such doesn't happen, wait 24 hours before bumping your topic. Bumping your topic in less than 48 hours is considered double-posting, and therefore, spam, which goes against the Rules.


    Question: How do you use the trigger tag?
    Answer:
    The Trigger Tag is an easy usable tag for this forum part in particular. It displays the triggers exactly like in the World Editor's Trigger Editor, allowing users to read and understand what you're trying to say easily.

    Here is the Melee Initialization trigger within the [ trigger ] tags. You simply have to right-click the trigger name on the right window, press Copy, switch to the Hive Workshop window, and press Paste.

    • Melee Initialization
      • Events
        • Map initialization
      • Conditions
      • Actions
        • Melee Game - Use melee time of day (for all players)
        • Melee Game - Limit Heroes to 1 per Hero-type (for all players)
        • Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
        • Melee Game - Set starting resources (for all players)
        • Melee Game - Remove creeps and critters from used start locations (for all players)
        • Melee Game - Create starting units (for all players)
        • Melee Game - Run melee AI scripts (for computer players)
        • Melee Game - Enforce victory/defeat conditions (for all players)

    Here is the code:
    Code (Text):
    [noparse][trigger]
    Events
    Conditions
    Actions[/trigger][/noparse]
    ~Credits to Warnicro for "Posting in the Help Zone"
     
    Last edited by a moderator: Jul 11, 2019
  2. Rui

    Rui

    Joined:
    Jan 7, 2005
    Messages:
    8,506
    Resources:
    8
    Maps:
    8
    Resources:
    8
    WE Basics


    Introduction
    This FAQ is a collection of several frequently asked questions and short tutorials about performing different tasks in Blizzard's Warcraft III World Editor. The FAQ serves as a basic reference point: it should (hopefully) assist mapmakers of all skill levels. This FAQ is by no means definitive: it is still under development- please post any suggestions or recommendations in World Editor FAQ - Work in Progress.


    World Editor Basics

    Things To Keep In Mind by Healingpoison
    These are a couple things I think everyone should know when making a map.

    Test your map regularly.
    Most important: test your map often, as you put in new triggers test them to make sure they work. The last thing you want is to make your whole map (triggers and all) and then find out one trigger doesn't work, then you have to go through and check each trigger which can be very difficult.

    Save your map often.
    Save your map often (under a new file name) before new triggers are added or new resources are imported. If a map should somehow become corrupt, having a recent backup is critical: it could make the difference between loosing five minutes of work versus five months.

    Stay on topic.
    Keep being focused around one topic (This may not apply to some of you more senior people), especially if your new to world editor its important to stay on one topic. I know it is easy to drift off into other ideas and then attempt to mush them all together, but you should try to focus your map, for example: if you have a Tower Defense it wouldn't fit to have the players building a hero along the side lines, I mean think about people play TDs because they like the fast paced action and the idea of building defenses.

    Start small.
    Do not try to go past your abilities. Map making is like skiing, when your learning to ski you just don't start out on the slope with the most black diamonds, you start easy on a green or blue, in map making you shouldn't try to start putting in advanced triggers that you don't understand, stick with the easy stuff first, If your making an AoS just start with the basic spawing and hero selection triggers, try to refrain from advanced triggering until your at the point where your map requires it.

    Imported Resources:
    Maps do not need custom models, skins, and icons to be great. One great example is Warhammer 40k TD! Any map can be great without imported items. Also, its alright if you don't understand how to import such items. Don't get all upset if you cant get customs into your map, just keep working on it.

    Don't give up!
    Keep at it. Giving up on a map you have worked hard to create is one of the worst things you can do in world editor. I know i have do it before, once I was working on a Warhammer 40k battle and I had nearly finished, I had all the terrain, units, and triggers, but then I gave up on it and started making a new map, and now I'm making a map just like that one and i wish i had never gotten rid of that first version.

    Be open.
    Sharing your ideas with other people to get their opinion is always a good idea. If your stuck when your writing a storyline for your map and you don't know whether the heroes should get squashed by trolls or shot by dwarfs, ask someone. Also, you can have people help you make your map, its not like its a shame to have someone else work on your map with you, in fact its probably going to make a better map.
    (Thanks Ralle)



    Increase the speed of the World Editor
    Many people complain about World Editor lag, especially when working in the Object Editor. This is because of the Brush List, a list of all the objects included in the editor. For example, when you rename a unit the editor will completely refresh the Brush List: this could require up to 20 seconds. If you disable the Brush List, you will find that you can instantly rename a unit and not have to wait at all.
    It's easy to disable the Brush List:
    • From the main WE menu choose: Window
    • De-select the item: Brush List

    Easy backup
    If your map has been corrupt, go look in the Maps/Test folder, there is always a backup map (WorldEditTestMap.w3x) from the last time you tested.

    Disable auto-save
    File/Preferences/General and uncheck Autosave.
    NOTE: Disabling autosave is a good idea, it can often be annoying and can also ruin your map if you do something wrong and it suddenly autosaves.

    Taking screenshots
    Hit the Print Screen key (just over the Insert button) to take a screenshot.
    NOTE: For best results, select View>Lock to Game View Settings.
    NOTE: Screenshots will be saved in the Warcraft 3/Screenshots Directory.

    Controlling Cameras
    Zooming: Use the scrolling wheel to zoom in and out.
    Changing angle: Hold down CTRL and hold down rightclick while you rotate camera in any direction with the mouse.
    When zooming far out, black mask will appear, hold down CTRL and use the scrolling wheel to make it disappear.

    Different views
    x change to letterbox view.
    v change to game view.
    c change to camera view.

    Working with colorizing and line breaks
    Warcraft 3 have it's own text formatting system. It allows you to put color on text strings and make linebreaks. Every tag starts with a '|' (without the quotes) followed by a letter.

    So the color tag is '|c' followed by a 6 digit hexadecimal (RR GG BB) color code and a 2 digit hexadecimal transparency code. But the transparency code is not used so just leave it as 'ff'. The tag ends with a '|r'.
    Example: 'Hello my name is Rasmus'. So now I want to color the part 'name' in red and it will look like this: 'Hello my |cff0000ffname|r is Rasmus'.

    Some places when you want to enter a string, it is not possible to make a linebreak by pressing ENTER and then you have to write '|n' at the place you want to make a linebreak.

    Warcraft III Color Tags and Linebreaks covers this topic in much greater detail.


    Custom Minimap Preview
    Custom minimap previews for custom scenarios is a big fashion. Some people might actually leave the game you've hosted because they think that the map sucks when it doesn't have a minimap preview. So here's a guide on how to make your own.

    Open your favorite image editor and make yourself a good picture. You have to keep in mind that the image should have the dimensions of either 256x256 or 128x128.
    Save it as .jpg or .tga if you can. If not, go get the tool Warcraft 3 Image Extractor II, open up your image and save it as .blp or .tga.

    Open up World Editor and then open the Import Manager and import the image.

    Double-Click on the image and tick "Use Custom Path" and set the path to:
    war3mapPreview.tga or war3mapPreview.blp to have the image being the minimap preview.
    You can also save it as war3mapMap.tga or war3mapMap.blp to make it being the in-game minimap.


    Importing a Minimap Image
    Importing Minimap images is easy. You will just have to make an image in .tga or .blp format and import it into your map and change its name. This method is used in many maps and makes the map more interesting for people who might join when hosting a game.
    You can choose between two sizes of images: 256x256 and 128x128, I prefer using 256x256 because there is a world's difference between the quality of these images. But also a world's difference in size :S

    Creating the Image (with advanced image editing program)
    Let's say I want to make an image, so I open up Photoshop, Photoimpact, Gimp... You will need an advanced image editing program and not just paint. You can get Photo Impact Here.

    Remember to make the image 256x256 or 128x128 in size and save it as .tga!
    [​IMG]

    Creating the Image (using any image editing program)
    Create a new image, set the size to 256x256 and save it as .jpg.
    Then open up Wc3ImageExtractor (get it here)

    Click Open -> Image and open your picture, then click Save -> Image and save it as a .tga or .blp image.

    Importing the Image
    Open up World Editor, then Import Manager and press Import File.
    After that, double click on the imported file in the Import Manager, tick Use Custom Path and set the custom path to one of these:

    war3mapPreview.tga - this is the preview people can see when joining the game.
    [​IMG]

    war3mapMap.tga - this is the in-game minimap which you can see when present in the game.
    [​IMG]

    Custom Loading Screen Images
    Magos' War3 Model Editor Can easily create custom loading screens.
    Custom Loading Screen Tutorial V1.5 shows an alternate method.




    The Object Editor

    Copy objects (doodads, units etc) from map to map
    Right-click the object you want to move, press Copy, then open the new map, right-click and press paste.
    NOTE: Some units' custom abilities may become corrupt during this process, just reset their abilities (this wont delete any of your objects).

    Negative Values in the Object Editor
    Go to File -> Preferences -> General and tick "Allow Negative Values". This will allow negative values for much of the input where it makes sense. If the field still won't let you input a negative value, then hold Shift and double-click the value you want to edit. It should let you put in a negative value without issues.

    Heroes

    Creating new heroes
    Two methods exist for creating new hero's.
    1. From the Object Editor file menu, select New Custom Unit; the Create New Custom Unit dialog appears. Select a unit from the interface and press OK.
    2. Choose a hero (paladin, warden etc.), right-click and select Copy Unit, then right-click again and press Paste Unit.
    Edit the new heroes' stats to suit your requirements.

    Heroes past level 5 by creeping
    Normally heroes stop gaining experience when they have reached level 5, but it's actually very easy to change those limits.
    Go to "Advanced" -> "Gameplay Constants"
    Tick "Use Custom Gameplay Constants"
    Find the field called "Hero XP Gained - Creep Reduction Table"
    This is the table where you can see how much experience you get on each level. As default it's set to "80,70,60,50,0" which we can put in a table like this:
    1 - 80%
    2 - 70%
    3 - 60%
    4 - 50%
    5 - 0%
    So by changing the 5th limit to 40% instead, you will be enabled to reach level 6. Then at level 6,7,8,9,10 you will still receive 40% experience so you might want to add more values to it.

    Heroes past level 10
    In many WarCraft scenarios you can now raise a hero's level to above level 10. This is done by changing one single value.
    Go to "Advanced" -> "Gameplay Constants"
    Tick "Use Custom Gameplay Constants"
    Find the field called "Hero Maximum Level"
    Set this to whatever you want the maximum level to be.
    NOTE: Maximum is 10,000.

    Converting a non-hero unit to a hero
    It is not possible to actually convert a unit to a hero directly. But you can always copy all the important stats, models, abilities and paste them on to the other character.

    Using morphed models
    It's possible (but a little tricky) to change a unit's standard model to a morphed Demon Hunter, Robo-Goblin etc. The problem is that a models like the Demon Hunter have both morphed and standard models in one single mdx file. So you need to send a morph tag to it so the game knows how to display units using such models.

    View attachment 6314

    In the Object Editor
    Set the model of the unit to the standard model of the morphed model e.g:
    Here comes what way we want the unit to be displayed, set this value:
    The value "Alternate" seems to be used for all morphs on units that have the morphed value in the same model file.

    This trick also works with:
    • Druid of the Claw (Night Elf, morphed to bear)
    • Druid of the Talon (Night Elf, morphed to crow)
    • Gargoyle (Undead, morphed to stoneform)
    • Obsidian Statue (Undead, morphed to destroyer-form)
    • Troll Headhunter (Night Elf, morphed to berserker)


    Viewing raw object name
    If you need an objects raw name, hit CTRL + D to see it.

    Autofill information
    When making skills with many levels it's good to right-click on the first level and click Auto Fill Levels and set how you want it to be.

    Setting units damage
    When it's your first time visiting the Object Editor, it might be quite overwhelming seeing that changing the damage of a unit requires 3 values, Damage Base, Damage Number of Dice and Damage Sides per Dice.

    The minimum damage is:
    The maximum damage is:
    So if we now set the Base Damage to 3, the Damage Number of Dice to 5 and the Damage Sides per die to 4 you will get the values:
    Minimum Damage = 3 + 5 = 8
    Maximum Damage = 3 + 5 * 4 = 23
    So the unit will have the damage of 8 - 23

    Turning on Bounty
    Bounty is the gold you get from killing a unit. The bounty can as the damage vary, you can have a minimum bounty and a maximum bounty.

    The minimum bounty is:
    The maximum bounty is:
    But if the unit you set the bounty on is not a normal creep, you will have to add a trigger too. Go to your Trigger Editor and create a new trigger:
    • Bounty
      • Events
        • Map Initialization
      • Conditions
      • Actions
        • Player - Turn Gives Bounty On for (Player 1 (red))

    (You might have a hard time finding the 'Turn On Bounty' but it is called: 'Player Turn Player Flag On/Off')



    How to rename Quests to Info and Bounty to Author
    When browsing around the hosted scenarios on battle.net you will find that some maps have renamed the button for 'Quests' to 'Info' or maybe changed the Food Limit popup in the top right corner to the name of the author. This is what I will be explaining.
    Click Advanced -> Gameplay interface
    Tick "Use Custom Gameplay Interface"

    Then find the value you want to change. Here's a list of some of the often changed values:



    The Object Manager

    The Import Manager

    WarCraft Files (w3m, w3x, mpq..)
    MPQ (MoPaQ) files are similar to zip-files. They are used for many of the popular Blizzard Games (Warcraft, Diablo, Starcraft). They contain many models, icons and other elements for these games. It's easy to open these files and extract their contents for use in the World Editor or in other software.
    Many programs exist to extract files from MPQ archives, among my favorites is
    Warcraft III Image Extractor it can not only access mpq files but also w3m files and w3x files which are the extensions of Warcraft maps, this allows you to extract your minimap image and various other images.

    List Files
    A MPQ-file has a listfile to show all the contents of the MPQ-file. Here is the list of the content inside each of the different Warcraft MPQ-Files:
    For more detailed information about MPQ's see the following articles about this subject.


    The Terrain Editor

    Select ALL objects
    CTRL + A selects all objects in Terrain Editor According to which palette you are using.

    Selecting / deselecting objects
    Hit SPACE to select the last selected object and again to deselect it.

    Quick move objects or regions
    Hold down ALT and click wherever you want to move the selected thing.

    Changing doodads' height
    CTRL + PgUp for moving the doodad Up.
    CTRL + PgDn for moving the doodad Down.
    NOTE: this is very useful for placing bridges correctly.

    Placing Objects without Collision-size
    Hold down the SHIFT key while placing doodads on the map. This method allows doodads to be placed very close together (or even on top of one another).


    Basic Terraining Tutorial by Torn source
    Introduction
    So you've made a map, but its just not complete, it needs one more thing, terrain, terrain makes up most of the map, sure it can have great triggers, great skins and what not, but no one likes to play on a plain bare surface. So lets get started.

    Step 1: The basic tileset.
    When you make terrain you should always be aware of what type of terrain you want the players to focus on mainly, rather it be grass, snow or dirt, it doesn't matter. But lets make ours a type of forest area. I made a 32x32 map with Lordaeron tileset. Go to the terrain palette and select the 'Grass' tile. Place the grass randomly around the basic area of your piece of terrain. It should now look something like this.
    View attachment 6315

    Step 2: Blending Tilesets
    Sure, it looks horrible for the moment, but now we will have to blend tilesets. Select another tile from the terrain palette, lets use grassy dirt, fill in SOME of the gaps were there is dirt, don't fill in all the gaps. Now that we have blended those two tiles together its time to add one more tile, lets use dark grass. Fill in the remaining dirt spots with dark grass and it should turn out to look something like this...
    View attachment 6316

    Step 3: Water and Cliffs
    Now, you have a flat plain of land that looks decent, but you don't see that type of land when you go out walking do you? Let's fix it up some...Back to the terrain palette select the 'cliff' labeled shallow water and drag it diagonally downward to make a stream. You should now have a stream, but it is bare and it needs some doodads, so, go to the doodad palette and look under water. Lets put some fish in, one destroyed ship and some floating lily pads. You should now have a beautiful stream. Back to work, back to the doodad palette, go under the category labeled Bridges/Ramps, search for short natural bridge (diagonal 2) and lay it across your newly created stream. If the bridge doesn't seem to look quite right, left click on it and click Ctrl + Page up or Page down to raise and lower the bridge.
    Now your map should look like this...
    View attachment 6317

    Step 4: Trees and surroundings
    Your map is looking great already, but not great enough, go back to the Terrain palette and at the bottom of it apply height 'Raise'. Click on area of your map, around the bridge and such, do create small bumps in the terrain. Select the 'smooth' tool if they get too pointy. Now, back to the doodad palette. In the doodad palette go under Trees/Destructibles and select the Summer Tree Wall. Place trees around your desired area until it looks just as you would like it too, ours is supposed to be a variation of a forest. Your done, if you wish you can add custom doodads or tilesets which can be downloaded from this site, this is just a brief explanation of terraining, more doodads should be added such as: Barrels, Homes, Crates, Tents, Banners. It all depends on the setting.
    Lets look at the final product:
    View attachment 6318
    Good luck with your terraining!



    The Trigger Editor

    Remove starting units
    Remove the Action "MeeƩe Game - Create starting units (for all players)" from the trigger "Melee Initialization".

    Remove starting resources
    Remove the Action "Melee Game - Set starting resources (for all players)" from the trigger "Melee Initialization".

    The Sound Editor

    Soundsets
    A soundset is the "vocabulary" of a unit. Units have a varying amount of specific voices in their "vocabularies" that you cannot change. However you can replace the voices in a unit's vocabulary.
    This also means that you can't create a new soundset or extend the chosen soundset. So you have to find a soundset that you are not using and which also fits your amount of voices. As an example I will use the Footman's soundset.

    The Footman's soundset is located in Sounds/Internal/Units/Human/Footman/ and contains the following sounds/voices:
    • FootmanDeath.wav
    • FootmanPissed1.wav
    • FootmanPissed2.wav
    • FootmanPissed3.wav
    • FootmanPissed4.wav
    • FootmanReady1.wav
    • FootmanWarcry1.wav
    • FootmanWhat1.wav
    • FootmanWhat2.wav
    • FootmanWhat3.wav
    • FootmanWhat4.wav
    • FootmanYes1.wav
    • FootmanYes2.wav
    • FootmanYes3.wav
    • FootmanYes4.wav
    • FootmanYesAttack1.wav
    • FootmanYesAttack2.wav
    • FootmanYesAttack3.wav
    It's easy to replace all the existing sounds with new ones.

    Importing & Replacing
    For each file of the footman's soundset you right-click and choose: Replace Internal Sound Then locate your own recorded sound.

    Done, You should now have made.. I mean replaced an entire soundset.

    Back to Top

    ~Credits to Ralle and Wolverabid for "WE Basics"
     
    Last edited by a moderator: Mar 7, 2014
  3. Rui

    Rui

    Joined:
    Jan 7, 2005
    Messages:
    8,506
    Resources:
    8
    Maps:
    8
    Resources:
    8

    Credits

    This FAQ has been written by the Hive's Administrators and Moderators in 2006. Now they have been merged and edited in order to correct grammar and spelling errors and allowing you to easily access it's contents.

    Thread Merging and Editing: Rui
    FAQ Writers: Archian, Ralle, Warnicro
    Additionally:
    ~Ralle's World Editor Basics thread
     
    Last edited: Jun 16, 2008
Thread Status:
Not open for further replies.