Custom Mod Textures
Post Reply
Quote
Re: Custom Mod Textures
Posted by AcidBasick on Thu Jan 27th at 2:23am 2005


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.

? quote:
"LightmappedGeneric"
{
"$basetexture" "MaterialsInteriorsint_border_01a"
}

This is what my .VMTs say with the proper changes for the different texture names.

? quote:
C:Program FilesValveSteamSteamAppsSourceModsPineappleMaterialsInteriors

Where my materials folder is.

? quote:
C:Program FilesValveSteamSteamAppsSourceModsPineappleMaterialSRCInteriors

Where my source materials are.


Any help or suggestions would be fantastic.




Quote
Re: Custom Mod Textures
Posted by Rof on Thu Jan 27th at 2:31am 2005


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.
[addsig]




Quote
Re: Custom Mod Textures
Posted by AcidBasick on Thu Jan 27th at 3:24am 2005


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.





Post Reply