[ track ]
[ track ]
track_name = Elko Speedway
track_name_short = Elko
track_city = Elko
track_state = MN
track_length_n_type = 0.375-mile Oval
track_misc_info_1 = Opened in 1965
track_num_turns = 4
track_length = 0.375m
track_altitude = 0.0
track_type = 0                                  ; short oval
chassis_type = 3                                ; short track
default_event_laps = 250
default_qual_laps = 2
track_base_month = 7                            ; the race month used for single, multi, and testing
max_starters = 26
track_tire_heat = 1.25                          ; > modifies amount of heat going into the tire at a given track
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.19                     ; 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.14                       ; > 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_grass_grip = 1.06                         ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_dirt_grip = 1.06                          ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_north_angle = 290                          ; 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 = 760.00 780.00

[ cup ]
record_lap_time = 13.555
record_holder = Jeff Martin

[ cts ]
record_lap_time = 14.511
record_holder = John Vig Jr.

[ gns ]
record_lap_time = 13.639
record_holder = Mike Garvey 

[ weather ]
track_base_temp = 62.0		                ; track average temperature on July 1 in deg F
track_temp_range = 5.0		                ; one standard deviation from average in deg F
track_temp_swing = 18.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 = 270		        ; compass heading in degrees from which wind is most likely (in this case from Northwest)
track_cloud_prob = 0.45		                ; probability of cloud cover, 0.0 to 1.0

[CrowdSound]
num_sources = 4
pos_0 = 178 -96 3
pos_1 = 31 -140 4
pos_2 = -147 163 2
pos_3 = 57 163 3

[ ai_track ]
pace_merge_from_pit_line_dlong = 427.00
pace_merge_to_pit_line_dlong = 425.00
pace_speed_limit_mph = 40
ai_accel_modifier = 0.47                        ; acceleration grip efficiency
ai_decel_modifier = 0.97                        ; braking grip efficiency
ai_fuel_use = 0.99                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.947                        ; > 1.0 = more grip
ai_drag_modifier = 1.05                         ; > 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.056                        ; > 1.0 = faster during qualifying
ai_wall_offset = 65                             ; 100 = full-time AI collision detection
ai_tire_wear_left = 1.00                        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.12                       ; 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.96                       ; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.84                  ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.90                  ; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 3.931             ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.102         ; lap time gain from low fuel
strategy_base_pitting_cost = 15.129             ; time lost to a stop & go pitstop
ai_pacing_distance = 1.8                        ; car lengths behind while pacing
ai_bunching_distance = 1.5                      ; car lengths behind while bunching for start
ai_drafting_distance = 1.07                     ; car lengths behind while racing
ai_panic_decel = 5.7                            ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 5.0                         ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.8
ai_squeeze_pcnt = 0.15
ai_inverse_slipcurve_k = 0.24                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 64.53
pit0_entrance_point0_dlong = 468.54
pit0_entrance_point1_dlat = 80.82
pit0_entrance_point1_dlong = 465.96

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 422.0               ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 410.0                 ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 1                    ; length of merge window
pit_lane_end_dlong = 396.00                     ; dlong where pit lane proper ends
pit_lane_start_dlong = 536.48                   ; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 5.0                 ; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = -7.5              ; 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 = 396.5                        ; 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 = 0                               ; 0 no wall, 1 has wall
speed_limit_MPH = 40.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 = 1.74 71.17 -0.01

; special stalls
stall_qual_exit = 393.22 82.45 -0.43

; regular stalls
stall_0 = 393.22 82.45 -0.43
stall_1 = 370.11 86.25 -0.32
stall_2 = 322.29 87.41 0.02
stall_3 = 273.24 87.30 -0.01
stall_4 = 224.58 86.90 0.08
stall_5 = 182.35 86.57 0.03
stall_6 = 140.92 86.37 0.03
stall_7 = 99.90 86.11 0.02
stall_8 = 59.38 85.69 0.10
stall_9 = 43.75 84.75 0.09
stall_10 = 35.12 84.10 0.06
stall_11 = 26.47 83.92 0.00
stall_12 = 17.82 83.88 -0.00
stall_13 = 9.18 83.87 -0.01
stall_14 = 0.53 83.88 0.00
stall_15 = 854.60 83.79 0.01
stall_16 = 845.95 83.68 -0.03
stall_17 = 837.33 84.38 -0.10
stall_18 = 828.73 85.27 -0.12
stall_19 = 819.69 86.59 -0.17
stall_20 = 773.78 87.38 -0.01
stall_21 = 724.54 87.49 -0.03
stall_22 = 674.81 87.70 -0.01
stall_23 = 627.65 87.74 0.02
stall_24 = 583.02 87.48 0.06
stall_25 = 539.48 86.83 0.08

[ starting_grid_0 ]
stall_pace = 422.22 54.55 0.00
stall_0 = 403.22 57.05 -0.02
stall_1 = 403.22 52.05 -0.02
stall_2 = 392.75 57.78 -0.11
stall_3 = 392.75 52.78 -0.11
stall_4 = 375.33 58.96 -0.08
stall_5 = 375.33 53.96 -0.08
stall_6 = 353.84 59.51 -0.03
stall_7 = 353.84 54.51 -0.03
stall_8 = 332.17 59.93 -0.06
stall_9 = 332.17 54.93 -0.06
stall_10 = 310.29 60.41 -0.03
stall_11 = 310.29 55.41 -0.03
stall_12 = 288.25 60.58 -0.02
stall_13 = 288.25 55.58 -0.02
stall_14 = 266.12 60.84 -0.02
stall_15 = 266.12 55.84 -0.02
stall_16 = 243.93 60.79 0.01
stall_17 = 243.93 55.79 0.01
stall_18 = 221.75 60.92 -0.02
stall_19 = 221.75 55.92 -0.02
stall_20 = 200.21 61.07 -0.00
stall_21 = 200.21 56.07 -0.00
stall_22 = 178.65 60.98 0.02
stall_23 = 178.65 55.98 0.02
stall_24 = 157.17 60.79 0.01
stall_25 = 157.17 55.79 0.01

[ starting_grid_1 ]
stall_pace = 422.22 54.55 0.00
stall_0 = 403.22 57.05 -0.02
stall_1 = 403.22 52.05 -0.02
stall_2 = 392.75 57.78 -0.11
stall_3 = 392.75 52.78 -0.11
stall_4 = 375.33 58.96 -0.08
stall_5 = 375.33 53.96 -0.08
stall_6 = 353.84 59.51 -0.03
stall_7 = 353.84 54.51 -0.03
stall_8 = 332.17 59.93 -0.06
stall_9 = 332.17 54.93 -0.06
stall_10 = 310.29 60.41 -0.03
stall_11 = 310.29 55.41 -0.03
stall_12 = 288.25 60.58 -0.02
stall_13 = 288.25 55.58 -0.02
stall_14 = 266.12 60.84 -0.02
stall_15 = 266.12 55.84 -0.02
stall_16 = 243.93 60.79 0.01
stall_17 = 243.93 55.79 0.01
stall_18 = 221.75 60.92 -0.02
stall_19 = 221.75 55.92 -0.02
stall_20 = 200.21 61.07 -0.00
stall_21 = 200.21 56.07 -0.00
stall_22 = 178.65 60.98 0.02
stall_23 = 178.65 55.98 0.02
stall_24 = 157.17 60.79 0.01
stall_25 = 157.17 55.79 0.01

[ SPCC ]
num_named_sections = 6
name_0 = 63.00 186.00 T1
name_1 = 186.00 304.00 T2
name_2 = 304.00 431.00 BSTR
name_3 = 431.00 553.00 T3
name_4 = 553.00 643.00 T4
name_5 = 643.00 63.00 FSTR
