PiBoSo Official Forum

GP Bikes => Mods => Bikes => Topic started by: VSMaster on April 22, 2020, 02:56:44 PM

Title: Front sprocket animation
Post by: VSMaster on April 22, 2020, 02:56:44 PM
Hello everyone

Does anyone know if there is way to animate the front sprocket instead of leaving it still?

I tried to link it to the rwheel and move the pivot to its center but didn't work.
Title: Re: Front sprocket animation
Post by: Myst1cPrun3 on April 23, 2020, 09:16:16 AM
Matty managed this a while back, not sure it looked great Tho. Ask him about it 👍
Title: Re: Front sprocket animation
Post by: VSMaster on April 23, 2020, 12:54:16 PM
Quote from: Myst1cPrun3 on April 23, 2020, 09:16:16 AMMatty managed this a while back, not sure it looked great Tho. Ask him about it 👍

Ok thanks
Title: Re: Front sprocket animation
Post by: h106frp on April 23, 2020, 04:46:11 PM
This was a tip from Manu;
1.Create the front sprocket object, texture it (sprockettexture.tga) and create 2 new blurred textures the same size (sprockettexture_blur1.tga and sprockettexture_blur2.tga)
2.Now add the sprocket object to to your chain object
4.You need to add a 'sprockettexture.txt' file and in the file add the names of your 2 blur textures (sprockettexture is whatever you called the base sprocket texture)

It works OK and looks better than a stationary sprocket, full animation support would be much better.
Title: Re: Front sprocket animation
Post by: VSMaster on April 23, 2020, 06:01:54 PM
Ok thanks for reporting this tip. I will try that

Why can't we add just a simple code in the gfx.cfg , for ex. like the clutch rotor, would be much easier lol
Title: Re: Front sprocket animation
Post by: h106frp on April 23, 2020, 07:35:17 PM
Pretty sure animated front sprocket was requested years ago
Title: Re: Front sprocket animation
Post by: matty0l215 on April 23, 2020, 09:04:05 PM
I did manage to do it but the texture looked shite so i havent gone any further with it.
Title: Re: Front sprocket animation
Post by: VSMaster on April 23, 2020, 09:20:26 PM
What if I rename it as clutch-rotor? Since the bike I'm working on is hidden, it could work no?
Title: Re: Front sprocket animation
Post by: h106frp on April 23, 2020, 09:40:56 PM
If you do not need the clutch you can re-use the animation - speed will not match the chain though.
Title: Re: Front sprocket animation
Post by: VSMaster on April 23, 2020, 10:02:29 PM
Quote from: h106frp on April 23, 2020, 09:40:56 PMIf you do not need the clutch you can re-use the animation - speed will not match the chain though.
Yep, that's what I thought, so I'll try the first method