• Help with texture :/
    11 replies, posted
Ok so i finally imported my model into gmod [URL=http://img203.imageshack.us/i/gmflatgrass0003k.jpg/][IMG]http://img203.imageshack.us/img203/448/gmflatgrass0003k.jpg[/IMG][/URL] But now im having troubles with texture :/ I uv unwrapped it and coverted the texture to vtf but its not showing up on my model >:C could anybody help me?
Post your vmt.
[QUOTE=fewes;25248218]Post your vmt.[/QUOTE] "LightmappedGeneric" { "$basetexture" "models/textures/DRAGONsmodels/greeter" "$surfaceprop" "Metal_Box" }
Change [code]"LightmappedGeneric"[/code] to [code]"VertexLitGeneric"[/code] LightmappedGeneric is for brushes only.
[QUOTE=fewes;25248494]Change [code]"LightmappedGeneric"[/code] to [code]"VertexLitGeneric"[/code] LightmappedGeneric is for brushes only.[/QUOTE] ok
Also, model .vmts don't need $surfaceprop, because that is set in the .qc-file.
its still doesn't work :C
post your .qc, the path to your material files too.
C:\Program Files\Steam\steamapps\ryuufox\garrysmod\garrysmod\materials\models\textures\DRAGONsmodels My qc $modelname models\DRAGONSmodels\greeter.mdl $cdmaterials "textures\DRAGONsmodels" $staticprop $scale 1.9 $body studio "Greeter_refrence.SMD" $sequence idle "Greeter_ragdoll.SMD" fps 1 $collisionmodel "Greeter_PHYS.SMD" { $Mass 100 $concave }
Either change the .vmt to have "textures\DRAGONsmodels\greeter", or change the .qc and .vmt to "models\DRAGONsmodels"
the easiest and smartest would be the latter. also make sure your model skin in your modeling program has the same name.
[QUOTE=Phanty;25249392]also make sure your model skin in your modeling program has the same name.[/QUOTE] I'm guessing this is your problem (if you've fixed the shader, though that would make the model invisible if you kept the LightmappedGenric one). Make sure your texture on the model in the SMD and the VMT file have the same name, and the path to the VTF in the VMT is where/what the VTF file is located/called.
Sorry, you need to Log In to post a reply to this thread.