The service and the stop
What the stop will do: fuel, tyres, repair; what it will cost; whether the fuel reaches the flag; where you will rejoin.
- 18 min
- no game needed
- at the end: the full pit page
The pit page fills up: on the left the service set in the game, on the right the stop, at the bottom the rejoin. Start from your dash from chapter 12, or from its checkpoint, on the Pit page.
The service set
In the left tile, SERVICE SET in #ffb347 (Exo 2, 12, Bold, letter spacing 0.7, X 22, Y 108, named Service label), then labels in Exo 2, 13, Bold, #b9b9c2, X 22: FUEL at Y 148, TYRES at Y 190, TEAR-OFF at Y 273. The fast repair one says how many are left: N, pit_fast_repair_available, no decimals, Prefix FAST REPAIR · , Suffix LEFT, the same style, X 22, Y 239.
Across from FUEL, N, pit_cmd_service_fuel_l, the fuel to add: one decimal, Prefix +, Suffix L, When empty --, 0 counts as empty, Exo 2, 32, Extra bold, italic, #ffb347, aligned right, the anchor at the top right, X 242, Y 129.
Across from the last two, two texts an Expression will fill, Exo 2, 20, Extra bold, italic, #f5f5f7, aligned right, the anchor at the top right, X 242: NO at Y 232, named Fast repair, and YES at Y 266, named Tear-off. Next to the second one:
$repair = @pit_cmd_fast_repair ? "YES" : "NO" ;$tearoff = @pit_cmd_windshield_tearoff ? "YES" : "NO"repair and tearoff to the two texts’ value.
The tyres to change
Four chips across from TYRES, 30 × 22, the shape M 4 0 H 30 L 26 22 H 0 Z, #f5f5f7: Chip FL at X 178, Y 174, then Chip FR (212, 174), Chip RL (178, 200), Chip RR (212, 200). On each one, its name, Exo 2, 12, Extra bold, italic, #0a0a0d, centred, 15 pixels in from its edge and 4 down from its top.
Next to the last chip:
on = rgba(245, 245, 247) ;off = rgba(58, 58, 68) ;$lf = @pit_cmd_tire_change_lf > 0 ? on : off ;$rf = @pit_cmd_tire_change_rf > 0 ? on : off ;$lr = @pit_cmd_tire_change_lr > 0 ? on : off ;$rr = @pit_cmd_tire_change_rr > 0 ? on : offEach output to its chip’s fillColor: white, the tyre will be changed; dimmed, it stays. Then the block put away: Service label to Chip RR label, Service.
The stop
In the right tiles, three labels in Exo 2, 12, Bold, letter spacing 0.7, #b9b9c2, X 616: STOP at Y 87 (named Stop label), TIME LOST at Y 176, FUEL AFTER in #6dbbff at Y 265. Under each one, a value in Exo 2, 32, Extra bold, italic, #f5f5f7, X 616:
- N,
rejoin_stop_s, the planned length of the stop, one decimal, Suffixs,--if 0,Y98; - N,
rejoin_loss_s, the time lost by stopping now, pit lane included, the same,Y187; - T,
60.8, Decimals 1, SuffixL,Y276, namedFuel after.
On the right of each tile, a small text in Exo 2, 12, Bold, #b9b9c2, aligned right, the anchor at the top right, X 832: T FUEL + TYRES at Y 118 (Stop service); N, pit_avg_lane_s, Prefix LANE , one decimal, When empty LANE --, 0 counts as empty, at Y 207; T TO THE FLAG in #5cf09a, Y 296 (Fuel verdict).
Two Expressions. Next to Stop service, what the stop will do:
front = @pit_cmd_tire_change_lf + @pit_cmd_tire_change_rf ;tyres = front + @pit_cmd_tire_change_lr + @pit_cmd_tire_change_rr > 0 ;fuel = @pit_cmd_service_fuel_l > 0 ;$service = fuel && tyres ? "FUEL + TYRES" : fuel ? "FUEL" : tyres ? "TYRES" : "NO SERVICE"Next to Fuel verdict, the fuel after the stop and whether it reaches the flag:
after = @fuel_level + @pit_cmd_service_fuel_l ;short = @fuel_to_finish_l - after ;$after = after ;$verdict = @fuel_to_finish_l <= 0 ? "" : short <= 0 ? "TO THE FLAG" : "SHORT " + format(short, 1) + " L" ;$tone = short <= 0 ? rgba(92, 240, 154) : rgba(255, 115, 99)service, after, verdict to their text’s value, tone to the verdict’s color. The block put away: Stop label to Fuel verdict, Stop.
The rejoin
At the bottom left, where the fuel was: REJOIN · CLASS (Exo 2, 12, Bold, letter spacing 0.7, #b9b9c2, X 22, Y 360, named Rejoin label); N, rejoin_class_position, your class position on rejoining, Prefix P, -- if 0, Exo 2, 54, Black, italic, #f5f5f7, X 22, Y 370; T, -1 PLACE, Exo 2, 22, Extra bold, italic, #d2d2da, X 101, Y 402, named Rejoin lost; T, TRAFFIC ON EXIT, Exo 2, 13, Bold, #ffc94d, X 22, Y 432, named Rejoin traffic. Next to the last one:
lost = @rejoin_positions_lost ;$lost = lost > 0 ? "-" + str(lost) + (lost > 1 ? " PLACES" : " PLACE") : "NO LOSS" ;$traffic = @rejoin_traffic ? "TRAFFIC ON EXIT" : "CLEAR EXIT" ;$tone = @rejoin_traffic ? rgba(255, 201, 77) : rgba(92, 240, 154)lost and traffic to their text’s value, tone to the traffic’s color. Traffic: a car within 1.5 s of you on rejoining. The block put away: Rejoin label to Rejoin traffic, Rejoin.
The flag in front of everything
The pit blocks were placed over the flag, which came with the page. In Layers, drag the Flag row to the very top: the last layer of the list is painted first, the first one over all of them.
The checkpoint
Section titled “The checkpoint”Download first-dash-13.slxd: the dash at the end of this chapter.
In the editor
Section titled “In the editor”The stop, the time lost, the lane and the rejoin are worked out in a race, from your pit passes and the field: in the editor, set rejoin_stop_s, rejoin_loss_s, pit_avg_lane_s, rejoin_class_position… by hand in the simulated telemetry to see the page filled.
Save and share
Section titled “Save and share”Your dash is done. File › Save (Ctrl+S) saves it among your dashboards. To share it, in Dashboards: right-click it › Publish to catalogue…. The team reviews every submission before publishing it to the Workshop; whoever installs it picks their team and unit in Customize.
If it gets stuck
Section titled “If it gets stuck”The service stays at -- and the chips dimmed. The service is read from the game’s pit menu: nothing set, nothing to show.
The dimensions
Section titled “The dimensions”| Layer | Tool | Channel or text | Format | X | Y | Size | Colour | Alignment |
|---|---|---|---|---|---|---|---|---|
Service label |
Text | SERVICE SET |
22 | 108 | 12, Bold | #ffb347 |
left | |
Service fuel label |
Text | FUEL |
22 | 148 | 13, Bold | #b9b9c2 |
left | |
Service fuel |
Number | pit_cmd_service_fuel_l |
1 dec., + before, L after, -- if 0 |
242 | 129 | 32, Extra bold, italic | #ffb347 |
right |
Service tyres label |
Text | TYRES |
22 | 190 | 13, Bold | #b9b9c2 |
left | |
Fast repair label |
Number | pit_fast_repair_available |
0 dec., FAST REPAIR · before, LEFT after |
22 | 239 | 13, Bold | #b9b9c2 |
left |
Fast repair |
Text | wired to the Expression | 242 | 232 | 20, Extra bold, italic | #f5f5f7 |
right | |
Tear-off label |
Text | TEAR-OFF |
22 | 273 | 13, Bold | #b9b9c2 |
left | |
Tear-off |
Text | wired to the Expression | 242 | 266 | 20, Extra bold, italic | #f5f5f7 |
right | |
Chip FL |
Rectangle | M 4 0 H 30 L 26 22 H 0 Z |
30 × 22 | 178 | 174 | #f5f5f7, wired |
||
Chip FR |
Rectangle | the same shape | 30 × 22 | 212 | 174 | #f5f5f7, wired |
||
Chip RL |
Rectangle | the same shape | 30 × 22 | 178 | 200 | #f5f5f7, wired |
||
Chip RR |
Rectangle | the same shape | 30 × 22 | 212 | 200 | #f5f5f7, wired |
||
Chip FL label |
Text | FL |
193 | 178 | 12, Extra bold, italic | #0a0a0d |
centre | |
Chip FR label |
Text | FR |
227 | 178 | 12, Extra bold, italic | #0a0a0d |
centre | |
Chip RL label |
Text | RL |
193 | 204 | 12, Extra bold, italic | #0a0a0d |
centre | |
Chip RR label |
Text | RR |
227 | 204 | 12, Extra bold, italic | #0a0a0d |
centre | |
Stop label |
Text | STOP |
616 | 87 | 12, Bold | #b9b9c2 |
left | |
Stop time |
Number | rejoin_stop_s |
1 dec., s after, -- if 0 |
616 | 98 | 32, Extra bold, italic | #f5f5f7 |
left |
Stop service |
Text | wired to the Expression | 832 | 118 | 12, Bold | #b9b9c2 |
right | |
Time lost label |
Text | TIME LOST |
616 | 176 | 12, Bold | #b9b9c2 |
left | |
Time lost |
Number | rejoin_loss_s |
1 dec., s after, -- if 0 |
616 | 187 | 32, Extra bold, italic | #f5f5f7 |
left |
Lane time |
Number | pit_avg_lane_s |
1 dec., LANE before, LANE -- if 0 |
832 | 207 | 12, Bold | #b9b9c2 |
right |
Fuel after label |
Text | FUEL AFTER |
616 | 265 | 12, Bold | #6dbbff |
left | |
Fuel after |
Text | wired to the Expression | 1 dec., L after |
616 | 276 | 32, Extra bold, italic | #f5f5f7 |
left |
Fuel verdict |
Text | wired to the Expression | 832 | 296 | 12, Bold | #5cf09a, wired |
right | |
Rejoin label |
Text | REJOIN · CLASS |
22 | 360 | 12, Bold | #b9b9c2 |
left | |
Rejoin place |
Number | rejoin_class_position |
0 dec., P before, -- if 0 |
22 | 370 | 54, Black, italic | #f5f5f7 |
left |
Rejoin lost |
Text | wired to the Expression | 101 | 402 | 22, Extra bold, italic | #d2d2da |
left | |
Rejoin traffic |
Text | wired to the Expression | 22 | 432 | 13, Bold | #ffc94d, wired |
left |
All in Exo 2, Vertical on line, top, the anchor at the top, on the side of the alignment; the 12 labels with a letter spacing of 0.7, except Stop service, Lane time and Fuel verdict.