DOTAFire Blogs

A funnel for all the member blogs on DOTAFire. Clicking an article will take you to the members personal blog page to read the entire post.
Off Topic
February 05, 2018
+Rep Report

Chaos Knight's Chaos Bolt

Playing with projectile

Ability Form: Precache

I've been avoiding aesthetics up until now, but finally it's unavoidable anymore. If you look at the base.txt, everything seems normal excluding that "precache" key-value.

Okay, here's the thing about precache: the engine is just pure lazy. It won't load any resources (such as particles and sounds) unless it is explicitly required. This 'precache' is a way to ensure the particle is required 'explicitly'. Spawning a hero is another one, but even the engine won't automatically load his/her voice until they're triggered to speak.
Particle not loaded means it won't show up. Got it?

Knowing a particle's path would require a Workshop Tools or a GCFScape, so if you don't want to be bothered by those, simply use the path I set there. The most essential particle is the "chaos_knight_chaos_bolt.vpcf" one; the rest is optional.

Logic: Tracking Projectile

That fuss about precache things is none other than creating a …
Read More
January 29, 2018
+Rep Report

Ogre Magi's Fireblast

Straight to the action

Previously we've been dealt with passive abilities, which tends to do their action on their modifiers. Now, this unit-targetted ability will have actions that is defined in the main lua instead; modifier will be a simple tag without action.

Ability Form (base.txt)

The "base.txt" filled with things that have been covered in the first tutorial. Fireblast is a unit-targeted ability which target enemies that may be heroes or creeps, and deals magical damage that may be dispelled by strong dispel but cannot pierce spell immunity.

A question may be raised as to why the damage section is empty even though Fireblast do damages its target. The thing is, it does not have considerable impact as long as your code follows this form. If the form has "AbilityDamage" value, the code may call "Ability:GetAbilityDamage()" to retrieve it. If the form uses "AbilitySpecial" instead, then the code should use "Ability:GetSpecialValueFor("damage_key")" to ob…
Read More
January 26, 2018
+Rep Report

Troll Warlord's Fervor

a stack neverflow


There's not much to discuss for Fervor's base.txt and main lua. As a passive, Fervor does not require targetting filter and other important values, so the base.txt is pretty much similar to Spell Shield. There is one difference, however, that it states "SpellDispellable" as no. This is optional, since it only affects the tooltip.
The ability file is also as simple as Spell Shield. A copy-paste, in fact, since the ability is not required to do anything other than spawning the modifier.

The actual actions happened at modifier instead, so let's focus on that one.

Modifier: Characteristics

This modifier should appear at buff bar, hence we need to show it. Since it is not on the background anymore, its characteristics should be specified, such as:
  • Is it hidden?
  • Is it a debuff? (Otherwise is a buff)
  • Is it can be purged?
  • Is it removed on death?

So far, Spell Shield uses default values, but now they will be specified clearly. On the …
Read More
January 25, 2018
+Rep Report

Antimage: Spell Shield Lua

Let's get our hands dirty.

Ability Form Review

Take a brief look on the ability's base.txt. It's quite short, since it's a simple ability.
Notice that the ability has been renamed as "antimage_spell_shield_lua" in order to avoid collision with the real one.
It is a basic ability with a passive behavior, and nothing else. No need for cast points, unit targetting, spell immunity, etc etc. It also has just one ability specials, which defines the magic resistance bonus on each level.
In short, it's short.

Introducing: Main Lua File

Open up a text-editor, create new file and save it as "antimage_spell_shield_lua.lua", placed according to the "base.txt". This will be the main script file, which defines what the ability does. Let's begin with the keypoints.

Class Identifier

You should generally want this particular line at the start of your lua files. This defines the start of a class for custom lua abilities.
So, at the first line of the file, write:

Read More
January 23, 2018
+Rep Report

Registering and Testing Ability

Time to make the dream come true.

Dota 2 Addon: Ability Lua Example

Valve actually made their own tutorial on how to create custom abilities using lua. Well, "giving examples" is more accurate, but still it's very useful. The tutorial is an addon (custom game) named



To play the addon, simply open Dota 2, then on your console (make sure you enabled it first), put:
dota_launch_custom_game lua_ability_example hero_demo_main

Go with the flow (Lina recommended; she's hot), and voila: it looks like a hero demo! Go play with her and everything seems normal, except for the fact that she has 5 abilities.

Random guy: Okay, now what?

If you still didn't notice it, here's the hint: all of her abilities are written in Lua, and you may see (also edit) the script file(s).
The addon files are located on:
"<YourSteamLibrary>/dota 2 beta/game/dota_addons/lua_ability_example/"
The lua scripts were stored in "scripts/vscr…
Read More
January 22, 2018
+Rep Report
Okay, since this is my very first tutorial, there may be some mistakes. Just go along with me and ask some question, and we'll be fine. After a lot of considerations (mostly in sleeping, but still), I decided to take this one as the first tutorial.

Ability Form

I'm pretty sure that you guys are already an expert in designing unique abilities and explain them to us, but how do you explain your abilities to Dota 2 engine?
You can tell the machine about your abilities by using a certain registration form. With this, there'll be more clarity for the machine about the description of your abilities, what they can do and what they cannot do.

Now the form, here you go.

Random Guy: Dafuq is that?

Relax, I'll explain them one by one. Just copy it to your editor, and save it as:
Where to? Anywhere, for now.

Hey, don't just read it. Copy and save it, get your hands dirty.

Now, here's the guide to fill the form. The form above has been filled with an …
Read More
January 09, 2018


Views: 250 Edon Tzedek
+Rep Report
MY lost account old archieves T_T

Read More
January 07, 2018
+Rep Report
MOBA Gaming is so common nowadays!

It helps us think faster at times of troubles especially during the clashing!

It gives us ideas of New Strategies and Techniques!

But sometimes, personally, we must remember our true life outside Moba!

Balance is required, equilibrium must be attained!

To all players out there! Balance is our key to success in everything and to anything!

Read More
December 23, 2017
+Rep Report
Ekril the Djinn: (HCC)

Some heard stories, some have seen them, and a few even encountered one. These stories are told about the Djinn. Magical creatures with no proper description left behind, only stories remain. Ekril has been making contracts and pacts his entire life to ensure power for his kind. He believed his people deserved power and that they are intended to own it. The Dire offered Ekril power beyond imagination, and he accepted the challenge with grin smile on his face.

Ekril is an agility melee hero.
Not many know what Ekril brings into the battlefield. It may be his own skills he learned because of the survival in different enviroment or it may be his gathered artifacts from all the pacts he made with demons, mages and creatures. Still, fighting against something unknown is never a good idea.


-Strength: 24 + 2.3
-Agility: 23 + 2.1
-Intelligence: 24 + 2.1
---> Adapt: Q

Ekril applies an activation buff on allied unit. If the…
Read More
December 23, 2017
+Rep Report
Xixhur the Coercer: (HCC)

In the most dangerous areas of the Eresiw Jungle stalk the Xarafil, humanoid-serpent like predators with 7 developed senses. Xixhur is and always will be the deadliest one of Xarafil, since his main weapon against his preys is themselves. Xixhur can either disrupt his enemies organism and slowly watch them stray in the jungle until they starve to death or he can control their entire body and see them killing themselves while concious but unable to stop.

Xixhur is an agility ranged hero.
Everyone should be aware of Xixhurs presence on the battlefield or else it will be turned into hunger games with Xixhur being the predator. Disoriented enemies wandering around the field, their friends watching them killing themselves. All this can happen in the fight with the Coercer.


-Strength: 18 + 1.9

-Agility: 22 + 2.3

-Intelligence: 20 + 2.9

-Health: 510
-Mana: 308
-Armor: 2.1
-Magic Resistance: 18%
-Attack Damage: 50 - 56
Read More
1 2 3 4 5 6 7 8 33 59 >>