[ track ]
track_name = Stafford Motor Speedway 2008
track_name_short = Stafford 2008 
track_city = Stafford Springs
track_state = CT
track_length_n_type = 0.5-mile 
track_misc_info_1 = Turns 1&2 banked 7°
track_misc_info_2 = Turns 3&4 banked 8.5°
track_misc_info_3 = Frontstretch banked 0°
track_misc_info_4 = Backstretch banked 0°
track_num_turns = 4
track_length = 0.500m
track_altitude = 0.0
track_type = 0                                  ; short oval
chassis_type = 3                                ; short track
default_event_laps = 200
default_qual_laps = 2
track_base_month = 6                            ; the race month used for single, multi, and testing
max_starters = 35
track_tire_heat = 1.23				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 0.54				;> 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.15                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 1.09                      ;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.182			;> 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.293			;> means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 45                          ; 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 = 650.00 690.00

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

[ track_cts ]
track_tire_heat = 1.17				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 0.58				;> 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 = 1.20                      ;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.18			;> 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.22			;> means more grip.  Again, keep between about 0.9 and 1.05

[ cup ]
record_lap_time = 19.573
record_holder = Sean Caisse (2007 BES)

[ gns ]
record_lap_time = 18.009
record_holder = Matt Hirshman (2007 WMT)

[ cts ]
record_lap_time = 18.847
record_holder = Ted Christopher (2008 SK)

[ weather ]
track_base_temp = 64.1                          ; track average temperature on April 1 in deg F
track_temp_range = 5.0                          ; one standard deviation from average in deg F
track_temp_swing = 14.0                         ; 
track_wind_speed = 6.7                          ; average wind speed at the track in MPH
track_wind_speed_range = 5.0                    ; 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.9                          ; probability of cloud cover, 0.0 to 1.0

[CrowdSound]
num_sources = 5
pos_0 = 92 88 5
pos_1 = 11 92 10
pos_2 = -91 92 10
pos_3 = -130 79 5
pos_4 = -165 40 5

[ ai_track ]
pace_merge_from_pit_line_dlong = 347.000
pace_merge_to_pit_line_dlong = 500.000
pace_speed_limit_mph = 40
ai_accel_modifier = 0.45                        ; acceleration grip efficiency
ai_decel_modifier = 1.20                        ; braking grip efficiency
ai_fuel_use = 0.925                             ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.913                        ; > 1.0 = more grip
ai_drag_modifier = 1.20                        	; > 1.0 = more drag, which is slower
ai_line_modifier = 1.01                         ; 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 = 1.48                        ; left tire wear adjuster for ai
ai_tire_wear_right = 1.70                       ; 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.03                       ; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.775                 ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.85                  ; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 2.248             ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.073         ; lap time gain from low fuel
strategy_base_pitting_cost = 19.419             ; time lost to a stop & go pitstop
ai_pacing_distance = 2.0
ai_bunching_distance = 1.15
ai_drafting_distance = 1.134                    ; original DR value 1.25
ai_panic_decel = 6.0
ai_dlongpad_scale = 9.00
ai_dlat_pad = 0.30
ai_squeeze_pcnt = 0.8
ai_inverse_slipcurve_k = 0.38              	; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_gns ]
ai_accel_modifier = 0.50			; acceleration grip efficiency
ai_decel_modifier = 1.20			; braking grip efficiency
ai_fuel_use = 1.01				; > 1.0 = more fuel consumed
ai_grip_modifier = 0.89 			; > 1.0 = more grip
ai_drag_modifier = 0.98			 	; > 1.0 = more drag, which is slower
ai_line_modifier = 1.054			; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.03		         	; > 1.0 = faster during qualifying
ai_tire_wear_left = 1.48 		        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.70			; right tire wear adjuster for ai
ai_panic_decel = 6.0			       	; G's of extra deceleration inducing panic
ai_dlongpad_scale = 9.0			        ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.1250
ai_squeeze_pcnt = 0.8
ai_inverse_slipcurve_k = 0.275             	; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_cts ]
ai_accel_modifier = 0.61                        ; acceleration grip efficiency
ai_decel_modifier = 1.15                        ; braking grip efficiency
ai_fuel_use = 1.10                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.855                        ; > 1.0 = more grip
ai_drag_modifier = 1.30                        	; > 1.0 = more drag, which is slower
ai_line_modifier = 1.045                        ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.05                         ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.70                        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.70                       ; right tire wear adjuster for ai
ai_pacing_distance = 2.00
ai_bunching_distance = 1.2
ai_drafting_distance = 1.2
ai_dlongpad_scale = 11.00
ai_dlat_pad = 0.1250
ai_squeeze_pcnt = 0.8
ai_inverse_slipcurve_k = 0.26                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 63.67
pit0_entrance_point0_dlong = 667.73
pit0_entrance_point1_dlat = 49.93
pit0_entrance_point1_dlong = 716.33
pit1_entrance_point0_dlat = 63.67
pit1_entrance_point0_dlong = 667.73
pit1_entrance_point1_dlat = 49.93
pit1_entrance_point1_dlong = 716.33

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 370.00              ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 400.00                ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 30.0                 ; length of merge window
pit_lane_end_dlong = 91.00               	; dlong where pit lane proper ends
pit_lane_start_dlong = 759.64			; dlong where pit lane proper starts
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 = 7.00             ; 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 = 30.0        	; offset at which to begin approaching the pit stall
lane_merge_dlong = 360.00    
 
; 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 = 30.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 = -4.0          ; goal dlat offset for the pit stall exit
stall_pace = 88.00 66.25 0.00

; special stalls
stall_qual_exit = 88.00 59.60 0.00

stall_0 = 78.50 66.10 0.00
stall_1 = 69.00 66.10 0.00
stall_2 = 59.50 66.10 0.00
stall_3 = 50.00 66.10 0.00
stall_4 = 40.50 66.10 0.00
stall_5 = 31.00 66.10 0.00
stall_6 = 21.50 66.100.00
stall_7 = 12.00 66.10 0.00
stall_8 = 2.50 66.10 0.00
stall_9 = 835.50 66.10 0.00
stall_10 = 826.00 66.10 0.00
stall_11 = 816.50 66.10 0.00
stall_12 = 807.00 66.10 0.00
stall_13 = 797.50 66.10 0.00
stall_14 = 788.00 66.10 0.00
stall_15 = 778.50 66.10 0.00
stall_16 = 769.00 66.10 0.00


[ pit_lane_1 ]
; AI stuff
merge_from_pit_line_dlong = 370.00              ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 400.00                ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 30.0                 ; length of merge window
pit_lane_end_dlong = 90.59               	; dlong where pit lane proper ends
pit_lane_start_dlong = 759.64			; dlong where pit lane proper starts
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 = 7.0              ; 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 = 30.0        	; offset at which to begin approaching the pit stall
lane_merge_dlong = 360.00    
 
; race control stuff
lane_on_right = 1                               ; 0 if on left, 1 if on right
lane_has_wall = 1                               ; 0 no wall, 1 has wall
speed_limit_MPH = 40.0


; regular stalls
stall_0 = 88.00 53.70 0.00
stall_1 = 78.50 53.70 0.00
stall_2 = 69.00 53.70 0.00
stall_3 = 59.50 53.70 0.00		
stall_4 = 50.00 53.70 0.00
stall_5 = 40.50 53.70 0.00
stall_6 = 31.00 53.70 0.00
stall_7 = 21.50 53.70 0.00
stall_8 = 12.00 53.70 0.00
stall_9 = 2.50 53.70 0.00
stall_10 = 835.50 53.70 0.00
stall_11 = 826.00 53.70 0.00
stall_12 = 816.50 53.70 0.00
stall_13 = 807.00 53.70 0.00
stall_14 = 797.50 53.70 0.00
stall_15 = 788.00 53.70 0.00
stall_16 = 778.50 53.70 0.00
stall_17 = 769.00 53.70 0.00


[ starting_grid_0 ]
stall_pace = 75.00 -2.25 0.00
stall_0 = 65.00 -0.50 0.00
stall_1 = 65.00 -4.00 0.00
stall_2 = 56.00 -0.50 0.00
stall_3 = 56.00 -4.00 0.00
stall_4 = 47.00 -0.50 0.00
stall_5 = 47.00 -4.00 0.00
stall_6 = 38.00 -0.50 0.00
stall_7 = 38.00 -4.00 0.00
stall_8 = 29.00 -0.50 0.00
stall_9 = 29.00 -4.00 0.00
stall_10 = 20.00 -0.50 0.00
stall_11 = 20.00 -4.00 0.00
stall_12 = 11.00 -0.50 0.00
stall_13 = 11.00 -4.00 0.00
stall_14 = 2.00 -0.50 0.00
stall_15 = 2.00 -4.00 0.00
stall_16 = 835.00 -0.50 0.00
stall_17 = 835.00 -4.00 0.00
stall_18 = 826.00 -0.50 0.00
stall_19 = 826.00 -4.00 0.00
stall_20 = 817.00 -0.50 0.00
stall_21 = 817.00 -4.00 0.00
stall_22 = 808.00 -0.50 0.00
stall_23 = 808.00 -4.00 0.00
stall_24 = 799.00 -0.50 0.00
stall_25 = 799.00 -4.00 0.00
stall_26 = 790.00 -0.50 0.00
stall_27 = 790.00 -4.00 0.00
stall_28 = 781.00 -0.50 0.00
stall_29 = 781.00 -4.00 0.00
stall_30 = 772.00 -0.50 0.00
stall_31 = 772.00 -4.00 0.00
stall_32 = 763.00 -0.50 0.00
stall_33 = 763.00 -4.00 0.00
stall_34 = 754.00 -0.50 0.00
stall_35 = 754.00 -4.00 0.00




[ starting_grid_1 ]
stall_pace = 495.31 -9.36 0.00
stall_0 = 481.31 -7.00 0.00
stall_1 = 481.31 -12.00 0.00
stall_2 = 472.81 -7.00 0.00
stall_3 = 472.81 -12.00 0.00
stall_4 = 464.31 -7.00 0.00
stall_5 = 464.31 -12.00 0.00
stall_6 = 455.81 -7.00 0.00
stall_7 = 455.81 -12.00 0.00
stall_8 = 447.31 -7.00 0.00
stall_9 = 447.31 -12.00 0.00
stall_10 = 438.81 -7.00 0.00
stall_11 = 438.81 -12.00 0.00
stall_12 = 430.31 -7.00 0.00
stall_13 = 430.31 -12.00 0.00
stall_14 = 421.81 -7.00 0.00
stall_15 = 421.81 -12.00 0.00
stall_16 = 413.31 -7.00 0.00
stall_17 = 413.31 -12.00 0.00
stall_18 = 404.81 -7.00 0.00
stall_19 = 404.81 -12.00 0.00
stall_20 = 396.31 -7.00 0.00
stall_21 = 396.31 -12.00 0.00
stall_22 = 387.81 -7.00 0.00
stall_23 = 387.81 -12.00 0.00
stall_24 = 379.31 -7.00 0.00
stall_25 = 379.31 -12.00 0.00
stall_26 = 370.81 -7.00 0.00
stall_27 = 370.81 -12.00 0.00
stall_28 = 362.31 -7.00 0.00
stall_29 = 362.31 -12.00 0.00
stall_30 = 353.81 -7.00 0.00
stall_31 = 353.81 -12.00 0.00
stall_32 = 344.81 -7.00 0.00
stall_33 = 344.81 -12.00 0.00
stall_34 = 335.81 -7.00 0.00
stall_35 = 335.81 -12.00 0.00



[ SPCC ]
num_named_sections = 6

name_0 = 91.00 207.00 T1
name_1 = 207.00 321.00 T2
name_2 = 321.00 516.00 BSTR
name_3 = 516.00 630.00 T3
name_4 = 630.00 750.00 T4
name_5 = 750.00 91.00 FSTR