Can anyone please help me with 'jointconstraints' for a custom model's skeleton?
0 replies, posted
Just a little background I am currently trying to port over the Super Battle Droid from the game 'Star Wars: Republic Commando' and have no idea how to adjust the 'jointconstraints of the model. I have tried Googling my issue and nothing of note has really helped me out. I am using blender to convert the model from Unreal's .psk format to Source's .smd format and for the physics of the model I just used the model's .smd without really changing anything in blender.
For example the .qc gives me:
$collisionjoints "swrc_super_battle_droid_physics.smd"
{
$mass 110
$inertia 5
$damping 0.01
$rotdamping 1.5
$rootbone "root"
$jointconstrain "pelvis" x limit 0 0 0
$jointconstrain "pelvis" y limit 0 0 0
$jointconstrain "pelvis" z limit 0 0 0
$jointconstrain "hip_R" x limit 0 0 0
$jointconstrain "hip_R" y limit 0 0 0
$jointconstrain "hip_R" z limit 0 0 0
$jointconstrain "knee_R" x limit 0 0 0
$jointconstrain "knee_R" y limit 0 0 0
$jointconstrain "knee_R" z limit 0 0 0
$jointconstrain "hip_L" x limit 0 0 0
$jointconstrain "hip_L" y limit 0 0 0
$jointconstrain "hip_L" z limit 0 0 0
$jointconstrain "knee_L" x limit 0 0 0
$jointconstrain "knee_L" y limit 0 0 0
$jointconstrain "knee_L" z limit 0 0 0
$jointconstrain "ankle_L" x limit 0 0 0
$jointconstrain "ankle_L" y limit 0 0 0
$jointconstrain "ankle_L" z limit 0 0 0
$jointconstrain "toe_L" x limit 0 0 0
$jointconstrain "toe_L" y limit 0 0 0
$jointconstrain "toe_L" z limit 0 0 0
$jointconstrain "ankle_R" x limit 0 0 0
$jointconstrain "ankle_R" y limit 0 0 0
$jointconstrain "ankle_R" z limit 0 0 0
$jointconstrain "spine1" x limit 0 0 0
$jointconstrain "spine1" y limit 0 0 0
$jointconstrain "spine1" z limit 0 0 0
$jointconstrain "spine2" x limit 0 0 0
$jointconstrain "spine2" y limit 0 0 0
$jointconstrain "spine2" z limit 0 0 0
$jointconstrain "shoulder_R" x limit 0 0 0
$jointconstrain "shoulder_R" y limit 0 0 0
$jointconstrain "shoulder_R" z limit 0 0 0
$jointconstrain "forearm_R" x limit 0 0 0
$jointconstrain "forearm_R" y limit 0 0 0
$jointconstrain "forearm_R" z limit 0 0 0
$jointconstrain "shoulder_L" x limit 0 0 0
$jointconstrain "shoulder_L" y limit 0 0 0
$jointconstrain "shoulder_L" z limit 0 0 0
$jointconstrain "elbow_L" x limit 0 0 0
$jointconstrain "elbow_L" y limit 0 0 0
$jointconstrain "elbow_L" z limit 0 0 0
$jointconstrain "wrist_L" x limit 0 0 0
$jointconstrain "wrist_L" y limit 0 0 0
$jointconstrain "wrist_L" z limit 0 0 0
$jointconstrain "index_L1" x limit 0 0 0
$jointconstrain "index_L1" y limit 0 0 0
$jointconstrain "index_L1" z limit 0 0 0
$jointconstrain "thumb_L1" x limit 0 0 0
$jointconstrain "thumb_L1" y limit 0 0 0
$jointconstrain "thumb_L1" z limit 0 0 0
$jointconstrain "index_L2" x limit 0 0 0
$jointconstrain "index_L2" y limit 0 0 0
$jointconstrain "index_L2" z limit 0 0 0
$jointconstrain "thumb_L2" x limit 0 0 0
$jointconstrain "thumb_L2" y limit 0 0 0
$jointconstrain "thumb_L2" z limit 0 0 0
$jointconstrain "index_L3" x limit 0 0 0
$jointconstrain "index_L3" y limit 0 0 0
$jointconstrain "index_L3" z limit 0 0 0
$jointconstrain "wrist_R" x limit 0 0 0
$jointconstrain "wrist_R" y limit 0 0 0
$jointconstrain "wrist_R" z limit 0 0 0
$jointconstrain "muzzle_r" x limit 0 0 0
$jointconstrain "muzzle_r" y limit 0 0 0
$jointconstrain "muzzle_r" z limit 0 0 0
$jointconstrain "forearm_L" x limit 0 0 0
$jointconstrain "forearm_L" y limit 0 0 0
$jointconstrain "forearm_L" z limit 0 0 0
$jointconstrain "toe_R" x limit 0 0 0
$jointconstrain "toe_R" y limit 0 0 0
$jointconstrain "toe_R" z limit 0 0 0
}
As you can see the .qc reads the bones but doesn't tell them the jointconstraints.
Any help with this would really be appreciated.
Sorry, you need to Log In to post a reply to this thread.