Jump to content

Linden water


shaun Mosswood
 Share

You are about to reply to a thread that has been inactive for 4085 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hi, have a question about being able to swim in water, think it needs a script so maybe this is the right section.

Im wondering why we are able to swim in linden water but not water we make ourselves?  I understand the swimming action comes mostly from our AO's and there are swim huds you can get but............

Is it possible to say build a swimming pool with animated prim water and somehow make that water swimable by use of scripts perhaps.

Only simple way I can think of doing it is to have no bottom to the pool with the linden water level up high enough inside the pool.

Look forward to any answers :)

 

Link to comment
Share on other sites

An AO with this ability uses the following in some way:

vector avPos = llGetPos();float waterPos = llWater( avPos );if (avPos.z > waterPos) // walkelse // swim

The waterPos is the level of the Linden water
If you change that to the level of the water in your pool you can swim in your pool

:smileysurprised::):smileyvery-happy:

Link to comment
Share on other sites

Some swimming HUDs require scripts in prim water for the swimming HUD to work properly in prim water.  The scripted prim water and the scripts are usually available where the HUDs are sold.  The Swimmer and SLwim are in this category. The scripts position your avatar correctly in relation to the water automatically..

Other HUDs, like the Second Life Swimmer do not require anything but the HUD.  However you sometimes have to use the HUD to adjust your position so that your avatar is positioned in the water correctly.

If you are building the pool for yourself only you can choose whichever system you like.  I have all three of the HUD's mentioned above and they all work great.

If you are building the pool to resell, you'll need to build it for HUDs that require no scripts and/or a specific swim system, or provide a variety of sets of the scripted water prims for the various HUDs requiring them.  Just be sure to list in you presale information what HUD's are supported.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4085 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...