Skip to content

Installation

Martin Noya edited this page Jul 20, 2016 · 14 revisions

Installation

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.

  1. Dependencies
  1. Download the latest release

  2. 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

  3. 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_tables list:
    "builders",
    "selection",
    "construction_size",
    "building_settings",
    • In your addon_game_mode.lua file, add a require statement
    require("libraries/buildinghelper")
    • Also add a precache statement inside the Precache(context) function
    PrecacheResource("particle_folder", "particles/buildinghelper", context)
  4. Particle files

    • Copy the particles folder into content/dota_addons/YOURADDON/
    • Copy the materials folder into game/dota_addons/YOURADDON/

Clone this wiki locally