I know that this is not strictly a coding issue, but it's significant enough that it is holding up progress on my mod and the Valve-ERC forums were no help.
The problem I'm having is trying to attach a weapon model to the hands model provided in the SDK. The weapon model is skinned and has a simple skeleton (a bone for the gun body and one for the clip). I merged this model with the hands model and set the parent bone of the weapon as a child of the Bip01_R_Hand (sp?) node in the model hierarchy. I then froze all the modeling operations. The weapon animates work just fine in XSI. But when you export it, the exporter breaks the hierarchy assignment between the weapon and the right hand node which causes the animations to go terribly wrong. You can verify that this is happening by looking at the generated reference SMD file and seeing that the weapon is now assigned to node -1 rather than the r_hand node (which is 43 in my case). If you try to go ahead and compile the SMD file and view it in the model viewer, you'll see the weapon staying down at the player's side rather than following the motion of the r_hand. I think the problem might be that the exporter isn't recognizing that the two meshes (one for the hand model, the other for the weapon) belong to the same skeleton by virtue of the parenting of the weapon to the hand. Instead, the exporter seems to be treating these as two seperate models with independent skeletons. I can probably fix this by merging both meshes, but that screws up the vertex assignments which makes pasting new weapons into existing hand model/animation sets a real pain. Is there a way around this? _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

