Forum Thread
  Posts  
Problem with texture on 3D model in [HL2 mod] (Forums : 3D Modeling & Animating : Problem with texture on 3D model in [HL2 mod]) Locked
Thread Options
Dec 11 2008 Anchor

I've problem with textur on model.
My path model.
SourceMods\*My mod*\models\blok\blok.mdl
and textur
SourceMods\*My mod*\materials\models\blok\blok.vtf and blok.vmt
File VMT
"LightmappedGeneric"
{
"$basetexture" "models/blok/blok"
"$surfaceprop" "Metal"
}

This is MP mod.
Does not have to create path to the mod ?
This is a screen with mod.
User Posted Image
What is it ?

Arxae
Arxae Resident Stepmania Freak :D
Dec 11 2008 Anchor

dont know but shouldnt this

  "$basetexture" "models/blok/blok" 

contain the extension?
you sure the material/texture works? recheck if necesary
dont know for sure tough :p not rly a source modder xD

--

°w°

Dec 11 2008 Anchor

Make sure your textures alpha channel isn't completely black.

--

Dec 11 2008 Anchor

Hi , I think I can help ^^
You need to change your material to a VertexLitGeneric as the one you are using is designed for brush based texturing not models which would explain why you arnt getting the purple error texture but still no material showing up.
Furthermore your line
""$basetexture" "models/blok/blok" "
in the material VMT should reference the actual texture so...
"$basetexture" "models/blok/blok/bloc.vtf
Confusingly your QC file for your model should reference the directory of the material not the material itself.

There may be oher issues but give those a go and let us know if you are still struggling :)

Regards,

Rich

Edited by: _Richardo_

Dec 12 2008 Anchor

Yes this is VertexLitGeneric ;)

Edited by: RKotern

Dec 12 2008 Anchor

_Richardo_
Thank you very much for your help :D
I changed to VertexLitGeneric
Screen
User Posted Image

Dec 15 2008 Anchor

No problem, glad I could help and pleased its working for you ^^

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.