[ track ]
track_name = Autodrome Montmagny
track_name_short = Montmagny
track_city = Montmagny
track_state = QC
track_length_n_type = 0.333-mile Oval
track_misc_info_1 = 
track_misc_info_2 = 
track_misc_info_3 = 
track_num_turns = 4
track_length = 0.333m
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 = 7                            ; the race month used for single, multi, and testing
max_starters = 29
track_chassis_grip = 1.21
track_tire_heat = 1.00				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 1.00				;> 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_exponent = 0.95			;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.20                       ;> 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.21			;> means more grip.  Again, keep between about 0.9 and 1.05
track_grass_grip = 1.40
track_north_angle = 30		                ; 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 650.00

[ track_gns ]
track_tire_heat = 0.94				;> modifies amount of heat going into the tire at a given track
track_tire_wear = 0.95				;> 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_exponent = 0.95                 ;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.20			;> 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.21
track_paint_grip = 1.19

[ track_cts ]
track_tire_heat = 0.90
track_tire_wear = 1.00				;> 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 = 0.94                      ;> 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.18 			;> 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.21		        ;> means more grip.  Again, keep between about 0.9 and 1.05
track_paint_grip = 1.13

[ track_pta ]
track_tire_heat = 1.02                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 0.81                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.15                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.72                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 2.50                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 2.50                      ; > means more grip.  Again, keep between about 0.9 and 1.25
track_paint_grip = 2.50


[ cup ]
record_lap_time = 15.446
record_holder = Russ Urlin

[ gns ]
record_lap_time = 15.446
record_holder = Russ Urlin

[ cts ]
record_lap_time = 15.446
record_holder = Russ Urlin


[ weather ]
track_base_temp = 60.0		                ; track average temperature on July 1 in deg F
track_temp_range = 6.0		                ; one standard deviation from average in deg F
track_temp_swing = 22.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.85		                ; probability of cloud cover, 0.0 to 1.0

[CrowdSound]
num_sources = 5
pos_0 = -104 -37 2
pos_1 = -72 -56 2
pos_2 = -29 -57 2
pos_3 = 22 -56 2
pos_4 = 60 -57 2

[ ai_track ]
pace_merge_from_pit_line_dlong = 310.0
pace_merge_to_pit_line_dlong = 430.0
pace_speed_limit_mph = 35.0	
ai_accel_modifier = 0.50			; acceleration grip efficiency
ai_decel_modifier = 1.20  ;2.50			; braking grip efficiency
ai_fuel_use = 1.0				; > 1.0 = more fuel consumed
ai_grip_modifier = 0.92				; > 1.0 = more grip
ai_drag_modifier = 0.72				; > 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.01				; > 1.0 = faster during qualifying
ai_wall_offset = 100				; 100 = full-time AI collision detection
ai_tire_wear_left = 0.30			; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 0.48			; 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.0			; > 1.0 = more fuel consumed (used in addition to fuel_use above)
ai_arcade_grip_modifier = 0.89			; > 1.0 = more grip
ai_arcade_drag_modifier = 1.25			; > 1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 3.679             ; 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 = 24.349             ; 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.3			; car lengths behind while racing
ai_panic_decel = 6.0				; G's of extra deceleration inducing panic
ai_dlongpad_scale = 1.0				; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.85
ai_squeeze_pcnt = 0.80	
ai_inverse_slipcurve_k = 0.63 

[ ai_track_gns ]
ai_accel_modifier = 0.53			; acceleration grip efficiency
ai_decel_modifier = 2.50			; braking grip efficiency
ai_fuel_use = 1.0				; > 1.0 = more fuel consumed
ai_grip_modifier = 0.92				; > 1.0 = more grip
ai_drag_modifier = 0.72				; > 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.09				; > 1.0 = faster during qualifying
ai_tire_wear_left = 1.00			;left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.00			; right tire wear adjuster for ai
ai_panic_decel = 6.0				; G's of extra deceleration inducing panic
ai_dlongpad_scale = 9.0				; scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.1250
ai_inverse_slipcurve_k = 0.40			; how much slip angle AI need to corner. smaller = more, more = increased drag

[ ai_track_cts ] 
ai_accel_modifier = 0.50			; 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.955			; > 1.0 = more grip
ai_drag_modifier = 0.72                         ; > 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.06                         ; > 1.0 = faster during qualifying
ai_tire_wear_left = 1.00			; left tire wear adjuster for ai    > 1.0 = more wear
ai_tire_wear_right = 1.00			; right tire wear adjuster for ai
ai_pacing_distance = 1.8
ai_bunching_distance = 1.7
ai_drafting_distance = 1.35
ai_dlat_pad = 0.1250
ai_inverse_slipcurve_k = 0.39                   ; how much slip angle AI need to corner. smaller = more, more = increased drag

[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 44.02	
pit0_entrance_point0_dlong = 560.95	
pit0_entrance_point1_dlat = 27.30	
pit0_entrance_point1_dlong = 560.95	
pit1_entrance_point0_dlat = 65.78	
pit1_entrance_point0_dlong = 606.32	
pit1_entrance_point1_dlat = 50.03	
pit1_entrance_point1_dlong = 644.32	


[ pit_lane_0 ]
; AI stuff
merge_from_pit_line_dlong = 310.0		; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 360.0			; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 70.0			; length of merge window
pit_lane_end_dlong = 241.39		;140.20			; dlong where pit lane proper ends
pit_lane_start_dlong = 577.85			; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 0.50		; 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 = 315.84			; 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 = 25.0		; offset at which to begin entering the pit stall
begin_pacestall_approach_offset = 40.0		; offset at which to begin approaching the pit stall
pacestall_exit_goal_dlong_offset = 12.0		; goal dlong offset (ahead) for the pit stall exit 
pacestall_exit_goal_dlat_offset = -5.0          ; goal dlat offset for the pit stall exit
stall_pace = 249.74 42.41 -0.60

; special stalls ( pittool  defaults this to stall_0 )
stall_qual_exit = 235 41.2999992371 0

stall_0 = 235.00 40.99 -0.05
stall_1 = 217.19 41.3 -0.04
stall_2 = 199.20 41.3 -0.03
stall_3 = 181.08 41.3 -0.00
stall_4 = 162.94 41.3 -0.00
stall_5 = 144.86 41.3 -0.03
stall_6 = 126.66 41.3 -0.00
stall_7 = 108.43 43.3 0.01
stall_8 = 90.29 41.3 0.03
stall_9 = 72.25 41.3 0.01
stall_10 = 58.07 41.3 0.04
stall_11 = 49.83 41.3 0.01
stall_12 = 41.59 41.3 -0.00
stall_13 = 33.35 41.3 -0.02
stall_14 = 25.12 41.30 -0.02
stall_15 = 16.88 41.3 -0.01
stall_16 = 8.64 41.3 0.00
stall_17 = 0.40 41.3 0.00
stall_18 = 722.11 41.3 0.01
stall_19 = 713.87 41.3 0.01
stall_20 = 705.63 41.3 0.00
stall_21 = 697.39 41.3 0.01
stall_22 = 689.15 41.3 0.00
stall_23 = 680.91 41.3 0.03
stall_24 = 672.68 41.3 -0.06
stall_25 = 660.36 41.3 -0.13
stall_26 = 642.01 41.3 -0.01
stall_27 = 623.57 41.3 0.04
stall_28 = 605.24 41.3 -0.00
stall_29 = 587.00 41.3 0.10



[ pit_lane_1 ]
; AI stuff
merge_from_pit_line_dlong = 310.0		; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 360.0			; dlong at which cars entering pits will merge to pit line
merge_to_pit_line_length = 70.0			; length of merge window
pit_lane_end_dlong = 67.0		;140.20			; dlong where pit lane proper ends
pit_lane_start_dlong = 639.43			; dlong where pit lane proper begins
slow_pit_line_dlat_offset = 0.50		; track-specific dlat_offset of 2nd slower pit line (0 if N/A)
stall_exit_goal_dlat_offset = 3.75		; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 7.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 = 80.0		; offset at which to begin approaching the pit stall
lane_merge_dlong = 165.0			; 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 = 35.0


stall_qual_exit = 57.59 60.00 0.00 		;118.90 53.90 -0.8

; regular stalls

stall_0 = 57.45 53.95 0.00
stall_1 = 48.69 53.95 0.00
stall_2 = 39.87 54.00 0.00
stall_3 = 31.16 54.00 0.00
stall_4 = 22.44 54.00 0.00
stall_5 = 13.73 54.00 0.00
stall_6 =  4.96 54.00 0.00
stall_7 = 726.09 54.05 0.00
stall_8 = 717.32 54.05 0.00
stall_9 = 708.60 54.10 0.00
stall_10 = 699.89 54.10 0.00
stall_11 = 691.06 54.15 0.00
stall_12 = 682.35 54.15 0.00
stall_13 = 673.52 54.25 0.00
stall_14 = 657.77 54.05 0.15
						

[ starting_grid_0 ]
stall_pace = 40.00 17.64 0.07
stall_0 = 30.00 19.64 0.06
stall_1 = 30.00 15.64 0.06
stall_2 = 20.20 19.15 0.05
stall_3 = 20.20 15.15 0.05
stall_4 = 10.40 18.76 0.03
stall_5 = 10.40 14.76 0.03
stall_6 = 0.60 18.48 0.02
stall_7 = 0.60 14.48 0.02
stall_8 = 720.74 18.34 0.01
stall_9 = 720.74 14.34 0.01
stall_10 = 710.94 18.33 -0.01
stall_11 = 710.94 14.33 -0.01
stall_12 = 701.13 18.50 -0.03
stall_13 = 701.13 14.50 -0.03
stall_14 = 691.33 18.95 -0.06
stall_15 = 691.33 14.95 -0.06
stall_16 = 681.56 19.79 -0.11
stall_17 = 681.56 15.79 -0.11
stall_18 = 671.86 21.23 -0.18
stall_19 = 671.86 17.23 -0.18
stall_20 = 660.42 23.12 -0.17
stall_21 = 660.42 19.12 -0.17
stall_22 = 647.35 24.48 -0.11
stall_23 = 647.35 20.48 -0.11
stall_24 = 633.94 25.25 -0.05
stall_25 = 633.94 21.25 -0.05
stall_26 = 620.38 25.54 -0.01
stall_27 = 620.38 21.54 -0.01
stall_28 = 606.78 25.48 0.02
stall_29 = 606.78 21.48 0.02


[ starting_grid_1 ]
stall_pace = 370.66 20.78 0.00
stall_0 = 362.66 22.78 0.00
stall_1 = 362.66 17.78 0.00
stall_2 = 350.66 22.78 0.00
stall_3 = 350.66 17.78 0.00
stall_4 = 338.66 22.78 0.00
stall_5 = 338.66 17.78 0.00
stall_6 = 326.66 22.78 0.00
stall_7 = 326.66 17.78 0.00
stall_8 = 314.66 22.78 0.00
stall_9 = 314.66 17.78 0.00
stall_10 = 302.66 22.78 0.00
stall_11 = 302.66 17.78 0.00
stall_12 = 290.66 22.78 0.00
stall_13 = 290.66 17.78 0.00
stall_14 = 278.66 22.78 0.00
stall_15 = 278.66 17.78 0.00
stall_16 = 266.66 22.78 0.00
stall_17 = 266.66 17.78 0.00
stall_18 = 254.66 22.78 0.00
stall_19 = 254.66 17.78 0.00
stall_20 = 242.66 22.78 0.00
stall_21 = 242.66 17.78 0.00
stall_22 = 230.66 22.78 0.00
stall_23 = 230.66 17.78 0.00
stall_24 = 218.66 22.78 0.00
stall_25 = 218.66 17.78 0.00
stall_26 = 206.66 22.78 0.00
stall_27 = 206.66 17.78 0.00
stall_28 = 194.66 22.78 0.00
stall_29 = 194.66 17.78 0.00



[ SPCC ]
num_named_sections = 6

name_0 = 61.29 180.50 T1
name_1 = 180.50 301.81 T2
name_2 = 301.81 426.05 BSTR
name_3 = 426.05 541.59 T3
name_4 = 541.59 667.55 T4
name_5 = 667.55 61.29 FSTC