Releases: MNoya/BuildingHelper
Releases · MNoya/BuildingHelper
BuildingHelper v1.2.9
- 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
- Removed
ability_building
, replaced bymodifier_building
(in vscripts/libraries/modifiers) - Removed
modifier_disable_turning
, now part of themodifier_building
- Added settings:
MAGIC_IMMUNE_BUILDINGS
andDENIABLE_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
- 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
- Fixed issue with ghost particles that was introduced by latest dota update
- Fixed problem with building count
BuildingHelper v1.2.4
- Added support for tree regrowing
- Fixed a typo on GetBuildingCount for including buildings under construction
BuildingHelper v1.2.3
- Fixed an issue with repair and buildings under construction
- Fixing typo on PlaceBuilding
BuildingHelper v1.2.2
- 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
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
Additions
BuildingHelper:GetBuildings(playerID)
- Retrieves a list of all the buildings built by a playerBuildingHelper:GetBuildingCount(playerID, buildingName)
- Returns how many of this building does the player havebuilding: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 usePlaceBuilding
- DestructionEffect particle kv now uses
SetParticleControlEnt
- Changed builder.lua refund gold to unreliable
BuildingHelper v1.1.1
- Fix for non-height restricted addons
- Fixed typo on EmitSoundOnClient usage
- Fixed usage of RemoveBuilding in CancelBuilding (use ForceKill now)