PyPRP:Creating a Swim Region

Revision as of 14:52, 30 January 2008 by Marcello (Talk | contribs)

Although adding swimregions looks pretty straight forward I actually had some problems implementing then. I decided to start with a no current region which actually still isn't functioning ;)

Anyway it will eventually and therefor this tutorial will start with start with this seamingly simplest swim region.

Let's have a look at our working model first. I must admit that creativity was at an absolute minus zero when I thought up this little age. Nothing mystical, no fantasy element, nothing. Just the first thing coming to my mind when I thought about swimming ;)

Model.jpg

If you look at the model you can see that I have a plane selected. This plane is my water mesh. I gave this mesh a transparent texture. Or actually a semi transparant texture. I wanted a pool blue color with caustics, transparant enough to show the tiles in my pool but also show some color.

WaterTex.jpg

In Plasma it looks pretty cool:

PoolAge.jpg

Step 1 - Adding your actual "water"

Step 2 - Adding a Swim detection region

Step 3 - Adding AlcScript for no-current swimming

Step 4 - Adding a current empty

Step 5 - Adding Alcscript for straight and circular currents