Materials and texture issue

  • Thread starter Thread starter slumber
  • Start date Start date
S

slumber

Guest
Hello everyone.

In my quest to learn all the functions of Hammer, texturing is something to be done.

I've got my texture appearing in-game with no problem. I was wondering, though, how to make it distinguishable as, say, grass. I know that the default textures, when stepped on, make a grass-like sound, as well as emit dust when shot. I was wondering how this is done.

Thanks in advance for any help.
 
It's an entry in the .vmt files. Here's an example from a .vmt of mine.

"VertexLitGeneric"
{
"$translucent" 1
"$baseTexture" "models\props_leadworks/door_window"
"$glassenvmap" "models\props_leadworks/door_window_opacity"
"$surfaceprop" "glass" //This is the important part!
"$nocull" 1
"$model" 1
}

For my part, I would like to know more about the available options for compiling textures (tga to vtf) and shader parameters (h l 2 world has a list of all shader parameters but with very, very little explanation as to what they do or what their uses are). Plus I would like to know in short how to compile a model with multiple skins that can be set (and fiddled with the I/O system) within Hammer.
 
ahh. I thought it had something to do with that.

Do you know where the hl2 VMT files are, so I can take a look at them to see how they work?
 
ha.. yeah, it would have been wise to look there.

Thanks a lot, it's working now.
 
Back
Top