Skip to content

Releases: MNoya/BuildingHelper

BuildingHelper v1.2.9

19 Aug 03:35
Compare
Choose a tag to compare
  • Improved various modifiers, with Purge rules and fixed a couple of missing states
  • Added Hold->Stop redirection to prevent issue with builders not building after Hold
  • Fixed override ghost when reutilizing the same ability with different model
  • Added avoidUnits on FindClosestEmptyPositionNearby, duration on DrawGridSquare
    • Both optional, default to false and 10 seconds

BuildingHelper v1.2.8

20 Jul 22:18
Compare
Choose a tag to compare
  • Removed ability_building, replaced by modifier_building (in vscripts/libraries/modifiers)
  • Removed modifier_disable_turning, now part of the modifier_building
  • Added settings: MAGIC_IMMUNE_BUILDINGS and DENIABLE_BUILDINGS, both true by default.
  • Added clientside error_invalid_build_position when clicking on invalid position (previously, it would check the server)
  • Added grid_modifiers in preparation for an upcoming clientside Blight update.
  • Fixed some inconsistencies with circle radius grid layouts

BuildingHelper v1.2.7

07 Jul 15:53
Compare
Choose a tag to compare
  • Added BuildingHelper:OrderBuildingConstruction(builder, ability, position)
    • Added BUILD_PATH to building_settings.kv to auto-require , needed for this API function.
  • Added a lua modifier modifier_tree_cut, removed dummy_tree datadriven ability (removes 1 entity per tree cut!)
  • Added a performance improvement for particles in panorama building_helper.js

BuildingHelper v1.2.6

24 Jun 14:00
Compare
Choose a tag to compare
  • Fixed issue with ghost particles that was introduced by latest dota update
  • Fixed problem with building count

BuildingHelper v1.2.4

19 Jun 15:11
Compare
Choose a tag to compare
  • Added support for tree regrowing
  • Fixed a typo on GetBuildingCount for including buildings under construction

BuildingHelper v1.2.3

13 Jun 18:46
Compare
Choose a tag to compare
  • Fixed an issue with repair and buildings under construction
  • Fixing typo on PlaceBuilding

BuildingHelper v1.2.2

09 Jun 14:35
Compare
Choose a tag to compare
  • Improved BuildCommand to use the closest builder to the position
  • Queuing with more than one builder selected will distribute the work between them
  • Fixed issues with repair and upgrades
  • Added methods: GetBuildingsUnderConstruction and GetAllBuildings
  • Added third parameter to GetBuildingCount to include structures under construction

BuildingHelper v1.2.0

02 Jun 19:20
Compare
Choose a tag to compare

Added Repair

  • Added keys to building_settings.kv to define repair values and path of the callbacks file
  • If RIGHT_CLICK_REPAIR is enabled, clicks.js now sends a repair command when rightclicking buildings with missing health
  • Added repair_modifiers inside libraries/modifiers folder, used to show stack of builders repairing the same unit. Names are modifier_repairing for the target, and modifier_builder_repairing for the builder.

You first need to define a repair ability by adding the ability name to the unit definition:
"RepairAbility" "repair_ability_name"

"CanAssistConstruction" "1" keyvalue can be added on a repair ability to enable having more than one builder constructing buildings that were placed by abilities with "RequiresRepair" "1".

Added Library Dependency: keyvalues.lua
This short scripts make accessing all game keyvalues easier and eliminates the need for keeping them duplicated inside the building library.

BuildingHelper v1.1.5

21 May 04:07
Compare
Choose a tag to compare

Additions

  • BuildingHelper:GetBuildings(playerID) - Retrieves a list of all the buildings built by a player
  • BuildingHelper:GetBuildingCount(playerID, buildingName) - Returns how many of this building does the player have
  • building:IsUnderConstruction() - Returns whether the building has finished construction or not

Improvements/Fixes

  • Fixed grid sizes over 6 being blocked incorrectly
  • Fixed enemy inside square detection on the server side
  • Improved blocker removal (1 less API call)
  • Improved UpgradeBuilding to use PlaceBuilding
  • DestructionEffect particle kv now uses SetParticleControlEnt
  • Changed builder.lua refund gold to unreliable

BuildingHelper v1.1.1

15 Mar 02:52
Compare
Choose a tag to compare
  • Fix for non-height restricted addons
  • Fixed typo on EmitSoundOnClient usage
  • Fixed usage of RemoveBuilding in CancelBuilding (use ForceKill now)