Hl2 water effects in goldsource Created 16 years ago2007-08-18 23:16:40 UTC by kc8kjp kc8kjp

Created 16 years ago2007-08-18 23:16:40 UTC by kc8kjp kc8kjp

Posted 16 years ago2007-08-18 23:16:40 UTC Post #232408
One thing that i would really like to have in my mod Silent Running, is water that reflects surfaces, refracts whats underwater, and have underwater fog, im not sure if the goldsource engine can even take this effects, if it can by any chance, i would like to know if anyone has an idea on how to code this sort of stuff, or if it has already been done :)
Posted 16 years ago2007-08-19 00:00:35 UTC Post #232409
If you're using Spirit, you can use env_shine for simple reflections. A good way to have semi-realistic reflections is to take a screenshot of the map from the point of reflection(IE: the water's "point of view"), convert the screenshot to a sprite(resized of course), and use that screenshot as your reflection sprite.

As for the fog, just make the initial func_water and stack layers of a transparent brush with a dark texture under it.
Posted 16 years ago2007-08-19 00:19:26 UTC Post #232411
Sprites over the top of water can also give you some basic ripple effects.
AJ AJGlorious Overlord
Posted 16 years ago2007-08-19 00:47:05 UTC Post #232412
You can also give the water a nice ripple effect by using 3 layered brushes, one func_water and two func_conveyors, for the water. Have the func_conveyors move 90 degrees apart, then put them, and the func_water, on the same Z coordinates(AKA inside each other). It helps to use the same exture for both water and conveyor, but that requires custom textures.
Posted 16 years ago2007-08-19 22:59:59 UTC Post #232464
What version of spirit are you talking about with this "env_shine" entity, worldcrafter?
Posted 16 years ago2007-08-20 00:04:10 UTC Post #232469
Its func_shine, sorry. And its in the latest version available. I don't remember what version, but they haven't updated since 2005, I believe.
Posted 16 years ago2007-08-20 01:11:37 UTC Post #232471
What sucks about Spirit is that every new version has more bugs than the last. They fixe 1 and 2 more appear. I use Spirit 1.2
Posted 16 years ago2007-08-20 23:22:29 UTC Post #232516
Spirit 1.5 alpha 2 is really good, has barely any bugs at all.
Posted 16 years ago2007-08-21 03:19:19 UTC Post #232525
What sucks about spirit though is that you cant get hold of it. Whitplasma wtf? I have been looking for spirit 1.5 alpha 2 for ages.
You must be logged in to post a response.