WATER HEIGHT greater than 100m

Ask questions about creating worlds, using worlds, etc.
Post Reply
User avatar
Shandon Loring
Posts: 1341
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 961 times
Been thanked: 1581 times
Contact:

WATER HEIGHT greater than 100m

Post by Shandon Loring »

I hope this question isn't all wet, but wondering...

Is it possible to set a Worlds Water Height to greater than 100 meters?

I'm attempting to set it in Firestorm>Region/Estate>Terrain>Water Height

Thank you!!
These users thanked the author Shandon Loring for the post:
Ilan Tochner
User avatar
Ilan Tochner
Posts: 6503
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4942 times
Been thanked: 4455 times
Contact:

Re: WATER HEIGHT greater than 100m

Post by Ilan Tochner »

Hi Shandon,

The maximum water height you can set via the viewer is 100m.
These users thanked the author Ilan Tochner for the post:
Shandon Loring
User avatar
Shandon Loring
Posts: 1341
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 961 times
Been thanked: 1581 times
Contact:

Re: WATER HEIGHT greater than 100m

Post by Shandon Loring »

Thank you Ilan!

If anyone needs it the following script works for me

--------------------------

//REGION WATER HEIGHT UTILITY
//Rough but gets the job done, suggest deleting object after water height is set
//Always works as a HUD in case you need to keep it with you as you jet around your region
// When script says "Ready for commands"
// Type in Local Chat /waterheight xxx
// (where xxx = your desired waterheight)
// Standard disclaimer: if it breaks not my fault, if you're concerned about this script breaking something Don't Use It. Etc Etc.

// WARNING: DO NOT SET FOR NEGATIVE VALUE!!!
// WARNING: DO NOT SET FOR NEGATIVE VALUE!!!
// WARNING: DO NOT SET FOR NEGATIVE VALUE!!!

// from http://opensimulator.org/wiki/OsSetRegionWaterHeight

float g_WaterHeight; // <---- Storage Var
integer g_ListenChan = 0;
list g_ltmp; // <--------Temporary buffer

default
{
state_entry()
{
llListen(g_ListenChan, "", llGetOwner(), ""); //Prepare listener
llSay(0, "Ready for commands");
}
listen(integer channel, string name, key id, string message)
{
g_ltmp = llParseString2List(message, [" "], []); // Split the message into chunks
if(llList2String(g_ltmp, 0) == "/waterheight") // Self explanatory
{
osSetRegionWaterHeight(llList2Float(g_ltmp, 1)); // Set the region water height to the specified value
llSay(0, "Setting region water height to "+llList2String(g_ltmp, 1)+"m (In case anyone was wondering)");
g_ltmp = []; // Flush buffers
}
}
}
These users thanked the author Shandon Loring for the post:
Snoots Dwagon
User avatar
Krull Kitty
Posts: 100
Joined: Thu Aug 06, 2020 1:25 pm
Has thanked: 39 times
Been thanked: 81 times

Re: WATER HEIGHT greater than 100m

Post by Krull Kitty »

I wonder what would happen if you set that script to a negative value? :>
These users thanked the author Krull Kitty for the post:
Shandon Loring
User avatar
Shandon Loring
Posts: 1341
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 961 times
Been thanked: 1581 times
Contact:

Re: WATER HEIGHT greater than 100m

Post by Shandon Loring »

Reportedly it immediately crashes your Region and prevents you from logging back into it. I didn't actually try that. I figure Oren has enough work! lol

I just needed a 500m deep ocean at Neaburn City 😃
These users thanked the author Shandon Loring for the post:
Krull Kitty
User avatar
Krull Kitty
Posts: 100
Joined: Thu Aug 06, 2020 1:25 pm
Has thanked: 39 times
Been thanked: 81 times

Re: WATER HEIGHT greater than 100m

Post by Krull Kitty »

Would it not be interesting if a negative number created a deep and mysterious water hole?

And the sim it was used on suddenly relocated itself on the grid to an equally mysterious "Griduma Triangle" :D
Post Reply