[ track ]
track_name = Santa_Fe_Speedway_WCR
track_name_short = Santa_Fe_Speedway_WCR
track_city = Hinsdale  
track_state = IL. (RIP)
track_length_n_type = 1/2 mile Clay Oval
track_misc_info_1 = Track R.I.P.
track_num_turns = 4
track_length = 0.500m
track_altitude = 20.0
track_type = 0                                  ; short oval
chassis_type = 0                                ; 0 = short oval  
default_event_laps = 100
default_qual_laps = 2
track_base_month = 7                            ; the race month used for single, multi, and testing
max_starters = 42
track_tire_heat = 1.25
track_tire_wear = 1.0				;> 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.10                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = .97                       ;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.05 			;> 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.0
track_rumble_grip = 1.5
track_asphalt_grip = 1.18 
track_paint_grip = 1.17
track_grass_grip = 2.40                             ; 2.30 2.20				
track_dirt_grip = 1.80		
track_north_angle = 270                         ; 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 = 814 819



[ cup ]
record_lap_time = 
record_holder = 

[ gns ]
record_lap_time = 
record_holder = 

[ cts ]
record_lap_time = 
record_holder = 

[ pta ]
record_lap_time =  
record_holder = 


[ weather ]
track_base_temp = 50.1                          ; track average temperature on April 1 in deg F
track_temp_range = 9.0                          ; one standard deviation from average in deg F
track_temp_swing = 18.0                         ; 
track_wind_speed = 7.7                          ; average wind speed at the track in MPH
track_wind_speed_range = 10                    ; one standard deviation from average in MPH
track_wind_direction = 290                      ; compass heading in degrees from which wind is most likely (in this case from Northwest)
track_cloud_prob = 0.75                          ; probability of cloud cover, 1.0 to 0.0

[CrowdSound]
num_sources = 5
pos_0 = 12 -61 4
pos_1 = 11 74 4
pos_2 = -64 74 4
pos_3 = -116 1 4
pos_4 = -65 -61 4


[ ai_track ]
pace_merge_from_pit_line_dlong = 76.39
pace_merge_to_pit_line_dlong = 781
pace_speed_limit_mph = 55
ai_accel_modifier = 0.345                        ; acceleration grip efficiency
ai_decel_modifier = 0.90                        ; braking grip efficiency
ai_fuel_use = 0.99                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.760             ; .62> 1.0 = more grip
ai_drag_modifier = 0.00                      ; > 1.0 = more drag, which is slower
ai_line_modifier = 0.91                         ; .885 dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.14                        ; > 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.705                 ; > 1.0 = more grip
ai_arcade_drag_modifier = 0.00                  ; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 1.479             ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.173         ; lap time gain from low fuel
strategy_base_pitting_cost = 22.000             ; time lost to a stop & go pitstop
ai_pacing_distance = 1.70                       ; 1.7  car lengths behind while pacing
ai_bunching_distance = 1.80                      ; 2.05 car lengths behind while bunching for start
ai_drafting_distance = 1.9                    ; 1.9 car lengths behind while racing
ai_panic_decel = 4.0                            ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 4.29                         ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 1.12				; 0.62
ai_squeeze_pcnt = 0.30
ai_inverse_slipcurve_k = 0.135                   ; how much slip angle AI need to corner. smaller = more, more = increased drag



[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = -8
pit0_entrance_point0_dlong = 136
pit0_entrance_point1_dlat = -18
pit0_entrance_point1_dlong = 166
pit1_entrance_point0_dlat = -8
pit1_entrance_point0_dlong = 136
pit1_entrance_point1_dlat = -18
pit1_entrance_point1_dlong = 166

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 400		; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 50	; 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 = 300		; dlong where pit lane proper ends
pit_lane_start_dlong = 150		; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 4.0                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = 5.0             ; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 10.0              ; goal dlong offset (ahead) for the pit stall exit cubic line
begin_stall_entry_offset = 45.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 = 330		; Dlong which you must remain on the apron when exiting the pits

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

; pace car
begin_pacestall_entry_offset = 42.0             ; 22 offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 39.0          ; 19 offset at which to begin approaching the pit stall
pacestall_exit_goal_dlong_offset = 10.0          ; goal dlong offset (ahead) for the pit stall exit 
pacestall_exit_goal_dlat_offset = -4.0          ; goal dlat offset for the pit stall exit
stall_pace = 4 12 0


; special stalls
stall_qual_exit = 265.00 -131.55 1.00

; regular stalls 
stall_pace = 4 12 0
stall_0 = 260.00 -157.88 0.71
stall_1 = 257.35 -173.89 0.70
stall_2 = 254.75 -189.55 0.68
stall_3 = 252.20 -204.90 0.68
stall_4 = 249.68 -219.80 0.66
stall_5 = 247.15 -234.16 0.64
stall_6 = 244.65 -248.16 0.63
stall_7 = 242.21 -261.91 0.62
stall_8 = 239.81 -275.37 0.61
stall_9 = 237.39 -288.14 0.59
stall_10 = 235.02 -300.54 0.58
stall_11 = 232.69 -312.77 0.57
stall_12 = 230.43 -325.01 0.58
stall_13 = 228.28 -337.46 0.58
stall_14 = 226.20 -349.89 0.58
stall_15 = 224.17 -362.32 0.58
stall_16 = 222.20 -374.77 0.58
stall_17 = 220.00 -385.18 0.33
stall_18 = 215.00 -350.26 -0.56
stall_19 = 213.79 -343.89 -0.57
stall_20 = 212.58 -337.42 -0.58
stall_21 = 211.35 -330.79 -0.59
stall_22 = 210.13 -324.15 -0.60
stall_23 = 208.89 -317.31 -0.60
stall_24 = 207.65 -310.45 -0.60
stall_25 = 206.40 -303.52 -0.61
stall_26 = 205.13 -296.52 -0.61
stall_27 = 203.85 -289.48 -0.62
stall_28 = 202.57 -282.19 -0.63
stall_29 = 201.29 -274.89 -0.63
stall_30 = 199.99 -267.50 -0.64
stall_31 = 198.67 -260.08 -0.64
stall_32 = 197.32 -252.63 -0.64
stall_33 = 195.95 -245.14 -0.64
stall_34 = 194.56 -237.62 -0.65
stall_35 = 193.14 -230.00 -0.65
stall_36 = 191.73 -222.34 -0.66
stall_37 = 190.31 -214.44 -0.67
stall_38 = 188.88 -206.54 -0.68
stall_39 = 187.44 -198.43 -0.68
stall_40 = 186.00 -190.32 -0.68
stall_41 = 184.50 -182.11 -0.69
stall_42 = 183.00 -173.90 -0.69


;full pace lap
[ starting_grid_0 ]
stall_pace = 411 -5 0
stall_0 = 400.00 -7.69 -0.02
stall_1 = 400.00 -3.69 -0.02
stall_2 = 390.43 -7.57 -0.02
stall_3 = 390.43 -3.57 -0.02
stall_4 = 380.87 -7.58 -0.01
stall_5 = 380.87 -3.58 -0.01
stall_6 = 371.30 -7.58 0.00
stall_7 = 371.30 -3.58 0.00
stall_8 = 361.74 -7.69 0.02
stall_9 = 361.74 -3.69 0.02
stall_10 = 352.17 -7.87 0.01
stall_11 = 352.17 -3.87 0.01
stall_12 = 342.61 -7.91 -0.00
stall_13 = 342.61 -3.91 -0.00
stall_14 = 333.04 -7.76 -0.03
stall_15 = 333.04 -3.76 -0.03
stall_16 = 323.49 -7.41 -0.05
stall_17 = 323.49 -3.41 -0.05
stall_18 = 313.98 -6.75 -0.09
stall_19 = 313.98 -2.75 -0.09
stall_20 = 304.78 -6.14 -0.04
stall_21 = 304.78 -2.14 -0.04
stall_22 = 295.52 -5.76 -0.04
stall_23 = 295.52 -1.76 -0.04
stall_24 = 286.21 -5.36 -0.04
stall_25 = 286.21 -1.36 -0.04
stall_26 = 276.84 -4.96 -0.04
stall_27 = 276.84 -0.96 -0.04
stall_28 = 267.40 -4.63 -0.03
stall_29 = 267.40 -0.63 -0.03
stall_30 = 257.92 -4.42 -0.02
stall_31 = 257.92 -0.42 -0.02
stall_32 = 248.40 -4.13 -0.04
stall_33 = 248.40 -0.13 -0.04
stall_34 = 238.84 -3.71 -0.05
stall_35 = 238.84 0.29 -0.05
stall_36 = 229.19 -3.21 -0.05
stall_37 = 229.19 0.79 -0.05
stall_38 = 219.47 -2.86 -0.02
stall_39 = 219.47 1.14 -0.02
stall_40 = 209.73 -2.83 0.01
stall_41 = 209.73 1.17 0.01
stall_42 = 200.00 -3.01 0.03


;1/2 pace lap
[ starting_grid_1 ]
stall_pace = 411 -5 0
stall_0 = 400.00 -7.69 -0.02
stall_1 = 400.00 -3.69 -0.02
stall_2 = 390.43 -7.57 -0.02
stall_3 = 390.43 -3.57 -0.02
stall_4 = 380.87 -7.58 -0.01
stall_5 = 380.87 -3.58 -0.01
stall_6 = 371.30 -7.58 0.00
stall_7 = 371.30 -3.58 0.00
stall_8 = 361.74 -7.69 0.02
stall_9 = 361.74 -3.69 0.02
stall_10 = 352.17 -7.87 0.01
stall_11 = 352.17 -3.87 0.01
stall_12 = 342.61 -7.91 -0.00
stall_13 = 342.61 -3.91 -0.00
stall_14 = 333.04 -7.76 -0.03
stall_15 = 333.04 -3.76 -0.03
stall_16 = 323.49 -7.41 -0.05
stall_17 = 323.49 -3.41 -0.05
stall_18 = 313.98 -6.75 -0.09
stall_19 = 313.98 -2.75 -0.09
stall_20 = 304.78 -6.14 -0.04
stall_21 = 304.78 -2.14 -0.04
stall_22 = 295.52 -5.76 -0.04
stall_23 = 295.52 -1.76 -0.04
stall_24 = 286.21 -5.36 -0.04
stall_25 = 286.21 -1.36 -0.04
stall_26 = 276.84 -4.96 -0.04
stall_27 = 276.84 -0.96 -0.04
stall_28 = 267.40 -4.63 -0.03
stall_29 = 267.40 -0.63 -0.03
stall_30 = 257.92 -4.42 -0.02
stall_31 = 257.92 -0.42 -0.02
stall_32 = 248.40 -4.13 -0.04
stall_33 = 248.40 -0.13 -0.04
stall_34 = 238.84 -3.71 -0.05
stall_35 = 238.84 0.29 -0.05
stall_36 = 229.19 -3.21 -0.05
stall_37 = 229.19 0.79 -0.05
stall_38 = 219.47 -2.86 -0.02
stall_39 = 219.47 1.14 -0.02
stall_40 = 209.73 -2.83 0.01
stall_41 = 209.73 1.17 0.01
stall_42 = 200.00 -3.01 0.03

 0.00



