How to make it appear as if the ground is moving?

Eureka

L1: Registered
Aug 3, 2013
17
0
I want to make my map be a boat or a train that moves along the ground. It doesn't actually need to move, but I'd like to give the appearance that it does.

A good example is CTF_Convoy which you can see in action HERE

Any ideas?
 

Fantaboi

Gone and one day forgotten
aa
Mar 11, 2013
892
1,050
Yeah, convoy makes the skybox camera move through an environment, so the background is moving (not the player) which gives the illusion of the player moving.
Decompile ctf_convoy or use no clip and look at the 3d skybox to learn it .
 
T

The Asylum

take any vtf and paste this into its vmt:

"LightmappedGeneric"
{
"$basetexture" "yourfolder/yourtexture"
"$surfaceprop" "rock or whatever"
"Proxies"
{
"TextureScroll"
{
"texturescrollvar" "$baseTextureTransform"
"texturescrollrate" 0.6
"texturescrollangle" 90
}
}
}

texturescrollrate controls the speed of the scroll (obviously) and texturescrollangle controls the direction of the scroll. You should just have it at 0 or 90