Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Softimage® Modtools / Valve Source (Half Life 2) / Animation error in compiled player model.
  RSS 2.0 ATOM  

Animation error in compiled player model.
Rate this thread
 
30335
 
Permlink of this thread  
avatar
  • hogan
  • Posted: 04 March 2009 05:53 AM
  • Total Posts: 20
  • Joined: 05 February 2009 07:37 PM

I have my custom player model, he’s fine.

Ive used the valve biped guide and then created the skeleton, ive enveloped my mesh to the skeleton.

I have compiled with guistudiomdl with the following .qc file

------------------------------------------------------------------------------------

“$modelname characters\union\union_player_infantry.mdl

$cdmaterials models\character\union\
//start eye/face data

$eyeposition 0 0 70
// head controllers

$attachment “eyes” “ValveBiped.Bip01_Head1” 0.043 -4.2197 67.5554 absolute

$attachment “mouth” “ValveBiped.Bip01_Head1” 1.00 -6.30 0.00 rotate 0 -80 -90

$model sdk_custom_male “union_player_infantry.smd"{

$include “../bodyrules_xsi.qci”
}
//end eye/face data
$surfaceprop “flesh”

$mostlyopaque

$include “../standardhierarchy.qci”

$alwayscollapse “polymsh”

$alwayscollapse “XSISceneRoot”

$proceduralbones “../male.vrd”

$pushd “../male_animations_sdk”

$include “../male_animations_sdk/male_shared_XSI_sdk.qci”

$include “../male_animations_sdk/body_poses_lean.qci”

$include “../male_animations_sdk/WeaponAnims_shared_sdk.qci”

$popd

$include “hitbox.qci”
$include “ragdoll.qci”

$sequence idle_saw “union_player_idle” loop fps 30”

------------------------------------------------------------------------------------

(I fixed the pelvisonly shit) -

But when i look in the model viewer, and play one of the default animations i get this crazyness.

erroneous1.jpg
(http://i196.photobucket.com/albums/aa83/benetheth/erroneous1.jpg)

As you can tell all is gone to shit, (dw about no texture i didnt bother yet)

To test if it was all animations or only the defauly hl2 ones i made my own idle_saw one, and heres a pic;

erroneous2.jpg
(http://i196.photobucket.com/albums/aa83/benetheth/erroneous2.jpg)

So as you can tell HMMMM.

I have also merged the scene with human_6 or whatever, and stolen the bones from that, and reenveloped just incase the biped guide gave me a different one than it should.

This might be an easy fix or it might not, but any help is appreciated.

hogan



Replies: 0
avatar
  • hogan
  • Posted: 05 March 2009 06:50 AM

Nothing huh, lol good forums :S



Replies: 0
avatar
  • hogan
  • Posted: 05 March 2009 11:04 AM

I think valve biped from biped guide is just broken, i dnu.



Replies: 0