[ track ]
track_name = Hamilton Dirt Complex
track_name_short = Hamilton Dirt Complex
track_city = Hamilton
track_state = Ontario
track_length_n_type = 0.75-mile D-shaped Oval
track_misc_info_1 = Turns banked 14°
track_misc_info_2 = Frontstretch 1290 feet banked 8°
track_misc_info_3 = Backstretch 860 feet banked 2°
track_num_turns = 4
track_length = 0.750m
track_altitude = 0.0
track_type = 0                                  ; short oval
chassis_type = 3                                ; short track
default_event_laps = 400
default_qual_laps = 3
track_base_month = 9                            ; the race month used for single, multi, and testing
max_starters = 40
track_tire_heat = 1.08                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 0.51                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.29                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.95                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 2.50                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.16                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 45                          ; angle of true north in degrees
track_grass_grip = 3.34
track_dirt_grip= 3.31



; Starter decisions:
;       First value is earliest possible green flag dlong, should be after to pace car pit entrace point
;       Second value is latest possible green flag dlong. Must be before start line and after first value
starter_decision = 1095.0 1120.0

[AppRuleCutCourse]
qual_only=1                                     ; only enforce checkpoints during qualifying session

[ configuration_0 ]
  ; Format: dlong, start dlat, end dlat, time penalty (sec), 0 (required)
  ; 2 checkpoint minimum
checkpoint_0 = 1060.00 -3.50 19.00 0 0          ; prevents cutting grass (qual only)
checkpoint_1 = 1175.00 -3.50 19.00 0 0

[ cup ]
record_lap_time = 21.195
record_holder = Ward Burton

[ weather ]
track_base_temp = 62.2                          ; track average temperature on April 1 in deg F
track_temp_range = 6.0                          ; one standard deviation from average in deg F
track_temp_swing = 22.0                         ; 
track_wind_speed = 7.0                          ; average wind speed at the track in MPH
track_wind_speed_range = 5.0                    ; one standard deviation from average in MPH
track_wind_direction = 360                      ; compass heading in degrees from which wind is most likely (in this case from Northwest)
track_cloud_prob = 0.65                         ; probability of cloud cover, 0.0 to 1.0

[CrowdSound]
num_sources = 4
pos_0 = 178 -96 3
pos_1 = 31 -140 4
pos_2 = -147 163 2
pos_3 = 57 163 3

[ ai_track ]
pace_merge_from_pit_line_dlong = 360.000
pace_merge_to_pit_line_dlong = 950.0000
pace_speed_limit_mph = 45
ai_accel_modifier = 0.43                        ; acceleration grip efficiency
ai_decel_modifier = 1.00                        ; braking grip efficiency
ai_fuel_use = 0.99                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.995                        ; > 1.0 = more grip
ai_drag_modifier = 1.09                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.00                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.055                        ; > 1.0 = faster during qualifying
ai_wall_offset = 100                            ; 100 = full-time AI collision detection
ai_tire_wear_left = 0.88                        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.02                       ; right tire wear adjuster for ai
ai_arcade_tire_wear = 0.01                      ; lower = less wear (used in addition to the above left/right modifiers)
ai_arcade_fuel_use = 0.99                       ; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.800                 ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.35                  ; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 3.679             ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.373         ; lap time gain from low fuel
strategy_base_pitting_cost = 24.349             ; time lost to a stop & go pitstop
ai_pacing_distance = 2.0                        ; car lengths behind while pacing
ai_bunching_distance = 1.7                      ; car lengths behind while bunching for start
ai_drafting_distance = 1.08                     ; car lengths behind while racing
ai_panic_decel = 3.0                            ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 15.0                        ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.86
ai_squeeze_pcnt = 0.0
ai_inverse_slipcurve_k = 0.27                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 38.03
pit0_entrance_point0_dlong = 1029.08
pit0_entrance_point1_dlat = 20.61
pit0_entrance_point1_dlong = 1028.74

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 580.0               ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 700.0                 ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 120.0                ; length of merge window
pit_lane_end_dlong = 300.000000                 ; dlong where pit lane proper ends
pit_lane_start_dlong = 1000.000000              ; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 6.0                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = -7.5              ; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 8.5              ; goal dlong offset (ahead) for the pit stall exit cubic line 
begin_stall_entry_offset = 15.0                 ; offset at which to begin entering the pit stall
begin_stall_approach_offset = 80.0              ; offset at which to begin approaching the pit stall
lane_merge_dlong = 521.00                       ; Dlong which you must remain on the apron when exiting the pits

; race control stuff
lane_on_right = 0                               ; 0 if on left, 1 if on right
lane_has_wall = 0                               ; 0 no wall, 1 has wall
speed_limit_MPH = 40.0

; pace car
begin_pacestall_entry_offset = 20.0             ; offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 45.0          ; offset at which to begin approaching the pit stall
pacestall_exit_goal_dlong_offset = 5.0          ; goal dlong offset (ahead) for the pit stall exit 
pacestall_exit_goal_dlat_offset = -3.0          ; goal dlat offset for the pit stall exit
stall_pace = 264.06 34.60 -.13


; special stalls
stall_qual_exit = 245.55 35.25 -0.09

; regular stalls
stall_0 = 245.55 35.25 -0.09
stall_1 = 227.28 36.55 -0.09
stall_2 = 216.00 39.20 -0.39
stall_3 = 208.05 42.45 -0.39
stall_4 = 199.71 45.84 -0.45
stall_5 = 190.28 49.56 -0.43
stall_6 = 180.54 53.01 -0.40
stall_7 = 170.49 56.16 -0.36
stall_8 = 160.15 59.00 -0.32
stall_9 = 149.54 61.52 -0.28
stall_10 = 138.68 63.70 -0.24
stall_11 = 127.60 65.54 -0.19
stall_12 = 117.16 67.08 -0.17
stall_13 = 106.84 68.40 -0.14
stall_14 = 96.43 69.48 -0.11
stall_15 = 85.96 70.33 -0.08
stall_16 = 75.44 70.95 -0.06
stall_17 = 64.89 71.33 -0.03
stall_18 = 54.31 71.47 -0.00
stall_19 = 43.74 71.39 0.02
stall_20 = 33.18 71.07 0.05
stall_21 = 22.65 70.50 0.08
stall_22 = 12.17 69.71 0.11
stall_23 = 1.74 68.67 0.13
stall_24 = 1198.05 67.36 0.18
stall_25 = 1186.52 65.65 0.22
stall_26 = 1175.74 63.57 0.26
stall_27 = 1166.62 61.29 0.28
stall_28 = 1157.57 58.90 0.29
stall_29 = 1148.60 56.40 0.30
stall_30 = 1139.69 53.79 0.32
stall_31 = 1130.87 51.07 0.33
stall_32 = 1121.60 48.23 0.35
stall_33 = 1111.31 45.09 0.40
stall_34 = 1101.43 41.59 0.47
stall_35 = 1084.76 38.87 0.11
stall_36 = 1073.47 37.89 0.11
stall_37 = 1062.06 36.90 0.11
stall_38 = 1051.03 35.91 0.11
stall_39 = 1040.00 34.94 0.11


[ starting_grid_0 ]
stall_pace = 254.03 23.54 -0.11
stall_0 = 245.55 26.47 -0.11
stall_1 = 245.55 22.47 -0.11
stall_2 = 236.69 27.40 -0.13
stall_3 = 236.69 23.40 -0.13
stall_4 = 227.77 28.39 -0.15
stall_5 = 227.77 24.39 -0.15
stall_6 = 219.37 29.93 -0.27
stall_7 = 219.37 25.93 -0.27
stall_8 = 212.23 32.32 -0.37
stall_9 = 212.23 28.32 -0.37
stall_10 = 205.30 35.24 -0.43
stall_11 = 205.30 31.24 -0.43
stall_12 = 197.95 38.46 -0.44
stall_13 = 197.95 34.46 -0.44
stall_14 = 190.06 41.65 -0.43
stall_15 = 190.06 37.65 -0.43
stall_16 = 182.02 44.75 -0.42
stall_17 = 182.02 40.75 -0.42
stall_18 = 173.81 47.70 -0.39
stall_19 = 173.81 43.70 -0.39
stall_20 = 165.35 50.40 -0.35
stall_21 = 165.35 46.40 -0.35
stall_22 = 156.68 52.83 -0.31
stall_23 = 156.68 48.83 -0.31
stall_24 = 147.81 54.98 -0.27
stall_25 = 147.81 50.98 -0.27
stall_26 = 138.77 56.89 -0.24
stall_27 = 138.77 52.89 -0.24
stall_28 = 129.59 58.56 -0.21
stall_29 = 129.59 54.56 -0.21
stall_30 = 120.63 59.98 -0.17
stall_31 = 120.63 55.98 -0.17
stall_32 = 111.90 61.14 -0.14
stall_33 = 111.90 57.14 -0.14
stall_34 = 103.11 62.14 -0.12
stall_35 = 103.11 58.14 -0.12
stall_36 = 94.27 62.95 -0.09
stall_37 = 94.27 58.95 -0.09
stall_38 = 85.39 63.57 -0.07
stall_39 = 85.39 59.57 -0.07


[ starting_grid_1 ]
stall_pace = 758.48 3.25 0.00
stall_0 = 750.00 4.95 0.04
stall_1 = 750.00 0.95 0.04
stall_2 = 741.53 4.67 0.03
stall_3 = 741.53 0.67 0.03
stall_4 = 733.06 4.42 0.02
stall_5 = 733.06 0.42 0.02
stall_6 = 724.58 4.26 0.02
stall_7 = 724.58 0.26 0.02
stall_8 = 716.10 4.10 0.02
stall_9 = 716.10 0.10 0.02
stall_10 = 707.63 3.96 0.01
stall_11 = 707.63 -0.04 0.01
stall_12 = 699.15 3.92 0.00
stall_13 = 699.15 -0.08 0.00
stall_14 = 690.68 3.91 0.00
stall_15 = 690.68 -0.09 0.00
stall_16 = 682.20 3.89 0.00
stall_17 = 682.20 -0.11 0.00
stall_18 = 673.72 3.88 0.00
stall_19 = 673.72 -0.12 0.00
stall_20 = 665.24 3.85 0.00
stall_21 = 665.24 -0.15 0.00
stall_22 = 656.77 3.85 -0.00
stall_23 = 656.77 -0.15 -0.00
stall_24 = 648.29 3.84 0.00
stall_25 = 648.29 -0.16 0.00
stall_26 = 639.81 3.80 0.00
stall_27 = 639.81 -0.20 0.00
stall_28 = 631.34 3.81 -0.00
stall_29 = 631.34 -0.19 -0.00
stall_30 = 622.86 3.87 -0.01
stall_31 = 622.86 -0.13 -0.01
stall_32 = 614.38 3.95 -0.01
stall_33 = 614.38 -0.05 -0.01
stall_34 = 605.91 4.00 -0.00
stall_35 = 605.91 0.00 -0.00
stall_36 = 597.43 4.06 -0.01
stall_37 = 597.43 0.06 -0.01
stall_38 = 588.95 4.17 -0.02
stall_39 = 588.95 0.17 -0.02


[ SPCC ]
num_named_sections = 6

name_0 = 250.00 372.00 T1
name_1 = 372.00 530.00 T2
name_2 = 530.00 783.00 BSTR
name_3 = 783.00 947.00 T3
name_4 = 947.00 1096.00 T4
name_5 = 1096.00 250.00 FSTC
