Server-side rig help

Modelling, Textures, Animating and other general engine asset topics.

Server-side rig help

Postby Black Sheep on Sun Jan 22, 2012 11:43 pm

Hi,

I am currently making a Crash Bandicoot model for a friend and I have hit a wall. I am done with the model and about 50% done with the texture. I have tried rigging the model with the Valve Biped guide and it all seems to work okay within XSI but when I compile and test in-game the vertexes are completely screwed up. Here is a picture
Image

Here is my .qc file
Code: Select all
$cd "C:\Users\Carson Flint\Desktop\decompile"
$modelname "player/BS_Crash/BS_Crash.mdl"
$model "BS_Crash" "BS_Crash.smd"

$poseparameter move_yaw -180.00 180.00 360.00
$poseparameter body_pitch -90.00 90.00 360.00
$poseparameter body_yaw -90.00 90.00 360.00
$cdmaterials "models/player/BS_Crash"
$bonemerge "ValveBiped.Bip01RHand"
$bonemerge "ValveBiped.Bip01LHand"
$bonemerge "ValveBiped.weaponbone"
$bonemerge "ValveBiped.weaponbone_Clip"
$hboxset "cstrike"
$hbox 3 "ValveBiped.Bip01_Pelvis" -8.299  -7.727  -5.429  8.299  2.007  6.583
$hbox 6 "ValveBiped.Bip01_L_Thigh" 4.576  -5.377  -3.432  22.880  3.775  4.576
$hbox 6 "ValveBiped.Bip01_L_Calf" -0.291  -4.295  -3.432  20.883  3.151  3.432
$hbox 6 "ValveBiped.Bip01_L_Foot" -2.288  -1.144  -2.579  5.720  4.576  2.007
$hbox 6 "ValveBiped.Bip01_L_Toe0" -2.860  -2.808  -2.860  4.004  1.196  1.716
$hbox 7 "ValveBiped.Bip01_R_Thigh" 4.576  -5.377  -3.432  22.880  3.775  4.576
$hbox 7 "ValveBiped.Bip01_R_Calf" -0.291  -4.295  -3.432  20.883  3.151  3.432
$hbox 7 "ValveBiped.Bip01_R_Foot" -2.288  -1.144  -2.007  5.720  4.576  2.579
$hbox 7 "ValveBiped.Bip01_R_Toe0" -2.860  -2.808  -1.716  4.004  1.196  2.860
$hbox 3 "ValveBiped.Bip01_Spine1" -9.152  -1.258  -8.008  4.576  11.326  8.008
$hbox 2 "ValveBiped.Bip01_Spine2" -3.068  -3.432  -9.693  13.572  10.317  9.693
$hbox 1 "ValveBiped.Bip01_Neck1" -0.104  -4.576  -2.860  5.512  2.288  2.860
$hbox 1 "ValveBiped.Bip01_Head1" -0.416  -6.240  -3.640  9.360  4.441  3.016
$hbox 4 "ValveBiped.Bip01_L_UpperArm" -1.144  -2.579  -2.288  14.872  2.579  2.288
$hbox 4 "ValveBiped.Bip01_L_Forearm" -1.716  -2.402  -2.402  13.156  2.402  2.402
$hbox 4 "ValveBiped.Bip01_L_Hand" 0.291  -2.465  -1.716  6.583  1.550  2.860
$hbox 5 "ValveBiped.Bip01_R_UpperArm" -1.144  -2.579  -2.288  14.872  2.579  2.288
$hbox 5 "ValveBiped.Bip01_R_Forearm" -1.716  -2.402  -2.402  13.156  2.402  2.402
$hbox 5 "ValveBiped.Bip01_R_Hand" 0.291  -2.465  -2.860  6.583  1.550  1.716
// Model uses material "t_leet.vmt"
// Model uses material "t_leet_glass.vmt"
$attachment "forward" "ValveBiped.forward" 0.00 -0.00 0.00 rotate 0.00 0.00 -0.00
$attachment "grenade0" "ValveBiped.Bip01_Pelvis" 7.45 4.24 -3.33 rotate -13.05 173.19 92.40
$attachment "grenade1" "ValveBiped.Bip01_Pelvis" 2.13 4.48 -6.15 rotate -81.11 178.93 91.12
$attachment "grenade2" "ValveBiped.Bip01_Pelvis" -7.50 3.33 2.16 rotate 22.39 2.47 -86.84
$attachment "grenade3" "ValveBiped.Bip01_Pelvis" -7.89 4.44 -4.03 rotate -33.13 -2.70 -87.60
$attachment "pistol" "ValveBiped.Bip01_R_Thigh" -0.93 3.33 -5.94 rotate 0.94 -1.57 80.10
$attachment "primary" "ValveBiped.Bip01_Spine2" 13.03 -3.98 -7.48 rotate -17.39 177.19 -4.18
$attachment "eholster" "ValveBiped.Bip01_L_Thigh" 5.15 -0.56 5.20 rotate 3.68 -91.56 99.67
$attachment "c4" "ValveBiped.Bip01_Spine2" 13.67 -7.55 0.95 rotate -29.12 65.25 22.32
$attachment "lfoot" "ValveBiped.Bip01_L_Foot" 0.00 5.20 0.00 rotate -0.00 0.00 -0.00
$attachment "rfoot" "ValveBiped.Bip01_R_Foot" -0.00 5.20 0.00 rotate 0.00 -0.00 0.00
$attachment "muzzle_flash" "ValveBiped.Bip01_L_Hand" -0.00 -0.00 0.00 rotate -0.00 -0.00 0.00
$includemodel "player/cs_player_shared.mdl"
$includemodel "player/ak_anims_t.mdl"
$surfaceprop "flesh"
$eyeposition -0.000 0.000 73.000
$illumposition 1.051 0.019 37.307
$sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00
$ikchain rhand ValveBiped.Bip01_R_Hand knee  0.707 0.707 0.000
$ikchain lhand ValveBiped.Bip01_L_Hand knee  0.707 0.707 0.000
$ikchain rfoot ValveBiped.Bip01_R_Foot knee  0.707 -0.707 0.000
$ikchain lfoot ValveBiped.Bip01_L_Foot knee  0.707 -0.707 0.000
$ikchain ikclip ValveBiped.weapon_bone_Clip knee  0.707 -0.707 0.000
$collisionjoints "phymodel.smd" {

   $mass 100.0
   $inertia 10.00
   $damping 0.05
   $rotdamping 5.00
   $rootbone "valvebiped.bip01_pelvis"
   $jointrotdamping "valvebiped.bip01_pelvis" 3.00

   $jointmassbias "valvebiped.bip01_spine1" 8.00
   $jointconstrain "valvebiped.bip01_spine1" x limit -10.00 10.00 0.00
   $jointconstrain "valvebiped.bip01_spine1" y limit -16.00 16.00 0.00
   $jointconstrain "valvebiped.bip01_spine1" z limit -20.00 30.00 0.00

   $jointmassbias "valvebiped.bip01_spine2" 9.00
   $jointconstrain "valvebiped.bip01_spine2" x limit -10.00 10.00 0.00
   $jointconstrain "valvebiped.bip01_spine2" y limit -10.00 10.00 0.00
   $jointconstrain "valvebiped.bip01_spine2" z limit -20.00 20.00 0.00

   $jointmassbias "valvebiped.bip01_r_clavicle" 4.00
   $jointrotdamping "valvebiped.bip01_r_clavicle" 6.00
   $jointconstrain "valvebiped.bip01_r_clavicle" x limit -15.00 15.00 0.00
   $jointconstrain "valvebiped.bip01_r_clavicle" y limit -10.00 10.00 0.00
   $jointconstrain "valvebiped.bip01_r_clavicle" z limit 0.00 45.00 0.00

   $jointmassbias "valvebiped.bip01_l_clavicle" 4.00
   $jointrotdamping "valvebiped.bip01_l_clavicle" 6.00
   $jointconstrain "valvebiped.bip01_l_clavicle" x limit -15.00 15.00 0.00
   $jointconstrain "valvebiped.bip01_l_clavicle" y limit -10.00 10.00 0.00
   $jointconstrain "valvebiped.bip01_l_clavicle" z limit 0.00 45.00 0.00

   $jointmassbias "valvebiped.bip01_l_upperarm" 5.00
   $jointrotdamping "valvebiped.bip01_l_upperarm" 2.00
   $jointconstrain "valvebiped.bip01_l_upperarm" x limit -15.00 20.00 0.00
   $jointconstrain "valvebiped.bip01_l_upperarm" y limit -40.00 32.00 0.00
   $jointconstrain "valvebiped.bip01_l_upperarm" z limit -80.00 25.00 0.00

   $jointmassbias "valvebiped.bip01_l_forearm" 4.00
   $jointrotdamping "valvebiped.bip01_l_forearm" 4.00
   $jointconstrain "valvebiped.bip01_l_forearm" x limit -40.00 15.00 0.00
   $jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00
   $jointconstrain "valvebiped.bip01_l_forearm" z limit -120.00 10.00 0.00

   $jointrotdamping "valvebiped.bip01_l_hand" 1.00
   $jointconstrain "valvebiped.bip01_l_hand" x limit -25.00 25.00 0.00
   $jointconstrain "valvebiped.bip01_l_hand" y limit -35.00 35.00 0.00
   $jointconstrain "valvebiped.bip01_l_hand" z limit -50.00 50.00 0.00

   $jointmassbias "valvebiped.bip01_r_upperarm" 5.00
   $jointrotdamping "valvebiped.bip01_r_upperarm" 2.00
   $jointconstrain "valvebiped.bip01_r_upperarm" x limit -15.00 20.00 0.00
   $jointconstrain "valvebiped.bip01_r_upperarm" y limit -40.00 32.00 0.00
   $jointconstrain "valvebiped.bip01_r_upperarm" z limit -80.00 25.00 0.00

   $jointmassbias "valvebiped.bip01_r_forearm" 4.00
   $jointrotdamping "valvebiped.bip01_r_forearm" 4.00
   $jointconstrain "valvebiped.bip01_r_forearm" x limit -40.00 15.00 0.00
   $jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.00
   $jointconstrain "valvebiped.bip01_r_forearm" z limit -120.00 10.00 0.00

   $jointrotdamping "valvebiped.bip01_r_hand" 1.00
   $jointconstrain "valvebiped.bip01_r_hand" x limit -25.00 25.00 0.00
   $jointconstrain "valvebiped.bip01_r_hand" y limit -35.00 35.00 0.00
   $jointconstrain "valvebiped.bip01_r_hand" z limit -50.00 50.00 0.00

   $jointmassbias "valvebiped.bip01_r_thigh" 7.00
   $jointrotdamping "valvebiped.bip01_r_thigh" 7.00
   $jointconstrain "valvebiped.bip01_r_thigh" x limit -25.00 25.00 0.00
   $jointconstrain "valvebiped.bip01_r_thigh" y limit -10.00 15.00 0.00
   $jointconstrain "valvebiped.bip01_r_thigh" z limit -55.00 25.00 0.00

   $jointmassbias "valvebiped.bip01_r_calf" 4.00
   $jointconstrain "valvebiped.bip01_r_calf" x limit -10.00 25.00 0.00
   $jointconstrain "valvebiped.bip01_r_calf" y limit -5.00 5.00 0.00
   $jointconstrain "valvebiped.bip01_r_calf" z limit -10.00 115.00 0.00

   $jointmassbias "valvebiped.bip01_l_thigh" 7.00
   $jointrotdamping "valvebiped.bip01_l_thigh" 7.00
   $jointconstrain "valvebiped.bip01_l_thigh" x limit -25.00 25.00 0.00
   $jointconstrain "valvebiped.bip01_l_thigh" y limit -10.00 15.00 0.00
   $jointconstrain "valvebiped.bip01_l_thigh" z limit -55.00 25.00 0.00

   $jointmassbias "valvebiped.bip01_l_calf" 4.00
   $jointconstrain "valvebiped.bip01_l_calf" x limit -10.00 25.00 0.00
   $jointconstrain "valvebiped.bip01_l_calf" y limit -5.00 5.00 0.00
   $jointconstrain "valvebiped.bip01_l_calf" z limit -10.00 115.00 0.00

   $jointmassbias "valvebiped.bip01_head1" 4.00
   $jointrotdamping "valvebiped.bip01_head1" 3.00
   $jointconstrain "valvebiped.bip01_head1" x limit -50.00 50.00 0.00
   $jointconstrain "valvebiped.bip01_head1" y limit -20.00 20.00 0.00
   $jointconstrain "valvebiped.bip01_head1" z limit -26.00 30.00 0.00
}


Can some tell me what I am doing wrong?
[img width="400" height="100"]http://i299.photobucket.com/albums/mm300/blacksheep987/ice-sig.png[/img]
User avatar
Black Sheep
Regular
Regular
 
Joined: Sun Feb 01, 2009 2:27 am

Return to Art Creation

Who is online

Users browsing this forum: No registered users