Hi, it's been a while since I imported a player model into the source engine, and I could use some help.
I've compiled it just fine, but the problem is in-game the model doesn't turn. It plays the correct animations since I'm using the right activities, but it only faces one direction.
I had this problem with a TF2 model before, and I think I fixed it by renaming the root bone of my character to the same name as the class' but I can't quite remember for sure. My guess was I'm having this problem because Gmod is using the new valve skeletons or something.
In case I'm wrong and it's a QC problem, here's the animation section:
$body studio "santa_ref"
$sequence run_physgun "santa_run_physgun" loop fps 30 ACT_HL2MP_RUN_PHYSGUN 1 LX LY LZ
$sequence idle_physgun "santa_idle_physgun" loop fps 30 ACT_HL2MP_IDLE_PHYSGUN 1 LX LY LZ
$sequence idle "santa_idle" loop fps 30 ACT_HL2MP_IDLE 1 LX LY LZ
$sequence run "santa_run" loop fps 30 ACT_HL2MP_RUN 1 LX LY Z
Thanks for any help in advance!
Never mind, I got it. Anyone having this problem:
Don't $includemodel "player/male_anims.mdl", that just causes crashing. Instead include garry's mod's "player/player_animations.mdl" and the character will turn just fine.
Sorry, you need to Log In to post a reply to this thread.