How do I make water?


(Quell) #1

Hello,

I read the manual about making water with a brush. I have made a brush and used it to cut into my floor. I then textured the floor that I cut into (it was cauk). The manual said the top and bottom of my brush must be the water texture. I looked in the common texture group and found one called leakstream is that the texture I use for water or is there one in some group actually called water?

Also the manual talks about “A water texture is defined by the presence of surfaceparm water in the shader that creates it.” I guess I really have to read up on what a shader is and then I will probably understand what surfaceparm is. Is there a good post for shader or water?

Thanks in advance.


(Mr_Tickles) #2

Woah, don’t worry about shaders for just making a water brush… well, not just yet anyway.
Just drag out a brush to the size you want it. Click Textures at the top, then choose “liquids” thats where all the water stuff is for the moment. When it says that the top and bottom have to be the same texture it means just that. You can choose faces separately by holding down Ctrl + shift at the same time and clicking on the brush face. Try different water textures from in the liquids folder though as I seem to remember one of them being a frozen water texture which obviously didn’t really do that much. Also if the Ctrl+Shift+Click thing was new to you, you may want to check out a tutorial on caulk. I found these very very useful, and still do, as i’m still new -> http://www.wolfensteinx.com/surface/tutorials.html.

Hmmm, sorry, just tried the link myself and it doesn’t seem to work, maybe it’s just my browser, if it doesn’t on yours, copy the address line into your address bar.

I hope this helped :slight_smile:


(MuffinMan) #3

http://www.wolfensteinx.com/surface/tutorials.html

you wrote the dot at the end and it was used as part of the link…


(Mr_Tickles) #4

Lol, thanks. Very good tutorials! :rocker2:
(You might want to check one thing though, eyeronik has targetname instead of scriptname on the explosive radio. Sorry, just thought i’d mention it as it had me for a while.) :slight_smile:


(MuffinMan) #5

I don’t think he will change that very soon, btw the tutorials are all for rtcw although most of them are still very useful for ET


(Java.Lang) #6

An easy answer to your question: Make a brush the size you want (for liquids like water, I usually make the brush over sized (goes into floor, goes into walls).
Make the brush out of the common>water_nodraw shader.
The “no draw” indicates you will not be able to see the water because it will not be drawn, BUT it will give the brush the properties of water (you can swim in it). At this point you just want to select the surface of your water (ctrl+shift+select) and choose a liquid texture you like the most. (The standard water shaders are in the liquids or liquids_sd folders, make sure you use one with a white outline around the texture, those indicate they are shaders [textures with surfaceparms]).

Like you suggested above, shaders have surface parameters which give brushes properties in game. This means that by default you cant “swim” in a normal brush’s texture. You must apply a texture which has a surfaceparm of “water”. Finding the one that best suits you, is probably going to be your hardest time now. Good luck!

Muff, you’re my hero!


(MuffinMan) #7

I’m your hero? what did I do to recieve these honours? :wink:


(Quell) #8

That worked great! Thanks.