My custom texture is not showing up Hammer

My custom texture is not showing up Hammer

Re: My custom texture is not showing up Hammer Posted by SnarkSephiroth on Sun Nov 6th 2005 at 9:50pm
SnarkSephiroth
206 posts
Posted 2005-11-06 9:50pm
206 posts 31 snarkmarks Registered: Sep 10th 2003 Occupation: Automotive Tech Student Location: Phoenix, Arizona
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 source\cstrike\materials\customtex folder.

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

<pre>"LightmappedGeneric"

{

"$basetexture" "customtex/rock076"

}

4<span style="font-family: verdana;">. My rock076.tga is in my sourcesdk_content\cstrike\materialsrc\customtex 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.
</span>
</pre>
Re: My custom texture is not showing up Hammer Posted by smidsy on Sun Nov 6th 2005 at 10:09pm
smidsy
143 posts
Posted 2005-11-06 10:09pm
smidsy
member
143 posts 44 snarkmarks Registered: Dec 4th 2004 Occupation: ex army, working as electrition Location: uk
i had the same problem..try putting the rock076.tga into
<pre><span style="font-family: verdana;">sourcesdk_content\cstrike\materialsrc
</span>
</pre>
<div style="text-align: justify;">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 source\cstrike\materials

folder and ur vft will be there now back up and go into

<span style="font-weight: bold;">counter-strike source\cstrike\materials\sample1

</span>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

</div>
Re: My custom texture is not showing up Hammer Posted by SnarkSephiroth on Sun Nov 6th 2005 at 10:31pm
SnarkSephiroth
206 posts
Posted 2005-11-06 10:31pm
206 posts 31 snarkmarks Registered: Sep 10th 2003 Occupation: Automotive Tech Student Location: Phoenix, Arizona
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.
Re: My custom texture is not showing up Hammer Posted by fishy on Mon Nov 7th 2005 at 12:55am
fishy
2623 posts
Posted 2005-11-07 12:55am
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
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