[ track ]
track_name = Star Speedway 2020d PST
track_name_short = Star Speedway 2020 PST
track_city = Epping
track_state = NH
track_length_n_type = 0.250 mi slightly D-Shaped Oval
track_misc_info_1 = Turns 1&2 banked 10°
track_misc_info_2 = Turns 3&4 banked 10°
track_misc_info_3 = Straightaways banked 4-5°
track_misc_info_4 = Track edited by Project: Short Track
track_num_turns = 4
track_length = 0.250m
track_altitude = 125.0
track_type = 0					;short oval
chassis_type = 3				;short track
default_event_laps = 200
default_qual_laps = 1		;2
track_base_month = 8                            ; the race month used for single, multi, and testing
max_starters = 25
track_tire_heat = 1.00
track_tire_wear = 0.33				;> 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.16			; 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.30
;track_wheel_grip = 1.30
;track_chassis_grip = 1.10 			;
;track_undefined_grip = 1.38 			;
track_asphalt_grip = 1.33			;BOTTOM Groove grip.  > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.38			;MIDDLE and HIGH Groove grip.  > means more grip.  Again, keep between about 0.9 and 1.05
track_paint_grip = 1.78
track_grass_grip = 2.50
track_dirt_grip = 2.50
track_rumble_grip = 1.33
track_gravel_grip = 1.10
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 = 600 710			;540 650


[ track_cts ]
track_tire_heat = 0.90
track_tire_wear = 0.33				;> 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 = 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.33			;BOTTOM Groove grip.  > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.38			;MIDDLE Groove grip.  > means more grip.  Again, keep between about 0.9 and 1.05
track_paint_grip = 1.78
  

[ cup ]
record_lap_time = 12.735
record_holder = Tom Baldwin 1987 WMT

[ cts ]
record_lap_time = 13.596
record_holder =  Ricky Craven 1991 BNS

[ gns ]
record_lap_time = 12.735
record_holder = Tom Baldwin 1987 WMT


[ weather ]
track_base_temp = 72.0                          ; 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 = 5.0				; 
track_wind_speed = 5.0                          ; 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.93				; probability of clear skies, 0.0 to 1.0
              

[CrowdSound]
num_sources = 4
pos_0 = 620 40 3
pos_1 = 760 45 5
pos_2 = 800 45 5
pos_3 = 40  45 5


[ ai_track ]
pace_merge_from_pit_line_dlong = 175 
pace_merge_to_pit_line_dlong = 545
pace_speed_limit_mph = 30
ai_accel_modifier = 0.32			; acceleration grip efficiency
ai_decel_modifier = 1.05			; 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 = 1.00				; > 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_wall_offset = 100				; 100 = full-time AI collision detection
ai_tire_wear_left = 0.71			; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.84			; right tire wear adjuster for ai
ai_arcade_tire_wear = 0.88			; 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 = 23.209		; time lost to a stop & go pitstop
ai_pacing_distance = 1.70			; car lengths behind while pacing
ai_bunching_distance = 1.40			; car lengths behind while bunching for start
ai_drafting_distance = 1.25			; car lengths behind while racing
ai_panic_decel = 5.0
ai_dlongpad_scale = 5.50
ai_dlat_pad = 0.45
ai_squeeze_pcnt = 0.40
ai_inverse_slipcurve_k = 0.25			; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_gns ]
ai_accel_modifier = 0.32			; acceleration grip efficiency
ai_decel_modifier = 1.05			; 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 = 1.00				; > 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 = 0.71			; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.84			; right tire wear adjuster for ai
ai_pacing_distance = 1.70			; car lengths behind while pacing
ai_bunching_distance = 1.40			; car lengths behind while bunching for start
ai_drafting_distance = 1.20			; car lengths behind while racing
ai_panic_decel = 5.0
ai_dlongpad_scale = 5.50
ai_dlat_pad = 0.45
ai_squeeze_pcnt = 0.00
ai_inverse_slipcurve_k = 0.27			; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_cts ]
ai_accel_modifier = 0.33			; acceleration grip efficiency
ai_decel_modifier = 1.05			; braking grip efficiency
ai_fuel_use = 0.98				; > 1.0 = more fuel consumed
ai_grip_modifier = 0.975			; > 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.06				; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.71			; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.84			; right tire wear adjuster for ai
ai_pacing_distance = 1.70			; car lengths behind while pacing
ai_bunching_distance = 1.40			; car lengths behind while bunching for start
ai_drafting_distance = 1.27			; car lengths behind while racing
ai_panic_decel = 5.0
ai_dlongpad_scale = 5.50
ai_dlat_pad = 0.25
ai_squeeze_pcnt = 0.00
ai_inverse_slipcurve_k = 0.26                    ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 40.42 
pit0_entrance_point0_dlong = 449.62
pit0_entrance_point1_dlat = 44.85 
pit0_entrance_point1_dlong = 527.12 


[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 800			; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 350			; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 60			; length of merge window
pit_lane_end_dlong = 635.67			; dlong where pit lane proper ends
pit_lane_start_dlong = 527.12			; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 4.5			; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = 5.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 = 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 = 675				; 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 = 55.0


; special stalls
stall_qual_exit = 673.00 28.00 0.785


; regular stalls
stall_0 = 621.19 -108.62 0.46
stall_1 = 617.26 -112.52 0.43
stall_2 = 613.26 -116.18 0.35
stall_3 = 609.25 -118.69 0.29
stall_4 = 605.35 -121.10 0.28
stall_5 = 601.37 -123.23 0.20
stall_6 = 597.34 -124.43 0.08
stall_7 = 593.40 -125.23 0.06
stall_8 = 589.41 -125.95 0.04
stall_9 = 585.35 -125.95 -0.05
stall_10 = 581.42 -125.55 -0.07
stall_11 = 577.46 -125.12 -0.07
stall_12 = 573.39 -124.12 -0.18
stall_13 = 569.43 -122.39 -0.21
stall_14 = 565.47 -120.33 -0.25
stall_15 = 561.51 -118.24 -0.27
stall_16 = 557.49 -115.99 -0.28
stall_17 = 553.47 -112.76 -0.43
stall_18 = 549.67 -108.74 -0.49
stall_19 = 546.00 -103.52 -0.65
stall_20 = 542.56 -97.79 -0.72
stall_21 = 539.34 -91.00 -0.88
stall_22 = 536.34 -83.77 -0.92
stall_23 = 533.29 -76.45 -0.94
stall_24 = 530.21 -68.99 -0.96

						;stall_0 = 625.21 -104.23 0.58


[ pit_lane_1 ]
; pace car
merge_from_pit_line_dlong = 370			; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 660			; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 100			; length of merge window
pacestall_exit_goal_dlat_offset = -1.0		; goal dlat offset (+ left) for the pit stall exit cubic line
pacestall_exit_goal_dlong_offset = 1.0		; goal dlong offset (ahead) for the pit stall exit cubic line 
begin_pacestall_entry_offset = 10.0			; offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 10.0		; offset at which to begin approaching the pit stall
stall_pace = 10.55 87.25 0.0             	 

; race control stuff
lane_on_right = 0				; 0 if on left, 1 if on right
lane_has_wall = 0				; 0 no wall, 1 has wall
speed_limit_MPH = 55




[ starting_grid_0 ]
stall_pace = 41.00 56.90 0.18
stall_0 = 30.00 57.42 0.14
stall_1 = 30.00 53.42 0.14
stall_2 = 22.96 56.58 0.09
stall_3 = 22.96 52.58 0.09
stall_4 = 15.89 56.05 0.06
stall_5 = 15.89 52.05 0.06
stall_6 = 8.80 55.74 0.03
stall_7 = 8.80 51.74 0.03
stall_8 = 1.71 55.60 0.01
stall_9 = 1.71 51.60 0.01
stall_10 = 800.22 55.60 -0.01
stall_11 = 800.22 51.60 -0.01
stall_12 = 793.13 55.80 -0.04
stall_13 = 793.13 51.80 -0.04
stall_14 = 786.05 56.19 -0.07
stall_15 = 786.05 52.19 -0.07
stall_16 = 778.98 56.84 -0.11
stall_17 = 778.98 52.84 -0.11
stall_18 = 771.95 57.73 -0.15
stall_19 = 771.95 53.73 -0.15
stall_20 = 764.96 58.94 -0.19
stall_21 = 764.96 54.94 -0.19
stall_22 = 753.84 60.39 -0.18
stall_23 = 753.84 56.39 -0.18
stall_24 = 738.06 61.43 -0.11
stall_25 = 738.06 57.43 -0.11
stall_26 = 720.65 61.74 -0.00



[ starting_grid_1 ]
stall_pace = 397 55 0.00
stall_0 = 390.00 56.50 0.00
stall_1 = 390.00 53.00 0.00
stall_2 = 382.69 56.50 0.00
stall_3 = 382.69 53.00 0.00
stall_4 = 375.37 56.50 0.00
stall_5 = 375.37 53.00 0.00
stall_6 = 368.05 56.50 0.00
stall_7 = 368.05 53.00 0.00
stall_8 = 360.74 56.50 0.00
stall_9 = 360.74 53.00 0.00
stall_10 = 353.42 56.50 0.00
stall_11 = 353.42 53.00 0.00
stall_12 = 344.75 56.50 0.00
stall_13 = 344.75 53.00 0.00
stall_14 = 330.30 56.50 0.00
stall_15 = 330.30 53.00 0.00
stall_16 = 315.73 56.50 0.00
stall_17 = 315.73 53.00 0.00
stall_18 = 301.12 56.50 0.00
stall_19 = 301.12 53.00 0.00
stall_20 = 286.49 56.50 0.00
stall_21 = 286.49 53.00 0.00
stall_22 = 271.87 56.50 0.00
stall_23 = 271.87 53.00 0.00
stall_24 = 257.27 56.50 0.00
stall_25 = 257.27 53.00 0.03
stall_26 = 242.29 56.11 0.05


[ SPCC ]
num_named_sections = 6
name_0 = 50 200 T1
name_1 = 200 350 T2
name_2 = 350 460 BSTR
name_3 = 460 600 T3
name_4 = 600 750 T4
name_5 = 750 50 FSTR
