recompile error
Thanks for the tutorial. It was very helpful. However, when I recompile my model some of my animations are broken. I believe some of the bones are messing up and flying away. Any idea what may be causing this? I've followed all of the other steps and they seem to work fine (as far as I can tell). The issue may lie somewhere in the compile, or maybe the animation files that are extracted... I'm not sure. If anyone has their own copy of a decompiled scout bat with smd's and qc files I think that would go a long ways towards troubleshooting this.
Any help would be great. I haven't been able to find other people with this issue.
Here are the contents of my qc file just in case:
$cd "C:\TF2_Work\decompiled\bat"
$modelname "weapons\v_models\v_bat_scoutC.mdl"
$model "v_bat" "v_bat_scout.dmx.smd"
$cdmaterials ""
$hboxset "default"
$hbox 0 "bip_lowerArm_R" -2.130 -5.350 -5.070 1.780 12.260 2.870
$hbox 0 "bip_hand_R" -1.380 -0.490 -2.280 3.000 7.600 4.510
$hbox 0 "weapon_bone" -1.720 -2.610 -1.810 2.060 27.360 1.980
// Model uses material "models/player/scout/scout_hands.vmt"
// Model uses material "models/weapons/v_bat/v_bat.vmt"
$attachment "weapon_bone" "weapon_bone" 0.00 0.00 -0.00 rotate -0.00 0.00 0.00
$surfaceprop "default"
$illumposition 24.012 -8.000 -8.779
$sequence idle "idle" loop ACT_VM_IDLE 1 fps 30.00 node raised
$sequence draw "draw" ACT_VM_DRAW 1 fps 30.00 node raised {
{ event 5004 1 "Weapon_Bat.Draw" }
{ event 5004 8 "Weapon_Bat.DrawSwoosh2" }
{ event 5004 16 "Weapon_Bat.DrawSwoosh1" }
{ event 5004 20 "Weapon_Bat.DrawCatch" }
}
$sequence swingMiss_a "swingMiss_a" ACT_VM_HITCENTER 2 fps 30.00
$sequence swingMiss_b "swingMiss_b" ACT_VM_HITCENTER 1 fps 30.00
$sequence swingMiss_crit "swingMiss_crit" ACT_VM_SWINGHARD 1 fps 30.00 node raised
$sequence holster_idle "holster_idle" loop ACT_VM_IDLE_LOWERED 1 fps 30.00 node lowered
$sequence holster "holster" ACT_IDLE_TO_LOWERED 1 fps 30.00 transition raised lowered
$sequence unholster "unholster" ACT_VM_LOWERED_TO_IDLE 1 fps 30.00 transition lowered raised
Thanks!