| 12-08-2004, 01:20 PM | #1 |
Guest | I'm after an effect like haunted gold mines - where you're constructing a building on top of some existing structure. I know this has been asked before, but I couldn't find a concrete answer on how to do it. It's pretty obvious that there's no property in the World Editor's object editor that allows for this. I've already tried everything that looks relevant. More importantly, I've tried simply adding "haunted gold mine" to the list of buildable structures for non-undead workers, and the workers have been unable to create actual haunted gold mines. Copying the object didn't work either. Basically, I want to know what hoops I do have to jump through to get the effect I'm after; failing that, any clever workarounds. Basically, I want structures that can only be build on certain locations (not specifically gold mines, but whatever). Preferably without resorting to using blight as that restriction. |
| 12-08-2004, 01:35 PM | #2 |
Haunted gold mine is a completly different building to a gold mine! And for attaching stuff to buildings you could easily do that. Create a false ability, usualy slow aura (tornado) without the buffs is best for this, and when ur attaching a special effect, in this case another building place it there. Or you just create another building on the object editor, run a trigger which detects when abuilding is made and place it but set its heigh to like the building +100 or something. (sorry if the last tip wasnt great) |
| 12-08-2004, 02:24 PM | #3 |
I've tried twiddling with this before. I don't think you can have multiple types of haunted gold mines. I beleive I found that it was hardcoded to be the haunted gold mine in the end. I did that research some time back so i may have mixed up my findings. You can make building placement require a fair number of things. I think you can make building placement require "unbuildable" terrain to build on. |
| 12-08-2004, 04:40 PM | #4 |
For example, you could give a building a pathing map of the large "both" blocker destructible. Then, you could make another building unable to built on air-pathable terrain. However, the method is quite tricky to make work completely as you envision it. |
