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.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      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