Let’s take a look at garden1’s folder structure. You won’t have to do anything in this step. This is just so you know what a track looks like.
You will find these file types in many tracks:
This folder includes files that will be used in case the player chooses to race it backwards.
There can be 10 bitmaps, named gardena.bmp to gardenj.bmp in this case.
You will have noticed that there are similar files to the bitmaps we were just looking at. These are called mipmaps. They are used by the game and will be used on object that is further away in order to make the textures look smoother. Modern game engines do this automatically, and, in fact, if you are planning to make the track just for RVGL, you don’t need to worry about those.
This file contains camera nodes that Re-Volt uses for the replay.
This file contains the POS nodes.
This file contains the AI nodes.
This contains information about instances (decorative objects).
A file for force fields. These can alter the gravity or provide wind effects.
Object file for pickups and other interactive objects.
This contains the lights. Some extra lighting effects can be achieved like shadows on cars and objects.
This one contains simple geometry to tell the game where mirrors are. These are used for reflective floors.
Information file for tracks. It contains, for example, the start position, music path, fog color, etc.
Track zones, used to determine if a car went through all parts of the track.
Triggers: These are used for the direction arrows and repositioning of the car.
Visiboxes are used for performance optimization: Hiding parts of the tracks that cannot be seen anyway based on where the car is. These are optional but can improve performance.
The 3D model of the track. We will create this one with Blender.
Collision and surface data. Also done with Blender.
A text file that contains track properties like materials and effects (optional). You can read about its options in the RVGL Documentation
In the game’s folder, there is a folder called
gfx. We will need to put a bitmap in there later which will be used to show a preview picture in the track selection. It will be named like the track folder you have chosen. We will create this file and all the others listed above in the following steps.