• Fast Zombie anims on Citizen
    3 replies, posted
Hi people. I'm trying to add the animations from a fast zombie to a citizien, to make an NPC, but It's not going well. I found many problems and I can't make it work correctly. To do this I was following this (outdated) tutorial, which does exactly what I want to do: [url]http://www.moddb.com/games/half-life-2/tutorials/switching-animations-between-models[/url] So first I decompiled the citizen and fast zombie models with Crowbar. Then I copied all the animation files (except ragdoll) from the fast zombie to the citizen folder. Then I modified the QC, changed the model path and added $IncludeModel "zombie/fast.mdl". Finally I compile the new model and start the game. First problem I find, when I try to assign the new model to a fast zombie, [B]the console says there is a parent mismatch in the pelvis and spine bones. Then it creashes.[/B]. I notice there is a missing bone which is the parent of those two bones. So I open the model in blender, add the missing bone and reparent the pelvis and spine. I recompile again and start the game. Second problem I find, [B]the error is gone, but the game still crashes.[/B] I guess that wasn't the problem. So I go to the QC file, and instead of using $IncludeModel "zombie/fast.mdl", I copy all the animation and sequence blocks from the fast zombie QC to the citizen QC. Recompiled and start the game. Third problem I find. [B]It doesn't crash anymore, but the zombie doesn't move!.[/B] It just stands there in his idle pose. If I get close, he attacks me, but the model turns to the right until the attack animation ends. Everything else works fine, but it doesn't want to move. I don't know what I'm missing. The guy from the tutorial didn't have any of these problems, I guess the game's models changed since then (the tutorial is from 2010). Any idea of how to fix this?
I thing the fast zombie has different skeleton. Not sure.
[QUOTE=Cheroke98cz;52067988]I thing the fast zombie has different skeleton. Not sure.[/QUOTE] I merged the bones from the fast zombie to the NPC citizen by importing one after the other (some of them ended at the origin). Still, the NPC doesn't move, and he attacks looking at his left. I don't know where's the problem. :/
Sorry, you need to Log In to post a reply to this thread.