Holy crud did my .vmt really just default back to this?
Vmt
"LightmappedGeneric"
{
"$basetexture" "/models/player/items/all_class/bowtie2.vtf"
"$nolod" 1
}
qc
$cd "C:\Documents and Settings\Curtis\My Documents\Chris's\Models\Bowtie\medic\output"
$modelname "player/items/medic/professorspeks.mdl"
$model "body" "bowtie2.smd"
$cdmaterials "/models/player/items/allclass/"
$hboxset "default"
$hbox 0 "bipspine3" -3.164 -3.239 -6.338 3.164 0.000 0.000
// Model uses material "bowtie2.vmt"
$surfaceprop "default"
$illumposition 3.169 0.000 1.620
$sequence ref "ref" fps 30.00
As i said, i am bad at textures.
Also, i cannot get blender to actually save the .smd with a texture.
I can get the texture to apply with a .obj or .blend but not with a .smd.
I don't know what i am doing wrong, but it is rather annoying.
Posted by Devieus
The texture the eventual '.mdl' file will be looking for is the same as the name you've given the object (not the mesh or the '.smd'). Also, applying textures in blender is only for visual effect for use of making renders, it won't export with it.
I just learned this the hard way yesterday when hexing my models to figure out why the texture wasn't loading; though anyone's free to correct me on this one.
Yeah, i know that much.
I'm just really bad at this so far.
still working on getting the texture to stick to anything other than a .obj/.blend
Posted by Devieus
Posted by A_Guardian
Posted by Devieus
The texture the eventual '.mdl' file will be looking for is the same as the name you've given the object (not the mesh or the '.smd'). Also, applying textures in blender is only for visual effect for use of making renders, it won't export with it.
I just learned this the hard way yesterday when hexing my models to figure out why the texture wasn't loading; though anyone's free to correct me on this one.
Yeah, i know that much.
I'm just really bad at this so far.
still working on getting the texture to stick to anything other than a .obj/.blend
Why do you want textures on a '.smd' file anyway, in the source engine that crap is handled by the '.qc'+'.vmt' anyway.
The model itself needs a texture.
Which can be checked by opening the .smd with n++.
I dont get the texture at all.
Which is most likely why i cannot get a texture to work.
Other then that, i think all the filepaths are all good.
Posted by Logan Dougall
Just a note but the line:
// Model uses material "bowtie2.vmt"
Doesn't actually set the texture being used. It's just an FYI comment for people as shown by the // in front of it.
Felt that needed to be said,
Yep.
Its the whole {}/$ thing that denotes used code.
But might as well change that while i'm at it.