to make races you have to put the coordinates of the checkpoints that you want to use in a .as file.it's something like this:
Code:
#include "base.as"
#include "races.as"
racesManager races();
void main()
{
races.showCheckPointInfoWhenNotInRace = true;
array<array<double>> coordinates =
{
{227.552307, 21.861389, 1788.101685, 0.000000, 0.000000, 0.000000},
{228.571899, 22.436317, 1455.740967, 0.000000, 0.000000, 0.000000},
};
races.addRace("name of the race", coordinates, races.LAPS_One);
}
you can use as much coordinates as you want (they are in red) the first coordinate should be the start
and you have to fill in a name for the race (in blue) and change the laps (in green)
EDIT: you can also use this
Code:
#include "base.as"
#include "races.as"
racesManager races();
void main()
{
races.showCheckPointInfoWhenNotInRace = true;
array<array<double>> coordinates =
{
{227.552307, 21.861389, 1788.101685, 0.000000, 0.000000, 0.000000},
{228.571899, 22.436317, 1455.740967, 0.000000, 0.000000, 0.000000},
};
// race name coordinates #laps checkpoint object startline object finishline object race version int raceID =
races.addRace("name of the race", coords1, races.LAPS_Laps, "new-checkpoint", "new-checkpoint-start", "new-checkpoint-start", "unknown_author-1.0");}
colors mean the same as the ones above here. but here you can also add the checkpoint meshes you want. names of the meshes are in purple.
EDIT2: awesome terrain!