←  C&C: Red Alert 3 Editing

Fallout Studios Forums

»

Infantry animation problem

Storm's Photo Storm 24 Aug 2010

1) I imported new infantry model into my RA3 mod. I used GDI rifleman skeleton and animation from CnC3 and soviet conscript xml code as base.
But in RA3 these new infantry not animated (skeleton linked to model and animation work in 3d max)
In CnC3 these works without poblems.
What i need to do for make it work?

2) How i can make infantry bigger or smaller in game? Especially vanilla RA3 infantry.

Here code for infantry and screenshot

Attached File(s)


Edited by Storm, 24 August 2010 - 18:53.
Quote

Sgt. Rho's Photo Sgt. Rho 24 Aug 2010

have you also put the animations into RA3?
Quote

Storm's Photo Storm 24 Aug 2010

Yes i do that. And mod builder see all these animations. But animations still not work in game :(
Edited by Storm, 24 August 2010 - 21:58.
Quote

Sgt. Rho's Photo Sgt. Rho 25 Aug 2010

Hmm, weird. Are you using the CnC3 model, or a new one?
Quote

Storm's Photo Storm 25 Aug 2010

I use new model for these infantry. But i can try original CnC rifleman
Quote

Sgt. Rho's Photo Sgt. Rho 25 Aug 2010

I think I know the problem then, you have to apply a WWSkin modifier, and link the vertices to the bones of the skeleton, else the animations won't work.
Quote

Storm's Photo Storm 25 Aug 2010

I do that already.
But i can send model there. Possible you will see what a problem
And these problem happens with new model uses RA3 animations
Quote

Sgt. Rho's Photo Sgt. Rho 25 Aug 2010

Ah, that probably is the problem then, the RA3 Skeletons might have different bone names than the CnC3 rifleman one ;)
Quote

Golan's Photo Golan 25 Aug 2010

W3X animations are stored by bone (hierarchy) index, not bone name. Even if you use an animation not meant for the skeleton, some kind of animation will play (though it can look like random junk). You should check your code for typos and the compiler log for missing animations.
Edited by Golan, 25 August 2010 - 22:18.
Quote