custom textures in half life2 dm
Post Reply
Quote
Re: custom textures in half life2 dm
Posted by Soul Destroyer on Sun Feb 7th at 7:45pm 2010


i have made some custom textures for hl2dm...they show up in the texture browser for hammer...but they wont draw in hammer...they leave a blan wireframe behind after applying them to the brush.....i think i have missing settings in the vmt file but cant find what they are...here is my settings
<div class="pre"><pre>"LightmappedGeneric"
{
"$basetexture" "materials/customtex/stone/brick080"
$surfaceprop brick
}</pre></div>
what is the <div class="pre"><pre>"........ for ...what goes there




Quote
Re: custom textures in half life2 dm
Posted by aaron_da_killa on Mon Feb 8th at 12:02am 2010


It should be customtex/stone/brick080 not materials/customtex/stone/brick080. smiley





Quote
Re: custom textures in half life2 dm
Posted by haymaker on Mon Feb 8th at 4:31am 2010


yes Aaron has pointed out that all paths in vmt's are relative to /materials. On top of that though i have no idea why you are having html tags in your vmt like that. here is standard custom one from my hl2dm folder:

Code
"LightmappedGeneric"
{
"$basetexture" "dm_pueblo/pueblo_stone1"
"$surfaceprop" "rock"
}


where the absolute path is

Code
D:/Steam/steamapps/accountname/half-life 2 deathmatch/hl2mp/materials/dm_pueblo/pueblo_stone1.vmt


thers no 'div' 'pre' or anything else there, is that something that happened in yr post?




Quote
Re: custom textures in half life2 dm
Posted by aaron_da_killa on Mon Feb 8th at 4:39am 2010


Yeah I think the html tags is some snarkpit glitch.





Quote
Re: custom textures in half life2 dm
Posted by Riven on Mon Feb 8th at 8:25am 2010


This is a Source Engine related topic; I'll just go ahead and move it there for ya. No biggie smiley



"Stand up straight, pick up monitor firmly with both hands, slam it against yer forehead..... If yer still standing, you took a "screenshot" -Dr Brasso




Post Reply