K
Kizza
Guest
CS_Militia-like Flowing Water
1. Use GCFScape to extract "root\cstrike\materials\models\props\CS_militia\river01.vtf" from "counter-strike source shared.gcf"
2. Open Notepad and paste this, then save it as "flow.vmt" (without the .txt extension):
UnLitGeneric
{
"$basetexture" "river01"
"$translucent" "1"
"$nocull" "1"
//"$surfaceprop" "water"
"$decal" 1
"Proxies"
{
"TextureScroll"
{
"texturescrollvar" "$baseTextureTransform"
"texturescrollrate" .15
"texturescrollangle" 270.00
}
}
}
3. Place both these files in your "<game>/materials" directory and then restart Hammer and/or the SourceSDK.
4. Create the shape of your water geometry (slanted, waterfall, flat?) and texture it as normal water.
5. Copy the entire water geometry and place it 1 unit above and away from the original.
6. Texture the surface of this in "flow" and adjust scale and offset to suit.
7. Compile, if the water is running upstream, rotate 180 degrees.
7a. Enjoy.
-Kizza
Note: If you wish to distribute maps with these textures you will need to use BSPZip to include the files.
1. Use GCFScape to extract "root\cstrike\materials\models\props\CS_militia\river01.vtf" from "counter-strike source shared.gcf"
2. Open Notepad and paste this, then save it as "flow.vmt" (without the .txt extension):
UnLitGeneric
{
"$basetexture" "river01"
"$translucent" "1"
"$nocull" "1"
//"$surfaceprop" "water"
"$decal" 1
"Proxies"
{
"TextureScroll"
{
"texturescrollvar" "$baseTextureTransform"
"texturescrollrate" .15
"texturescrollangle" 270.00
}
}
}
3. Place both these files in your "<game>/materials" directory and then restart Hammer and/or the SourceSDK.
4. Create the shape of your water geometry (slanted, waterfall, flat?) and texture it as normal water.
5. Copy the entire water geometry and place it 1 unit above and away from the original.
6. Texture the surface of this in "flow" and adjust scale and offset to suit.
7. Compile, if the water is running upstream, rotate 180 degrees.
7a. Enjoy.
-Kizza
Note: If you wish to distribute maps with these textures you will need to use BSPZip to include the files.