Check out Half-Life Re-imagined competition results!
Check out Skewing textures in Hammer, our newest tutorial!
Welcome, SuperFist915, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

19

Cobalt

33

Turquoise

11

Cyan

15

Royal

11

Teal

3

Onliners

3 mins

savvaisnotagirl

3 mins

Strider

4 mins

Dimbeak

7 mins

Crypt

19 mins

Windawz

19 mins

JeffMOD

38 mins

twitch1

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

Aquarium solution

[1]

Forums > Source Engine Discussion

08 Feb 18, 15:15
By Filip98
avatar
Member
I'm new here.. i honestly got here by a link on the twister tool site and thought it was cool.
I guess this didn't need to be my introduction thread but i stumbled upon the thread where a guy wanted to make an aquarium but source didnt like that.
for some reason when i tried to bump request it i got an error saying that the thread doesn't exist so i just made a new one if anyone is interested in this.

Found this on the wiki:
https://developer.valvesoftware.com/wiki/Ma
king_a_wall_of_water

essentially it's using an animated bump map, better than texturescroll
I checked the vpk's of the sdk base 2013 and both the materials are present by default so it appears that this has been adopted.
A more modern approach would be to use a flowmap instead of the animated texture but that requires more effort
https://developer.valvesoftware.com/wiki/$f
lowmap#Flowmaps


now the fish may mind if it's solid so just tie the whole thing to func_brush and set solid to no
i realize someone may want to be able to swim in it but i'm not aware of any means to make this happen unless its actual water, i'm not sure why func_water_analog wouldn't do the trick right from the start
09 Feb 18, 21:39
By tschumann
avatar
Member
Have you made one?

There's a fish-tank in Vampire The Masquerade Bloodlines which ran on a pretty old version of Source - possibly it was just a very complex model though.
11 Feb 18, 04:00
By Filip98
avatar
Member
Yes i have, i've been testing it for a bit and i've found that valve's vmt for these textures is nature/water_movingplane and nature/water_movingplane_beneath (in which they've also introduced a _beneath texture)
But i've found valve's vmt's buggy because it misses the fog parameters in the .vmt's and so the console drops countless warnings about them missing when its supposed to be rendered, i'm saying it like this cuz apparently its not all the time... the fog appears to only work when inside the water brush:
http://i66.tinypic.com/2yv76ls.jpg

It also seems to have some lightning issues(i'm also sorry for the nightmare fuel in the background... it's also not supposed to be there but in the center of the water so it must have wanted to escape):
http://i64.tinypic.com/14wun1g.jpg
http://i66.tinypic.com/29ktgdk.jpg
these lightning issues seem to be mostly caused by having lights get on the water directly, the glass i put on the other sides was fine either way

idk if this is standard water behavior but projectiles get their trajectory altered upon entering this water, otherwise bullets dont even pierce the surface

it doesn't look very pretty even tho it's interactive with splashes and everything, theres none of the animation that the wiki page promised.. maybe there's a fix by playing with the vmts or by using flowmaps or texturescroll like how the old cs_militia water used to use
[1]

Forums > Source Engine Discussion

Login to Reply

You must be logged in to reply.