My npc (monster) wont move! Created 4 years ago2019-10-14 23:54:29 UTC by oxygen_one oxygen_one

Created 4 years ago2019-10-14 23:54:29 UTC by oxygen_one oxygen_one

Posted 4 years ago2019-10-14 23:54:29 UTC Post #343219
I modified a headcrab (made a facehugger) it does the walking animation just right, but the monster doesn't move. He can attack (jump), but not "walk". What am I missing here?

$sequence "idle1" "idle1" fps 20 loop ACT_IDLE 15
$sequence "idle2" "idle2" fps 20 ACT_IDLE 1
$sequence "idle3" "idle3" fps 20 ACT_IDLE 1
$sequence "walk" "walk" LX fps 30 loop ACT_WALK 1
$sequence "run" "run" LX fps 60 loop ACT_RUN 1
Posted 4 years ago2019-10-15 06:47:54 UTC Post #343220
Did you do anything to the walk animation itself? like a custom anim or something? also did you change any of the bones or root bone? What 3d model program did you use to modify? Im suspecting either root bone became a secondary bone or the walk anim lost its forward motion. In goldsrc walk anims use motion extraction from the root bone and if that root bone is changed in the hierarchy or the anim walks in place without forward motion the NPC cannot move.
Posted 4 years ago2019-10-15 20:49:53 UTC Post #343221
I forgot to move the model during the walk animation. But how I do that without distorting the model? I tried using the "move" or "extrude" but the model gets distorted when I move it.
Posted 4 years ago2019-10-15 22:14:15 UTC Post #343222
Move bip01 joint in the z axis (if the animation consist of 30 frames set the keyframe on 1 at distance zero, 15, half the distance, and set keyframe 30 at distance goal), and, ta-dah!! of course it must be done in the animation program.
You must be logged in to post a response.