• Welcome to PiBoSo Official Forum. Please login or sign up.

GP Bikes: How to do Digital Marshal Flag

Started by adrmelandri, May 14, 2022, 06:42:53 AM

Previous topic - Next topic


May 14, 2022, 06:42:53 AM Last Edit: May 14, 2022, 08:08:47 AM by adrmelandri
Digital Marshal Flags Tutorial

There is no official documentation yet for this (that I know of), so I'd like to share what PiBoso told me on how to make digital marshal flag in GPB.

Each digital marshal flag object must have a separate "light off" texture.
For example, if there are 5 digital marshal flags object in the track, then you have to create 5 "light off" texture: marshalflag00.tga, marshalflag01.tga, marshalflag02.tga, and so on.

Create a TXT file with the same name of the "light off" texture, that includes the "light on" textures filenames, e.g. marshalflag00.txt.
The "light on" texture can be used by all digital marshal flag object. So you don't need to create like 5 copies of the "light on" textures like the "light off" textures.
In the TXT file, there must be one texture for each line. The order of the flag color "light on" texture is fixed:

For example:

Then finally, in the marshals.cfg file, each texture must be set like this:

  texture = marshalflag00
  long = 100
  texture = marshalflag01
  long = 500

and so on...

"long" is the position of the light on the centerline. Use TrackEd to know the "long" number. The number doesn't have to be precise.

To test if the digital flag works or not, go to testing but with rain condition, the yellow flags will always be displayed or you can test online together with somebody in any condition.
I've tested this on my work in progress ADR Race Park and Lausitzring v1.1 (look at photos) and they both work brilliant ;D

Das Leben ist kein Ponyhof.
Life is not a child's play.


For faster responses, please visit the discord server- HERE