[ track ]
track_name = Iowa Speedway™ - v1.0
track_name_short = Iowa
track_city = Newton
track_state = IA
track_length_n_type = 0.875-mile D-shaped Oval
track_misc_info_1 = Turns banked 14°
track_misc_info_2 = Frontstretch 1250 feet banked 10°
track_misc_info_3 = Backstretch 850 feet banked 4°
track_num_turns = 4
track_length = 0.875m
track_altitude = 285.0
track_type = 1                                  ; 1=mile oval, 0=short-track
chassis_type = 3                                ; short track
default_event_laps = 500
default_qual_laps = 2
track_base_month = 9                            ; the race month used for single, multi, and testing
max_starters = 38
track_tire_heat = 0.72                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 1.20                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.35                     ; 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.10                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.15                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_paint_grip = 1.10
track_north_angle = 135                         ; 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 = 1200.0 1300.0

[ track_gns ]
track_tire_heat = 0.72                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 1.20                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.35                     ; 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.10                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.15 

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

[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 = 1250.00 -4.00 23.50 0 0          ; prevents cutting grass (qual only)
checkpoint_1 = 1350.00 -3.50 23.50 0 0

[ cup ]
record_lap_time = 
record_holder = 

[ gns ]
record_lap_time = 
record_holder =    

[ cts ]
record_lap_time = 
record_holder = 

[ weather ]
track_base_temp = 72.0                          ; 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 = 14.5                         ; average wind speed at the track in MPH
track_wind_speed_range = 8.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.70                         ; probability of cloud cover, 0.0 to 1.0

[CrowdSound]
num_sources = 7
pos_0 = -117 -156.50 3
pos_1 = -78.50 -164 3
pos_2 = -41 -167 3
pos_3 = 0.15 -169 3
pos_4 = 40.5 -168 3
pos_5 = 79 -163 3
pos_6 = 116 -156 3

[ ai_track ]
pace_merge_from_pit_line_dlong = 605.000
pace_merge_to_pit_line_dlong = 960.0000
pace_speed_limit_mph = 45
ai_accel_modifier = 0.73                        ; acceleration grip efficiency
ai_decel_modifier = 1.60                        ; braking grip efficiency
ai_fuel_use = 1.85                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.982                         ; > 1.0 = more grip
ai_drag_modifier = 1.23                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.02                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.02                         ; > 1.0 = faster during qualifying
ai_wall_offset = 100                            ; 100 = full-time AI collision detection
ai_tire_wear_left = 0.80                        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.00                       ; 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.00                       ; > 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 = 0.01              ; 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.18                     ; car lengths behind while racing
ai_panic_decel = 5.35                           ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 5.0                         ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.40
ai_squeeze_pcnt = 1.0 
ai_inverse_slipcurve_k = 0.68                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_gns ]
ai_accel_modifier = 0.70                        ; acceleration grip efficiency
ai_decel_modifier = 1.60                        ; braking grip efficiency
ai_fuel_use = 2.16                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 1.00                         ; > 1.0 = more grip
ai_drag_modifier = 1.25                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.02                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.025                        ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.90                        ; left tire wear adjuster for ai
ai_tire_wear_right = 1.12                       ; right tire wear adjuster for ai
ai_drafting_distance = 1.18                     ; car lengths behind while racing
ai_panic_decel = 5.35				; G's of extra deceleration inducing panic
ai_dlongpad_scale = 5.0			        ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.40
ai_inverse_slipcurve_k = 0.68

[ ai_track_cts ]
ai_accel_modifier = 0.67                        ; acceleration grip efficiency
ai_decel_modifier = 1.60                        ; braking grip efficiency
ai_fuel_use = 1.25                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.993                        ; > 1.0 = more grip
ai_drag_modifier = 1.23                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.02                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.027                        ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.61                        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.81                       ; right tire wear adjuster for ai
strategy_lap_time_wear_loss = 0.01
ai_drafting_distance = 1.18                     ; car lengths behind while racing
ai_panic_decel = 5.35				; G's of extra deceleration inducing panic
ai_dlongpad_scale = 5.0
ai_dlat_pad = 0.40
ai_squeeze_pcnt = 1.0
ai_inverse_slipcurve_k = 0.65                   ; how much slip angle AI need to corner. smaller = more, more = increased drag


[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 48.00
pit0_entrance_point0_dlong = 1225.00
pit0_entrance_point1_dlat = 22.00
pit0_entrance_point1_dlong = 1237.00

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 605.0               ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 655.0                 ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 50.0                 ; length of merge window
pit_lane_end_dlong = 310.00                     ; dlong where pit lane proper ends
pit_lane_start_dlong = 1237.50                  ; 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 = -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 = 20.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 = 602.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 = 45.0

; pace car
begin_pacestall_entry_offset = 35.0             ; offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 55.0          ; offset at which to begin approaching the pit stall
pacestall_exit_goal_dlong_offset = 15.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 = 320.06 34.60 -0.13


; special stalls
stall_qual_exit = 305.42 27.84 -0.00

; regular stalls
stall_0 = 303.12 34.42 0.00   ; using 3.25 meters from pitside wall face
stall_1 = 289.43 34.42 0.00
stall_2 = 275.83 34.20 -0.02
stall_3 = 262.28 34.20 -0.03
stall_4 = 248.53 34.20 -0.08
stall_5 = 236.19 36.07 -0.23
stall_6 = 224.03 38.45 -0.25
stall_7 = 211.56 40.80 -0.25
stall_8 = 198.81 43.35 -0.25
stall_9 = 185.93 45.95 -0.26
stall_10 = 174.66 49.23 -0.36
stall_11 = 164.11 52.53 -0.35
stall_12 = 153.36 55.62 -0.32
stall_13 = 133.68 60.58 -0.27
stall_14 = 122.69 63.02 -0.26
stall_15 = 111.40 65.27 -0.23
stall_16 = 100.05 67.28 -0.20
stall_17 = 88.50 69.07 -0.18
stall_18 = 76.88 70.61 -0.15
stall_19 = 65.27 71.91 -0.12
stall_20 = 53.55 72.99 -0.09
stall_21 = 32.37 74.28 -0.06
stall_22 = 20.56 74.67 -0.03
stall_23 = 8.80 74.80 -0.01
stall_24 = 1404.12 74.70 0.01
stall_25 = 1392.40 74.38 0.03
stall_26 = 1380.71 73.85 0.06
stall_27 = 1369.07 73.09 0.08
stall_28 = 1357.22 72.06 0.10
stall_29 = 1345.66 70.86 0.13
stall_30 = 1334.29 69.43 0.15
stall_31 = 1322.88 67.79 0.17
stall_32 = 1296.44 63.01 0.22
stall_33 = 1285.42 60.65 0.25
stall_34 = 1274.47 58.07 0.27
stall_35 = 1263.75 55.31 0.29
stall_36 = 1253.11 52.36 0.31
stall_37 = 1242.45 49.16 0.33


[ starting_grid_0 ]
stall_pace = 201.49 34.55 -0.22
stall_0 = 190.89 38.59 -0.28
stall_1 = 189.78 34.85 -0.28
stall_2 = 180.27 41.21 -0.31
stall_3 = 178.82 37.59 -0.31
stall_4 = 170.64 44.05 -0.33
stall_5 = 169.25 40.41 -0.33
stall_6 = 161.01 47.01 -0.31
stall_7 = 159.77 43.61 -0.31
stall_8 = 151.24 49.81 -0.31
stall_9 = 150.09 46.38 -0.31
stall_10 = 141.35 52.43 -0.29
stall_11 = 140.26 48.98 -0.29
stall_12 = 131.35 54.86 -0.26
stall_13 = 130.33 51.39 -0.26
stall_14 = 121.23 57.10 -0.24
stall_15 = 120.28 53.62 -0.24
stall_16 = 111.01 59.16 -0.22
stall_17 = 110.15 55.66 -0.22
stall_18 = 100.70 61.02 -0.20
stall_19 = 99.92 57.50 -0.20
stall_20 = 90.30 62.69 -0.17
stall_21 = 89.61 59.16 -0.17
stall_22 = 79.83 64.17 -0.15
stall_23 = 79.23 60.61 -0.15
stall_24 = 69.30 65.43 -0.13
stall_25 = 68.78 61.88 -0.13
stall_26 = 58.71 66.51 -0.10
stall_27 = 58.27 62.93 -0.10
stall_28 = 47.98 67.38 -0.09
stall_29 = 47.64 63.81 -0.09
stall_30 = 37.28 68.05 -0.08
stall_31 = 37.03 64.48 -0.08
stall_32 = 26.54 68.51 -0.05
stall_33 = 26.37 64.93 -0.05
stall_34 = 15.79 68.77 -0.03
stall_35 = 15.72 65.19 -0.03
stall_36 = 5.02 68.82 0.00
stall_37 = 5.04 65.25 0.00


[ starting_grid_1 ]
stall_pace = 830.00 3.50 0.00
stall_0 = 820.00 7.00 0.00
stall_1 = 820.00 0.00 0.00
stall_2 = 810.00 7.00 0.00
stall_3 = 810.00 0.00 0.00
stall_4 = 800.00 7.00 0.00
stall_5 = 800.00 0.00 0.00
stall_6 = 790.00 7.00 0.00
stall_7 = 790.00 0.00 0.00
stall_8 = 780.00 7.00 0.00
stall_9 = 780.00 0.00 0.00
stall_10 = 770.00 7.00 0.00
stall_11 = 770.00 0.00 0.00
stall_12 = 760.00 7.00 0.00
stall_13 = 760.00 0.00 0.00
stall_14 = 750.00 7.00 0.00
stall_15 = 750.00 0.00 0.00
stall_16 = 740.00 7.00 0.00
stall_17 = 740.00 0.00 0.00
stall_18 = 730.00 7.00 0.00
stall_19 = 730.00 0.00 0.00
stall_20 = 720.00 7.00 0.00
stall_21 = 720.00 0.00 0.00
stall_22 = 710.00 7.00 0.00
stall_23 = 710.00 0.00 0.00
stall_24 = 700.00 7.00 0.00
stall_25 = 700.00 0.00 0.00
stall_26 = 690.00 7.00 0.00
stall_27 = 690.00 0.00 0.00
stall_28 = 680.00 7.00 0.00
stall_29 = 680.00 0.00 0.00
stall_30 = 670.00 7.00 0.00
stall_31 = 670.00 0.00 0.00
stall_32 = 660.00 7.00 0.00
stall_33 = 660.00 0.00 0.00
stall_34 = 650.00 7.00 0.00
stall_35 = 650.00 0.00 0.00
stall_36 = 640.00 7.00 0.00
stall_37 = 640.00 0.00 0.00

[ SPCC ]
num_named_sections = 6

name_0 = 184.16 369.18 T1
name_1 = 369.18 591.45 T2
name_2 = 591.45 819.05 BSTR
name_3 = 819.05 1064.98 T3
name_4 = 1064.98 1237.67 T4
name_5 = 1237.67 184.16 FSTC
