[ track ]
track_name = Tri-County Motor Speedway
track_name_short = Tri-County PST
track_city = Hudson
track_state = NC
track_length_n_type = 0.4 mile
track_misc_info_1 = Turns 60 feet wide with 12 foot apron 
track_misc_info_2 = Straights banked 6 degrees   
track_misc_info_3 = Turns banked 9-12 degrees    
track_misc_info_4 = Track Created by "Project: Short Track"
track_num_turns = 4
track_length = 0.4m
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 = 4                            ; the race month used for single, multi, and testing
max_starters = 30
track_tire_heat = 0.79
track_tire_wear = 0.65				;> 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.39                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 1.05                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_opp_wheel_grip = 1.20
track_wheel_grip = 1.20
track_chassis_grip = 1.265
track_undefined_grip = 1.35
track_asphalt_grip = 1.30			; Bottom Groove grip.  > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.45                      ; Outside Groove Grip.  > means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 015		                ; 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 = 740.00 790.00

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


[ cup ]
record_lap_time = 15.209
record_holder = G. Brunnhoelzl, III WSMT 2011

[ gns ]
record_lap_time = 15.209
record_holder = G. Brunnhoelzl, III WSMT 2011

[ cts ]
record_lap_time = 15.690
record_holder = Tanner Berryhill CARS SLM 2016



[ weather ]
track_base_temp = 85.1		                ; track average temperature on April 1 in deg F
track_temp_range = 5.2		                ; one standard deviation from average in deg F
track_temp_swing = 5.0                         ; 
track_wind_speed = 5.5		                ; average wind speed at the track in MPH
track_wind_speed_range = 5.0		        ; one standard deviation from average in MPH
track_wind_direction = 250		        ; compass heading in degrees from which wind is most likely (in this case from Northwest)
track_cloud_prob = 0.92		                ; probability of clear skies, 0.0 to 1.0


[CrowdSound]
num_sources = 4
pos_0 = 71 -86 1
pos_1 = 76 40 1
pos_2 = 68 76 1
pos_3 = 46 109 1


[ ai_track ]
pace_merge_from_pit_line_dlong = 380.00
pace_merge_to_pit_line_dlong = 720.00
pace_speed_limit_mph = 35
ai_accel_modifier = 0.45			; acceleration grip efficiency
ai_decel_modifier = 0.99			; braking grip efficiency
ai_fuel_use = 1.01				; > 1.0 = more fuel consumed
ai_grip_modifier = 0.97				; > 1.0 = more grip
ai_drag_modifier = 0.55				; > 1.0 = more drag, which is slower
ai_line_modifier = 1.03				; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.05				; > 1.0 = faster during qualifying
ai_wall_offset = 100				; 100 = full-time AI collision detection
ai_tire_wear_left = 1.00			; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.99			; right tire wear adjuster for ai
ai_arcade_tire_wear = 0.3			; lower = less wear (used in addition to the above left/right modifiers)
ai_arcade_fuel_use = 0.87			; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.78			; > 1.0 = more grip
ai_arcade_drag_modifier = 1.083			; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 2.218		; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.272		; lap time gain from low fuel
strategy_base_pitting_cost = 30.0		; time lost to a stop & go pitstop
ai_pacing_distance = 1.8
ai_bunching_distance = 1.4
ai_drafting_distance = 1.2
ai_panic_decel = 6.0
ai_dlongpad_scale = 6.0
ai_dlat_pad = 0.18
ai_squeeze_pcnt = 0.50
ai_inverse_slipcurve_k = 0.28                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_gns ]
ai_accel_modifier = 0.43			; acceleration grip efficiency
ai_decel_modifier = 0.99			; braking grip efficiency
ai_fuel_use = 1.01				; > 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.03				; 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 = 1.00			; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.99			; right tire wear adjuster for ai
ai_pacing_distance = 1.8
ai_bunching_distance = 1.4
ai_drafting_distance = 1.2
ai_panic_decel = 6.0				; G's of extra deceleration inducing panic
ai_dlongpad_scale = 6.0			        ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.18
ai_squeeze_pcnt = 0.80
ai_inverse_slipcurve_k = 0.28			; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_cts ]
ai_accel_modifier = 0.43                        ; acceleration grip efficiency
ai_decel_modifier = 1.00			; braking grip efficiency
ai_fuel_use = 1.01                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.96                         ; > 1.0 = more grip
ai_drag_modifier = 1.02				; > 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.05				; > 1.0 = faster during qualifying
ai_tire_wear_left = 1.00			; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.00                       ; right tire wear adjuster for ai
ai_pacing_distance = 1.9
ai_bunching_distance = 1.7
ai_drafting_distance = 1.25
ai_dlat_pad = 0.28	
ai_squeeze_pcnt = 0.50	
ai_inverse_slipcurve_k = 0.28                   ; how much slip angle AI need to corner. smaller = more, more = increased drag


[ AppRuleEnterPits ]
pit0_entrance_point0_dlat  = 55.91
pit0_entrance_point0_dlong  = 803.65
pit0_entrance_point1_dlat  = 43.80
pit0_entrance_point1_dlong  = 829.46
pit1_entrance_point0_dlat  = 55.91
pit1_entrance_point0_dlong  = 803.65
pit1_entrance_point1_dlat  = 43.80
pit1_entrance_point1_dlong  = 829.46

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 360.00		; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 450.00		; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 125.0			; length of merge window
pit_lane_end_dlong = 67.77			; dlong where pit lane proper ends
pit_lane_start_dlong = 839.08			; 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 = -3.75             ; 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 = 10.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 = 315.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 = 1				; 0 no wall, 1 has wall
speed_limit_MPH = 45.0

; pace car
begin_pacestall_entry_offset = 15.0		; offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 40.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.75      	; goal dlat offset for the pit stall exit
stall_pace = 82.00 59.75 0.00			;64.00 59.75 0.00

; special stalls
stall_qual_exit = 62.80 53.75 0.00

; regular stalls
						 
stall_0 = 62.80 59.75 0.00
stall_1 = 53.80 59.75 0.00
stall_2 = 44.80 59.75 0.00
stall_3 = 35.80 59.75 0.00
stall_4 = 26.80 59.75 0.00
stall_5 = 17.80 59.75 0.00
stall_6 = 8.80 59.75 0.00
stall_7 = 907.20 59.75 0.00
stall_8 = 898.20 59.75 0.00
stall_9 = 889.20 59.75 0.00
stall_10 = 880.20 59.75 0.00
stall_11 = 871.20 59.75 0.00
stall_12 = 862.20 59.75 0.00
stall_13 = 853.20 59.75 0.00
stall_14 = 844.20 59.75 0.00

[ pit_lane_1 ]
; AI stuff
merge_from_pit_line_dlong = 360.00		; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 450.00		; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 125.0			; length of merge window
pit_lane_end_dlong = 67.77                      ; dlong where pit lane proper ends
pit_lane_start_dlong = 839.08                   ; 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 = 3.75		; 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 = 10.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 = 315.00                       ; 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 = 1				; 0 no wall, 1 has wall
speed_limit_MPH = 45.0


; regular stalls
stall_0 = 62.80 49.15 0.00
stall_1 = 53.80 49.15 0.00
stall_2 = 44.80 49.15 0.00
stall_3 = 35.80 49.15 0.00
stall_4 = 26.80 49.15 0.00
stall_5 = 17.80 49.15 0.00
stall_6 = 8.80 49.15 0.00
stall_7 = 907.20 49.15 0.00
stall_8 = 898.20 49.15 0.00
stall_9 = 889.20 49.15 0.00
stall_10 = 880.20 49.15 0.00
stall_11 = 871.20 49.15 0.00
stall_12 = 862.20 49.15 0.00
stall_13 = 853.20 49.15 0.00
stall_14 = 844.20 49.15 0.00


[ starting_grid_0 ]
;  Short Track Touring Series style.  
;  Lined up diagonally in a single row along frontstretch.

stall_pace = 89.34 36.17 -0.78
stall_0 = 77.79 34.81 -0.78
stall_1 = 68.88 34.29 -0.78
stall_2 = 62.83 34.29 -0.78
stall_3 = 57.04 34.28 -0.78
stall_4 = 51.28 34.27 -0.78
stall_5 = 45.53 34.27 -0.78
stall_6 = 39.78 34.26 -0.78
stall_7 = 33.95 34.25 -0.78
stall_8 = 28.20 34.25 -0.78
stall_9 = 22.44 34.24 -0.78
stall_10 = 16.69 34.23 -0.78
stall_11 = 10.93 34.22 -0.78
stall_12 = 5.19 34.21 -0.78
stall_13 = 904.30 34.23 -0.78
stall_14 = 898.57 34.21 -0.78
stall_15 = 892.80 34.21 -0.78
stall_16 = 887.02 34.20 -0.78
stall_17 = 881.26 34.19 -0.78
stall_18 = 875.51 34.19 -0.78
stall_19 = 869.77 34.18 -0.78
stall_20 = 864.07 34.15 -0.78
stall_21 = 858.29 34.14 -0.78
stall_22 = 852.62 34.13 -0.78
stall_23 = 846.85 34.13 -0.78
stall_24 = 841.03 34.12 -0.78
stall_25 = 833.63 33.99 -0.78
stall_26 = 824.85 34.01 -0.78
stall_27 = 815.98 34.04 -0.78
stall_28 = 805.63 34.13 -0.78
stall_29 = 795.98 34.40 -0.78

[ starting_grid_1 ]
stall_pace = 465.00 20.58 -0.03
stall_0 = 455.00 22.96 -0.04
stall_1 = 455.00 18.96 -0.04
stall_2 = 444.40 23.46 -0.05
stall_3 = 444.40 19.46 -0.05
stall_4 = 433.80 24.14 -0.07
stall_5 = 433.80 20.14 -0.07
stall_6 = 423.22 25.03 -0.10
stall_7 = 423.22 21.03 -0.10
stall_8 = 412.67 26.17 -0.12
stall_9 = 412.67 22.17 -0.12
stall_10 = 402.14 27.52 -0.14
stall_11 = 402.14 23.52 -0.14
stall_12 = 391.65 29.18 -0.18
stall_13 = 391.65 25.18 -0.18
stall_14 = 379.47 31.17 -0.17
stall_15 = 379.47 27.17 -0.17
stall_16 = 364.95 32.64 -0.11
stall_17 = 364.95 28.64 -0.11
stall_18 = 350.10 33.51 -0.06
stall_19 = 350.10 29.51 -0.06
stall_20 = 335.08 33.93 -0.02
stall_21 = 335.08 29.93 -0.02
stall_22 = 320.00 34.00 0.01
stall_23 = 320.00 30.00 0.01
stall_24 = 304.93 33.82 0.03
stall_25 = 304.93 29.82 0.03
stall_26 = 289.92 33.48 0.04
stall_27 = 289.92 29.48 0.04
stall_28 = 275.00 33.09 0.04
stall_29 = 275.00 29.09 0.04





[ SPCC ]
num_named_sections = 6

name_0 = 63.00 245.00 T1
name_1 = 245.00 413.00 T2
name_2 = 413.00 584.00 BSTR
name_3 = 584.00 758.00 T3
name_4 = 758.00 931.00 T4
name_5 = 931.00 63.00 FSTR



