PiBoSo Official Forum

GP Bikes => Support => Topic started by: h106frp on October 01, 2017, 04:02:46 PM

Title: Front tyre shadow in 1P
Post by: h106frp on October 01, 2017, 04:02:46 PM
How can I reference/call the shadow for the front and rear tyre when in cockpit 1P mode as its now in its own model/directory?

Thank you
Title: Re: Front tyre shadow in 1P
Post by: Manu on October 01, 2017, 06:08:02 PM
gfx.cfg of the tyre folder.


front_wheel
{
model
{
file = ftyre.hrc
}
shadow
{
file = michelin_s.edf
}
ambientshadow
{
file = michelin_as.edf
}

...........
Title: Re: Front tyre shadow in 1P
Post by: h106frp on October 01, 2017, 06:32:55 PM
But we already have a front_wheel script in the bike gfx.cfg, I want to add the tyre shadow so its visible in 1P.

I think the new tyre should have probably been made front_tyre to avoid the conflict.
Title: Re: Front tyre shadow in 1P
Post by: PiBoSo on October 01, 2017, 06:51:13 PM

Adding a new "cockpit" section in the tyres' gfx.cfg file should do the trick.
Title: Re: Front tyre shadow in 1P
Post by: h106frp on October 01, 2017, 08:40:17 PM
 :)

Many thanks I will give it a try


Works! - brilliant