Jump to content
Sign in to follow this  
TeRp

Weapon animations messed up ingame

Recommended Posts

Hey lads.

I've run into some trouble with animations on one of our personal weapons, the P2A1 flare gun: I'm trying to implement a reload animation for the weapon, and it's working fine in o2, but not ingame.

First a screenshot from o2, the animation is working just fine in o2/bulldozer: http://img843.imageshack.us/img843/8717/funzend.jpg

However, ingame the animation is screwed up: http://img714.imageshack.us/img714/7923/55232582.jpg

As you can see, the barrel moves upwards, detaching itself from the weapon.

I have absolutely no idea why that happens...

Here's the model config: http://pastebin.com/0rJybQDs

If tried different solutions (different names for selection and the animation, and so on), but didn't have any success.

So, if anyone has any idea what's wrong or if I have to do something special with weapon animations, please let me know.

Thanks in advance,

TeRp

Share this post


Link to post
Share on other sites

Looking at this the pivot memory point of the anim has moved for some reason

try renaming all parts of the animated sections including pivots and such in the memory LOD .

instead of --> axis="axis barrel";

try axisbarrel or axis_barrel

Share this post


Link to post
Share on other sites

Thanks for the help, but that didn't help.

I've fiddled with the model.cfg a lot, tried different animation types (e.g. rotation and rotationZ) and even different selection names for both the axis and the animated selection of all kinds...

Still, I have no idea as to why it doesn't work.

I guess I'll have to remove the animation completely.

Share this post


Link to post
Share on other sites

you could try memory=0 and define the axis in the res LODs and see if that makes a difference.

Share this post


Link to post
Share on other sites

Thanks T_D, but it didn't work either.

Since I still have no clue what is going wrong ingame (no rpt errors, no nothing), I have removed the animation.

It's no the best solution, but the only working solution so far. ;)

Share this post


Link to post
Share on other sites

does that thing have 2 named selections? if so then that could be the problem if 1 object have 2 animated named selections it will cause weird animation in game

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×