Custom Mod Textures

Custom Mod Textures

Re: Custom Mod Textures Posted by AcidBasick on Thu Jan 27th 2005 at 2:23am
AcidBasick
2 posts
Posted 2005-01-27 2:23am
2 posts 0 snarkmarks Registered: Jan 26th 2005 Occupation: Student Location: North America
Hey guys.

I've been trying for the last few days to get my custom textures to
show up in Hammer correctly for a custom game and I can't seem to
figure it out. The problem is, my textures show up in the editor with
the proper names and such but are made out of the default texture; the
little purple and black squares texture. I'm not really sure if I have
the correct directory structure since none of the tutorials I've seen
have covered what do do with textures that go to a custom made mod.

My textures are the correct sizes, of course, and I have made my .VMTs
and .VTFs. It may be a breakdown somewhere in that creation area, but
I'm not sure.
"LightmappedGeneric"

{

"$basetexture" "Materials\Interiors\int_border_01a"

}
This is what my .VMTs say with the proper changes for the different texture names.
C:\Program Files\Valve\Steam\SteamApps\SourceMods\Pineapple\Materials\Interiors
Where my materials folder is.
C:\Program Files\Valve\Steam\SteamApps\SourceMods\Pineapple\MaterialSRC\Interiors
Where my source materials are.

Any help or suggestions would be fantastic.
Re: Custom Mod Textures Posted by Rof on Thu Jan 27th 2005 at 2:31am
Rof
210 posts
Posted 2005-01-27 2:31am
Rof
member
210 posts 41 snarkmarks Registered: Dec 3rd 2004
At least when making HL2 textures/materials (all I've done so far), I
don't put the "materials" part of the path in the .vmt file. I also use
forward slash rather than backslash. I followed the
SDK
docs on VERC
.

e.g. mine look like:

"LightmappedGeneric"

{

"$basetexture" "Interiors/int_border_01a"

}

My directory structure is the same as yours, except of course it's for HL2 rather than a mod.

Now I don't know whether this is necessarily what's wrong in your case, but mine seem to show up OK both in Hammer and the game.
Re: Custom Mod Textures Posted by AcidBasick on Thu Jan 27th 2005 at 3:24am
AcidBasick
2 posts
Posted 2005-01-27 3:24am
2 posts 0 snarkmarks Registered: Jan 26th 2005 Occupation: Student Location: North America
Holy crimeny! That did it!

I guess it was either the slashes or having 'Materials' in front of it.

Thanks so much. Three days of work solved in about an hour or so.