• 0

    posted a message on Building Construction Ability Questions

    Hi,

    I'm working on a mod. As part of that mod I'm trying to revamp the build system. I'm having issues implementing this system right now as I'm not sure how to go about doing it. I've read through a number of tutorials online, but to no avail. The best way I can describe the system I'm trying to implement is with a practical example given below.

    Imagine you start a match as Terran and you OWN the two nearest vespian geysers. I don't mean a Refinery on those geysers, but the actual geysers themselves (i.e. normally the geysers belong to the neutral faction, but now they'd belong to player 1).

    Now imagine that geyser has a functional command button that allows you to construct a refinery on the geyser when you click that button. My question is how would you do this (this second part)? I've investigated using morph, addons, and morph placements, but they all have their issues and seem a bit hacky.

    I believe this must have been done somewhere before. I simply want to have a building that's able to construct other buildings on top of it. When the buildings are destroyed (i.e. the Refinery is destroyed), then the geyser will still be there and a new Refinery can be built from it again after 10 seconds.

    Has anyone seen this type of functionality anywhere before/is there a standard way of doing this? I imagine there is one. Any help is appreciated.

    Posted in: Data
  • To post a comment, please or register a new account.