[ track ]
track_name = Riverside Speedway
track_name_short = Riverside NH
track_city = Groveton
track_state = NH
track_length_n_type = 0.25-mile 
track_misc_info_1 = Turns 1&2 banked 16°
track_misc_info_2 = Turns 3&4 banked 16.5°
track_misc_info_3 = Frontstretch banked 6°
track_misc_info_4 = Backstretch banked 6°
track_num_turns = 4
track_length = 0.250m
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 = 30
track_tire_heat = 1.25				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 1.00				;> 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 = 0.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.20			;> 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.30			;> means more grip.  Again, keep between about 0.9 and 1.05
track_paint_grip = 1.40
track_rumble_grip = 1.28
track_grass_grip = 1.50
track_dirt_grip = 1.50
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 = 582 615.00

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

[ track_cts ]
track_tire_heat = 0.77				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 0.88				;> 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.10			;> 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
track_paint_grip = 1.34

[ cup ]
record_lap_time = 
record_holder = 

[ gns ]
record_lap_time = 
record_holder = 

[ cts ]
record_lap_time = 
record_holder = 

[ 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 = 6.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.80                          ; 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 = 25
ai_accel_modifier = 0.51                        ; acceleration grip efficiency
ai_decel_modifier = 0.98                        ; braking grip efficiency
ai_fuel_use = 1.01				; > 1.0 = more fuel consumed
ai_grip_modifier = 1.02				; > 1.0 = more grip
ai_drag_modifier = 1.00                        	; > 1.0 = more drag, which is slower
ai_line_modifier = 0.99                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.08                        	; > 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.2
ai_drafting_distance = 1.1                     	; original DR value 1.25
ai_panic_decel = 6.0
ai_dlongpad_scale = 6.00
ai_dlat_pad = 0.11
ai_squeeze_pcnt = 2.0
ai_inverse_slipcurve_k = 0.26              	; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_gns ]
ai_accel_modifier = 0.51			; acceleration grip efficiency
ai_decel_modifier = 0.98			; braking grip efficiency
ai_fuel_use = 1.01				; > 1.0 = more fuel consumed
ai_grip_modifier = 1.015 			; > 1.0 = more grip
ai_drag_modifier = 1.00			 	; > 1.0 = more drag, which is slower
ai_line_modifier = 0.99				; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.08				; > 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_pacing_distance = 2.0
ai_bunching_distance = 1.2
ai_drafting_distance = 1.12                     	; original DR value 1.25
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.11
ai_squeeze_pcnt = 2.0
ai_inverse_slipcurve_k = 0.26             	; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_cts ]
ai_accel_modifier = 0.52                        ; acceleration grip efficiency
ai_decel_modifier = 1.15                        ; braking grip efficiency
ai_fuel_use = 1.10                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 1.01                        	; > 1.0 = more grip
ai_drag_modifier = 1.00				; > 1.0 = more drag, which is slower
ai_line_modifier = 0.99				; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.09                         ; > 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.12
ai_dlongpad_scale = 11.00
ai_dlat_pad = 0.1250
ai_squeeze_pcnt = 2.0
ai_inverse_slipcurve_k = 0.26                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 12.36
pit0_entrance_point0_dlong = 98.51
pit0_entrance_point1_dlat = -.22
pit0_entrance_point1_dlong = 98.51
pit1_entrance_point0_dlat = 39.40
pit1_entrance_point0_dlong = 490.0
pit1_entrance_point1_dlat = 23.35
pit1_entrance_point1_dlong = 490


[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 500.00              ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong =  1.00	                ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 20.0                 ; length of merge window
pit_lane_end_dlong = 410.74               	; dlong where pit lane proper ends
pit_lane_start_dlong = 151.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 = 7.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 = 466.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 = 50.0

; special stalls ( pittool  defaults this to stall_0 )
stall_qual_exit = 405 -1.98000001907 0

; regular stalls
stall_0 = 407 -12.48 0
stall_1 = 398 -12.48 0
stall_2 = 389 -12.48 0
stall_3 = 380 -12.48 0
stall_4 = 371 -12.48 0
stall_5 = 362 -12.48 0
stall_6 = 353 -12.48 0
stall_7 = 344 -12.48 0
stall_8 = 335 -12.48 0
stall_9 = 326 -12.48 0
stall_10 = 317 -12.48 0
stall_11 = 308 -12.48 0
stall_12 = 299 -12.48 0
stall_13 = 290 -12.48 0
stall_14 = 281 -12.48 0
stall_15 = 272 -12.48 0
stall_16 = 263 -12.48 0
stall_17 = 254 -12.48 0
stall_18 = 245 -12.48 0
stall_19 = 236 -12.48 0
stall_20 = 245 -12.48 0
stall_21 = 227 -12.48 0
stall_22 = 218 -12.48 0
stall_23 = 209 -12.48 0
stall_24 = 200 -12.48 0
stall_25 = 191 -12.48 0
stall_26 = 182 -12.48 0
stall_27 = 173 -12.48 0
stall_28 = 164 -12.48 0
stall_29 = 155 -12.48 0



[ 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 = 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.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 = 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
merge_from_pit_line_dlong = 350.0		; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 500.0                 ; dlong at which cars entering pits will merge to pit line
begin_pacestall_entry_offset = 10		; offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 10.0          ; offset at which to begin approaching the pit stall
pacestall_exit_goal_dlong_offset = 1.0          ; goal dlong offset (ahead) for the pit stall exit 
pacestall_exit_goal_dlat_offset = -1.0          ; goal dlat offset for the pit stall exit
stall_pace = 57.08 74.72 0


[ starting_grid_0 ]
stall_pace = 55.00 36.04 0.00
stall_0 = 40.00 38.08 0.03
stall_1 = 40.00 34.08 0.03
stall_2 = 27.05 37.59 0.08
stall_3 = 27.05 33.59 0.08
stall_4 = 16.49 36.81 0.07
stall_5 = 16.49 32.81 0.07
stall_6 = 7.88 36.45 0.02
stall_7 = 7.88 32.45 0.02
stall_8 = 718.49 36.52 -0.03
stall_9 = 718.49 32.52 -0.03
stall_10 = 709.88 36.90 -0.07
stall_11 = 709.88 32.90 -0.07
stall_12 = 701.29 37.63 -0.11
stall_13 = 701.29 33.63 -0.11
stall_14 = 689.95 38.56 -0.09
stall_15 = 689.95 34.56 -0.09
stall_16 = 676.84 39.06 -0.03
stall_17 = 676.84 35.06 -0.03
stall_18 = 663.64 39.13 0.01
stall_19 = 663.64 35.13 0.01
stall_20 = 650.47 38.89 0.04
stall_21 = 650.47 34.89 0.04
stall_22 = 637.38 38.45 0.06
stall_23 = 637.38 34.45 0.06
stall_24 = 624.41 37.85 0.07
stall_25 = 624.41 33.85 0.07
stall_26 = 611.57 37.17 0.08
stall_27 = 611.57 33.17 0.08
stall_28 = 598.86 36.49 0.08
stall_29 = 598.86 32.49 0.08
						

[ starting_grid_1 ]
stall_pace = 360.00 33.66 -0.12
stall_0 = 345.00 34.98 -0.12
stall_1 = 345.00 30.98 -0.12
stall_2 = 336.75 36.06 -0.14
stall_3 = 336.75 32.06 -0.14
stall_4 = 325.37 36.97 -0.09
stall_5 = 325.37 32.97 -0.09
stall_6 = 313.70 37.50 -0.05
stall_7 = 313.70 33.50 -0.05
stall_8 = 301.96 37.71 -0.01
stall_9 = 301.96 33.71 -0.01
stall_10 = 290.19 37.65 0.02
stall_11 = 290.19 33.65 0.02
stall_12 = 278.46 37.41 0.03
stall_13 = 278.46 33.41 0.03
stall_14 = 266.79 37.05 0.05
stall_15 = 266.79 33.05 0.05
stall_16 = 255.20 36.59 0.06
stall_17 = 255.20 32.59 0.06
stall_18 = 243.70 36.08 0.06
stall_19 = 243.70 32.08 0.06
stall_20 = 232.27 35.65 0.05
stall_21 = 232.27 31.65 0.05
stall_22 = 220.89 35.33 0.03
stall_23 = 220.89 31.33 0.03
stall_24 = 209.55 35.14 0.02
stall_25 = 209.55 31.14 0.02
stall_26 = 198.23 35.01 0.02
stall_27 = 198.23 31.01 0.02
stall_28 = 186.93 34.88 0.01
stall_29 = 186.93 30.88 0.01
						

[ SPCC ]
num_named_sections = 6
name_0 = 67 162 T1
name_1 = 163 251 T2
name_2 = 252 374 BSTR
name_3 = 375 489 T3
name_4 = 490  580 107 T4
name_5 = 581 66 FSTR


