partially flooded dungeon

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
AmiDARK
Posts: 55
Joined: Thu Apr 19, 2012 6:07 pm
Location: Aix en Provence, France
Contact:

partially flooded dungeon

Post by AmiDARK »

Hi All,

Does anyone have an idea on how we could make an area of a dungeon be partially flooded by water ?

Regards,
User avatar
Neikun
Posts: 2457
Joined: Thu Sep 13, 2012 1:06 pm
Location: New Brunswick, Canada
Contact:

Re: partially flooded dungeon

Post by Neikun »

The way I would do it is with a couple models for water, with a watery texture, and a particle system on it that makes it look more fluid.
I'm still in the brainstorm process of developing this one.
"I'm okay with being referred to as a goddess."
Community Model Request Thread
See what I'm working on right now: Neikun's Workshop
Lead Coordinator for Legends of the Northern Realms Project
  • Message me to join in!
User avatar
Komag
Posts: 3658
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: partially flooded dungeon

Post by Komag »

suffice it to say it would not be easy!
Finished Dungeons - complete mods to play
User avatar
Kuningas
Posts: 268
Joined: Wed Apr 11, 2012 10:29 pm
Location: Northern Finland

Re: partially flooded dungeon

Post by Kuningas »

But awesome! Think of all the awesome!

At it's most simplest, it'd include making a water model that fits on a downward stair model and prevents going down them. And a few puddles as remnants of water as well.
BASILEUS
User avatar
Xanathar
Posts: 629
Joined: Sun Apr 15, 2012 10:19 am
Location: Torino, Italy
Contact:

Re: partially flooded dungeon

Post by Xanathar »

This, the forest and mine tilesets, the treasure chests and illusionary walls and we are only a dialogue window away from a LOL1 remake! (ok we also miss a swamp tileset, freezing pits, caves and an open city). To celebrate I'll work on a rechargeable lantern :)
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com

The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563

My preciousss: http://www.moonsharp.org
AmiDARK
Posts: 55
Joined: Thu Apr 19, 2012 6:07 pm
Location: Aix en Provence, France
Contact:

Re: partially flooded dungeon

Post by AmiDARK »

I'm not good as modelling, but I'm sad that we cannot use our own Shader otherwise I have one for water that may be great for the game :p

Neikun, why am I not suprised by your answer ? ;)

Regards,
User avatar
Skuggasveinn
Posts: 562
Joined: Wed Sep 26, 2012 5:28 pm

Re: partially flooded dungeon

Post by Skuggasveinn »

This got my attention :)

Here is the days work.
http://grimrock.nexusmods.com/mods/119

What we have done is to create a model that is a semi transperant plate just above the floor with a water texture.
Then we define that model inside a lightsource.

Code: Select all

defineObject{
	name = "sx_flooded",
	class = "LightSource",
	lightPosition = vec(0, 0.4, 0),
	lightRange = 0,
	 lightColor = vec(1, 1, 1),
	brightness = 1,
	castShadow = false,
	model = "mod_assets/models/sx_flooded.fbx",
	placement = "floor",
	particleSystem = "waterflow",
	particleSystemNode = "MainObject",
	replacesFloor = false,
	editorIcon = 136,
}
Then we create particle effects (I did 2 effects), one that gives the illusion of flowing water, and another that gives the illusion of sparkling static water.
We use the glitter_silver texture for the effect.

Code: Select all

defineParticleSystem{
 name = "waterflow",
 emitters = {

 {
 emissionRate = 1000,
 emissionTime = 0,
 spawnBurst = false,
 maxParticles =1000,
 boxMin = {-1.3,-1,-1.3},
 boxMax = {1.3,0,1.3},
 objectSpace = true,
 sprayAngle = {0,1},
 velocity = {0,0},
 texture = "assets/textures/particles/glitter_silver.tga",
 lifetime = {100000, 100000},
 colorAnimation = false,
 color0 = {1, 1, 1},
 opacity = 0.7,
 fadeIn = 0.4,
 fadeOut = 2.5,
 size = {0.05, 0.1},
 gravity = {10,0,0},
 airResistance = 1,
 rotationSpeed = 8,
 blendMode = "Additive",
 }
 }
}

defineParticleSystem{
 name = "waterstatic",
 emitters = {

 {
 emissionRate = 1000,
 emissionTime = 0,
 spawnBurst = false,
 maxParticles =300,
 boxMin = {-1.3,-1,-1.3},
 boxMax = {1.3,0,1.3},
 objectSpace = true,
 sprayAngle = {0,1},
 velocity = {0,0},
 texture = "assets/textures/particles/glitter_silver.tga",
 lifetime = {100000, 100000},
 colorAnimation = false,
 color0 = {1, 1, 1},
 opacity = 0.7,
 fadeIn = 0.4,
 fadeOut = 2.5,
 size = {0.05, 0.1},
 gravity = {0,0,0},
 airResistance = 1,
 rotationSpeed = 8,
 blendMode = "Additive",
 }
 }
}
The end result is looks like this.

Image

Image

Image

Grap the source from nexus and check it out, seeing is believing ;)
I got water sound effects and waterfall also with fog emitters, screenshots just don't cut it.

Skuggasveinn.
Link to all my LoG 2 assets on Nexus.
Link to all my LoG 1 assets on Nexus.
Batty
Posts: 509
Joined: Sun Apr 15, 2012 7:04 pm

Re: partially flooded dungeon

Post by Batty »

oh that is awesome!

edit: my party just took a shower in the waterfall.
Last edited by Batty on Sun Nov 25, 2012 11:17 pm, edited 1 time in total.
User avatar
Komag
Posts: 3658
Joined: Sat Jul 28, 2012 4:55 pm
Location: Boston, USA

Re: partially flooded dungeon

Post by Komag »

oh my gosh, I should have known you'd come up with something so awesome like that!!
Finished Dungeons - complete mods to play
AmiDARK
Posts: 55
Joined: Thu Apr 19, 2012 6:07 pm
Location: Aix en Provence, France
Contact:

Re: partially flooded dungeon

Post by AmiDARK »

Skuggasveinn, thank you for your help.

I think that with various textures, we can probably modify this to do some different waters.
Great work.

Regards,
Post Reply