Custom textures in hl2, vmt & vtf? Created 19 years ago2005-06-19 20:33:13 UTC by Ichthyosaur Ichthyosaur

Created 19 years ago2005-06-19 20:33:13 UTC by Ichthyosaur Ichthyosaur

Posted 19 years ago2005-06-19 20:33:13 UTC Post #115470
Hey Guys,
I just had a question regarding custom textures in hl2. I have been working on getting a custom texture in a dm map for several hours to no avail. I have followed multiple tutorials and I believe I know what I am supposed to do, I?m just not sure as to how.

I had a texture in tga format and put it in the Content Sources directory: (usernamesourcesdk_contenthl2mpmaterialsrc) and I used the command prompt to create a vtf file which went to the Game Content directory: (usernamehalf-life 2 deathmatchhl2mpmaterials).

Now I am supposed to have a vmt file as well to make the texture appear in game however I haven?t been able to get a straight answer as to where and how to get one and what to put in it.

As always any help would be appreciated. Thanks for your time. :)
Posted 19 years ago2005-06-19 20:45:15 UTC Post #115473
In Hammer >> Tools > Options > Textures
Posted 19 years ago2005-06-19 21:02:26 UTC Post #115475
Are you talking about a tab or somthing? I can't find one in the tools menu. If I remember right there was one for hl but I cant find it in hammer 4.
Posted 19 years ago2005-06-19 22:13:55 UTC Post #115493
I have followed the snark pit tutorial to the letter... 7 times... :( and the texture still doesn't show up in hammer. I got my vtf made (and put in the customtex folder) and i added the text to the txt file then renamed it a vmt file (and placed it in thethe same folder) but Ican't find it in hammer. is there somthing that you have to do to make it apera in hammer i.e. change settings or something?
Posted 19 years ago2005-06-20 00:37:21 UTC Post #115498
Well It looks like I've managed to solve my own problem. I think what was hapening was the text file was not changing into a vmt file so it was not recginising it. My solution was to copy one of valves existing vmt files then erase the text in it, replace it with my own and rename the file itslef. a bit of a hasle but it works. I hope this helps anyone in a similar situation; I'd hate to see someone banging there head on the keyboard on when it might just be an oversight like mine. :D
Posted 19 years ago2005-06-20 06:36:31 UTC Post #115528
No, VMTs need to be manually renamed from TXT =]

Base VMT code:

[quote]"LightmappedGeneric"
{
"$basetexture" "materialsfolder/whonkeys"
}[/quote]
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 19 years ago2005-06-20 12:23:11 UTC Post #115585
Of course, a problem might be that Windows has "files to be viewed by noob" checked, here:

Control Panel -> Folder Options:
User posted image
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-06-20 14:12:03 UTC Post #115651
Yeah I had the same problem and thanks to Seventh I live again!
Habboi HabboiSticky White Love Glue
You must be logged in to post a response.