Frequently Asked Questions (FAQ) about the Dota 2 editor

Sim

Forum Administrator
Staff member
Reaction score
534
Here are common questions many users have with the Editor.

Keep in mind that this is a Work in Progress. More questions will be added in the future.

Index
  • What should I do to get started?
  • How do I place a unit on my map?
  • How do I set icons to my custom abilities?
  • How do I set icons to my custom items?
  • Can I edit/add heroes in my map?
  • Can I add more teams than just the Radiant and the Dire? For instance, a free for all map?
  • How do I add tooltips to my abilities?

What should I do to get started?

Visit this page

For complete beginners, here is the actual "getting started" tutorial

And here is a good tutorial on the basics of the Editor.

How do I place a unit on my map?

You have 2 options. The first option is to place a prefab unit on the map (short for pre-fabricated). Here is where it is located:

prefab pannel.jpg

Locate the neutral unit you want in there, and simply place it on the map. Note that you can only place default dota units with this, such as neutrals, towers, barracks, etc.

The second option is to place the entity named "npc_dota_base" into your map. This enables you to place custom units of your making. To place this entity, we need the entity tool, which can be accessed with [SHIFT + E] and looks like a light bulb. Once there, scroll down the list to find npc_dota_base.

npc_dota_base.jpg

Place a new unit, and within the "Unit Name" drop list, find your custom unit. Mine is called npc_dota_creature_gate_keeper. It should be right at the bottom. Note: you can also place all kinds of units with this, including brewmaster spirits (his ultimate).

Visit this page for a tutorial on making custom units.

placingcustomcreature.jpg

Done! The object properties allow you to edit this placed unit a bit, like changing its color, or spawning angle. The "Use Neutral Creep Behavior" option will make your unit behave, unsurprisingly, like a neutral creature in Dota 2. Which means that it will mostly only aggro when someone gets very close to it (about 200 range), and will chase only for a while, and will then return to its spot.

How do I set icons to my custom abilities?

There are 2 things you need to do. First of all, you need your actual icon, and it has to be at the right place. Ability icons have to be .png files, and their dimensions should be 128x128 pixels.

Furthermore, they should be located within the following folders (replace zergling_madness with the name of your mod):

abilityiconsamplefolder.jpg

Second, the ability needs to be told what icon it is. Let's say your spell is named gatekeeper_bloodlust, here is the line you should add in your spell under npc_abilities_custom.txt:

JASS:
"AbilityTextureName"             "gatekeeper_bloodlust"


To find more information on how to create an actual custom unit, follow this tutorial

How do I set icons to my custom items?

It's quite similar to the abilities icons, but with a twist (of course).

First, Item icons have to be .png files, and their dimensions should be 124x64 pixels, again with a twist. Indeed, the item's picture should be 88 pixels wide, 64 large. The remaining 36x64 pixels should be transparent.

When that is done, the icon should be placed into the following folder (replace zergling_madness with the name of your mod):

icemasteryicon.jpg

Second, the item needs to be told what icon it is. Let's your item's name is item_ice_mastery, here is the should add under your item in npc_items_custom.txt

JASS:
"AbilityTextureName"            "item_ice_mastery"


To find more information on how to create an actual custom unit, follow this tutorial

Can I edit/add heroes in my map?

It is possible, but for now, limited.

  • You can edit any heroes using the file npc_heroes_custom.txt located in your scripts folder. However, it will replace the default hero from Dota 2 in your map.
  • Therefore, it is impossible (right now) to create new heroes and give them a unique ID. It might be possible in the future though.
  • Apparently, there are 2 unused Hero IDs in the Editor. id = 105, and id = 24. Those two do not correspond to any default heroes in Dota 2 and can thus theoretically be changed without altering any of the base heroes. This is yet untested as of August 24th, 2014.
  • All of this is subject to change in the upcoming Workshop patches.

Can I add more teams than just the Radiant and the Dire? For instance, a free for all map?

Right now, you can't. Valve designed Dota 2 with the philosophy that 2 teams would battle it out, so at the very core, the game is 5v5. However, Valve might patch the Workshop in the future to enable more teams.

For now, the most unconventional setup is 5 vs 0, which means a sort of Co-operative mode vs the computer (The Neutrals team).

How do I add tooltips to my abilities?

Tooltips aren't defined in either custom unit files, abilities files, or even item files. They're in a separate file named "addon_english.txt" in your addon's folder. Here is the file's path:

addon_english.jpg

As usual, replace "zergling_madness" with the name of your addon. Opening up this file should feel somewhat unimpressive. This is what it looks like, vanilla:

JASS:
"lang"
{
    "Language"        "English"
    "Tokens"
    {  
        "addon_game_name"            "YOUR ADDON NAME"
    }
}


It is time to add some tooltips to this!

Here is what the file looks like with an example item made by Valve, named Arcane Boots 2, on a map named Zergling Madness with nothing in it except the boots:

JASS:
"lang"
{
    "Language"        "English"
    "Tokens"
    {  
        "addon_game_name"            "Zergling Madness!"
        "game_mode_15_desc"         "Fight. Die. Fight again!"

        // Arcane Boots 2
        "DOTA_Tooltip_Ability_item_arcane_boots2"            "Arcane Boots 2"
        "DOTA_Tooltip_ability_item_arcane_boots2_Description"                    "Active: Replenish Mana - Restores mana in an area around the hero.\n\nFlat movement speed bonuses from multiple pairs of boots do not stack."
        "DOTA_Tooltip_ability_item_arcane_boots2_Lore"                        "Magi equipped with these boots are valued in battle."
        "DOTA_Tooltip_ability_item_arcane_boots2_Note0"                            "Does not work on Meepo clones."
        "DOTA_Tooltip_ability_item_arcane_boots2_replenish_amount"                "MANA RESTORED:"
        "DOTA_Tooltip_ability_item_arcane_boots2_bonus_movement"                    "+$move_speed"
        "DOTA_Tooltip_ability_item_arcane_boots2_bonus_mana"                        "+$mana"
    }
}

Note: " \n\n " serves the purpose of jumping a line.
For abilities, it should read the same but without the "item" part, so:

Code:
DOTA_Tooltip_ability_name_of_ability

As usual, the best way to learn in this editor is to play with it a little and see what happens!
Good luck!
 
Last edited:

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
hi sim, glad to see you're the forum staff already.

i'm back to learn the d2 editor, this post made great help, thanks!
 
  • Like
Reactions: Sim
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top