• Mesh has no texture...
    7 replies, posted
Well, i built a very simple Model for usage in GMod... the model, as it is, works. But it just has no Texture. I don't know why. The qc file for compiling is the following, located in C:\Steam\steamapps\***\sourcesdk_content\hl2mp\modelsrc\test [code]$modelname "test/pyr.mdl" // Name des fertigen Models $cdmaterials "models/test" // Materialverzeichnis $staticprop $scale 1.0 // Skalierung $body studio "pyr" // Name der SMD Datei $sequence idle "pyr" loop fps 15 // Idle Animation $collisionmodel "pyr_phys.smd" { // Name der Phys SMD Datei $Mass 100.0 // Masse in Kilogramm } $keyvalues { prop_data { "base" "Plastic.Small" } }[/code] The texture file is located in C:\Steam\steamapps\***\sourcesdk_content\hl2mp\materialsrc\models\test and the vmt looks like this: [code]"vertexlitgeneric" { "$baseTexture" "models\test/pyr" }[/code] I don't know whats wrong... i tried it 3 times, i can't find any mistake. Help, please, or im gonna rage!
[code]"vertexlitgeneric" { "$baseTexture" "models\test/pyr" }[/code] You did notice the two different facing slashes in this, right.
Yeah i did. Just fixed that. No effect
I'm out of ideas, haven't textured in over a year.
I can't find the mistake... i tried it with HL2, HL2DM and TF2. Same Error the whole time... model works perfect, but the texture... nope, just the standart shit. RAAAAAGE!! [img]http://www.abload.de/img/yayyayayayayayayart0u.jpg[/img] [editline]08:00PM[/editline] Okay. After compiling a qc + all files from a friend of mine (which worked) : I'm shure the model is broken in any way. I don't know why, I don't know what. Fact is: We have the same VTF/VMT file, the same qc file and i used the same way to compile. His model had a texture, mine not. Let's say Cinema4D exporter doesn't work...
try pyr.vtf :downs: [editline]12:55AM[/editline] only if the texxtures name is pyr.vtf, is the texture is in the folder called pyr, then you have to change that in the QC file
make sure that the name of the vmt is the same as the name of your original texture in the 3d modeler, I've run into that issue before IE - mytexture.tga was applied to the model pyr.3ds in 3d studio max, you should have your filename be mytexture.vmt
Now i built a mesh in 3DS Max... same Problem. It just doesn't move the material in the folder, like it's completely ignoring it. [editline]02:39PM[/editline] w00t, it finally worked \ :D / I don't know why, but i've redone all the files (except the model) and now it works... halleluja. Now i can begin to model what i planned 8) Picture is NOT what I planned... [img]http://www.abload.de/img/ohyeah7t7j.jpg[/img]
Sorry, you need to Log In to post a reply to this thread.