Using existing game textures on custom models?

Mic

L1: Registered
Sep 9, 2008
48
14
I have a few models that I want to use existing TF2 textures on. Is there a way to use existing textures located in the "team fortress 2 content.gcf" on my models?

Thanks in advance :)
 

3DRyan

L2: Junior Member
Aug 29, 2008
57
6
So, you have untextured, custom models that you would like to use existing valve textures on? You could just bring your model into hammer and browse for the various textures and apply it that way. Just remember that textures that start with "models/_____" are meant for models, not brushes and vice versa. Not sure if you know how to get models into hammer or not, so here's a tutorial on that:

http://forums.tf2maps.net/showthread.php?t=838&highlight=custom+prop


Hope this helps!
 

Sgt Frag

L14: Epic Member
May 20, 2008
1,443
710
Yeah, it is very possible.

You'll have to write a .vmt (?) file that declares which texture to use and which properties it has.

I have done several custom wood props and just used the base wood textures.
The only difference between the model textures and the terrain textures are lighting declarations in the vmt file. So all the building objects actually use the same texture and the terrain textures you use in the editor, but they are vertex lit. Vertex lighting doesn't work on terrain and makes those tetxtures turn black or full bright depending on how you look at them.

There is a 'complete guide to importing custom models' tut in the tut section. Look at that for vmt info.
Oh, looks like 3d ryan has the link up there. /\
 

Mic

L1: Registered
Sep 9, 2008
48
14
Awesome, thanks fellas! Both of your post pointed me in the correct direction. I already went over the tutorial you linked. The part I was missing was that I had to create a custom VMT file pointing to the texture I wanted to use.
Code:
"VertexlitGeneric"
{
	"$basetexture" "Brick/brickwall001"
}