• Welcome to PiBoSo Official Forum. Please login or sign up.
 
September 25, 2020, 10:44:34 AM

News:

GP Bikes beta18c available! :)


Dirt layers on bike body

Started by VSMaster, June 02, 2020, 11:17:17 AM

Previous topic - Next topic

VSMaster

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?
Always on the edge

javiliyors

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.

VSMaster

Always on the edge

giopanda

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

VSMaster

Always on the edge