PiBoSo Official Forum

GP Bikes => Support => Topic started by: Vini on July 03, 2020, 02:54:20 PM

Title: Switch out rider animations?
Post by: Vini on July 03, 2020, 02:54:20 PM
I had the idea to replace the gesture animation files by the ones for stand-up wheelie and leg dangle to get manual control over them but it didn't work for some reason.

Does anybody know how these .ANM files need to be formatted?
Title: Re: Switch out rider animations?
Post by: h106frp on July 03, 2020, 03:26:35 PM
Not much help, but from what I can gather they are shape animations much like the shock and cables and generated in 3DS so I guess it uses their output format.

The rigged model is only used as a method for deforming the rider mesh in 3DS to generate keyframes for each move position, these are then strung together like a cartoon. the file is probable just a big list of vertices and their index number.

In game we only have the model mesh of the rider and no bone rig - hence we can never have a 'rag doll' style physics influenced rider
Title: Re: Switch out rider animations?
Post by: Vini on July 03, 2020, 03:37:13 PM
Hmm, but why is not possible to swap the animations with each other?
Title: Re: Switch out rider animations?
Post by: h106frp on July 03, 2020, 04:35:35 PM
I guess if you swapped the references in gfx.cfg which should force the change it would be because, selectively, the correct link pivots are not being passed to the animation.

The .anm files can be created directlly from the 3DS edf exporter - so I guess it is just a 3DS animation file converted to PBs .anm

Its a shame we have no information how this is achieved using the standalone exporter.   :-(
Title: Re: Switch out rider animations?
Post by: Manu on July 03, 2020, 10:08:57 PM
Quote from: Vini on July 03, 2020, 02:54:20 PMI had the idea to replace the gesture animation files by the ones for stand-up wheelie and leg dangle to get manual control over them but it didn't work for some reason.

Does anybody know how these .ANM files need to be formatted?

You cannot do such a thing. The animations are encoded for a specific action. Changing the names won't do any good.
Title: Re: Switch out rider animations?
Post by: Vini on July 04, 2020, 11:00:43 AM
Damn, would have been too good to be true.