The track section colours and textures are described using a specific syntax in the track palette editor Texture field, and similarly in the text file. If no texture is specified then the default black plastic track texture is used.
Ultimate Racer manages the following track section textures:
There is one line per texture applied on the track section.
The textures are applied in the same order as their description order. The first texture is applied first (at the bottom level), then the second one (on top of the first texture), and so on…
Syntax :- there are two syntaxes available:
F, texture bitmap file name
F, <red>, <green>, <blue>
The track section is filled with a texture bitmap or by a set of RGB colors. Ultimate Racer allows the use of texture bitmap (bmp, jpg) available in the folder .Racer30\media\textures.
The red, green and blue values range from 0 to 255. The F filling texture has the highest priority to the other textures it's the first track section applied texture.
F, IDB_TRACK_WOOD: fills this track with the IDB_TRACK_WOOD texture. There should be a texture file IDB_TRACK_WOOD.bmp or IDB_TRACK_WOOD.jpg available in .\media\textures folder, otherwise UR30 uses the default black plastic texture.
F, 255, 255, 255: fills this track section in white.
Applies a bicolor bitmap chess texture on the track. Useful to create track section with colored starting lines or colored lane separator lanes.
Syntax: c, r, color1, color2, horizontal number of cells, vertical number of cells, horizontal size of cell, vertical size of cells, left, top, right, bottom (in shape reference)
Applies a bicolor chess texture on the track. Useful to create track section with colored starting lines or colored lane separator lanes.
Syntax: c, c, color1, color2, horizontal number of cells, vertical number of cells, horizontal size of cell, vertical size of cells, start angle, inner radius, end angle, outer radius (in shape reference)
- curve chess texture outer radius in library units
Applies a rectangle metafile texture on the track section. This texture is useful to apply sophisticated drawings on a track section or a border.
UR30 allows the use of following picture described in the .\media\folder
Syntax: e, rectangle, texture name, x direction, y direction, left, top, right, bottom (in shape reference)
- x and y direction: 0 or 1. 1 horizontally (x) or vertically (y) inverts the mapped texture
- left, top, right, bottom: rectangle in which the mapped picture will be stretched or compressed if necessary. The rectangle coordinates are given relatively to the shape coordinates in library units
Maps a metafile texture on a curve track section. This texture is useful to apply sophisticated drawings on a track section or a border.
Syntax: e, texture name, curve, x direction, y direction, angle, radius, width
The picture will be curved to fit the crown defined by the specified angle, its inner radius and its width.