[ track ]
track_name = Central PA Speedway
track_name_short = Central PA
track_city = Clearfield
track_state = PA
track_length_n_type = .625-mile Oval
track_misc_info_1 = Turns 1&2 banked 12.5°
track_misc_info_2 = Turns 3&4 banked 13.5°
track_misc_info_3 = Frontstretch 816 feet banked 8.5°
track_misc_info_4 = 816 feet banked 8.5°
track_num_turns = 4
track_length = 0.625m
track_altitude = 1600.0
track_type = 0                                  ; long oval
chassis_type = 2                                ; speedway
default_event_laps = 400
default_qual_laps = 2
track_base_month = 5                            ; the race month used for single, multi, and testing
max_starters = 30
track_tire_heat = 0.81                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 0.86                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.46                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 1.24                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.50                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.58                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 90                         ; angle of true north in degrees
track_grass_grip = 1.6 
track_dirt_grip = 1.4

; 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 = 1000.0 1008.0

[ cup ]
record_lap_time = 0.00
record_holder = Unknown


[ weather ]
track_base_temp = 55.6                          ; track average temperature on April 1 in deg F
track_temp_range = 10.5                         ; one standard deviation from average in deg F
track_temp_swing = 10.0                         ; 
track_wind_speed = 7.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 = 200                      ; compass heading in degrees from which wind is most likely (in this case from Northwest)
track_cloud_prob = 0.43                         ; probability of cloud cover, 0.0 to 1.0

[CrowdSound]
num_sources = 4
pos_0 = 303 222 4
pos_1 = -82 284 4
pos_2 = 132 -320 12
pos_3 = -35 -322 12


[ ai_track ]
pace_merge_from_pit_line_dlong = 425.000
pace_merge_to_pit_line_dlong = 625.0000
pace_speed_limit_mph = 35
ai_accel_modifier = 1.00                        ; acceleration grip efficiency
ai_decel_modifier = 0.95                        ; braking grip efficiency
ai_fuel_use = 1.00                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.90                        ; > 1.0 = more grip
ai_drag_modifier = 1.056                        ; > 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.053                        ; > 1.0 = faster during qualifying
ai_wall_offset = 100                            ; 100 = full-time AI collision detection
ai_tire_wear_left = 0.50                        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.60                       ; 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 = 0.95                        ; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.95                  ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.145                  ; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 5.45             ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.140         ; lap time gain from low fuel
strategy_base_pitting_cost = 31.800             ; time lost to a stop & go pitstop
ai_pacing_distance = 2.0                        ; car lengths behind while pacing
ai_bunching_distance = 1.7                      ; car lengths behind while bunching for start
ai_drafting_distance = 1.2                      ; car lengths behind while racing
ai_panic_decel = 4.5                            ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 5.0                        ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.75
ai_squeeze_pcnt = 0.0
ai_inverse_slipcurve_k = 0.43                   ; how much slip angle AI need to corner. smaller = more, more = increased drag
  
[ AppRuleEnterPits ] 
pit0_entrance_point0_dlat = 10.71 
pit0_entrance_point0_dlong = 888.47 
pit0_entrance_point1_dlat = -0.12 
pit0_entrance_point1_dlong = 888.47

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 425.0               ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 625.0                 ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 200.0                ; length of merge window
pit_lane_end_dlong = 129.97                 ; dlong where pit lane proper ends
pit_lane_start_dlong = 888.47              ; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 0                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = -4.00              ; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 8.5              ; 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 = 80.0              ; offset at which to begin approaching the pit stall
lane_merge_dlong = 400.0                       ; 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 = 20.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 = 5.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 = 150 12 0


; special stalls
stall_qual_exit = 150 12 0

; regular stalls
stall_0 = 125.65 7.63 0.00
stall_1 = 117.54 7.63 0.00
stall_2 = 109.43 7.63 0.00
stall_3 = 101.31 7.63 0.00
stall_4 = 93.20 7.63 0.00
stall_5 = 85.09 7.63 0.00
stall_6 = 76.97 7.63 0.00
stall_7 = 68.86 7.63 0.00
stall_8 = 60.75 7.63 0.00
stall_9 = 52.63 7.63 0.00
stall_10 = 44.52 7.63 0.00
stall_11 = 36.41 7.63 0.00
stall_12 = 28.29 7.63 0.00
stall_13 = 20.18 7.63 0.00
stall_14 = 12.07 7.63 0.00
stall_15 = 3.95 7.63 0.00
stall_16 = 1000.44 7.63 0.00
stall_17 = 992.32 7.63 0.00
stall_18 = 984.21 7.63 0.00
stall_19 = 976.10 7.63 0.00
stall_20 = 967.98 7.63 0.00
stall_21 = 959.87 7.63 0.00
stall_22 = 951.76 7.63 0.00
stall_23 = 943.64 7.63 0.00
stall_24 = 935.53 7.63 0.00
stall_25 = 927.42 7.63 0.00
stall_26 = 919.30 7.63 0.00
stall_27 = 911.19 7.63 0.00
stall_28 = 903.08 7.63 0.00
stall_29 = 894.96 7.63 0.00

[ starting_grid_0 ] 
stall_pace = 390 -08.10
stall_0 = 380.00 -7.35 -0.10
stall_1 = 380.00 -11.35 -0.10
stall_2 = 359.05 -6.48 0.01
stall_3 = 359.05 -10.48 0.01
stall_4 = 338.09 -6.98 0.02
stall_5 = 338.09 -10.98 0.02
stall_6 = 317.23 -7.32 0.01
stall_7 = 317.23 -11.32 0.01
stall_8 = 296.42 -7.58 0.02
stall_9 = 296.42 -11.58 0.02
stall_10 = 275.69 -7.91 0.01
stall_11 = 275.69 -11.91 0.01
stall_12 = 255.01 -8.01 -0.00
stall_13 = 255.01 -12.01 -0.00
stall_14 = 234.32 -7.81 -0.02
stall_15 = 234.32 -11.81 -0.02
stall_16 = 213.55 -7.27 -0.03
stall_17 = 213.55 -11.27 -0.03
stall_18 = 192.63 -6.46 -0.03
stall_19 = 192.63 -10.46 -0.03
stall_20 = 171.53 -5.74 -0.02
stall_21 = 171.53 -9.74 -0.02
stall_22 = 150.32 -5.71 0.02
stall_23 = 150.32 -9.71 0.02
stall_24 = 129.22 -7.35 0.13
stall_25 = 129.22 -11.35 0.13
stall_26 = 105.60 -9.70 0.07
stall_27 = 105.60 -13.70 0.07
stall_28 = 81.88 -10.91 0.03
stall_29 = 81.88 -14.91 0.03


[ starting_grid_1 ] 
stall_pace = 647.00 -8.12 0.12
stall_0 = 637.00 -6.12 0.12
stall_1 = 637.00 -10.12 0.12
stall_2 = 619.48 -8.16 0.07
stall_3 = 619.48 -12.16 0.07
stall_4 = 601.76 -9.65 0.04
stall_5 = 601.76 -13.65 0.04
stall_6 = 583.99 -10.44 0.02
stall_7 = 583.99 -14.44 0.02
stall_8 = 566.21 -10.73 0.02
stall_9 = 566.21 -14.73 0.02
stall_10 = 548.42 -11.05 0.02
stall_11 = 548.42 -15.05 0.02
stall_12 = 530.64 -11.38 0.02
stall_13 = 530.64 -15.38 0.02
stall_14 = 512.85 -11.58 0.01
stall_15 = 512.85 -15.58 0.01
stall_16 = 495.06 -11.68 0.00
stall_17 = 495.06 -15.68 0.00
stall_18 = 477.28 -11.60 -0.01
stall_19 = 477.28 -15.60 -0.01
stall_20 = 459.49 -11.29 -0.02
stall_21 = 459.49 -15.29 -0.02
stall_22 = 441.71 -10.92 -0.02
stall_23 = 441.71 -14.92 -0.02
stall_24 = 423.92 -10.61 -0.03
stall_25 = 423.92 -14.61 -0.03
stall_26 = 406.15 -9.88 -0.06
stall_27 = 406.15 -13.88 -0.06
stall_28 = 388.43 -8.35 -0.11
stall_29 = 388.43 -12.35 -0.11

[ spcc ]
num_named_sections = 8 

name_0 = 129.86 255.60 T1 
name_1 = 255.60 382.25 T2 
name_2 = 382.25 635.17 BSTR
name_3 = 1362.17 1471.28 KINK 
name_4 = 1471.28 1746.51 SHORTSTR
name_5 = 635.17 759.65 T3 
name_6 = 759.65 888.14 T4 
name_7 = 888.14 129.86 FSTR