I have 3 building of the same kind that generate income. I want the enemy's to be able to destroy this building to reduce my income.
When the building is dead i want me or my allys to be able to rebuild the same building to restore income. Each ally will have a special unit/hero that is the only unit who can rebuild it. The building can only be rebuilt on the same spot to prevent that more then the building i put on the map can be built elsewhere.
Now how can i fix this?
I was thinking that mabye when the building die i "transform"/replace it to some junk model. And then give the Hero units a special ability to "cast" repair on the "junk" and then it "rebuild"/build it self up again.
You could make a custom Footprint, 3x3 or whatever, depending on building size. Make it so only that building can be built on that footprint, and make that building un-buildable on other footprints. Clearly mark this footprint area on the map with a different colored square so that it stands out when your building is gone in-game.\
Take a look at how Zerg Buildings can only be built on creep, and its associated footprints.
I have 3 building of the same kind that generate income. I want the enemy's to be able to destroy this building to reduce my income.
When the building is dead i want me or my allys to be able to rebuild the same building to restore income. Each ally will have a special unit/hero that is the only unit who can rebuild it. The building can only be rebuilt on the same spot to prevent that more then the building i put on the map can be built elsewhere.
Now how can i fix this?
I was thinking that mabye when the building die i "transform"/replace it to some junk model. And then give the Hero units a special ability to "cast" repair on the "junk" and then it "rebuild"/build it self up again.
Or is there a smarter way to do this?
@Sherlia: Go
You could make a custom Footprint, 3x3 or whatever, depending on building size. Make it so only that building can be built on that footprint, and make that building un-buildable on other footprints. Clearly mark this footprint area on the map with a different colored square so that it stands out when your building is gone in-game.\
Take a look at how Zerg Buildings can only be built on creep, and its associated footprints.