• Welcome to PiBoSo Official Forum. Please login or sign up.
 
April 20, 2024, 06:08:32 AM

News:

World Racing Series beta14 available! :)


Front tyre shadow in 1P

Started by h106frp, October 01, 2017, 04:02:46 PM

Previous topic - Next topic

h106frp

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

Manu

gfx.cfg of the tyre folder.


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

...........
It's Easier to Fool People Than It Is to Convince Them That They Have Been Fooled.

h106frp

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.

PiBoSo


Adding a new "cockpit" section in the tyres' gfx.cfg file should do the trick.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

h106frp

October 01, 2017, 08:40:17 PM #4 Last Edit: October 01, 2017, 09:01:16 PM by h106frp
 :)

Many thanks I will give it a try


Works! - brilliant