-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started
Since BuildingHelper (BH) now has various components in many different locations, I thought the best way to convey the installation information would be to make this repo contain a sample RTS-style addon.
The first step is adding in the required Panorama components
-
Merge the Panorama folder (
content\dota_addons\samplerts\panorama
) with the panorama folder in your addon. -
If you have already made a custom_ui_manifest.xml then you can just add
<CustomUIElement type="Hud" layoutfile="file://{resources}/layout/custom_game/building_helper.xml" />
. -
Next you should add the lua file
buildinghelper.lua
from\game\dota_addons\samplerts\scripts\vscripts
to\game\dota_addons\YOUR_ADDON\scripts\vscripts
-
Add or merge the functions from
abilities.lua
in\game\dota_addons\samplerts\scripts\vscripts
to\game\dota_addons\YOUR_ADDON\scripts\vscripts\abilities.lua
-
You're ready to go! Look at the example buildings and build abilites in the npc_units_custom.txt and npc_abilities_custom.txt to get an idea as to how you should set up your abilities