[ track ]
track_name = Brockville Motor Speedway (Nite)
track_name_short = Brockville (Nite)
track_city = Brockville
track_state = ON
track_length_n_type = 0.400-mile Oval.
track_misc_info_1 = Turns banked 15 Degrees.
track_misc_info_2 = Straights banked 5 Degrees.
track_num_turns = 4
track_length = 0.400m
track_altitude = 20.0
track_type = 0					;short oval
chassis_type = 3				;short track
default_event_laps = 312
default_qual_laps = 2
track_base_month = 9                            ; the race month used for single, multi, and testing
max_starters = 43
track_tire_heat = 1.15
track_tire_wear = 0.68				;> 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.22                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.96                       ;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.65		;> 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.65 		        ;> means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 0		                ; 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 = 579.29 623.54

[ track_cts ]
track_tire_heat = 1.50
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.22                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.94                       ;> 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.14 		        ;> means more grip.  Again, keep between about 0.9 and 1.05
;track_ashpahlt_grip = 0.99
;track_concrete_grip = 1.18

[ cup ]
record_lap_time = 17.272
record_holder = Rob King

[ cts ]
record_lap_time = 18.281
record_holder = Rob King

[ gns ]
record_lap_time = 17.514
record_holder = Rob King

[ weather ]
track_base_temp = 62.7		                ; 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 = 13.0                         ; 
track_wind_speed = 8.0		                ; average wind speed at the track in MPH
track_wind_speed_range = 10.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.60		                ; probability of cloud cover, 0.0 to 1.0

[CrowdSound]
num_sources = 4
pos_0 = -235 90 6
pos_1 = 235 -80 4
pos_2 = 190 135 5

[ ai_track ]
pace_merge_from_pit_line_dlong = 262.10
pace_merge_to_pit_line_dlong = 291.00
pace_speed_limit_mph = 40
ai_accel_modifier = 0.98			 ; acceleration grip efficiency
ai_decel_modifier = 0.98			 ; braking grip efficiency
ai_fuel_use = 0.98				 ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.97				 ; > 1.0 = more grip
ai_drag_modifier = 0.88				 ; > 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.045			 ; > 1.0 = faster during qualifying
ai_wall_offset = 100				 ; 100 = full-time AI collision detection
ai_tire_wear_left = 0.71                         ; left tire wear adjuster for ai
ai_tire_wear_right = 0.84                        ; right tire wear adjuster for ai
ai_arcade_tire_wear = 0.4			 ; lower = less wear (used in addition to the above left/right modifiers)
ai_arcade_fuel_use = 0.713			 ; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.82			 ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.17			 ; > 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 = 43.209              ; time lost to a stop & go pitstop
ai_pacing_distance = 1.9
ai_bunching_distance = 1.8
ai_drafting_distance = 1.10
ai_panic_decel = 6.0
ai_dlongpad_scale = 5.0
ai_dlat_pad = 0.79
ai_squeeze_pcnt = 0.0
ai_inverse_slipcurve_k = 0.38

[ ai_track_gns ]
ai_accel_modifier = 0.98			 ; acceleration grip efficiency
ai_decel_modifier = 0.98			 ; braking grip efficiency
ai_fuel_use = 0.98				 ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.99				 ; > 1.0 = more grip
ai_drag_modifier = 0.89				 ; > 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.043			 ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.71                         ; left tire wear adjuster for ai
ai_tire_wear_right = 0.84                        ; right tire wear adjuster for ai
ai_inverse_slipcurve_k = 0.41

[ ai_track_cts ]
ai_accel_modifier = 0.55			 ; acceleration grip efficiency was 0.98
ai_decel_modifier = 1.75			 ; braking grip efficiency was 0.99
ai_fuel_use = 1.08				 ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.91			         ; > 1.0 = more grip was 0.97
ai_drag_modifier = 1.00				 ; > 1.0 = more drag, which is slower was 0.89
ai_line_modifier = 1.06 		         ; dangerous hack, don't use unless you are a trained professional was 0.99
ai_qual_modifier = 1.043			 ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.54                         ; left tire wear adjuster for ai
ai_tire_wear_right = 0.68                        ; right tire wear adjuster for ai
ai_bunching_distance = 1.4		   	 ; new value here
ai_drafting_distance = 1.3		   	 ; new value here
ai_panic_decel = 6.0			   	 ; new value here
ai_dlat_pad = 0.85                               ; was 0.79
ai_squeeze_pcnt = 0.0
ai_inverse_slipcurve_k = 1.00			 ; was 0.36

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 8.00
pit0_entrance_point0_dlong = 386.307
pit0_entrance_point1_dlat = 24.10
pit0_entrance_point1_dlong = 386.307

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 257.383       	; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 286.00         	; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 100                	; length of merge window
pit_lane_end_dlong = 257.383                 	; dlong where pit lane proper ends
pit_lane_start_dlong = 386.307      		; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 4.3			; 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 = 13.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 = 262.10                       ; 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 = 35.0

; pace car
begin_pacestall_entry_offset = 25.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 = 20.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 = 256.88 20.61 -0.01

; special stalls
stall_qual_exit = 248.14 20.89 -0.06

; regular stalls
stall_0 = 248.14 21.50 -0.06
stall_1 = 237.99 21.50 -0.05
stall_2 = 222.84 21.50 -0.01
stall_3 = 207.63 21.50 -0.03
stall_4 = 192.33 21.50 0.02
stall_5 = 177.10 21.50 0.03
stall_6 = 161.95 21.50 -0.06
stall_7 = 146.61 21.50 -0.04
stall_8 = 131.08 21.50 -0.02
stall_9 = 115.47 21.50 0.03
stall_10 = 100.03 21.50 0.03
stall_11 = 84.72 21.50 0.05
stall_12 = 74.18 21.50 0.03
stall_13 = 65.44 21.50 0.02
stall_14 = 56.69 21.50 -0.01
stall_15 = 47.94 21.50 -0.02
stall_16 = 39.20 21.50 -0.02
stall_17 = 30.45 21.50 -0.02
stall_18 = 21.71 21.50 -0.01
stall_19 = 12.96 21.50 -0.00
stall_20 = 4.21 21.50 -0.01
stall_21 = 639.21 21.50 -0.01
stall_22 = 630.46 21.50 0.00
stall_23 = 621.72 21.50 0.01
stall_24 = 612.97 21.50 0.01
stall_25 = 604.22 21.50 0.01
stall_26 = 595.48 21.50 0.01
stall_27 = 586.73 21.50 0.02
stall_28 = 577.98 21.50 0.02
stall_29 = 569.24 21.50 -0.01
stall_30 = 558.47 21.50 -0.06
stall_31 = 543.23 21.50 -0.02
stall_32 = 527.90 21.50 0.02
stall_33 = 512.59 21.50 -0.01
stall_34 = 497.27 21.50 -0.02
stall_35 = 481.87 21.50 -0.03
stall_36 = 466.37 21.50 0.03
stall_37 = 450.94 21.50 -0.02
stall_38 = 435.45 21.50 -0.02
stall_39 = 419.89 21.50 0.03
stall_40 = 405.33 21.50 0.06
stall_41 = 395.80 21.50 0.01
stall_42 = 388.31 20.50 -0.02

[ starting_grid_0 ]
stall_pace = 147.22 13.05 0.00
stall_0 = 136.88 15.05 -0.22
stall_1 = 136.88 11.05 -0.22
stall_2 = 126.54 15.05 -0.17
stall_3 = 126.54 11.05 -0.17
stall_4 = 115.73 15.05 -0.13
stall_5 = 115.73 11.05 -0.13
stall_6 = 104.55 15.05 -0.06
stall_7 = 104.55 11.05 -0.06
stall_8 = 93.16 15.05 0.01
stall_9 = 93.16 11.05 0.01
stall_10 = 81.78 15.21 0.02
stall_11 = 81.78 11.05 0.02
stall_12 = 70.45 15.05 0.02
stall_13 = 70.45 11.05 0.02
stall_14 = 59.17 15.05 0.02
stall_15 = 59.17 11.05 0.02
stall_16 = 47.94 15.05 0.04
stall_17 = 47.94 11.05 0.04
stall_18 = 36.81 15.05 0.03
stall_19 = 36.81 11.05 0.03
stall_20 = 25.75 15.05 0.03
stall_21 = 25.75 11.05 0.03
stall_22 = 14.76 15.05 0.05
stall_23 = 14.76 11.05 0.05
stall_24 = 03.89 15.05 0.08
stall_25 = 03.89 11.05 0.08
stall_26 = 632.26 15.05 0.14
stall_27 = 632.26 11.05 0.14
stall_28 = 621.02 15.05 0.20
stall_29 = 621.02 11.05 0.20
stall_30 = 610.98 15.05 0.16
stall_31 = 610.98 11.05 0.16
stall_32 = 599.45 15.05 0.09
stall_33 = 599.45 11.05 0.09
stall_34 = 588.85 15.05 0.06
stall_35 = 588.85 11.05 0.06
stall_36 = 577.24 15.05 0.05
stall_37 = 577.24 11.05 0.05
stall_38 = 566.62 15.05 0.02
stall_39 = 566.62 11.05 0.02
stall_40 = 555.00 15.05 -0.00
stall_41 = 555.00 11.05 -0.00
stall_42 = 544.38 15.05 -0.02

[ starting_grid_1 ]
stall_pace = 360 -2.26 0.00
stall_0 = 350.00 -0.26 -0.00
stall_1 = 350.00 -4.26 -0.00
stall_2 = 340.34 -0.25 0.00
stall_3 = 340.34 -4.25 0.00
stall_4 = 330.68 -0.29 0.00
stall_5 = 330.68 -4.29 0.00
stall_6 = 321.01 -0.31 0.00
stall_7 = 321.01 -4.31 0.00
stall_8 = 311.35 -0.29 -0.01
stall_9 = 311.35 -4.29 -0.01
stall_10 = 301.69 -0.22 -0.01
stall_11 = 301.69 -4.22 -0.01
stall_12 = 292.03 -0.15 -0.00
stall_13 = 292.03 -4.15 -0.00
stall_14 = 282.37 -0.15 0.00
stall_15 = 282.37 -4.15 0.00
stall_16 = 272.70 -0.18 0.00
stall_17 = 272.70 -4.18 0.00
stall_18 = 263.04 -0.22 0.00
stall_19 = 263.04 -4.22 0.00
stall_20 = 253.38 -0.19 -0.02
stall_21 = 253.38 -4.19 -0.02
stall_22 = 243.78 0.14 -0.05
stall_23 = 243.78 -3.86 -0.05
stall_24 = 234.45 0.46 -0.02
stall_25 = 234.45 -3.54 -0.02
stall_26 = 225.09 0.56 -0.00
stall_27 = 225.09 -3.44 -0.00
stall_28 = 215.72 0.59 0.00
stall_29 = 215.72 -3.41 0.00
stall_30 = 206.35 0.68 0.00
stall_31 = 206.35 -3.32 0.00
stall_32 = 196.97 0.83 -0.00
stall_33 = 196.97 -3.17 -0.00
stall_34 = 187.58 0.95 -0.00
stall_35 = 187.58 -3.05 -0.00
stall_36 = 178.18 0.96 0.00
stall_37 = 178.18 -3.04 0.00
stall_38 = 168.79 0.93 0.00
stall_39 = 168.79 -3.07 0.00
stall_40 = 159.39 0.92 0.00
stall_41 = 159.39 -3.08 0.00
stall_42 = 150.00 0.92 -0.00

[ SPCC ]
num_named_sections = 6

name_0 = 80.47 160.91 T1
name_1 = 160.91 241.39 T2
name_2 = 241.39 402.32 BSTR
name_3 = 402.32 482.79 T3
name_4 = 482.79 563.28 T4
name_5 = 563.28 80.47 FSTR
