Your mod in JSON - Python


I created a python command line tool to export your hero data and abilities into JSON. Code and instructions available at github.

Here is an example JSON generated based on NWR mod:

It use localization. By default, it will create addon_*.json files depending on the languages available on your mod (under resource folder). Ability "affects" and "behaviour" descriptions are based on this guide. "Damage type", "affects" and "behaviour" are localized using dota2 language files available at d2vpk.


In the future, I'll include "AbilitySpecial" to ability JSON and I'm thinking in adding items.

Why use this?

The origin of this tool is the need to create a website based on the content of the map automatically. With the output of this tool it's possible.