N
Nimion
Guest
After tedious model messing I got my weapon in-game. Now the texture stuff is really confusing me.
I'm using MAX 6 and here is what I have done.
-Placed a multi-sub material on my model
-Loaded the texture onto the multisub object
-Set all the id's porperly
-Took my 24bit tga and created the vtf
-Created the vmt
-Created the QC file for the model
-Compiled the model and animations
-In game is comes up as black&purple checker texture
I've been looking at tutorials but so many of them conflict. Here is what is in my VMT file...
Now...it still apeares as that default black&purple checker textrue. I'm probably not placing the files in the correct folder, so here is my paths with all the files.
These paths have all my .tga, .vmt, and .vft files in them just to be on the safe side.
..hl2/materials/models/weapons/v_dxr_pistol/...
..hl2/materialsrc/models/weapons/v_dxr_pistol/...
I've seen tutorials which tell me touse VertexLitGeneric instead of LightmappedGeneric, and turtorials which append the .vtf at then end of the path...anyone know the correct format to do this? I've been working 2 days on this and I cant seem to do it right. :|
EDIT:
Here is the code in my QC if it's needed.
I'm using MAX 6 and here is what I have done.
-Placed a multi-sub material on my model
-Loaded the texture onto the multisub object
-Set all the id's porperly
-Took my 24bit tga and created the vtf
-Created the vmt
-Created the QC file for the model
-Compiled the model and animations
-In game is comes up as black&purple checker texture
I've been looking at tutorials but so many of them conflict. Here is what is in my VMT file...
Code:
"LightmappedGeneric"
{
"$basetexture" "models/weapons/v_dxr_pistol/texttex.vtf"
}
Now...it still apeares as that default black&purple checker textrue. I'm probably not placing the files in the correct folder, so here is my paths with all the files.
These paths have all my .tga, .vmt, and .vft files in them just to be on the safe side.
..hl2/materials/models/weapons/v_dxr_pistol/...
..hl2/materialsrc/models/weapons/v_dxr_pistol/...
I've seen tutorials which tell me touse VertexLitGeneric instead of LightmappedGeneric, and turtorials which append the .vtf at then end of the path...anyone know the correct format to do this? I've been working 2 days on this and I cant seem to do it right. :|
EDIT:
Here is the code in my QC if it's needed.
Code:
$cd "D:\Documents and Settings\Nimion\Desktop\Test\"
$modelname "weapons/v_Pistol.mdl"
$body "studio" "dxr_pistol.smd"
$cdmaterials "models\weapons\v_Hand"
$cdmaterials "models\weapons\v_dxr_pistol"
...