model wont move Created 16 years ago2008-01-27 20:12:12 UTC by thehalflifedude thehalflifedude

Created 16 years ago2008-01-27 20:12:12 UTC by thehalflifedude thehalflifedude

Posted 16 years ago2008-01-27 20:12:12 UTC Post #244442
i need help. i can't get my model to move! it's a metrocop that replaces the hgrunt, i got everything perfect, like when you get too close to him he'll give you a beatin with his baton, but i can't get him to move! it doesn't matter what order the animations are in, it doesn't matter weither it's "act_walk1" or "act_run1" i can't get him to move! heres the line for the walking animation from my qc file: $sequence "walk1" "a_walkN" fps 30 loop ACT_WALK 1 LX

and the run animation:
$sequence "run" "a_runN" fps 30 loop ACT_RUN 1 LX

please help! i need to make my metrocop able to move! also, this has happened before with my strider. also, my zombie wont move too.(he also has a replacement model. the original models will work fine, but the replacement models converted by me won't work.)
Posted 16 years ago2008-01-27 23:29:03 UTC Post #244451
Remove the LX flag from the qc file than recompile the model. Once you do that, view the model in a model viewer and go to his walk and run animations. Instead of walking on the spot, they should now be actrully be moving instead of walking on the spot, if the don't, than you need to edit the walk and run animations in milkshape or gmax or whatever you have (the hl tool pack you downloaded has some gmax smd import/export plugins ;) ) to actruly walk forward. This is done by moving his origin (the whole model) a little bit more forward every frame. Once you are happy with it, apply the LX flag back into the qc file and you're done.

As for the beating, you may have to make some simple changes in the code to get this to work.
Posted 16 years ago2008-01-28 00:47:01 UTC Post #244452
aaron, i was just about to snap your neck until i realized he was playing the running animation. i'm going to try the walking animation now.

edit: if i were in australia, i'd find you and hug you until you were the size of a peanut. i now have a metrocop that can freely walk around.
Posted 16 years ago2008-01-28 00:54:08 UTC Post #244453
woah now
Tetsu0 Tetsu0Positive Chaos
Posted 16 years ago2008-01-28 01:02:16 UTC Post #244454
(in a freindly way)

also, i would hug him because he just solved the most anoying bug that i always get when i create a custom model.
Posted 16 years ago2008-01-28 02:12:03 UTC Post #244457
thats still creepy. dude this is a Modding community, not your closest friends from school. and im not sure bout you, but i usually dont hug my guy friends, especially for weird reasons (although this isnt a problem with me, 85% of my friends are girls, 95% of my closest are girls...)

Oh and Aaron, i think he said he already got it to beat you with a baton when you're too close. But I do believe to make it perform like the HL2 Metro Cop you'd have to still do some extensive coding. Especially to change its passiveness later on in the game... (per chance he gets that far)
Posted 16 years ago2008-01-28 07:28:14 UTC Post #244459
:glad:

So you had to edit the model?

@ saw1833: Yes, ofcourse he will have to make some changes.
You must be logged in to post a response.