Computer Car Setup and Behavior (Track File Format)
Contains the default computer car setup, and various computer car behavior.
Always 38 bytes.
Index | Type | Description | Comment |
---|---|---|---|
$CCS | byte | Front wing | Subtract 151 to get actual value |
+1 | byte | Rear wing | Subtract 151 to get actual value |
+2 | byte | 1st Gear Ratio | Subtract 151 to get actual value |
+3 | byte | 2nd Gear Ratio | Subtract 151 to get actual value |
+4 | byte | 3rd Gear Ratio | Subtract 151 to get actual value |
+5 | byte | 4th Gear Ratio | Subtract 151 to get actual value |
+6 | byte | 5th Gear Ratio | Subtract 151 to get actual value |
+7 | byte | 6th Gear Ratio | Subtract 151 to get actual value |
+8 | byte | Tyre Compound | 52=A, 55=D, actual compound used may vary |
+9 | byte | Brake Balance | |
+10 | short | Grip Factor | Multiplies driver corner speed factor |
+12 | short | CC non-race late braking factor | |
+14 | short | CC race late braking factor | |
+16 | short | Time factor non-race | |
+18 | short | Acceleration | 16384 everywhere except Mexico, where it's 13017 |
+20 | short | Air Resistance | 16384 everywhere except Mexico, where it's 13017 |
+22 | short | Tyre wear qualifying | |
+24 | short | Tyre wear non-qualifying | |
+26 | short | Fuel load | 100% race, measured in pounds (lbs). Fuel is consumed linearly with the distance covered. Shorter races decrease the fuel load. |
+28 | short | Time factor race | |
+30 | short | CC power factor | |
+32 | short | CC wet race late braking factor | |
+34 | short | Unknown | Some track distance in feet |
+36 | short | Default pit lane view distance |