Home 3D Art Showcase & Critiques

[WIP] TF2 weapon - The Triage

polycounter lvl 11
Offline / Send Message
RetroMike polycounter lvl 11
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.

Triage_R.png

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.

ingametriage.png
triagevmt.png

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"
triagefolders.png

Replies

  • Jalcober
    Options
    Offline / Send Message
    Jalcober polycounter lvl 10
    Try this QC
    $modelname "player\items\medic\0x01769a4d\Triage\Triage.m dl"
    $model "Body" "Triage.smd"
    $cdmaterials "models/player/items/medic/0x01769a4d/Triage"
    $texturegroup skinfamilies
    { { "Triage.vmt" } { "Triage_Blue.vmt" } }
    $lod 7
    {
    replacemodel "Triage.smd" "Triage_LOD1.smd"
    }
    $lod 14
    {
    replacemodel "Triage.smd" "Triage_LOD2.smd"
    }
    $sequence idle "triage.smd" fps 30.00
  • RetroMike
    Options
    Offline / Send Message
    RetroMike polycounter lvl 11
    Jalcober wrote: »
    Try this QC
    Swapped my qc for this and got the same result. Works fine in HLMV but still missing in game. I even deleted the model files and did a fresh recompile. I must be cursed
  • Drew++
    Options
    Offline / Send Message
    Drew++ polycounter lvl 14
    Probably a .VMT issue... it should probably be something like this.
    "VertexlitGeneric"
    {
    //This is your diffuse texture, which is a .VTF. However, no file extension is needed.
    "$baseTexture" "models/player/items/medic/0x01769a4d/Triage/triage"

    //This would be the name of your detail texture.
    "$detail" "effects/tiledfire/fireLayeredSlowTiled512"
    "$detailscale" "5"
    "$detailblendfactor" "0.01"
    "$detailblendmode" "6"
    "$lightwarptexture" "models/lightwarps/weapon_lightwarp"
    }
  • RetroMike
    Options
    Offline / Send Message
    RetroMike polycounter lvl 11
    Well nothing seemed to work until I wiped all my files and tried again. Now they seem to work in game, though I can't view the blue skin on the backpack in HLMV now for some reason. I'm plagued with demon magic. Still testing it as a skin for the quick fix yielded a weapon with working textures for both side :) Thanks guys for the help! I'll be uploading soon.
Sign In or Register to comment.