-
Notifications
You must be signed in to change notification settings - Fork 15
Installation
Martin Noya edited this page Jul 20, 2016
·
14 revisions
Important Note: If you were using the old version of the library, make sure to remove all BuildingHelper related scripts from gamemode and order filter.
- Dependencies
- Barebones timers and notifications libraries.
- Recommended for file combining: ModKit
-
Download the latest release
-
Panorama
- Copy the panorama folder into
content/dota_addons/YOURADDON/ - Add the following lines to your
panorama/layout/custom_game/custom_ui_manifest.xml
<CustomUIElement type="Hud" layoutfile="file://{resources}/layout/custom_game/building_helper.xml" /> <CustomUIElement type="Hud" layoutfile="file://{resources}/layout/custom_game/selection.xml" />
Note: If you have the latest barebones you can skip the selection.xml line
- Copy the panorama folder into
-
Lua and Datadriven files
- Copy the scripts folder into
game/dota_addons/YOURADDON/- Note on Net Tables: If your game folder didn't have a custom_net_tables.txt file on game scripts folder, ignore this. Otherwise, don't replace your file but add these lines inside the
custom_net_tableslist:
- Note on Net Tables: If your game folder didn't have a custom_net_tables.txt file on game scripts folder, ignore this. Otherwise, don't replace your file but add these lines inside the
"builders", "selection", "construction_size", "building_settings",
- In your
addon_game_mode.luafile, add a require statement
require("libraries/buildinghelper")
- Also add a precache statement inside the
Precache(context)function
PrecacheResource("particle_folder", "particles/buildinghelper", context)
- Copy the scripts folder into
-
Particle files
- Copy the particles folder into
content/dota_addons/YOURADDON/ - Copy the materials folder into
game/dota_addons/YOURADDON/
- Copy the particles folder into