Buildable Moat

Status
Not open for further replies.

ndh

ndh

Level 8
Joined
Apr 21, 2012
Messages
343
Hey, for my current project i would like to add buildable moats. I'm not quite sure how to accomplish this, but here is a screenshot to help you understand what i am trying to achieve.
images
Just some random image i found through Google.
It should be unpathable and when destroyed it fills up with dirt or something and becomes walkable again. Any help would be appreciated.
 
Last edited:
Actually this might be possible with some triggers and a water pane model...

-Create unit with the pathing of a tower and set the model to be a pane of water floating in the air.

-Trigger it up so when you build the "moat" on a piece of land the land that it is on is pushed down into the ground so that the water pane model will appear to be in the ground. Then, because the unit is using the tower's pathing it would prevent units from passing it to.

(I just wrote it as I thought it. But this is indeed possible to do.)
 
Ehh I'll see what I can do, I haven't done much with changing terrain through triggers.

Edit: I did up some basic triggers just to show the idea, it should work with the right model.
 

Attachments

Status
Not open for further replies.
Back
Top