Page 1 of 2
fill a dungeon dug out with water?
Posted: Mon Dec 22, 2014 1:15 pm
by Halluinoid
in your dungeon, make a square 1 level lower
fill it with water
HOW do you do it?
As soon as I add the Game Object "water_surface_underground" I see the water level is 1 level higher and it just looks like the water surface is suspended 10' up in the air
everything else works
can we have attachments on here please so that we can add a screenshot and show everyone the problem?
Re: fill a dungeon dug out with water?
Posted: Mon Dec 22, 2014 1:30 pm
by THOM
Have a look at the video Tutorial of Skuggasveinn:
https://www.youtube.com/watch?v=hVpY60P ... B7joLG52Nc
Water mechanic works a bit different than you expect
Re: fill a dungeon dug out with water?
Posted: Mon Dec 22, 2014 1:35 pm
by Halluinoid
yes that is excellent and I love that video, it works if you do a dungeon from scratch and only do that 1 thing ...
however I now have several levels done
tried to do this again in my multi level dungeon and the water surface is now 10' up in the air!! tearing my hair out!
can we have attachments on here please so that we can add a screenshot and show everyone the problem?
Re: fill a dungeon dug out with water?
Posted: Mon Dec 22, 2014 1:50 pm
by Dr.Disaster
AFAIR the water surface is always on height 0. If the water surface shows up in the air your dungeon floor is prolly on height -1?
Re: fill a dungeon dug out with water?
Posted: Mon Dec 22, 2014 2:17 pm
by Halluinoid
correct
and I lowered the water surface to -1
no difference

Re: fill a dungeon dug out with water?
Posted: Mon Dec 22, 2014 2:20 pm
by Dr.Disaster
The water surface is
ALWAYS at height 0. As far as i know it can't be modified, at least not with the settings the editor gives you.
Re: fill a dungeon dug out with water?
Posted: Mon Dec 22, 2014 2:36 pm
by TheLastOrder
Unfortunetly you need to re-place the position of everything in that level OR start a new level considering this.
ThereĀ“s no known way to change that, I used one day searching the forum and trying to change that. Sorry!!

Re: fill a dungeon dug out with water?
Posted: Mon Dec 22, 2014 4:24 pm
by Halluinoid
Dr.Disaster wrote:The water surface is
ALWAYS at height 0. As far as i know it can't be modified, at least not with the settings the editor gives you.
Yes if you pay attention to the video Tutorial of Skuggasveinn he actually says those words but I didn't realise that he literally meant Level 0
yes it is a limitation but you can work with it
so every dungeon level, you cannot say have a -5 level and expect to do a -6 bath

not going to work
you can do a -5 water level ..... as long as it is 5 levels DEEP!

ok I learnt it now - THANKS to all above

Re: fill a dungeon dug out with water?
Posted: Tue Dec 23, 2014 5:59 pm
by Drakkan
actually it is possible...
Code: Select all
defineObject{
name = "user_water_surface",
base_object = "water_surface",
components = {
{
class = "WaterSurface",
fogColor = vec(0.021,0.045,0.13,0),
fogDensity = 0.2,
planeY = -0.4,
reflectionColor = vec(0.693,0.81,0.9,0),
refractionColor = vec(1,1,1,0),
},
{
class = "WaterSurfaceMesh",
-- There you'll have to modify the Y offset to up/down the water level
offset = vec(0,0,0,0),
material = "water_surface_calm",
underwaterMaterial = "water_surface_underwater",
},
},
placement = "floor",
editorIcon = 264,
}
the problem is curently that if you use this inside dungeon, water surface is black. seems like some problems with shaders... Doridion was investigating it, perhpas he will find yout some solution. As for outdoor areas, its working ok. Hope it helped you a little.
Re: fill a dungeon dug out with water?
Posted: Wed Dec 24, 2014 2:45 am
by Mal85
I discovered this issue as well while designing a dungeon that had water on several different levels below -1 as well. as mentioned water is just below 0 and -1 no matter where you place your water_surface asset. I doubt it will be long before someone discovers how to have water on different levels, but in the mean time you must design your dungeons with this in mind. Annoying limitation to be sure, as I primarily want knee deep water and the like for my dungeons.