A few days ago I converted my mod to SDK 2013 from 2007, and I noticed that 
none of my custom player
models had walk/aim animations in-game when viewed in thirdperson mode, but in 
HLMV, they still looked fine.  So I built a a vanilla  SDK 2013, added my 
player model to the list of random citizen models, called cl_playermodel, and 
tried again.  No luck.  When I walk around, the top half of the player is 
playing the idle animation, but the legs don't walk, and pitch/yaw don't affect 
the orientation of the top. (aim layer)

The models I made use the 8-way/move_yaw animation blends that were used in the 
HL2MP examples.  I stepped through some of the server code, and it looks like 
movement is affecting the model's mode_yaw parameters, so what could be wrong?  
Are there some new flags I need to add to my .qc files?  Do I have to switch to 
9-way blends?

Here's some of the QC file for one of the models that's no longer working:

$modelname "mech.mdl"
$origin 0 0 -52.0
$scale 3.0
$surfaceprop "combine_metal"    
$cdmaterials ""
$body studio "mech.smd"
$sequence idle "mech_idle.smd" loop
$sequence reference "mech_ref.smd"
$attachment attach_RH "spine" 0 0 0 rotate -90 0 90

$animation a_walkS      "walkS" loop LX LY rotateto -180
$animation a_walkSE     "walkSE" loop LX LY rotateto -135
$animation a_walkE      "walkE" loop LX LY rotateto -90
$animation a_walkNE     "walkNE" loop LX LY rotateto -45
$animation a_walkN      "walkN" loop LX LY rotateto 0
$animation a_walkNW     "walkNW" loop LX LY rotateto 45
$animation a_walkW      "walkW" loop LX LY rotateto 90
$animation a_walkSW     "walkSW" loop LX LY rotateto 135

$animation a_walk1      "mech_idle" loop LX LY 

$sequence walk1 {
        a_walkS a_walkSE a_walkE
        a_walkNE a_walkN a_walkNW
        a_walkW a_walkSW a_walkS
        blendwidth 9 blend move_yaw -180 180 ACT_HL2MP_RUN_MELEE 1 node 
"running"
}

$animation a_aimN "mech_aim" frame 4 4
$animation a_aimDL "mech_aim" frame 0 0 subtract a_aimN 0
$animation a_aimDM "mech_aim" frame 1 1 subtract a_aimN 0
$animation a_aimDR "mech_aim" frame 2 2 subtract a_aimN 0
$animation a_aimML "mech_aim" frame 3 3 subtract a_aimN 0
$animation a_aimMM "mech_aim" frame 4 4 subtract a_aimN 0
$animation a_aimMR "mech_aim" frame 5 5 subtract a_aimN 0
$animation a_aimUL "mech_aim" frame 6 6 subtract a_aimN 0
$animation a_aimUM "mech_aim" frame 7 7 subtract a_aimN 0
$animation a_aimUR "mech_aim" frame 8 8 subtract a_aimN 0

$sequence aim_layer {
        a_aimDL a_aimDM a_aimDR
        a_aimML a_aimMM a_aimMR
        a_aimUL a_aimUM a_aimUR
        blendref a_aimN
        blendcenter a_aimMM
        blendwidth 3 calcblend aim_yaw "attach_RH" ZR calcblend aim_pitch 
"attach_RH" YR
        delta
}


Any help would be greatly appreciated!

Best,
Eric

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Reply via email to