[ track ]
track_name = Spencer Speedway night
track_name_short = Spencer_dr_night
track_city = Williamson 
track_state = NY
track_length_n_type = 0.5 mile Oval
track_misc_info_1 = Turns 1 & 2 banked 5°
track_misc_info_2 = Turns 3 & 4 variable banked 5°  
track_misc_info_3 = Frontstretch banked 5°
track_misc_info_4 = Backstretch banked 5°   
track_num_turns = 4
track_length = 0.50m
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 = 25
track_tire_heat = 1.25
track_tire_wear = 0.40				;> 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.08                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.30			;> 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.27 
track_north_angle = 330		                ; 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 = 924.00 954.00

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

[ cup ]
record_lap_time = 
record_holder = 

[ gns ]
record_lap_time = 
record_holder = 

[ cts ]
record_lap_time = 
record_holder = 

[ weather ]
track_base_temp = 67.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 = 13.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.60		                ; probability of cloud cover, 0.0 to 1.0


[CrowdSound]
num_sources = 4
pos_0 = -69 -70 6
pos_1 = -237 -111 4
pos_2 = -233 144 5
pos_3 = -74 189 5

[ ai_track ]
pace_merge_from_pit_line_dlong = 226.50
pace_merge_to_pit_line_dlong = 683.53
pace_speed_limit_mph = 40
ai_accel_modifier = 0.54			 ; acceleration grip efficiency
ai_decel_modifier = 0.98			 ; braking grip efficiency
ai_fuel_use = 1.00 ;0.98				 ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.91				 ; > 1.0 = more grip
ai_drag_modifier = 1.27				 ; > 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.095			 ; > 1.0 = faster during qualifying
ai_wall_offset = 100                             ; 100 = full-time AI collision detection
ai_tire_wear_left = 1.05			 ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.36			 ; 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.131              ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.372		 ; lap time gain from low fuel
strategy_base_pitting_cost = 30.0		 ; time lost to a stop & go pitstop
ai_pacing_distance = 2.0
ai_bunching_distance = 1.5
ai_drafting_distance = 1.1
ai_panic_decel = 6.0
ai_dlongpad_scale = 4.0
ai_dlat_pad = 0.0
ai_squeeze_pcnt = 0.00
ai_inverse_slipcurve_k = 0.20                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_gns ]
ai_accel_modifier = 0.58			 ; acceleration grip efficiency
ai_decel_modifier = 0.98			 ; braking grip efficiency
ai_fuel_use = 1.00				 ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.89				 ; > 1.0 = more grip
ai_drag_modifier = 1.27				 ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.0				 ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.097		         ; > 1.0 = faster during qualifying
ai_tire_wear_left = 1.05 		         ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.37			 ; right tire wear adjuster for ai
ai_panic_decel = 6.0				; G's of extra deceleration inducing panic
ai_dlongpad_scale = 5.0			        ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.0
ai_inverse_slipcurve_k = 0.20                   ; 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 = 0.98                        ; braking grip efficiency
ai_fuel_use = 1.00                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.91                         ; > 1.0 = more grip
ai_drag_modifier = 1.27                         ; > 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.08                         ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.81                        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.02                       ; right tire wear adjuster for ai
ai_pacing_distance = 2.0
ai_bunching_distance = 1.5
ai_drafting_distance = 1.1
ai_dlat_pad = 0.0
ai_inverse_slipcurve_k = 0.20                   ; how much slip angle AI need to corner. smaller = more, more = increased drag



[ AppRuleEnterPits ]
pit0_entrance_point0_dlat  = 60.00
pit0_entrance_point0_dlong  = 824.83
pit0_entrance_point1_dlat  = 48.39
pit0_entrance_point1_dlong  = 836.63

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 252.85              ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 625.37                ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 35.0                 ; length of merge window
pit_lane_end_dlong = 162.39                     ; dlong where pit lane proper ends
pit_lane_start_dlong = 830.77                   ; 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 = 15.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 = 201.06                       ; 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 = 50.0		; offset at which to begin approaching the pit stall
pacestall_exit_goal_dlong_offset =8.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 = 183.41 47.12 -0.70

; special stalls
stall_qual_exit = 160.55 54.21 -0.60

; regular stalls
stall_0 = 157.55 54.90 -0.64
stall_1 = 137.55 60.34 -0.50
stall_2 = 116.55 63.57 -0.28
stall_3 = 93.55 64.97 -0.08
stall_4 = 80.55 64.97 0.00
stall_5 = 71.05 64.97 0.00
stall_6 = 61.55 64.97 0.00
stall_7 = 52.05 64.97 0.00
stall_8 = 42.55 64.97 0.00
stall_9 = 33.05 64.97 0.00
stall_10 = 23.55 64.97 0.00
stall_11 = 14.05 64.97 0.00
stall_12 = 4.55 64.97 0.00
stall_13 = 978.68 64.97 0.00
stall_14 = 969.18 64.97 0.00
stall_15 = 959.68 64.97 0.00
stall_16 = 950.18 64.97 0.00
stall_17 = 940.68 64.97 0.00
stall_18 = 931.18 64.97 0.00
stall_19 = 921.68 64.97 0.00
stall_20 = 912.18 64.97 0.00
stall_21 = 902.68 64.97 0.00
stall_22 = 893.18 64.97 0.00
stall_23 = 870.18 64.17 0.22
stall_24 = 847.18 61.29 0.40


[ starting_grid_0 ]
  ; 2x2 unstaggered grid
  ; polesitter on left
stall_pace = 11.35 29.21 0.00
stall_0 = 976.50 31.90 0.00
stall_1 = 976.50 26.90 0.00
stall_2 = 968.00 31.90 0.00
stall_3 = 968.00 26.90 0.00
stall_4 = 959.50 31.90 0.00
stall_5 = 959.50 26.90 0.00
stall_6 = 951.00 31.90 0.00
stall_7 = 951.00 26.90 0.00
stall_8 = 942.50 31.90 0.00
stall_9 = 942.50 26.90 0.00
stall_10 = 934.00 31.90 0.00
stall_11 = 934.00 26.90 0.00
stall_12 = 925.50 31.90 0.00
stall_13 = 925.50 26.90 0.00
stall_14 = 917.50 31.90 0.00
stall_15 = 917.50 26.90 0.00
stall_16 = 908.50 31.90 0.00
stall_17 = 908.50 26.90 0.00
stall_18 = 900.00 31.90 0.00
stall_19 = 900.00 26.90 0.00
stall_20 = 891.50 31.90 0.00
stall_21 = 891.50 26.90 0.00
stall_22 = 876.50 31.90 0.00
stall_23 = 876.50 26.90 0.00
stall_24 = 861.50 31.90 0.00
stall_25 = 861.50 26.90 0.00
stall_26 = 846.50 31.90 0.00
stall_27 = 846.50 26.90 0.00
stall_28 = 831.50 31.90 0.00
stall_29 = 831.50 26.90 0.00
stall_30 = 816.50 31.90 0.00
stall_31 = 816.50 26.90 0.00
stall_32 = 801.50 31.90 0.00
stall_33 = 801.50 26.90 0.00
stall_34 = 786.50 31.90 0.00
stall_35 = 786.50 26.90 0.00
stall_36 = 771.50 31.90 0.00
stall_37 = 771.50 26.90 0.00
stall_38 = 756.50 31.90 0.00
stall_39 = 756.50 26.90 0.00
stall_40 = 741.50 31.90 0.00
stall_41 = 741.50 26.90 0.00
stall_42 = 726.50 31.90 0.00

[ starting_grid_1 ]

stall_pace = 580.97 29.21 0.00
stall_0 = 568.00 31.90 0.00
stall_1 = 568.00 26.90 0.00
stall_2 = 559.50 31.90 0.00
stall_3 = 559.50 26.90 0.00
stall_4 = 551.00 31.90 0.00
stall_5 = 551.00 26.90 0.00
stall_6 = 542.50 31.90 0.00
stall_7 = 542.50 26.90 0.00
stall_8 = 534.00 31.90 0.00
stall_9 = 534.00 26.90 0.00
stall_10 = 525.50 31.90 0.00
stall_11 = 525.50 26.90 0.00
stall_12 = 517.00 31.90 0.00
stall_13 = 517.00 26.90 0.00
stall_14 = 508.50 31.90 0.00
stall_15 = 508.50 26.90 0.00
stall_16 = 500.00 31.90 0.00
stall_17 = 500.00 26.90 0.00
stall_18 = 491.50 31.90 0.00
stall_19 = 491.50 26.90 0.00
stall_20 = 483.00 31.90 0.00
stall_21 = 483.00 26.90 0.00
stall_22 = 474.50 31.90 0.00
stall_23 = 474.50 26.90 0.00
stall_24 = 466.00 31.90 0.00
stall_25 = 466.00 26.90 0.00
stall_26 = 457.50 31.90 0.00
stall_27 = 457.50 26.90 0.00
stall_28 = 449.00 31.90 0.00
stall_29 = 449.00 26.90 0.00
stall_30 = 440.50 31.90 0.00
stall_31 = 440.50 26.90 0.00
stall_32 = 432.00 31.90 0.00
stall_33 = 432.00 26.90 0.00
stall_34 = 423.50 31.90 0.00
stall_35 = 423.50 26.90 0.00
stall_36 = 415.00 31.90 0.00
stall_37 = 415.00 26.90 0.00
stall_38 = 406.50 31.90 0.00
stall_39 = 406.50 26.90 0.00
stall_40 = 392.50 31.90 0.00
stall_41 = 392.50 26.90 0.00
stall_42 = 377.50 31.90 0.00



[ 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



