MNoya / BuildingHelper

Library for RTS & TD Dota Custom Games
GNU General Public License v3.0
37 stars 14 forks source link

Cant build on top of chopped trees #15

Open packerboy opened 7 years ago

packerboy commented 7 years ago

Hey,

using BuildingHelper 1.2.9 and Barebones 1.01c, I am not able to place buildings on top of a cut tree. The ghost model remains red and when I left click on that area with the building selected then an error is displayed: 'error_invalid_build_position'.

I remember this working with older BuildHelper versions (1.2.0) when a dummy unit 'npc_dota_thinker' was placed on top of a chopped tree. In the current implementation this unit is replaced by 'npc_dota_units_base'.

About a year ago I was trying to achieve that same exact behavior, see this related discussion:

https://moddota.com/forums/discussion/1572/buildinghelper-how-to-completely-remove-trees-via-script#latest

Any idea why this is not working anymore? Has it something to do with the latest Dota Version 7.0x?

By the way, I have set the following option in the building_settings.kv:

// Does this game have tree cutting methods and allows for building on them?
 "UPDATE_TREES"              "true"
packerboy commented 7 years ago

I went back to BuildingHelper v1.2.6. I can report that with that version it is possible to build on top of cut trees.

MNoya commented 7 years ago

Thank you for the report and the version specification, I'll look into the latest