Problems compiling


PR0PEN
02-06-2006, 10:42 AM
I have problems compiling, the right arm goes back xD and the origin are incorrect xD


http://img205.imageshack.us/img205/7757/spr9rx.jpg


anybody knows how to fix it?

Trp. Jed
02-06-2006, 11:26 AM
Make sure you check "Do Not Fix Rotations" when decompiling and then add "rotate -90" to the sequence commands in the QC file.

PR0PEN
02-06-2006, 11:39 AM
thanks a lot jed, I fixed the right arm, but the origin.......



$cd "C:\Archivos de programa\Steam\SteamApps\My email\sourcesdk_content\dod\modelsrc\spr"
$modelname "weapons\v_springfield.mdl"
$model "gun" "v_springfield_reference.smd"
$cdmaterials "models\weapons\v_models\springfield\"
$cdmaterials "models\weapons\v_models\hands\"
$texturegroup skinfamilies
{
{"v_axis_sleeve.vmt"
"v_hand.vmt"
}
{"us_sleeve.vmt"
"v_hand.vmt"
}
}
$hboxset "default"
$hbox 0 "ValveBiped.Bip01_R_Clavicle" 0.000 -1.465 -3.279 6.548 3.489 2.671
$hbox 0 "ValveBiped.Bip01_R_UpperArm" 0.000 -3.447 -3.669 17.602 2.833 1.796
$hbox 0 "ValveBiped.Bip01_R_Forearm" -2.497 -3.067 -3.017 11.482 2.833 1.796
$hbox 0 "ValveBiped.Bip01_R_Hand" -0.233 -1.355 -2.506 4.291 1.095 1.825
$hbox 0 "ValveBiped.Bip01_R_Finger4" -1.639 -0.889 -0.639 1.532 0.443 0.461
$hbox 0 "ValveBiped.Bip01_R_Finger3" -1.478 -0.735 -0.600 1.925 0.816 0.643
$hbox 0 "ValveBiped.Bip01_R_Finger2" -0.867 -0.757 -0.667 2.021 0.649 0.613
$hbox 0 "ValveBiped.Bip01_R_Finger1" -1.193 -1.055 -0.752 2.057 0.639 0.632
$hbox 0 "ValveBiped.Bip01_R_Finger0" -1.202 -1.359 -1.249 2.250 1.538 0.852
$hbox 0 "ValveBiped.Bip01_R_Finger01" -0.369 -0.591 -0.892 1.207 1.508 0.614
$hbox 0 "ValveBiped.Bip01_R_Finger02" -1.001 -0.459 -0.659 1.532 0.553 0.614
$hbox 0 "ValveBiped.Bip01_R_Wrist" -5.841 -2.272 -2.402 0.968 2.187 1.728
$hbox 0 "ValveBiped.Bip01_R_Elbow" -2.823 -3.067 -3.017 1.685 2.833 1.796
$hbox 0 "ValveBiped.Bip01_R_Bicep" 0.000 -3.462 0.000 1.568 0.000 1.646
$hbox 0 "ValveBiped.Bip01_L_Clavicle" 0.000 -1.476 -2.569 6.548 3.521 3.284
$hbox 0 "ValveBiped.Bip01_L_UpperArm" 0.000 -3.385 -1.806 17.602 2.821 3.684
$hbox 0 "ValveBiped.Bip01_L_Forearm" -2.495 -3.088 -1.806 11.482 2.454 3.003
$hbox 0 "ValveBiped.Bip01_L_Hand" -0.102 -1.447 -1.828 4.576 1.070 2.627
$hbox 0 "ValveBiped.Bip01_L_Finger4" -0.794 -0.891 -0.436 1.620 0.556 0.636
$hbox 0 "ValveBiped.Bip01_L_Finger3" -0.483 -0.601 -1.309 1.995 0.739 0.595
$hbox 0 "ValveBiped.Bip01_L_Finger2" -0.416 -0.571 -0.627 1.918 0.535 0.655
$hbox 0 "ValveBiped.Bip01_L_Finger1" -0.072 -0.517 -0.636 1.990 0.586 0.512
$hbox 0 "ValveBiped.Bip01_L_Finger0" -0.994 -1.108 -0.889 2.109 1.157 1.451
$hbox 0 "ValveBiped.Bip01_L_Finger01" -0.662 -0.401 -0.546 1.296 1.488 1.099
$hbox 0 "ValveBiped.Bip01_L_Ulna" -4.394 -2.589 -1.748 0.169 2.821 2.786
$hbox 0 "ValveBiped.Bip01_L_Wrist" -5.844 -2.208 -1.748 1.261 2.183 2.389
$hbox 0 "ValveBiped.Bip01_L_Elbow" -2.822 -3.088 -1.806 1.685 2.821 3.003
$hbox 0 "ValveBiped.Bip01_L_Bicep" 0.000 0.000 0.000 3.462 2.287 1.973
$hbox 0 "ValveBiped.springfield_BASE" -6.601 -1.040 -34.260 4.588 0.909 9.879
$hbox 0 "ValveBiped.bolt_handle" -2.010 -2.317 -5.896 0.411 0.393 0.369
// Model uses material "v_axis_sleeve.vmt"
// Model uses material "v_hand.vmt"
// Model uses material "v_springfield.vmt"
// Model uses material "us_sleeve.vmt"
$attachment "0" "ValveBiped.springfield_BASE" 2.00 -1.00 -33.50 rotate 90.00 -90.00 0.00
$attachment "1" "ValveBiped.springfield_BASE" 2.00 -0.00 -6.50 rotate 0.00 -25.00 -0.00
$surfaceprop "default"
$illumposition 6.307 16.564 -32.077
$sequence idle "idle" ACT_VM_IDLE 1 fps 10.00
$sequence shoot "shoot" ACT_VM_PRIMARYATTACK 1 fps 33.00 {
{ event 6002 26 "2" }
{ event 5001 1 "41" }
{ event 5004 18 "Weapon_K98.BoltBack1" }
{ event 5004 21 "Weapon_K98.BoltBack2" }
{ event 5004 26 "Weapon_K98.BoltForward1" }
{ event 5004 31 "Weapon_K98.BoltForward2" }
}

$sequence shoot_empty "shoot_empty" ACT_VM_PRIMARYATTACK_EMPTY 1 fps 33.00 {
{ event 5001 1 "41" }
}

$sequence reload "reload" ACT_VM_RELOAD 1 fps 32.00 {
{ event 6002 18 "2" }
{ event 5004 11 "Weapon_K98.BoltBack1" }
{ event 5004 15 "Weapon_K98.Draw" }
{ event 5004 15 "Weapon_K98.BoltBack2" }
{ event 5004 39 "Weapon_K98.ClipIn2" }
{ event 5004 57 "Weapon_K98.ClipIn2" }
{ event 5004 74 "Weapon_K98.ClipIn2" }
{ event 5004 33 "Player.ReloadRustle" }
{ event 5004 91 "Weapon_K98.ClipIn2" }
{ event 5004 108 "Weapon_K98.ClipIn2" }
{ event 5004 119 "Weapon_K98.Draw" }
{ event 5004 119 "Weapon_K98.BoltForward1" }
{ event 5004 124 "Weapon_K98.BoltForward2" }
}

$sequence draw "draw" ACT_VM_DRAW 1 fps 30.00 {
{ event 5004 1 "Weapon_Springfield.Draw" }

}

hobosphere
02-06-2006, 11:20 PM
Like this

$cd "C:\Archivos de programa\Steam\SteamApps\My email\sourcesdk_content\dod\modelsrc\spr"
$modelname "weapons\v_springfield.mdl"
$model "gun" "v_springfield_reference.smd"
$cdmaterials "models\weapons\v_models\springfield\"
$cdmaterials "models\weapons\v_models\hands\"
$texturegroup skinfamilies
{
{"v_axis_sleeve.vmt"
"v_hand.vmt"
}
{"us_sleeve.vmt"
"v_hand.vmt"
}
}
$hboxset "default"
$hbox 0 "ValveBiped.Bip01_R_Clavicle" 0.000 -1.465 -3.279 6.548 3.489 2.671
$hbox 0 "ValveBiped.Bip01_R_UpperArm" 0.000 -3.447 -3.669 17.602 2.833 1.796
$hbox 0 "ValveBiped.Bip01_R_Forearm" -2.497 -3.067 -3.017 11.482 2.833 1.796
$hbox 0 "ValveBiped.Bip01_R_Hand" -0.233 -1.355 -2.506 4.291 1.095 1.825
$hbox 0 "ValveBiped.Bip01_R_Finger4" -1.639 -0.889 -0.639 1.532 0.443 0.461
$hbox 0 "ValveBiped.Bip01_R_Finger3" -1.478 -0.735 -0.600 1.925 0.816 0.643
$hbox 0 "ValveBiped.Bip01_R_Finger2" -0.867 -0.757 -0.667 2.021 0.649 0.613
$hbox 0 "ValveBiped.Bip01_R_Finger1" -1.193 -1.055 -0.752 2.057 0.639 0.632
$hbox 0 "ValveBiped.Bip01_R_Finger0" -1.202 -1.359 -1.249 2.250 1.538 0.852
$hbox 0 "ValveBiped.Bip01_R_Finger01" -0.369 -0.591 -0.892 1.207 1.508 0.614
$hbox 0 "ValveBiped.Bip01_R_Finger02" -1.001 -0.459 -0.659 1.532 0.553 0.614
$hbox 0 "ValveBiped.Bip01_R_Wrist" -5.841 -2.272 -2.402 0.968 2.187 1.728
$hbox 0 "ValveBiped.Bip01_R_Elbow" -2.823 -3.067 -3.017 1.685 2.833 1.796
$hbox 0 "ValveBiped.Bip01_R_Bicep" 0.000 -3.462 0.000 1.568 0.000 1.646
$hbox 0 "ValveBiped.Bip01_L_Clavicle" 0.000 -1.476 -2.569 6.548 3.521 3.284
$hbox 0 "ValveBiped.Bip01_L_UpperArm" 0.000 -3.385 -1.806 17.602 2.821 3.684
$hbox 0 "ValveBiped.Bip01_L_Forearm" -2.495 -3.088 -1.806 11.482 2.454 3.003
$hbox 0 "ValveBiped.Bip01_L_Hand" -0.102 -1.447 -1.828 4.576 1.070 2.627
$hbox 0 "ValveBiped.Bip01_L_Finger4" -0.794 -0.891 -0.436 1.620 0.556 0.636
$hbox 0 "ValveBiped.Bip01_L_Finger3" -0.483 -0.601 -1.309 1.995 0.739 0.595
$hbox 0 "ValveBiped.Bip01_L_Finger2" -0.416 -0.571 -0.627 1.918 0.535 0.655
$hbox 0 "ValveBiped.Bip01_L_Finger1" -0.072 -0.517 -0.636 1.990 0.586 0.512
$hbox 0 "ValveBiped.Bip01_L_Finger0" -0.994 -1.108 -0.889 2.109 1.157 1.451
$hbox 0 "ValveBiped.Bip01_L_Finger01" -0.662 -0.401 -0.546 1.296 1.488 1.099
$hbox 0 "ValveBiped.Bip01_L_Ulna" -4.394 -2.589 -1.748 0.169 2.821 2.786
$hbox 0 "ValveBiped.Bip01_L_Wrist" -5.844 -2.208 -1.748 1.261 2.183 2.389
$hbox 0 "ValveBiped.Bip01_L_Elbow" -2.822 -3.088 -1.806 1.685 2.821 3.003
$hbox 0 "ValveBiped.Bip01_L_Bicep" 0.000 0.000 0.000 3.462 2.287 1.973
$hbox 0 "ValveBiped.springfield_BASE" -6.601 -1.040 -34.260 4.588 0.909 9.879
$hbox 0 "ValveBiped.bolt_handle" -2.010 -2.317 -5.896 0.411 0.393 0.369
// Model uses material "v_axis_sleeve.vmt"
// Model uses material "v_hand.vmt"
// Model uses material "v_springfield.vmt"
// Model uses material "us_sleeve.vmt"
$attachment "0" "ValveBiped.springfield_BASE" 2.00 -1.00 -33.50 rotate 90.00 -90.00 0.00
$attachment "1" "ValveBiped.springfield_BASE" 2.00 -0.00 -6.50 rotate 0.00 -25.00 -0.00
$surfaceprop "default"
$illumposition 6.307 16.564 -32.077
$sequence idle "idle" ACT_VM_IDLE 1 fps 10.00 ROTATE -90
$sequence shoot "shoot" ACT_VM_PRIMARYATTACK 1 fps 33.00 ROTATE -90 {
{ event 6002 26 "2" }
{ event 5001 1 "41" }
{ event 5004 18 "Weapon_K98.BoltBack1" }
{ event 5004 21 "Weapon_K98.BoltBack2" }
{ event 5004 26 "Weapon_K98.BoltForward1" }
{ event 5004 31 "Weapon_K98.BoltForward2" }
}

$sequence shoot_empty "shoot_empty" ACT_VM_PRIMARYATTACK_EMPTY 1 fps 33.00 ROTATE -90 {
{ event 5001 1 "41" }
}

$sequence reload "reload" ACT_VM_RELOAD 1 fps 32.00 ROTATE -90 {
{ event 6002 18 "2" }
{ event 5004 11 "Weapon_K98.BoltBack1" }
{ event 5004 15 "Weapon_K98.Draw" }
{ event 5004 15 "Weapon_K98.BoltBack2" }
{ event 5004 39 "Weapon_K98.ClipIn2" }
{ event 5004 57 "Weapon_K98.ClipIn2" }
{ event 5004 74 "Weapon_K98.ClipIn2" }
{ event 5004 33 "Player.ReloadRustle" }
{ event 5004 91 "Weapon_K98.ClipIn2" }
{ event 5004 108 "Weapon_K98.ClipIn2" }
{ event 5004 119 "Weapon_K98.Draw" }
{ event 5004 119 "Weapon_K98.BoltForward1" }
{ event 5004 124 "Weapon_K98.BoltForward2" }
}

$sequence draw "draw" ACT_VM_DRAW 1 fps 30.00 ROTATE -90 {
{ event 5004 1 "Weapon_Springfield.Draw" }

}

PR0PEN
02-07-2006, 08:24 AM
THANK YOU VERY MUCH TO ALL

PR0PEN
02-11-2006, 11:30 AM
I have more problems........... the model only compile with axis sleeve .... and is ALLIED!! xD

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.