[ track ]
track_name = Caraway Speedway
track_name_short = Caraway_modified
track_city = Asheboro					
track_state = NC		
track_length_n_type = 0.455-mile Oval
track_num_turns = 4					;number of turns
track_length = 0.455m	         	;length of track in meters or miles
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 = 27
track_tire_heat = 0.65 ;1.00
track_tire_wear = 0.45				;> 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.25                     ; 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.541			;> 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.541			;> means more grip.  Again, keep between about 0.9 and 1.05
track_paint = 1.541
track_north_angle = 170		                ; 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 = 570.00 634.00

[ track_cts ]
track_tire_heat = 0.74				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 0.85				;> 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.20                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 1.07                      ;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.541			;> means more grip.  Again, keep between about 0.9 and 1.05
track_concrete_grip = 1.541
track_paint = 1.541

[ cup ]							;All Pro car was used
record_lap_time = 15.783 				;track record lap in time
record_holder = Brian Loftin			;name of driver who got track record

[ cts ]							;Late Model Super Truck was used
record_lap_time = 15.783 					;track record lap in time
record_holder = Brian Loftin				;name of driver who got track record

[ gns ]							;Late Model Stock Car was used
record_lap_time = 15.783 					;track record lap in time
record_holder = Brian Loftin


[ weather ]
track_base_temp = 70		                ; track average temperature on April 1 in deg F
track_temp_range = 3.2		                ; one standard deviation from average in deg F
track_temp_swing = 2.0                         ; 
track_wind_speed = 7.0		                ; average wind speed at the track in MPH
track_wind_speed_range = 3.5		        ; one standard deviation from average in MPH
track_wind_direction = 80		        ; compass heading in degrees from which wind is most likely (in this case from Northwest)
track_cloud_prob = 1.00		                ; probability of cloud cover, 0.0 to 1.0

[CrowdSound]
num_sources = 4						;how many crouwd sounds you are going to have
pos_0 = 598 -28 6						;first position of crowd sound
pos_1 = 600 22 6					;second position of crowd sound
pos_2 = 656 18 5					;third position of crowd sound
pos_3 = 660 -32 5

[ ai_track ]
pace_merge_from_pit_line_dlong = 250.00
pace_merge_to_pit_line_dlong = 560.00
pace_speed_limit_mph = 35
ai_accel_modifier = 1.00			 ; acceleration grip efficiency
ai_decel_modifier = 1.05			 ; braking grip efficiency
ai_fuel_use = 0.97				 ; > 1.0 = more fuel consumed
ai_grip_modifier = 1.0				 ; > 1.0 = more grip
ai_drag_modifier = 0.50				 ; > 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 = 0.91				 ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.05			 ; 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.102		 ; lap time gain from low fuel
strategy_base_pitting_cost = 29.0		 ; time lost to a stop & go pitstop
ai_pacing_distance = 1.8
ai_bunching_distance = 1.6
ai_drafting_distance = 1.20
ai_panic_decel = 6.0
ai_dlongpad_scale = 5.0
ai_dlat_pad = 0.60 ;0.30
ai_squeeze_pcnt = 0.30 ;0.20
ai_inverse_slipcurve_k = 0.8                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_gns ]
ai_accel_modifier = 0.30			 ; acceleration grip efficiency
ai_decel_modifier = 1.20			 ; braking grip efficiency
ai_fuel_use = 0.95				 ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.85				 ; > 1.0 = more grip
ai_drag_modifier = 2.3				 ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.02				 ; 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 = 1.06 		         ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.18			 ; 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.30
ai_inverse_slipcurve_k = 0.38                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_cts ]
ai_accel_modifier = 0.41                        ; acceleration grip efficiency
ai_decel_modifier = 1.20                        ; braking grip efficiency
ai_fuel_use = 0.99                              ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.893                         ; > 1.0 = more grip
ai_drag_modifier = 2.65                         ; > 1.0 = more drag, which is slower
ai_line_modifier = 1.02                         ; dangerous hack, don't use unless you are a trained professional
ai_qual_modifier = 1.042                         ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.937                        ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.08                       ; right tire wear adjuster for ai
ai_pacing_distance = 1.8
ai_bunching_distance = 1.6
ai_drafting_distance = 1.20
ai_dlat_pad = 0.3
ai_inverse_slipcurve_k = 0.57                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 9.90
pit0_entrance_point0_dlong = 560.00
pit0_entrance_point1_dlat = 14.95
pit0_entrance_point1_dlong = 560.00
pit1_entrance_point0_dlat = 9.90
pit1_entrance_point0_dlong = 560.00
pit1_entrance_point1_dlat = 14.95
pit1_entrance_point1_dlong = 560.00

[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 300.00               ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 270.00                 ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 20.0                  ; length of merge window
pit_lane_end_dlong = 68.25                     ; dlong where pit lane proper ends
pit_lane_start_dlong = 605.29                   ; 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 = -5.2 ;-10.00             ; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 10.0 ;5.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 = 43.0 ;40.0              ; offset at which to begin approaching the pit stall
lane_merge_dlong = 235.00                       ; 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

; special stalls
stall_qual_exit = 45.80 24.61 0.00

; regular stalls
stall_0 = 48.00 32.00 -0.15	
stall_1 = 38.00 32.00 0.00
stall_2 = 28.00 32.00 0.00
stall_3 = 18.00 32.00 0.00
stall_4 = 8.00 32.00 0.00
stall_5 = 715.50 32.00 0.00
stall_6 = 705.50 32.00 0.00
stall_7 = 695.50 32.00 0.00
stall_8 = 685.50 32.00 0.00
stall_9 = 675.50 32.00 0.00
stall_10 = 665.50 32.00 0.00
stall_11 = 655.50 32.00 0.00
stall_12 = 645.50 32.00 0.00
stall_13 = 635.50 32.00 0.00
stall_14 = 625.50 32.00 0.00
stall_15 = 615.50 31.00 0.18

[ pit_lane_1 ]
; AI stuff
merge_from_pit_line_dlong = 300.00               ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 270.00                 ; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 50.0                  ; length of merge window
pit_lane_end_dlong = 68.25                      ; dlong where pit lane proper ends
pit_lane_start_dlong = 605.29                   ; 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 = 5.2             ; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 10.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 = 43.0              ; offset at which to begin approaching the pit stall
lane_merge_dlong = 235.00                       ; 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 = 0				; 0 no wall, 1 has wall
speed_limit_MPH = 40.0

; pace car
begin_pacestall_entry_offset = 30.0             ;offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 80.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 = -3.00            ;goal dlat offset for the pit stall exit
stall_pace = 52.00 18.20 0.00

; regular stalls
stall_0 = 10.00 18.25 0.00	
stall_1 = 717.50 18.39 0.00
stall_2 = 707.50 18.39 0.00
stall_3 = 697.50 18.44 0.00
stall_4 = 687.50 18.47 0.00
stall_5 = 677.50 18.53 0.00
stall_6 = 667.50 18.53 0.00
stall_7 = 657.50 18.51 0.00
stall_8 = 647.50 18.52 0.00
stall_9 = 637.50 18.52 0.00
stall_10 = 627.50 17.94 0.18

[ starting_grid_0 ]
  ; 2x2 unstaggered grid
  ; polesitter on left
stall_pace = 52.00 1.00  0.00
stall_0 = 40.00 3.50 0.00
stall_1 = 40.00 -1.50 0.00
stall_2 = 31.50 3.50 0.00
stall_3 = 31.50 -1.50 0.00
stall_4 = 23.00 3.50 0.00
stall_5 = 23.00 -1.50 0.00
stall_6 = 14.50 3.50 0.00
stall_7 = 14.50 -1.50 0.00
stall_8 = 6.00 3.50 0.00
stall_9 = 6.00 -1.50 0.00
stall_10 = 715.00 3.50 0.00
stall_11 = 715.00 -1.50 0.00
stall_12 = 706.50 3.50 -0.00
stall_13 = 706.50 -1.50 -0.00
stall_14 = 698.00 3.50 -0.00
stall_15 = 698.00 -1.50 -0.00
stall_16 = 689.50 3.50 -0.00
stall_17 = 689.50 -1.50 -0.00
stall_18 = 681.00 3.50 -0.00
stall_19 = 681.00 -1.50 -0.0
stall_20 = 672.50 3.50 -0.00
stall_21 = 672.50 -1.50 -0.0
stall_22 = 664.00 3.50 -0.00
stall_23 = 664.00 -1.50 -0.0
stall_24 = 655.50 3.50 -0.0
stall_25 = 655.50 -1.50 -0.0
stall_26 = 647.00 3.50 -0.0

[ starting_grid_1 ]
stall_pace = 365.00 1.00  0.00			
stall_0 = 353.00 3.50 0.00
stall_1 = 353.00 -1.50 0.00
stall_2 = 344.50 3.50 0.00
stall_3 = 344.50 -1.50 0.00
stall_4 = 336.00 3.50 0.00
stall_5 = 336.00 -1.50 0.00
stall_6 = 327.50 3.50 0.00
stall_7 = 327.50 -1.50 0.00
stall_8 = 319.00 3.50 0.00
stall_9 = 319.00 -1.50 0.00
stall_10 = 310.50 3.50 0.00
stall_11 = 310.50 -1.50 0.00
stall_12 = 302.00 3.50 0.00
stall_13 = 302.00 -1.50 0.00
stall_14 = 293.50 3.50 0.00
stall_15 = 293.50 -1.50 0.00
stall_16 = 285.00 3.50 0.00
stall_17 = 285.00 -1.50 0.00
stall_18 = 276.50 3.50 0.00
stall_19 = 276.50 -1.50 0.00
stall_20 = 268.00 3.50 0.00
stall_21 = 268.00 -1.50 0.00
stall_22 = 259.50 3.50 0.00
stall_23 = 259.50 -1.50 0.00
stall_24 = 251.00 3.50 0.00
stall_25 = 251.00 -1.50 0.00
stall_26 = 242.50 3.50 0.00

[ SPCC ]
num_named_sections = 6					;number of sections to be named below
								;Format: dlong, dlat, NAME
name_0 = 64.00 155.00 T1
name_1 = 155.00 242.00 T2
name_2 = 242.00 405.00 BSTR
name_3 = 405.00 514.00 T3
name_4 = 514.00 628.00 T4
name_5 = 628.00 64.00 FSTC




