My custom texture is not showing up Hammer
Post Reply
Quote
Re: My custom texture is not showing up Hammer
Posted by SnarkSephiroth on Sun Nov 6th at 9:50pm 2005


As the title says, I can not, for the life of me, get my texture to show in Hammer. I followed darkdruids tutorial exactly as he did it, but it won't show.

Here are the things I have done so you guys don't suggest them.

1. The texture is in a power of 2. Its 512 x 512.

2. I have the rock076.vmt and the rock076.vtf in my counter-strike sourcecstrikematerialscustomtex folder.

3. This is what my rock076.vmt looks like:

"LightmappedGeneric"

{

"$basetexture" "customtex/rock076"

}

4. My rock076.tga is in my sourcesdk_contentcstrikematerialsrccustomtex folder.

5. When I ran the rock076.tga in the vtex program, I got no errors from it. It created the rock076.vtf just fine.

6. Am I missing something here?

I don't know what else to do. So I am turning to you guys for some answers.





Quote
Re: My custom texture is not showing up Hammer
Posted by smidsy on Sun Nov 6th at 10:09pm 2005


i had the same problem..try putting the rock076.tga into
sourcesdk_contentcstrikematerialsrc
and then run vtex. This will make the vtf and create a blank doc for your vmt ignore that delete the txt and go to your
counter-strike sourcecstrikematerials
folder and ur vft will be there now back up and go into
counter-strike sourcecstrikematerialssample1

there should be a vmt there copy it and put it into your materials folder rename it to rock076 and open it with notepad change the name and other things from

"lightmappedGeneric"
{
"$baseTexture" "sample1/sample1"
"%keywords" "cstrike"
"$surfaceprop" "dirt"
}

to

"lightmappedGeneric"
{
"$baseTexture" "rock076"
"%keywords" "cstrike"
"$surfaceprop" "stone"
}

save and restart hammer and it should show up






Quote
Re: My custom texture is not showing up Hammer
Posted by SnarkSephiroth on Sun Nov 6th at 10:31pm 2005


Awesome! Thank you so much! It worked. I would mark your answer correct but you didn't set it up that way. Go edit your message so I can mark it correct.




Quote
Re: My custom texture is not showing up Hammer
Posted by fishy on Mon Nov 7th at 12:55am 2005


so does cs use the customtex folder as the root folder for any material not in the gcf file or something?

it's just that, normally, if your texture is in materials/customtex, then the vmt would say so. something like;

"lightmappedGeneric"
{
"$baseTexture" "customtex/rock076"
"%keywords" "cstrike"
"$surfaceprop" "stone"
}

[edit] ah, sorry smidsy, i hadn't noticed you saying to put the vtf in the materials folder.




i eat paint




Post Reply