PDA

View Full Version : Water System


Gallin
11-15-2009, 02:06 AM
I am looking for help creating a water system. It will be like an aquifer. The picture attached will explain what I am trying to do but I will also write out what I am trying to do.

The first aqueduct in the system must be built near a water supply or another aqueduct. You build on this so you can build farms away from the water. Each aqueduct can be destroyed cutting off the water.

The water can only travel in one direction so that if the aqueduct is destroy the water remaining in the other ones continues on down the line so you might not notice the destroyed aqueduct for awhile. If anyone can help me with this please post here.

L2love
11-15-2009, 03:33 AM
Wait so you want 2 make water move in 1 direction if so you cant do that with normal WE water but you can do it with waterfallz YAY.

Gallin
11-15-2009, 03:49 AM
no the black things are the aqueducts and it isnt acctually water it is mana

Yixx
11-15-2009, 09:06 AM
mana is not an object, it is an abstract number used to cast and used by spells.

Jetherit
11-15-2009, 02:38 PM
What you have to use is a recursive structure that continuously cycles through the aqueducts linking to the water, and then finding the aqueducts linked to those. That way, any aqueducts that aren't linked aren't selected, and then it's easy to find which farms are in proximity to a linked aqueduct.

Gallin
11-15-2009, 05:18 PM
I was thinking of making a spell in the aqueducts that are cast when its gets a certian ammount of mana and than it gives it either to the farm or another aquaduct