[ track ]
track_name = GATEWAY INTERNATIONAL RACEWAY
track_name_short = Gateway Night FSE
track_city = Madison
track_state = IL
track_length_n_type = 1.25-mile Egg-shaped Oval
track_misc_info_1 = Turns 1&2 banked 11°
track_misc_info_2 = Turns 3&4 banked 9°
track_misc_info_3 = Frontstraight 1,922 feet banked 0°
track_misc_info_4 = Backstraight 1,976 feet banked 0°
track_num_turns = 4
track_length = 1.25m
track_altitude = 0.0
track_type = 3                                  ; medium oval
chassis_type = 3                              ; short track
default_event_laps = 400    
default_qual_laps = 2
track_base_month = 7                           		; the race month used for single, multi, and testing
max_starters = 43
track_tire_heat = 1.00			;> modifies amount of heat going into the tire at a given track
track_tire_wear = 0.76			;> 1.0 means more wear,  i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.30                     		; percentage of grip lost at full tire wear
track_tire_wear_exp = 1.08                      		; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.12			;> 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.10			;> means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 73		                	; angle of true north in degrees

; 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 = 1920.00 1970.00

[ track_cts ]
track_tire_heat = 1.01                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 0.98                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.36                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 1.10                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.12                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.10                      ; > means more grip.  Again, keep between about 0.9 and 1.05

[ cup ]
record_lap_time = 33.554
record_holder = Martin Truex Jr.

[ cts ]
record_lap_time = 33.777
record_holder = Jack Sprague

[ gns ]
record_lap_time = 33.554
record_holder = Martin Truex Jr.

[ 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 = 5
pos_0 = -40 -170 5
pos_1 = 120 -170 6
pos_2 = 330 -175 5
pos_3 = 455 -53 8
pos_4 = 442 30 8

[ ai_track ]
pace_merge_from_pit_line_dlong = 701.14
pace_merge_to_pit_line_dlong = 1660.80
pace_speed_limit_mph = 40
ai_accel_modifier = 0.96			; acceleration grip efficiency
ai_decel_modifier = 1.00			; braking grip efficiency
ai_fuel_use = 1.00				; > 1.0 = more fuel consumed
ai_grip_modifier = 0.97				; > 1.0 = more grip
ai_drag_modifier = 1.00				; > 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.03				; > 1.0 = faster during qualifying
ai_wall_offset = 100                            ; 100 = full-time AI collision detection
ai_tire_wear_left = 0.75                        ; left tire wear adjuster for ai
ai_tire_wear_right = 0.85                       ; 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 = 1.02			; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.82                  ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.238                 ; > 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 = 30.0               ; time lost to a stop & go pitstop
ai_pacing_distance = 2.1			; car lengths behind while pacing
ai_bunching_distance = 1.8			; car lengths behind while bunching for start
ai_drafting_distance = 1.15			; car lengths behind while racing
ai_panic_decel = 5.5				; G's of extra deceleration inducing panic
ai_dlongpad_scale = 6.0		                ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.90
ai_squeeze_pcnt = 1.50                                                 ; default is 0.0
ai_inverse_slipcurve_k = 0.48

ai_track_gns]
ai_grip_modifier = 0.96                         ; > 1.0 = more grip

[ ai_track_cts ]
ai_accel_modifier = 0.96                        ; acceleration grip efficiency
ai_decel_modifier = 1.00                        ; braking grip efficiency
ai_fuel_use = 0.98                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.97                         ; > 1.0 = more grip
ai_drag_modifier = 1.00                         ; > 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.02                        ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.79                        ; left tire wear adjuster for ai
ai_tire_wear_right = 0.95                       ; right tire wear adjuster for ai
ai_pacing_distance = 2.1                        ; car lengths behind while pacing
ai_bunching_distance = 1.9                      ; car lengths behind while bunching for start
ai_drafting_distance = 1.20                      ; car lengths behind while racing
ai_dlat_pad = 0.90
ai_inverse_slipcurve_k = 0.49                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat  = 26.53
pit0_entrance_point0_dlong  = 1841.68
pit0_entrance_point1_dlat  = 13.11
pit0_entrance_point1_dlong  = 1841.68

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 698.82              ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 1092.83               ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 200.0                ; length of merge window
pit_lane_end_dlong = 231.54                     ; dlong where pit lane proper ends
pit_lane_start_dlong = 1841.68                  ; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 3.4                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = -4.0              ; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 8.0              ; goal dlong offset (ahead) for the pit stall exit cubic line
begin_stall_entry_offset = 18.0                 ; offset at which to begin entering the pit stall
begin_stall_approach_offset = 40.0              ; offset at which to begin approaching the pit stall
lane_merge_dlong = 643.39                       ; 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 = 1				; 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 = 7.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 = 219.04 23.15 0.00

; special stalls
stall_qual_exit = 208.83 23.15 0.00

; regular stalls
stall_0 = 208.83 23.15 0.00
stall_1 = 198.62 23.15 0.00
stall_2 = 188.40 23.15 0.00
stall_3 = 178.10 23.15 0.00
stall_4 = 167.98 23.15 0.00
stall_5 = 157.88 23.15 0.00
stall_6 = 147.71 23.15 0.00
stall_7 = 137.50 23.15 0.00
stall_8 = 127.30 23.15 0.00
stall_9 = 117.12 23.15 0.00
stall_10 = 107.03 23.15 0.00
stall_11 = 96.91 23.15 0.00
stall_12 = 86.80 23.15 0.00
stall_13 = 76.77 23.15 0.00
stall_14 = 66.71 23.15 0.00
stall_15 = 56.66 23.15 0.00
stall_16 = 46.55 23.15 0.00
stall_17 = 36.44 23.15 0.00
stall_18 = 26.30 23.15 0.00
stall_19 = 16.12 23.15 0.00
stall_20 = 5.93 23.15 0.00
stall_21 = 2061.53 23.15 0.00
stall_22 = 2050.94 23.15 0.00
stall_23 = 2040.70 23.15 0.00
stall_24 = 2030.50 23.15 0.00
stall_25 = 2020.46 23.15 0.00
stall_26 = 2010.44 23.15 0.00
stall_27 = 2000.20 23.15 0.00
stall_28 = 1990.17 23.15 0.00
stall_29 = 1980.08 23.15 0.00
stall_30 = 1969.85 23.15 0.00
stall_31 = 1959.68 23.15 0.00
stall_32 = 1949.54 23.15 0.00
stall_33 = 1939.44 23.15 0.00
stall_34 = 1929.29 23.15 0.00
stall_35 = 1919.25 23.15 0.00
stall_36 = 1909.00 23.15 0.00
stall_37 = 1898.84 23.15 0.00
stall_38 = 1888.75 23.15 0.00
stall_39 = 1878.61 23.15 0.00
stall_40 = 1868.49 23.15 0.00
stall_41 = 1858.18 23.15 0.00
stall_42 = 1848.06 23.15 0.00

[ starting_grid_0 ]
stall_pace = 219.5 17.46 -0.00
stall_0 = 211.00 19.21 -0.00
stall_1 = 211.00 15.71 -0.00
stall_2 = 202.50 19.21 -0.00
stall_3 = 202.50 15.71 -0.00
stall_4 = 194.00 19.21 -0.00
stall_5 = 194.00 15.71 -0.00
stall_6 = 185.50 19.21 -0.00
stall_7 = 185.50 15.71 -0.00
stall_8 = 177.00 19.21 -0.00
stall_9 = 177.00 15.71 -0.00
stall_10 = 168.50 19.21 -0.00
stall_11 = 168.50 15.71 -0.00
stall_12 = 160.00 19.21 -0.00
stall_13 = 160.00 15.71 -0.00
stall_14 = 151.50 19.21 -0.00
stall_15 = 151.50 15.71 -0.00
stall_16 = 143.00 19.21 -0.00
stall_17 = 143.00 15.71 -0.00
stall_18 = 134.50 19.21 -0.00
stall_19 = 134.50 15.71 -0.00
stall_20 = 126.00 19.21 -0.00
stall_21 = 126.00 15.71 -0.00
stall_22 = 117.50 19.21 -0.00
stall_23 = 117.50 15.71 -0.00
stall_24 = 109.00 19.21 -0.00
stall_25 = 109.00 15.71 -0.00
stall_26 = 100.50 19.21 -0.00
stall_27 = 100.50 15.71 -0.00
stall_28 = 92.00 19.21 -0.00
stall_29 = 92.00 15.71 -0.00
stall_30 = 83.50 19.21 -0.00
stall_31 = 83.50 15.71 -0.00
stall_32 = 75.00 19.21 -0.00
stall_33 = 75.00 15.71 -0.00
stall_34 = 66.50 19.21 -0.00
stall_35 = 66.50 15.71 -0.00
stall_36 = 58.00 19.21 -0.00
stall_37 = 58.00 15.71 -0.00
stall_38 = 49.50 19.21 -0.00
stall_39 = 49.50 15.71 -0.00
stall_40 = 41.00 19.21 -0.00
stall_41 = 41.00 15.71 -0.00
stall_42 = 32.50 19.21 -0.00


[ starting_grid_1 ]
stall_pace = 1213.44 0.01 -0.00
stall_0 = 1204.94 2.00 -0.00
stall_1 = 1204.94 -2.50 -0.00
stall_2 = 1196.44 2.00 -0.00
stall_3 = 1196.44 -2.50 -0.00
stall_4 = 1187.94 2.00 -0.00
stall_5 = 1187.94 -2.50 -0.00
stall_6 = 1179.44 2.00 -0.00
stall_7 = 1179.44 -2.50 -0.00
stall_8 = 1170.94 2.00 -0.00
stall_9 = 1170.94 -2.50 -0.00
stall_10 = 1162.44 2.00 -0.00
stall_11 = 1162.44 -2.50 -0.00
stall_12 = 1153.94 2.00 -0.00
stall_13 = 1153.94 -2.50 -0.00
stall_14 = 1145.44 2.00 -0.00
stall_15 = 1145.44 -2.50 -0.00
stall_16 = 1136.94 2.00 -0.00
stall_17 = 1136.94 -2.50 -0.00
stall_18 = 1128.44 2.00 -0.00
stall_19 = 1128.44 -2.50 -0.00
stall_20 = 1119.94 2.00 -0.00
stall_21 = 1119.94 -2.50 -0.00
stall_22 = 1111.44 2.00 -0.00
stall_23 = 1111.44 -2.50 -0.00
stall_24 = 1102.94 2.00 -0.00
stall_25 = 1102.94 -2.50 -0.00
stall_26 = 1094.44 2.00 -0.00
stall_27 = 1094.44 -2.50 -0.00
stall_28 = 1085.94 2.00 -0.00
stall_29 = 1085.94 -2.50 -0.00
stall_30 = 1077.44 2.00 -0.00
stall_31 = 1077.44 -2.50 -0.00
stall_32 = 1068.94 2.00 -0.00
stall_33 = 1068.94 -2.50 -0.00
stall_34 = 1060.44 2.00 -0.00
stall_35 = 1060.44 -2.50 -0.00
stall_36 = 1051.94 2.00 -0.00
stall_37 = 1051.94 -2.50 -0.00
stall_38 = 1043.44 2.00 -0.00
stall_39 = 1043.44 -2.50 -0.00
stall_40 = 1034.94 2.00 -0.00
stall_41 = 1034.94 -2.50 -0.00
stall_42 = 1026.44 2.00 -0.00

[ SPCC ]
num_named_sections = 6

name_0 = 293.74 481.78 T1
name_1 = 481.78 661.97 T2
name_2 = 661.97 1264.24 BSTC
name_3 = 1264.24 1519.13 T3
name_4 = 1519.13 1772.39 T4
name_5 = 1772.39 293.74 FSTR

