Home Technical Talk

Invisible Mesh

My new pistol for Engie shows up invisible in TF2. Does anyone know what I am doing wrong in my qc here or smd export to do this ?

QC

$cd "C:\Documents and Settings\Cooljay\Desktop\TradeSecret\model_sources\"
$modelname "weapons\c_models\c_pistol\c_pistol.mdl"
$model "Body" "c_pistol_reference.dmx.smd"
$cdmaterials ""
$hboxset "default"
$hbox 0 "weapon_bone" -4.495 -3.149 -7.220 1.074 7.029 8.632
// Model uses material "models/weapons/c_pistol/BarrelD.vmt"
$attachment "eject_brass" "weapon_bone_1" 1.01 6.19 3.46 rotate 0.00 44.89 -180.00
$attachment "muzzle" "weapon_bone_1" 0.00 5.96 9.19 rotate -90.00 0.00 0.00
$surfaceprop "metal"
$illumposition -0.926 -2.127 1.940
$sequence idle "idle" fps 30.00

Woops sorry forgot to tag the title :/

Replies

  • PixelMonster
    Options
    Offline / Send Message
    I've been having the same (or some sort of similar) problem, I have no idea what to do. I'm pretty sure it's an smd problem. I've used two different exporters so far, and only one works, but sadly, doesn't support armatures/animations (so it's only use is for detail props). The other exporter seems to work for everyone BUT me (or mabye I'm just crazy), I'm going to try and export on a different computer, but I'm not sure if that will make a difference...

    Two question to make sure we're having the same problem:
    1. What does it say in the console when you're wielding the weapon?
    And 2. When you activate cheats, then go into the wireframe view, can you see your weapon, or is he just holding nothing?

    So... yeah. That's it I guess.
  • Cooljay
    Options
    Offline / Send Message
    Yeah I figured out what the problem is a while a back. What SMD's do is they rename the bones to have dots rather than underscores.
  • PixelMonster
    Options
    Offline / Send Message
    Unfortunately that still doesn't fix my problem :/
    Guess it's time to start a new thread...
Sign In or Register to comment.