Hammer lost a single texture, while Half-Life still has it.

Hammer lost a single texture, while Half-Life still has it.

Re: Hammer lost a single texture, while Half-Life still has it. Posted by Joe-Bob on Sun Feb 13th 2005 at 2:29pm
Joe-Bob
180 posts
Posted 2005-02-13 2:29pm
Joe-Bob
member
180 posts 77 snarkmarks Registered: Dec 3rd 2004
<span class="postbody">The map I'm working on uses the water texture
water_wasteland002a. That is, by the way, the texture of the ocean in
the single player coast levels. Just recently though, Hammer lost all 4
wasteland water textures and replaced it with its wonderful pink
checkerboard of d00m. Everything still looks
right in the single-player game and in a deathmatch map I've seen that
uses it. However, since Hammer can't find the texture, RAD assumes it's
opaque. Unless I somehow weave in a black hole colliding with the
ocean, the effect I get isn't going to work for my map.

I've tracked down the problem a bit by looking up the VMTs in the
Source Materials GCF. I figured out that the texture the tools are
trying to use is named "nature/water002a". Befittingly, my compile log
states that " "materials/nature/water002a.vtf": cached version doesn't exist". After searching the materials GCF, I found that it wasn't kidding around. It just plain isn't there!

Refreshing the SDK content doesn't work, checking the GCF with Steam
reported that they were all good, and I still can't find that bloody
texture. Does anyone have an idea exactly what the hell is going on?

Hammer View: (Note, I get the same thing when I load the SDK coast level)

User posted image

In-game, you can see that the water works, but RAD has treated the water as opaque:

User posted image

</span>
Re: Hammer lost a single texture, while Half-Life still has it. Posted by StickFigs on Sun Feb 13th 2005 at 7:34pm
StickFigs
28 posts
Posted 2005-02-13 7:34pm
28 posts 13 snarkmarks Registered: Dec 23rd 2004
Hey it's you!
Re: Hammer lost a single texture, while Half-Life still has it. Posted by Joe-Bob on Sun Feb 13th 2005 at 7:43pm
Joe-Bob
180 posts
Posted 2005-02-13 7:43pm
Joe-Bob
member
180 posts 77 snarkmarks Registered: Dec 3rd 2004
And it's you!

But anyway, I'm reinstalling Half-Life. Maybe that'll do the trick.
Re: Hammer lost a single texture, while Half-Life still has it. Posted by Rof on Sun Feb 13th 2005 at 8:27pm
Rof
210 posts
Posted 2005-02-13 8:27pm
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
Looking at the .vmt for that material, it has this:

// "$basetexture"
"nature/water002a" // The main
texture for the water surface.

"%tooltexture" "nature/water002a"
// This is the texture that shows up in the Hammer
browser.

The $basetexture line is commented out, which is kind of strange. The
tooltexture (which is what is shown in Hammer) isn't commented out, but
refers to the same non-existant .vtf file, which is probably why it
shows as pink checkerboards in Hammer. If you decompile de_aztec,
you'll see the same problem with missing tooltextures.

Not really sure what the compiler will make of a missing texture like
that. It obviously does something, because you can see a water texture,
but I'm not sure where it's getting it from. Theres this bit at the top:

"Water_DX60"

{

"$fallbackmaterial" "nature/water_dx70_opaq"

}

I wonder if since it can't find the texture it falls back to this one, even if you're in a higher DX mode.
Re: Hammer lost a single texture, while Half-Life still has it. Posted by omegaslayer on Sun Feb 13th 2005 at 9:53pm
omegaslayer
2481 posts
Posted 2005-02-13 9:53pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
I have this same problem, it doesnt show up in hammer, but it shows up in-game. So its just not you.
Re: Hammer lost a single texture, while Half-Life still has it. Posted by Leperous on Sun Feb 13th 2005 at 9:57pm
Leperous
3382 posts
Posted 2005-02-13 9:57pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Strange that it looks like that in Hammer, looks to me like you've got an invalid sky selected or something :/