PiBoSo Official Forum

GP Bikes => Mods => Bikes => Topic started by: PiBoSo on February 11, 2019, 12:19:13 AM

Title: Chain animation
Post by: PiBoSo on February 11, 2019, 12:19:13 AM
How to link the chain to the front sprocket:

1. Open the file gfx.cfg and go to ( or create ) the "chain" section ( there should be two, one for full model and one for the cockpit )

2. Make sure that "name" matches the object name in the model

3. Open the bike in the Bike Editor: http://forum.piboso.com/index.php?topic=1458.0

4. Drag "Chain Link" over "FSprocket"

5. Copy the "Pos" and "Rot" values in the gfx.cfg file

6. Please make sure that the chain LODs, if present, use the same object name and pivot position and rotation as the top LOD


Please note that it is also possible to add up to two blur textures.
Title: Re: Chain animation
Post by: h106frp on February 11, 2019, 10:38:29 PM
Still cannot get this to work - can anyone who has a working chain post an rwheel.fbx so I can confirm hierarchy and pivots?
Title: Re: Chain animation
Post by: Blackheart on February 11, 2019, 10:44:45 PM
Quote from: h106frp on February 11, 2019, 10:38:29 PM
Still cannot get this to work - can anyone who has a working chain post an rwheel.fbx so I can confirm hierarchy and pivots?

What is your problem? Position, or the chain does it still move around the rear wheel? If the problem is this one not use fb2edf (in my experince not works for my chains)

EDIT: here the fbx: Example (https://mega.nz/#!poQwVYKZ!qEJZWhabJImyyWog6Oq9TsesFYDV-s9flFhhcWQDhD4)
Title: Re: Chain animation
Post by: h106frp on February 12, 2019, 12:10:29 AM
Still moves around with the wheel, no issues at all with fbx2edf until this latest beta.

Tried importing an fbx into max2010 but the import process breaks all the pivot rotations so its even more confusing.

Thanks for the file, hopefully it might help.
Title: Re: Chain animation
Post by: PiBoSo on February 21, 2019, 09:58:04 PM

First post updated with a new ( and hopefully better ) guide.
Title: Re: Chain animation
Post by: h106frp on March 16, 2020, 02:32:56 PM
Quote from: PiBoSo on February 11, 2019, 12:19:13 AMPlease note that it is also possible to add up to two blur textures.

Could you briefly explain how to add the blur textures?

Thank you
Title: Re: Chain animation
Post by: Blackheart on March 16, 2020, 06:32:08 PM
In old betas, it was needed a "chain.txt" file with inside the name of the blur texture, So now something like that It should work:

Quote from: chain.txtchain_blur1.tga
chain_blur2.tga
Title: Re: Chain animation
Post by: doubledragoncc on March 17, 2020, 12:53:01 AM
Bit off topic.......good to see you still about Blackheart.......naked CBR900RR? lol you know me

DD
Title: Re: Chain animation
Post by: h106frp on March 23, 2020, 11:52:59 AM
Cheers BH, got the chain blur working but I was hoping to be able to use it to blur the front sprocket as well but unfortunately it does not really work out.