Search
Username:
Password:

Register or Reset Password

SUBMISSIONS
Counter Strike
   New Maps
   New Tutorials
   New Skins
   New GUI's
   New Sounds
   New Threads
Other
   Media
   Gamers
   Clans
   Studios
Flowing Water
Difficulty: Advanced
Category: CS:S > MappingAuthor(s): valve developer community
Did you create this? Request ownership

Flowing water
1. Use GCFScape to extract "root\cstrike\materials\models\props\CS_militia\river01.vtf" from "counter-strike source shared.gcf"
2. Place this file in your "/materials/flow" directory and then restart Hammer and/or the Source SDK.
3. Create a .VMT file called "flow" in the same directory and paste the following inside it:


"LightmappedGeneric"
{
"$basetexture" "flow/river01"
"$translucent" 1
"$nocull" 1
"$decal" 1

"Proxies"
{
"TextureScroll"
{
"texturescrollvar" "$baseTextureTransform"
"texturescrollrate" .15
"texturescrollangle" 270.00
}
}
}



Straight
Create your water geometry and give it a nice water material.
Copy all of your water geometry and place this copy one unit above and away from the original geometry.
Texture the surface of this new geometry in the new "flow" material.
Adjust the scale and shift to conform with the edges of the water.
Compile.



Corners & turns
Create your water geometry and give it a nice water material.
Copy all of your water geometry and place this copy one unit above and away from the original geometry.
Cut this copy into shapes of the correct dimensions for sewing ( 64 x 128 x 256 512 x 1024 x 2048 x etc depending how wide your river is go to the nearest value).
Texture the surface of this new geometry in the new "flow" material (we will call this textured face "face x").
Using the "Texture Application Box" make the top "face x" a displacement (the higher the power, the more power you have to pinpoint turns).
Use "Paint Geometry" with the axis set to either X or Y axis and move the edges of the water flow to match up with the original waters boarder/containment.
Make use of the "sew" tool to keep all the flowing-water displacements connected. Make sure when you are finished the geometry of the water-flow, to align the texture on each of the cuts so it flows correctly and consistent with the flowing animation.
Compile.
Added: 2 months agoTags: flowing, water
Feedback (14)
Page of 2   1 2 Next Page
.
Rate my subs please!Y2M
Posted 9 days ago
Good guide, however I have a problem, with doing a scrolling texture, I extracted a TF2 texture, created a VMT with the lines you listed bar:

"$translucent" 1
"$nocull" 1

Because I dont want the texture to be translucent, however now I just get the purple and black chess pattern in Hammer.

Any ideas?
- Rate my subs please!
DamonHunter13 .
And australia is still like "WTF mate?" Y2M
Posted 24 days ago
Ok thanks kosire. Never really been in a map where I can put the player under water.
I'm gonna make a de_sewer map with lots of water. :p
- And australia is still like "WTF mate?"
.
SourceArtsY2M
Posted 24 days ago
Posted by DamonHunter13

Sorry if this question has been asked before but can you lose health for being under water for a set amount of time? can you drown? will your health recover as if your finally breathing in oxygen? Kinda new to making maps with water.


If your staying too long in the water, you would not have enough ilt to breeth. Then you will loose health.
- SourceArts
DamonHunter13 .
And australia is still like "WTF mate?" Y2M
Posted 24 days ago
Sorry if this question has been asked before but can you lose health for being under water for a set amount of time? can you drown? will your health recover as if your finally breathing in oxygen? Kinda new to making maps with water.
- And australia is still like "WTF mate?"
m.t.clipz .
BananiteY2M
Posted 29 days ago
Hey, i don't know all the technicalities like what GFCScape is. Help? please lol
- Bananite
Bov .
NoobY2M
Posted 1 month ago
Great tutorial, really useful.
Rebell .
TOMB:SERVER ADMINY2M
Posted 2 months ago
Will try out !

cya
.
SourceArtsY2M
Posted 2 months ago
Posted by Timbe

Screenshots missing otherwise good although its a copy from vdc..


yes, its a copy from valve developer community, but im not taking any credit for it.

Author(s): valve developer community
- SourceArts
Timbe .
Y2M
Posted 2 months ago
Screenshots missing otherwise good although its a copy from vdc..
-
.
Professional TriangulistY2M
Posted 2 months ago
Nice and unique tutorial. I'll try it out next time I use water in one of my maps.

Nice work finding this out.
Page of 2   1 2 Next Page
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
9.8/10
bScore
9.8/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Detailed & Handy
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.

Added by...
.
SourceArts
Ranked 547th ( 2) with 3,487 points. 30 points behind Robtronic .

[+] Donate
Related Tutorials