sound and textures....


(cicero) #1

One question… Some of the textures found under the folder common does contain some sound or other specialties when using then, (i.e. clip textures, clip weapon metal, clipp weapon wood, terrain, terrain sand, terrain snow…) so when a player walk on those textures a sound is hearable or a bullet is stoped or whatever the specific textures extra function is…

So to the question, how do you use them? Shall I paint my ground with them? How will my terrain then look? Or shall I paint my terrain with the texture I would like it to have and then make a huge brush and add that terrain texture on to it? (just like a trigger brush?)

For exemple, if I have a slanted roof with a metal texture allready on to it, would I then have to add first another slanted brush over it with a slick texture so that that area ain’t walkable and then add another brush with a metal clip texture (to stop any bullets) and then yet another brush with a texture for a certain sound and so on? Hear that there are problems with slanted brushes…and I have at least around 30 of them (though I made them into details as I heard that is something you shall do) Seems like very much work for almost nothing… Aren’t there already sound in the grass or sand texture?

THX!!


(damocles) #2

If you want to modify your terrain sounds when walked on/shot then you have to edit the terrain shader.

In your terrain shader, for each stage of the blending/mapping process, add a line such as:

surfaceparm grasssteps

or

surfaceparm gravelsteps
surfaceparm woodsteps

etc. Look in other terrain/texture shaders to see how it works and what effects are available.


(seven_dc) #3

The textures from common are used for accieving functionallities on invisible targets like when you add a model in your map you can walk through it so it needs brushes textured from common dir to make it not passable.

You don’t have to use those brushes with normal brushes. All the “normal” textures are set so that they produce the walking sounds and surface behaviour. It all comes to shaders but that is the thing you don’t have to worry yeat.


LovelyWendie99


(Sonix) #4

That’s pretty cool. So most textures hacve their own sound embedded in them?