PiBoSo Official Forum

GP Bikes => Mods => Bikes => Topic started by: VSMaster on June 02, 2020, 11:17:17 AM

Title: Dirt layers on bike body
Post by: VSMaster on June 02, 2020, 11:17:17 AM
Hello everyone

Is it possible to add dirt layers on the bike when you crash or go off the track like in MX Bikes?
I think it's a cool addition for the sim. IF so, would you explain how to?
Title: Re: Dirt layers on bike body
Post by: javiliyors on June 02, 2020, 01:03:43 PM
Mud Layers

Create a text file with the same name of the texture, and extension ".lyr" (for example: bike_parts.lyr) and then fill it like this:

numlayers=1
layer1
{
numframes = 3
frame0=bike_parts_mud1.tga
frame1=bike_parts_mud2.tga
frame2=bike_parts_mud3.tga
}

The mud textures should go from cleaner to dirtier. They must have an alpha channel to control opacity as they will be applied on top of the base texture, with the same texture UVs.
Title: Re: Dirt layers on bike body
Post by: VSMaster on June 02, 2020, 05:57:03 PM
Wow thanks. I'll try that
Title: Re: Dirt layers on bike body
Post by: giopanda on June 29, 2020, 07:56:40 AM
did it work?
because that's how it works in mxb, but i read somewhere that in gbp there are only 2 layers on the wheels, so maybe it's just 2 also on the bike
Title: Re: Dirt layers on bike body
Post by: VSMaster on June 30, 2020, 01:13:44 PM
Nope. I didn't try yet