Skip to navigation


The Brands Hatch track

One of the four extra tracks in the Revs 4 Tracks expansion

Brands Hatch was one of the four new tracks released by Acornsoft as part of the Revs 4 Tracks expansion in late 1985 (the others being Donington Park, Oulton Park and Snetterton).

The track looks like this, if we extract the data from the track data file and draw the results:

The Brands Hatch track in RevsThe Brands Hatch track in RevsThe Brands Hatch track in Revs

The track's elevation profile looks like this:

The elevation of the Brands Hatch track in RevsThe elevation of the Brands Hatch track in RevsThe elevation of the Brands Hatch track in Revs

The track is broken up into 29 sections, as follows:

NumberShapeDescription
0->Clearways to Paddock Bend (3/3)
1->Paddock Bend
2|->|Paddock Bend to Druids (1/2)
3{}Paddock Bend to Druids (2/2)
4|->|Druids
5||Druids to Graham Hill Bend
6<-Graham Hill Bend
7||Graham Hill Bend to Surtees (1/3)
8<-Graham Hill Bend to Surtees (2/3)
9<-Graham Hill Bend to Surtees (3/3)
10<-Surtees
11{}Surtees to Hawthorns Bend (1/4)
12|->|Surtees to Hawthorns Bend (2/4)
13{}Surtees to Hawthorns Bend (3/4)
14{}Surtees to Hawthorns Bend (4/4)
15->Hawthorns Bend
16||Hawthorns Bend to Westfield
17->Westfield
18{}Westfield to Dingle Dell Corner (1/3)
19->Westfield to Dingle Dell Corner (2/3)
20||Westfield to Dingle Dell Corner (3/3)
21->Dingle Dell Corner
22||Dingle Dell Corner to Stirlings
23<-Stirlings
24{}Stirlings to Clearways (1/2)
25{}Stirlings to Clearways (2/2)
26->Clearways
27->Clearways to Paddock Bend (1/3)
28->Clearways to Paddock Bend (2/3)

Each section is one of the following shapes:

  • || is a straight section that doesn't curve to the left or right, and has the same gradient throughout the whole section
  • {} is a straight section in the sense that it doesn't curve to the left or right, but the gradient can differ between sub-sections
  • -> consists of sub-sections that all curve to the right
  • <- consists of sub-sections that all curve to the left
  • |->| consists of sub-sections that are either straight or curve to the right
  • |<-| consists of sub-sections that are either straight or curve to the left
  • |<->| consists of sub-sections that are either straight or curve to the left or right

See the deep dives on the extra tracks data file format and dynamic track generation in the extra tracks for information on how the extra tracks are constructed, and how the track segment vectors are dynamically generated in the extra tracks. You may also find it useful to read the deep dives on the original track data file format and building a 3D track from sections and segments.

Track generation and shapes
---------------------------

Each track section has lots of associated data, most of which is stored in the two track section data blocks. These are split into part 1 and part 2. See the deep dives on the track data file format and the extra tracks data file format for details.

In the extra track files, track sections are broken up into sub-sections, which are then broken up into segments. Each section therefore has an associated size, given as the number of segments. There is also a track segment vector number, which determines which track segment vectors make up the sections; specifically, it points to the position in the segment vector table where the section's first vector is stored. Note, however, that because the track segment vectors are dynamically generated for this track, the vector number points to the position in the table where the first calculated vector will be stored, rather than pointing to the data itself (as the data is only generated when needed).

Finally, each section has inner and outer coordinates that define the inner and outer track edges at the start of the section. These coordinates share the same y-coordinate, as track sections are level from left to right, so the following table shows the coordinates as (x, z), or longitude and latitude, and the section height is shown separately.

The section data for the Brands Hatch track is as follows:

SectionVectorSizeSegmentsInner coordOuter coordHeight
00580-57(-12000, 4000)(-12255, 4000)5120
1182958-86(-11044, 10844)(-11274, 10952)5255
272387-109(-8110, 11747)(-8011, 11980)3883
33024110-133(-5589, 10646)(-5462, 10867)3806
41422134-155(-3093, 9206)(-2966, 9427)4460
53627156-182(-3727, 7763)(-3840, 7533)3411
62319183-201(-6643, 9194)(-6756, 8964)2115
7213202-214(-8657, 8480)(-8464, 8314)1515
8313215-227(-9671, 7297)(-9478, 7131)1515
91646228-273(-10186, 5838)(-9936, 5793)1515
102234274-307(-9974, 338)(-9728, 399)1515
111632308-339(-6824, -900)(-7018, -735)2783
12865340-404(-4328, 2012)(-4522, 2177)4467
133432405-436(1633, 7039)(1477, 7243)4402
142724437-460(4705, 9375)(4549, 9579)3602
151236461-496(7009, 11127)(6853, 11331)4544
16955497-551(10918, 10998)(11107, 11170)5596
171127552-578(15373, 6103)(15562, 6275)5321
183938579-616(14955, 3196)(15127, 3006)5288
19388617-624(11573, 118)(11745, -72)4392
20728625-652(10727, -314)(10792, -561)4524
21910653-662(7479, -1182)(7544, -1429)5280
222038663-700(6386, -866)(6196, -1039)5385
232217701-717(3308, 2516)(3118, 2343)5271
24036718-753(1488, 2571)(1662, 2384)5529
253757754-810(-1680, -381)(-1506, -568)6435
261525811-835(-6696, -5055)(-6522, -5242)6460
27127836-862(-9451, -4662)(-9628, -4847)5862
282951863-913(-11368, -2087)(-11611, -2164)6042

The shape of each track section is also defined in the track data file. Section coordinates are generated on-the-fly, as described in the deep dive on dynamic track generation in the extra tracks, and bit 6 of the track section flags in trackSectionFlag determines the kind of generator that is used (curved or straight).

The shape data for the Brands Hatch track is as follows:

SectionSignList sizeGenerator (bit 6)Shape (bit 0)Shape
0011 = Curve0 = Straight->
1131 = Curve1 = Curve->
2221 = Curve0 = Straight|->|
3311 = Curve0 = Straight{}
4311 = Curve1 = Curve|->|
5431 = Curve0 = Straight||
6441 = Curve1 = Curve<-
7530 = Straight0 = Straight||
8541 = Curve1 = Curve<-
9531 = Curve0 = Straight<-
10621 = Curve1 = Curve<-
11611 = Curve0 = Straight{}
12731 = Curve0 = Straight|->|
13821 = Curve0 = Straight{}
14811 = Curve0 = Straight{}
15901 = Curve1 = Curve->
16920 = Straight0 = Straight||
171011 = Curve1 = Curve->
181031 = Curve0 = Straight{}
191021 = Curve1 = Curve->
201010 = Straight0 = Straight||
211111 = Curve1 = Curve->
221130 = Straight0 = Straight||
231221 = Curve1 = Curve<-
241211 = Curve0 = Straight{}
251331 = Curve0 = Straight{}
261421 = Curve1 = Curve->
271411 = Curve0 = Straight->
281521 = Curve0 = Straight->

The sign number describes which signs to show when driving around the track (see the next section for details), and the list size determines the size of the track section list in the track verge buffer (see the deep dive on data structures for the track calculations for an explanation).

Road signs
----------

Revs supports up to 16 road signs per track. Each sign's 3D coordinate is stored as a vector (xTrackSignVector, yTrackSignVector, zTrackSignVector) that is scaled down to fit into 8-bit coordinates. This vector describes the sign's coordinate relative to the inner coordinates of a specified track section. Inner section coordinates are stored in part 1 and part 2 of the section data, in the 16-bit variables (xTrackSectionIHi xTrackSectionILo), (yTrackSectionIHi yTrackSectionILo) and (zTrackSectionIHi zTrackSectionILo). We can therefore calculate the 3D coordinate of a sign by scaling the sign vector and adding it to the relevant section coordinate. See the deep dive on road signs for details of this calculation.

The following table shows the sign number, the sign type, the number of the section to which the sign coordinate is relative, the inner section coordinate, the scaled sign vector and the 3D coordinate of the sign that we calculate from all of the preceding data.

Each track section also has an associated sign number in the trackSectionData entry in the first block of track section data. A sign is drawn if this number changes when we drive into a new track section (so it shows the correct sign whether we are driving forwards or backwards into the new section). The sign numbers are shown in the shape table in the previous section.

The road signs for the Brands Hatch track are as follows:

SignTypeSectiontrackSectionItrackSignVectorCoordinate
0Right turn1[ -11044 ]
[   5255 ]
[  10844 ]
[ -16 ]
[  26 ]
[ -46 ]
[ -12068 ]
[   5671 ]
[   7900 ]
1Straight2[  -8110 ]
[   3883 ]
[  11747 ]
[ -42 ]
[  76 ]
[   4 ]
[ -10798 ]
[   5099 ]
[  12003 ]
2Hairpin4[  -3093 ]
[   4460 ]
[   9206 ]
[ -40 ]
[ -39 ]
[  28 ]
[  -5653 ]
[   3836 ]
[  10998 ]
3Straight4[  -3093 ]
[   4460 ]
[   9206 ]
[  12 ]
[ -26 ]
[ -20 ]
[  -2325 ]
[   4044 ]
[   7926 ]
4Straight7[  -8657 ]
[   1515 ]
[   8480 ]
[   9 ]
[  13 ]
[  10 ]
[  -8081 ]
[   1723 ]
[   9120 ]
5Left turn9[ -10186 ]
[   1515 ]
[   5838 ]
[  -2 ]
[   8 ]
[ -21 ]
[ -10314 ]
[   1643 ]
[   4494 ]
6Straight11[  -6824 ]
[   2783 ]
[   -900 ]
[ -10 ]
[ -20 ]
[  -9 ]
[  -7464 ]
[   2463 ]
[  -1476 ]
7Straight12[  -4328 ]
[   4467 ]
[   2012 ]
[  50 ]
[   6 ]
[  45 ]
[  -1128 ]
[   4563 ]
[   4892 ]
8Right turn13[   1633 ]
[   4402 ]
[   7039 ]
[  28 ]
[ -32 ]
[  27 ]
[   3425 ]
[   3890 ]
[   8767 ]
9Right turn17[  15373 ]
[   5321 ]
[   6103 ]
[ -33 ]
[  16 ]
[  43 ]
[  13261 ]
[   5577 ]
[   8855 ]
10Right turn20[  10727 ]
[   4524 ]
[   -314 ]
[ -12 ]
[  18 ]
[  -8 ]
[   9959 ]
[   4812 ]
[   -826 ]
11Left turn22[   6386 ]
[   5385 ]
[   -866 ]
[ -14 ]
[   5 ]
[  16 ]
[   5490 ]
[   5465 ]
[    158 ]
12Straight24[   1488 ]
[   5529 ]
[   2571 ]
[  -8 ]
[  30 ]
[ -14 ]
[    976 ]
[   6009 ]
[   1675 ]
13Right turn26[  -6696 ]
[   6460 ]
[  -5055 ]
[  51 ]
[   1 ]
[  41 ]
[  -3432 ]
[   6476 ]
[  -2431 ]
14Straight28[ -11368 ]
[   6042 ]
[  -2087 ]
[  13 ]
[  -6 ]
[ -20 ]
[ -10536 ]
[   5946 ]
[  -3367 ]
15Start flag0[ -12000 ]
[   5120 ]
[   4000 ]
[  -4 ]
[   8 ]
[   0 ]
[ -12256 ]
[   5248 ]
[   4000 ]

Corner markers and verge markings
---------------------------------

Each track section can optionally have a set of corner markers (three markers are shown for each curve when configured, while one marker is shown for each applicable straight). The markers can either be a combination of red and white markers, or just white, according to bit 5 of the track section flags in trackSectionFlag. They can also appear on the left or the right of the track, according to bits 3-4 of the section flags.

Track sections can also have differently coloured verge markings. These are black-and-white by default, but can be configured in bits 1-2 of the section flags to be red-and-white on the left or the right of the track.

See the deep dive on corner markers for details of how corner markers work, and the deep dive on the track verges for more on how the verge markings are implemented.

The corner markers and verge markings for the Brands Hatch track are as follows:

SectionMarker colours
(bit 5)
Marker positions
(bits 3-4)
Verge colours
(bits 1-2)
01 = Red/white10 = Left00 = Both black/white
11 = Red/white01 = Right10 = Red/white on right
20 = White00 = None01 = Red/white on left
31 = Red/white10 = Left00 = Both black/white
41 = Red/white01 = Right10 = Red/white on right
51 = Red/white01 = Right01 = Red/white on left
61 = Red/white10 = Left01 = Red/white on left
70 = White00 = None10 = Red/white on right
80 = White00 = None00 = Both black/white
91 = Red/white01 = Right00 = Both black/white
101 = Red/white10 = Left01 = Red/white on left
110 = White00 = None10 = Red/white on right
120 = White00 = None00 = Both black/white
130 = White00 = None00 = Both black/white
141 = Red/white10 = Left00 = Both black/white
151 = Red/white01 = Right10 = Red/white on right
161 = Red/white10 = Left01 = Red/white on left
171 = Red/white01 = Right10 = Red/white on right
181 = Red/white10 = Left01 = Red/white on left
191 = Red/white01 = Right10 = Red/white on right
201 = Red/white10 = Left00 = Both black/white
211 = Red/white01 = Right10 = Red/white on right
221 = Red/white01 = Right01 = Red/white on left
231 = Red/white10 = Left01 = Red/white on left
240 = White00 = None10 = Red/white on right
251 = Red/white10 = Left00 = Both black/white
261 = Red/white01 = Right10 = Red/white on right
270 = White00 = None01 = Red/white on left
280 = White00 = None00 = Both black/white

Driver speeds and approaches
----------------------------

The track data also contains data that influences how the non-player drivers drive (see the deep dive on tactics of the non-player drivers for details). This data latter is not only used to control non-player drivers, but feeds into computer assisted steering (CAS) as well; see the deep dive computer assisted steering (CAS) for more on this.

This data includes the segment number in each section where non-player drivers should start turning (in trackSectionTurn), the optimum speed for each section (in trackSectionSpeed), the optimum steering to apply for this section (in trackSteering), and whether this section has a maximum speed (in bit 7 of trackSectionFlag).

The non-player driver data for the Brands Hatch track is as follows:

SectionTurn at segmentOptimum speedSpeed as bit 7:0-6Section shapeOptimum steeringMaximum speed
0521270:127-><- 6*-
141280:28->-> 12127
22552551:127|->|<- 6*-
322730:73{}<- 0*-
42460:6|->|-> 1973
5212551:127||-> 12*-
631180:18<-<- 26*-
712551:127||-> 6*-
839190:19<-<- 12*-
9431170:117<--> 6*-
1040200:20<-<- 11117
1111230:123{}<- 6*20
122552551:127|->|<- 6*-
132552551:127{}<- 6*-
14191421:14{}<- 6*-
1546230:23->-> 12142
16501270:127||<- 6*-
1737180:18->-> 15127
18212551:127{}<- 6*-
1940200:20->-> 21*-
20211230:123||<- 6*-
2124120:12->-> 22123
22331080:108||-> 13*-
2327130:13<-<- 16108
242552551:127{}<- 6*-
25471250:125{}<- 6*-
2642240:24->-> 18125
272551250:125-><- 6*24
282552551:127-><- 6*-

The speed is shown as-is, and with bit 7 split out, which is used in the driver tactic calculations. The optimum steering is shown as a direction and a magnitude, and if there is an asterisk (*), then the magnitude is scaled by the track's base speed for the chosen class.