Thought I'd make a thread for this model rather than flood the hat/item/weapon thread with my current problem getting it in game.
This is my first attempt at making a TF2 weapon. I decided to make a Medigun and Backpack for my first go and went for military look. At first it had a color scheme similar to the Liberty launcher but a suggestion turned me to a muted color scheme I'm really starting to like.
Now here's the snag. The weapons seem to work fine in HLMV (Textures and team colors work fine) but once tested in game the textures do not load. I check my .qc and .vmt files to make sure everything was in line and it seem to be fine. Double checked the folders the files are in too. Maybe I'm just overlooking something simple. I tend to do that when I get stuck on something. Any help would be much appreciated. I REALLY want to submit this but I want to know it works first.
Here's some shots of the folders, HLMV and the test level along with relevant .qc and .vmt lines. [All examples are for the medigun as the backpack has the same problem and follows the same format]
.QC
$modelname "player\items\medic\0x01769a4d\Triage\Triage.mdl"
$model "Body" "Triage.smd"
$lod 7
{
replacemodel "Triage.smd" "Triage_LOD1.smd"
}
$lod 14
{
replacemodel "Triage.smd" "Triage_LOD2.smd"
}
$cdmaterials "models/player/items/medic/0x01769a4d/Triage"
$texturegroup "Skins"
{
{ "Triage.vmt" }
{ "Triage_Blue.vmt" }
}
$hboxset "default"
$hbox 0 "weapon_bone_L" -3.500 -4.500 -4.500 3.500 2.500 29.500
// Model uses material "Triage.vmt"
// Model uses material "Triage_Blue.vmt"
.VMT
"VertexlitGeneric"
{
"$baseTexture" "models/player/items/medic/0x01769a4d/Triage/triage.vmt"
"$detail" "effects/tiledfire/fireLayeredSlowTiled512"
"$detailscale" "5"
"$detailblendfactor" .01
"$detailblendmode" 6
"$yellow" "0"
"$lightwarptexture" "models/lightwarps/weapon_lightwarp"
Replies