[ track ]
track_name = Wiscasset Speedway
track_name_short = Wiscasset 
track_city = Wiscasset
track_state = ME
track_length_n_type = 0.333-mile Oval		 
track_num_turns = 4
track_length = 0.333m
track_altitude = 0.0
track_type = 1
chassis_type = 3
default_event_laps = 150
default_qual_laps = 2
track_base_month = 9                            ; the race month used for single, multi, and testing
max_starters = 36
track_tire_heat = 0.90				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 0.54				;> 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.09                      ;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.25			;> 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_grass_grip = 1.12                                                                             track_concrete_grip = 1.25			;> means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 45		                ; 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 = 690.25 721.68


[ track_cts ]
track_tire_heat = 1.05 ;.95				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 0.58				;> 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.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



[ gns ]
record_lap_time = Johnny Clark
record_holder = 14.219

[ cts ]
record_lap_time = Bill Whorff Jr.
record_holder = 14.619

[ weather ]
track_base_temp = 62.2		                ; track average temperature on April 1 in deg F
track_temp_range = 8.0		                ; one standard deviation from average in deg F
track_temp_swing = 22.0                         ; 
track_wind_speed = 10.0		                ; average wind speed at the track in MPH
track_wind_speed_range = 7.0		        ; one standard deviation from average in MPH
track_wind_direction = 360		        ; compass heading in degrees from which wind is most likely (in this case from Northwest)
track_cloud_prob = 0.65		                ; 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 = 800.00
pace_merge_to_pit_line_dlong = 700.00
pace_speed_limit_mph = 35
ai_accel_modifier = 0.60			 ; acceleration grip efficiency
ai_decel_modifier = 0.99			 ; braking grip efficiency
ai_fuel_use = 0.98				 ; > 1.0 = more fuel consumed
ai_grip_modifier = 1.00 			 ; > 1.0 = more grip
ai_drag_modifier = 1.05				 ; > 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.02			         ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.75			 ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.97			 ; right tire wear adjuster for ai
ai_arcade_tire_wear = 0.20			 ; lower = less wear (used in addition to the above left/right modifiers)
ai_arcade_fuel_use = 1.07			 ; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = .785			 ; > 1.0 = more grip
ai_arcade_drag_modifier = 1.083			 ; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 2.179              ; lap time loss from totally worn tires
strategy_lap_time_fuel_use_gain = 0.373          ; lap time gain from low fuel
strategy_base_pitting_cost = 30.0                ; time lost to a stop & go pitstop
ai_pacing_distance = 2.0			 ; car lengths behind while pacing
ai_bunching_distance = 1.5			 ; car lengths behind while bunching for start
ai_drafting_distance = 1.25			 ; car lengths behind while racing
ai_panic_decel = 8.0				 ; G's of extra deceleration inducing panic
ai_dlongpad_scale = 4.0			         ; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.79
ai_squeeze_pcnt = 0.50
ai_wall_offset = 100
ai_inverse_slipcurve_k = 0.40                    ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_gns ]
ai_accel_modifier = 0.95			 ; acceleration grip efficiency
ai_decel_modifier = 0.95			 ; braking grip efficiency
ai_fuel_use = 0.98				 ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.90 			 ; > 1.0 = more grip
ai_drag_modifier = 1.15 			 ; > 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.03			         ; > 1.0 = faster during qualifying
ai_tire_wear_left = 0.75			 ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.98			 ; right tire wear adjuster for ai
ai_pacing_distance = 1.3			 ; car lengths behind while pacing
ai_bunching_distance = 2.0			 ; car lengths behind while bunching for start
ai_drafting_distance = 1.2			 ; car lengths behind while racing
ai_dlat_pad = 0.05
ai_inverse_slipcurve_k = 0.70                    ; how much slip angle AI need to corner. smaller = more, more = increased drag
ai_squeeze_pcnt = 0.50

[ ai_track_cts ]
ai_accel_modifier = 0.58			 ; acceleration grip efficiency
ai_decel_modifier = 0.99			 ; braking grip efficiency
ai_fuel_use = 0.98				 ; > 1.0 = more fuel consumed
ai_grip_modifier = 0.90 			 ; > 1.0 = more grip
ai_drag_modifier = 0.96				 ; > 1.0 = more drag, which is slower
ai_line_modifier = 0.99				 ; 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.58			 ; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.73			 ; right tire wear adjuster for ai
ai_pacing_distance = 2.0			 ; car lengths behind while pacing
ai_bunching_distance = 1.9			 ; car lengths behind while bunching for start
ai_drafting_distance = 1.25		 ; car lengths behind while racing
ai_dlat_pad = 0.79
ai_inverse_slipcurve_k = 0.47                    ; how much slip angle AI need to corner. smaller = more, more = increased drag


[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 41.33
pit0_entrance_point0_dlong = 113.35
pit0_entrance_point1_dlat =23.91
pit0_entrance_point1_dlong = 113.35
pit1_entrance_point0_dlat = 41.33
pit1_entrance_point0_dlong = 113.35
pit1_entrance_point1_dlat =23.91
pit1_entrance_point1_dlong = 113.35


[ pit_lane_0 ]
; pace car
begin_pacestall_entry_offset = 200 ;105         ; offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 150 ;70      ; offset at which to begin approaching the pit stall
pacestall_exit_goal_dlong_offset = 115.0          ; goal dlong offset (ahead) for the pit stall exit 
pacestall_exit_goal_dlat_offset = -10.0          ; goal dlat offset for the pit stall exit     	
stall_pace = 7.1300 90.79 -0.00


; AI stuff
merge_from_pit_line_dlong = 420.25
merge_to_pit_line_dlong = 800.89
merge_to_pit_line_length = 44.73
pit_lane_end_dlong = 405.25
pit_lane_start_dlong = 169.85
slow_pit_line_dlat_offset = 2.0			; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
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
stall_exit_goal_dlong_offset = 8.5     		; goal dlong offset (ahead) for the pit stall exit 
stall_exit_goal_dlat_offset = -3.0              ; goal dlat offset for the pit stall exit 
lane_merge_dlong = 404.07

; 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 = 45.0

; special stalls ( pittool  defaults this to stall_0 )
stall_qual_exit = 374.209991455 7.69000005722 0

; regular stalls
stall_0 = 374.209991455 7.69000005722 0
stall_1 = 364.209991455 7.69000005722 0
stall_2 = 354.209991455 7.69000005722 0
stall_3 = 344.209991455 7.69000005722 0
stall_4 = 334.209991455 7.69000005722 0
stall_5 = 324.209991455 7.69000005722 0
stall_6 = 314.209991455 7.69000005722 0
stall_7 = 304.209991455 7.69000005722 0
stall_8 = 294.209991455 7.69000005722 0
stall_9 = 284.209991455 7.69000005722 0
stall_10 = 274.209991455 7.69000005722 0
stall_11 = 264.209991455 7.69000005722 0
stall_12 = 254.209991455 7.69000005722 0
stall_13 = 244.209991455 7.69000005722 0
stall_14 = 234.209991455 7.69000005722 0
stall_15 = 224.209991455 7.69000005722 0
stall_16 = 214.209991455 7.69000005722 0
stall_17 = 204.209991455 7.69000005722 0





[ pit_lane_1 ]
; AI stuff
merge_from_pit_line_dlong = 420.25
merge_to_pit_line_dlong = 880.89
merge_to_pit_line_length = 44.73
pit_lane_end_dlong = 391.25
pit_lane_start_dlong = 476.85
slow_pit_line_dlat_offset = 2.0			; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
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
stall_exit_goal_dlong_offset = 8.5     		; goal dlong offset (ahead) for the pit stall exit 
stall_exit_goal_dlat_offset = 3.0              ; goal dlat offset for the pit stall exit 
lane_merge_dlong = 404.07

; 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 = 45.0


; special stalls ( pittool  defaults this to stall_0 )
stall_qual_exit = 374.209991455 -2.8900001049 0

; regular stalls
stall_0 = 374.209991455 -2.8900001049 0
stall_1 = 364.209991455 -2.8900001049 0
stall_2 = 354.209991455 -2.8900001049 0
stall_3 = 344.209991455 -2.8900001049 0
stall_4 = 334.209991455 -2.8900001049 0
stall_5 = 324.209991455 -2.8900001049 0
stall_6 = 314.209991455 -2.8900001049 0
stall_7 = 304.209991455 -2.8900001049 0
stall_8 = 294.209991455 -2.8900001049 0
stall_9 = 284.209991455 -2.8900001049 0
stall_10 = 274.209991455 -2.8900001049 0
stall_11 = 264.209991455 -2.8900001049 0
stall_12 = 254.209991455 -2.8900001049 0
stall_13 = 244.209991455 -2.8900001049 0
stall_14 = 234.209991455 -2.8900001049 0
stall_15 = 224.209991455 -2.8900001049 0
stall_16 = 214.209991455 -2.8900001049 0
stall_17 = 204.209991455 -2.8900001049 0




[ starting_grid_0 ]
stall_pace = 10 51.7599983215 0
stall_0 = 828.36 40.32 -0.10
stall_1 = 828.36 34.32 -0.10
stall_2 = 820.60 41.23 -0.13
stall_3 = 820.60 35.23 -0.13
stall_4 = 812.87 42.36 -0.16
stall_5 = 812.87 36.36 -0.16
stall_6 = 805.19 43.75 -0.19
stall_7 = 805.19 37.75 -0.19
stall_8 = 797.54 45.33 -0.22
stall_9 = 797.54 39.33 -0.22
stall_10 = 789.37 47.22 -0.26
stall_11 = 789.37 41.22 -0.26
stall_12 = 776.63 49.03 -0.21
stall_13 = 776.63 43.03 -0.21
stall_14 = 763.29 50.44 -0.16
stall_15 = 763.29 44.44 -0.16
stall_16 = 749.57 51.50 -0.12
stall_17 = 749.57 45.50 -0.12
stall_18 = 735.58 52.30 -0.09
stall_19 = 735.58 46.30 -0.09
stall_20 = 721.37 52.79 -0.04
stall_21 = 721.37 46.79 -0.04
stall_22 = 707.05 53.04 -0.02
stall_23 = 707.05 47.04 -0.02
stall_24 = 692.68 53.17 -0.01
stall_25 = 692.68 47.17 -0.01
stall_26 = 678.30 53.18 0.00
stall_27 = 678.30 47.18 0.00
stall_28 = 663.91 53.12 0.01
stall_29 = 663.91 47.12 0.01
stall_30 = 649.55 53.03 0.01
stall_31 = 649.55 47.03 0.01
stall_32 = 635.21 52.99 0.00
stall_33 = 635.21 46.99 0.00
stall_34 = 620.23 52.95 0.00
stall_35 = 620.23 46.95 0.00
                                                                                                                                                                                                                                                                                                                                                     

[ starting_grid_1 ]
stall_pace = 412.00 39.25  0
stall_0 = 400.00 42.94 -0.17
stall_1 = 400.00 36.94 -0.17
stall_2 = 392.70 44.25 -0.20
stall_3 = 392.70 38.25 -0.20
stall_4 = 385.45 45.80 -0.24
stall_5 = 385.45 39.80 -0.24
stall_6 = 377.66 47.67 -0.27
stall_7 = 377.66 41.67 -0.27
stall_8 = 365.55 49.30 -0.22
stall_9 = 365.55 43.30 -0.22
stall_10 = 353.03 50.52 -0.18
stall_11 = 353.03 44.52 -0.18
stall_12 = 340.21 51.42 -0.14
stall_13 = 340.21 45.42 -0.14
stall_14 = 327.18 52.08 -0.10
stall_15 = 327.18 46.08 -0.10
stall_16 = 314.01 52.47 -0.06
stall_17 = 314.01 46.47 -0.06
stall_18 = 300.75 52.72 -0.03
stall_19 = 300.75 46.72 -0.03
stall_20 = 287.44 52.81 -0.00
stall_21 = 287.44 46.81 -0.00
stall_22 = 274.13 52.75 0.01
stall_23 = 274.13 46.75 0.01
stall_24 = 260.84 52.70 -0.00
stall_25 = 260.84 46.70 -0.00
stall_26 = 247.55 52.79 -0.03
stall_27 = 247.55 46.79 -0.03
stall_28 = 234.22 53.10 -0.05
stall_29 = 234.22 47.10 -0.05
stall_30 = 220.81 53.57 -0.07
stall_31 = 220.81 47.57 -0.07
stall_32 = 206.72 54.10 -0.06
stall_33 = 206.72 48.10 -0.06
stall_34 = 191.61 54.49 -0.04
stall_35 = 191.61 48.49 -0.04
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
[ SPCC ]
num_named_sections = 6

name_0 = 97.12 240.60 T1
name_1 = 240.60 391.00 T2
name_2 = 391.00 492.28 BSTR
name_3 = 492.28 654.68 T3
name_4 = 643.68 802.16 T4
name_5 = 802.16 97.12 FSTR
