Moving a water plane.

Post » Thu Dec 05, 2013 10:05 pm

Hi,

I'm working in an interior cell at the moment and I'm trying to make it possible to change the height of a water plane by turning a valve- by using the translateTo command. The only problem is that while the water looks as though it has moved downwards, I am still able to swim about in the space it used to occupy. How can I move the swimmable area as well?

User avatar
Claire Jackson
 
Posts: 3422
Joined: Thu Jul 20, 2006 11:38 pm

Post » Thu Dec 05, 2013 10:17 pm

There's a quest that does this, I don't remember which though, I remember there being something about retrieving an eye. The quest raises the water level in the room, it must do it by moving a water plane since I'm pretty sure you can't change a cell's water level. If translateTo doesn't work it probably uses one of the other translation variants like SplineTranslateTo.

User avatar
FirDaus LOVe farhana
 
Posts: 3369
Joined: Thu Sep 13, 2007 3:42 am

Post » Thu Dec 05, 2013 12:51 pm

This is one of those that's dead simple but completely undocumented.

If you're using a vanilla water Activator, duplicate it and use the duplicate for your script. Open the duplicate and add the keyword "Movable". Now it will translate properly.

Really. That's it. One keyword.

Edit: Added a note about this to the TranslateTo page of the CK Wiki. Wouldn't mind adding it elsewhere, too, but it doesn't seem suitable under either Activator or Water Type.

User avatar
Anna Kyselova
 
Posts: 3431
Joined: Sun Apr 01, 2007 9:42 am

Post » Thu Dec 05, 2013 8:58 am

I've set this up multiple times before, all I did was place 2 xmarkers which acted as my highlevelmarker and my lowlevelmarker (I wanted the water to go up and down) and simply got the Z position of both of them and used TranslateTo.

IIRC I even posted a script on an old thread.

User avatar
Stu Clarke
 
Posts: 3326
Joined: Fri Jun 22, 2007 1:45 pm

Post » Thu Dec 05, 2013 7:01 pm

This works for visuals, but the water's actual collision doesn't get translated unless the Movable keyword is present, or at least it didn't when I was testing it last year.

User avatar
Jade Muggeridge
 
Posts: 3439
Joined: Mon Nov 20, 2006 6:51 pm

Post » Thu Dec 05, 2013 12:44 pm

Cheers guys! That worked great.

User avatar
Fanny Rouyé
 
Posts: 3316
Joined: Sun Mar 25, 2007 9:47 am

Post » Thu Dec 05, 2013 4:02 pm

Ah, that explains something then I was only doing it for NPC's.

User avatar
Donatus Uwasomba
 
Posts: 3361
Joined: Sun May 27, 2007 7:22 pm


Return to V - Skyrim