dota2-unit

Community

Define and manage Dota 2 custom units via KV.

AuthorXavierCHN
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guide helps developers create and maintain Dota 2 custom unit definitions using KV files, separating configuration from logic to enable consistent front-end and back-end data.

Core Features & Use Cases

  • KV-driven unit definitions: describe unit properties, models, abilities, and localization in a single source of truth.
  • Data-to-JSON synchronization: compile KV to JSON for both client (panorama) and server (TSTL) usage.
  • Use Case: design a new custom unit for a mod, update its stats and abilities, then regenerate shared data with a single build step.

Quick Start

Create or modify a unit under game/scripts/npc/custom_units, ensure it is referenced in npc_units_custom.txt, and run the build step to regenerate JSON.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dota2-unit
Download link: https://github.com/XavierCHN/x-template/archive/main.zip#dota2-unit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.