Kart Racing Pro Official Forum

Mods => Other Addons => Topic started by: Sam Flintham on December 01, 2013, 01:35:24 PM

Title: Animated chain and sprocket
Post by: Sam Flintham on December 01, 2013, 01:35:24 PM
PiBoSo is there any way we could have access to the animated chain and sprocket or can we be told how to do it  :o
Title: Re: Animated chain and sprocket
Post by: PiBoSo on December 01, 2013, 02:53:50 PM
Quote from: Sam Flintham on December 01, 2013, 01:35:24 PM
PiBoSo is there any way we could have access to the animated chain and sprocket or can we be told how to do it  :o

For a reference, look at the "rearsprocket" and "chain" sections of the gfx.cfg file of an engine.
Title: Re: Animated chain and sprocket
Post by: Sam Flintham on December 01, 2013, 09:00:44 PM
Is there values that can be changed In gfx.txt to position them? :)
Title: Re: Animated chain and sprocket
Post by: PiBoSo on December 01, 2013, 09:13:00 PM
Quote from: Sam Flintham on December 01, 2013, 09:00:44 PM
Is there values that can be changed In gfx.txt to position them? :)

Please note that the filename must be gfx.cfg
The objects must be placed in 3dsmax.
The CFG file can be used to animate them, setting the rotation or scrolling axis.
Title: Re: Animated chain and sprocket
Post by: Sam Flintham on December 01, 2013, 09:15:11 PM
If I name the sprocket and chain in the gfx file the same as the objects on 3ds will that make it rotate?
Title: Re: Animated chain and sprocket
Post by: PiBoSo on December 01, 2013, 10:03:58 PM
Quote from: Sam Flintham on December 01, 2013, 09:15:11 PM
If I name the sprocket and chain in the gfx file the same as the objects on 3ds will that make it rotate?

If the name of the sprocket matches, the object should rotate.
The chain uses texture animation, so it should use a dedicated texture, and the texture filename ( without the extention ) must be set in the CFG.