Jump to content

Create water surface


just59

Recommended Posts

Unfortunately, I'm too inexperienced again. I want to create objects with a water surface. For example, an open barrel where you can see the water inside. Does anyone have or know of a guide on how to create this with NifSkope?

Link to comment
Share on other sites

If we use BrahminTrough (BathtubBroken01.nif) and TroughBathWater (TroughBathWater.nif) as an example, I’d say you’ll need to create two mesh objects: (1) the water barrel itself, and a water plane.  Each of these mesh objects will require collisions, and I am not familiar with how the latest version of nifskope handles collisions.  Assuming you are making a cylindrical-shaped barrel, I would imagine the water plane would be top of a cylinder (i.e., no sides or bottom) having the same dimensions as the inside of the barrel.  The collision shape could be a capsule. The havok material would be SKY_HAV_MAT_WATER.  The Broad Phase Type would be BROAD_PHASE_PHANTOM.   As for the nif structure, you can take a look at DefaultProceduralWater.nif to see how it needs to be setup for the water plane. Note the use of the BSWaterShaderProperty. 

Link to comment
Share on other sites

It is also worth noting the water shader flags.  I took a quick hack at modifying the wood barrel from the game and added a water plane.  I left the water plane nif unprocessed so the structure could be reviewed.  Note: These haven't been tested in game...so consider them proof of concept.

WoodBarrelWithWater.rarFetching info...

Edited by pepperman35
Added attachment
  • Like 1
Link to comment
Share on other sites

For this a single activator (water) should work. the entire object will act as water (interact = drink), but for a barrel thats ok.

you don't realy need a collision specific for the water unless the barrel is big enough for a swim.

Link to comment
Share on other sites

There are mods that expand on all this like the one to create your own pool. (I have personally used Scrap Just A Little Bit More to grab and lift the water plane from Starlight's infamous center crater puddle, putting blocks around to convert the thing into a central water-catcher/pool area. I think it's pretty neat!)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...