;MAIN TRACK INFO

[ track ]
track_name = Oswego			;track.name_date/version_website(3 digits only)
track_name_short = Oswego		;track.name_date/version_website(3 digits only)
track_city = Oswego					;city location of track.  can be anywhere
track_state = New York, USA				;state and country location of track.  can be anywhere
track_length_n_type = .63-Mile, Oval	;length of track and type. 1-Mile = 1609.344-Meters. Format: length, type
								;TYPES: Superspeedway, Speedway, 1 Mile Oval, Short Track, Road Course, Figure 8
track_misc_info_1 = Fastest 5/8 Mile
track_misc_info_2 = 			;Fantasy or Real(modeled after real track)
track_misc_info_3 = 
track_misc_info_4 = 
track_num_turns = 4					;number of turns
track_length = 1245-Meters, .63-Miles		;length of track in meters or miles
track_altitude = 80.0					;height relative to sea level.  0.0=sea level
track_type = 1						;0=short oval, 1=medium oval, 2=1 mile oval, 3=long oval, 4=superspeedway, 5=rc
track_dir = 1						;track turns mostly... 1 = left, 0 = neutral, -1 = right
chassis_type = 3						;0=?, 1=superspeedway, 2=speedway, 3=short track, 4=rc, 5=superduperspeedway
default_event_laps = 200				;number of laps for a race
default_qual_laps = 2					;how many qual laps allowed
track_base_month = 9					;the race month used for single, multi, and testing
max_starters = 34						;how many cars/pits available on track
track_tire_heat = 0.60                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 1.04                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.29                     ; percentage of grip lost at full tire wear
track_tire_wear_exp = 0.93                      ; > 1.0 gives a bigger fall off later in run < 1.0 gives a bigger fall off early in run
track_asphalt_grip = 1.65                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.60                      ; > means more grip.  Again, keep between about 0.9 and 1.05
track_north_angle = 170					;angle of true north in degrees
starter_decision = 1140.0 1170.0			;starter decisions. when the flagman can fly the flag:
;----------------NOTE ** First value is earliest possible green flag dlong, should be after to pace car pit enters point.  Second value is latest possible green flag dlong. Must be before start line and after first value.

[ track_cts ]
track_tire_heat = 1.12                          ; > modifies amount of heat going into the tire at a given track
track_tire_wear = 0.56                          ; > 1.0 means more wear, i.e. 2.0 is twice normal wear, 0.5 is half normal wear
track_tire_wear_loss = 0.21                     ; 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.52                       ; > 1.0 means more grip.  This shouldn't have to change by more than +- 0.05
track_concrete_grip = 1.10                      ; > means more grip.  Again, keep between about 0.9 and 1.05

; TRACK RECORDS
[ cup ]							;winston cup car was used
								;i speculate as mods come out, there will be truck, busch, trans am, etc.
record_lap_time = 0.00					;track record lap in time
record_holder = Fantasy					;name of driver who got track record


; WEATHER SETTINGS
[ weather ]
track_base_temp = 60.0                          ;track average temperature in deg F
track_temp_range = 6.0                          ;one standard deviation from average in deg F
track_temp_swing = 13.0                         ;how much the temperature will swing up n down
track_wind_speed = 10.6                         ;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 = 0.38                         ;probability of cloud cover, 0.0 to 1.0


; CROWD SOUND LOCATIONS
[ CrowdSound ]						;setting up crowd sounds positions on track
								;Format: dlong, dlat, type of sound(have seen 2-29, but mostly 2-6)?
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					;fourth position of crowd sound


; COMPUTER CARS SETTINGS
[ ai_track ]						;helping AI figure out the track.
pace_merge_from_pit_line_dlong = 547.000		;where pace car starts to merge from pit?
pace_merge_to_pit_line_dlong = 670.0000		;wherre the pace car starts to merge to pit?
pace_speed_limit_mph = 60				;speed limit of pace car during start and yellows
ai_accel_modifier = 0.99                        ;acceleration grip efficiency
ai_decel_modifier = 0.95                        ;braking grip efficiency
ai_fuel_use = 1.00                              ;1.0 = more fuel consumed
ai_grip_modifier = 1.05                         ;1.0 = more grip
ai_drag_modifier = 1.12                         ;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.033                        ;1.0 = faster during qualifying
ai_wall_offset = 90                            ;100 = full-time AI collision detection
ai_tire_wear_left = 0.33                        ;left tire wear adjuster for ai
ai_tire_wear_right = 0.37                       ;right tire wear adjuster for ai
ai_arcade_tire_wear = 0.01                      ;lower = less wear
ai_arcade_fuel_use = 0.93                       ;1.0 = even more fuel consumed (in addition to fuel_use above)
ai_arcade_grip_modifier = 1.0001                ;1.0 = more grip
ai_arcade_drag_modifier = 0.93                  ;1.0 = more drag, which is slower
strategy_lap_time_wear_loss = 3.816             ;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 = 29.792             ;time lost to a stop & go pitstop
ai_pacing_distance = 1.8                        ;car lengths behind while pacing
ai_bunching_distance = 1.8                      ;car lengths behind while bunching for start
ai_drafting_distance = 1.3                      ;car lengths behind while racing
ai_panic_decel = 3.5                            ;G's of extra deceleration inducing panic
ai_dlongpad_scale = 50.0                      ;scales padding in braking zones (smaller = more scaling)
ai_dlat_pad = 0.8						;how much zone between each car on each side?
ai_squeeze_pcnt = 0.4					;the percentage of odds AI will squeeze into pack of cars?
ai_inverse_slipcurve_k = 0.65                   ;how much slip angle AI need to corner. smaller = more, more = increased drag


[ AppRuleEnterPits ]
pit0_entrance_point0_dlat = 11.69
pit0_entrance_point0_dlong = 740.01
pit0_entrance_point1_dlat = 31.90
pit0_entrance_point1_dlong = 740.01

; MAIN PIT LANE SETTINGS
[ pit_lane_0 ]						;all info relating to your first pit lane. (most tracks only have 1 pit lane)
								;checkout Infenion, Bristol and/or Martinsville for 2 pit road possibilities.

; AI PITTING: info relating to AI cars and how they handle pitting
;-------------NOTE ** AI stuff is for advanced users who want AI to work on their track.  AI is very tricky to setup, but like most of this ;stuff, once you do it, it will be no problem next time and so on.

merge_from_pit_line_dlong = 546.000000          ; dlong at which cars leaving pits will merge to race line
merge_to_pit_line_dlong = 600.000000           ; dlong at which cars entering pits will merge to race line
merge_to_pit_line_length = 50.0                ; length of merge window
pit_lane_end_dlong = 127.000000                 ; dlong where pit lane proper ends
pit_lane_start_dlong = 1122.010000 	            ; 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 = 8.0               ; goal dlat offset (+ left) for the pit stall exit cubic line
stall_exit_goal_dlong_offset = 5.0              ; goal dlong offset (ahead) for the pit stall exit cubic line
begin_stall_entry_offset = 20.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
lane_merge_dlong = 530.00				; Dlong which you must remain on the apron when exiting the pits
dual_switch_dlong = 700.0

; RACE CONTROL
lane_on_right = 1                               ;where your pit crew will be located.  0 if on left, 1 if on right
lane_has_wall = 0                               ;0 no wall, 1 has wall
speed_limit_MPH = 50.0					;pit road speed limit


; PACE CAR							;help the pace car understand where pit road is
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            ;goal dlat offset for the pit stall exit
stall_pace = 190.00 25.73 0.00			;where the pace car parks. Format: dlong, dlat, direction from north?


; QUALIFY STARTING STALL				;where everyone's car will pop up when starting qualify run
stall_qual_exit = 125.00 30.00 0.00		;Format: dlong, dlat, offset?


; PIT STALLS for pit_lane_0				;actual location of all pit stalls
;-------------NOTE ** Format: dlong(where along the track), dlat(how far from middle of track), angle from to dlong (0.00 = parallel to track direction)  Below is a copy of Indianapolis Motor Speedway's pit stalls.  The Pit stalls are in a straight line along the track on the left side of the track with crew on the left side.  The pit lane also crosses the s/f line.  Notice only dlong changes by 16.79. Don't ask me why the angle changes from -0.00 to 0.00.

stall_0 = 125.00 30.00 0.00
stall_1 = 125.00 52.00 0.00
stall_2 = 110.00 30.00 0.00
stall_3 = 110.00 52.00 0.00
stall_4 = 95.00 30.00 0.00
stall_5 = 95.00 52.00 0.00
stall_6 = 80.00 30.00 0.00
stall_7 = 80.00 52.00 0.00
stall_8 = 65.00 30.00 0.00
stall_9 = 65.00 52.00 0.00
stall_10 = 50.00 30.00 0.00
stall_11 = 50.00 52.00 0.00
stall_12 = 35.00 30.00 0.00
stall_13 = 35.00 52.00 0.00
stall_14 = 20.00 30.00 0.00
stall_15 = 20.00 52.00 0.00
stall_16 = 5.00 30.00 0.00
stall_17 = 5.00 52.00 0.00
stall_18 = 1240.00 30.00 0.00
stall_19 = 1240.00 52.00 0.00
stall_20 = 1225.00 30.00 0.00
stall_21 = 1225.00 52.00 0.00
stall_22 = 1210.00 30.00 0.00
stall_23 = 1210.00 52.00 0.00
stall_24 = 1195.00 30.00 0.00
stall_25 = 1195.00 52.00 0.00
stall_26 = 1180.00 30.00 0.00
stall_27 = 1180.00 52.00 0.00
stall_28 = 1165.00 30.00 0.00
stall_29 = 1165.00 52.00 0.00
stall_30 = 1150.00 30.00 0.00
stall_31 = 1150.00 52.00 0.00
stall_32 = 1135.00 30.00 0.00
stall_33 = 1135.00 52.00 0.00
stall_34 = 1120.00 30.00 0.00
stall_35 = 1120.00 52.00 0.00
stall_36 = 2132.50 18.33 0.00
stall_37 = 2120.50 18.33 0.00
stall_38 = 2108.50 18.33 0.00
stall_39 = 2096.50 18.33 0.00
stall_40 = 2084.50 18.33 0.00
stall_42 = 2072.50 18.33 0.00


; STARTING GRID FOR FULL PACE LAP
[ starting_grid_0 ]					;starting grid where all cars appear in the pits for Full Pace Lap start.
								;Format dlong, dlat, angle to dlong
stall_pace = 122.00 0.00 0.00
stall_0 = 110.00 3.00 0.01
stall_1 = 110.00 -3.00 0.01
stall_2 = 100.00 3.00 0.01
stall_3 = 100.00 -3.00 0.01
stall_4 = 90.00 3.00 0.01
stall_5 = 90.00 -3.00 0.01
stall_6 = 80.00 3.00 0.01
stall_7 = 80.00 -3.00 0.01
stall_8 = 70.00 3.00 0.01
stall_9 = 70.00 -3.00 0.01
stall_10 = 60.00 3.00 0.01
stall_11 = 60.00 -3.00 0.01
stall_12 = 50.00 3.00 0.01
stall_13 = 50.00 -3.00 0.01
stall_14 = 40.00 3.00  0.01
stall_15 = 40.00 -3.00  0.01
stall_16 = 30.00 3.00  0.01
stall_17 = 30.00 -3.00  0.01
stall_18 = 20.00 3.00  0.01
stall_19 = 20.00 -3.00  0.01
stall_20 = 10.00 3.00  0.01
stall_21 = 10.00 -3.00  0.01
stall_22 = 00.00 3.00  0.01
stall_23 = 00.00 -3.00 0.01
stall_24 = 1235.00 3.00 0.01
stall_25 = 1235.00 -3.00 0.01
stall_26 = 1225.00 3.00 0.01
stall_27 = 1225.00 -3.00 0.01
stall_28 = 1215.00 3.00 0.00
stall_29 = 1215.00 -3.00 0.00
stall_30 = 1205.00 3.00 0.00
stall_31 = 1205.00 -3.00 0.00
stall_32 = 1195.00 3.00 -0.00
stall_33 = 1195.00 -3.00 -0.00
stall_34 = 1195.00 3.00 -0.00
stall_35 = 1185.00 -3.00 -0.00			;end
stall_36 = 2758.25 9.71 -0.00
stall_37 = 2758.25 5.21 -0.00
stall_38 = 2749.78 9.73 -0.00
stall_39 = 2749.78 5.23 -0.00
stall_40 = 2741.30 9.75 -0.00
stall_41 = 2741.30 5.25 -0.00
stall_42 = 2732.82 9.78 -0.00


; STARTING GRID FOR NO FULL PACE LAP
[ starting_grid_1 ]					;starting grid where all cars appear in the pits for Non Full Pace Lap start.

stall_pace = 122.00 0.00 0.00
stall_0 = 110.00 3.00 0.01
stall_1 = 110.00 -3.00 0.01
stall_2 = 100.00 3.00 0.01
stall_3 = 100.00 -3.00 0.01
stall_4 = 90.00 3.00 0.01
stall_5 = 90.00 -3.00 0.01
stall_6 = 80.00 3.00 0.01
stall_7 = 80.00 -3.00 0.01
stall_8 = 70.00 3.00 0.01
stall_9 = 70.00 -3.00 0.01
stall_10 = 60.00 3.00 0.01
stall_11 = 60.00 -3.00 0.01
stall_12 = 50.00 3.00 0.01
stall_13 = 50.00 -3.00 0.01
stall_14 = 40.00 3.00  0.01
stall_15 = 40.00 -3.00  0.01
stall_16 = 30.00 3.00  0.01
stall_17 = 30.00 -3.00  0.01
stall_18 = 20.00 3.00  0.01
stall_19 = 20.00 -3.00  0.01
stall_20 = 10.00 3.00  0.01
stall_21 = 10.00 -3.00  0.01
stall_22 = 00.00 3.00  0.01
stall_23 = 00.00 -3.00 0.01
stall_24 = 1235.00 3.00 0.01
stall_25 = 1235.00 -3.00 0.01
stall_26 = 1225.00 3.00 0.01
stall_27 = 1225.00 -3.00 0.01
stall_28 = 1215.00 3.00 0.00
stall_29 = 1215.00 -3.00 0.00
stall_30 = 1205.00 3.00 0.00
stall_31 = 1205.00 -3.00 0.00
stall_32 = 1195.00 3.00 -0.00
stall_33 = 1195.00 -3.00 -0.00
stall_34 = 1195.00 3.00 -0.00
stall_35 = 1185.00 -3.00 -0.00			;end
stall_36 = 2758.25 9.71 -0.00
stall_37 = 2758.25 5.21 -0.00
stall_38 = 2749.78 9.73 -0.00
stall_39 = 2749.78 5.23 -0.00
stall_40 = 2741.30 9.75 -0.00
stall_41 = 2741.30 5.25 -0.00
stall_42 = 2732.82 9.78 -0.00



; SPOTTER RESPONSE TO TRACK SECTIONS
[ SPCC ]							;sections of track where spotter refers to.
								;Example: NAME="What Spotter Says" 
;-----------NOTE ** Below SPCC is copied from Infenion just for an example.  Here is a list I think will work.  
;SCHUTE="Short Shoot"
;BSTR="Backstretch"
;NCHUTE="North Chute"
;FSTR="Front Stretch"
;T1~T?="T One ~ T ?"
;SHORTSTR="Short Stretch"
;ESSESIN="Entering the Esses"?
;ESSESOUT="Exiting the Esses"?
;ILOOP="Inner Loop"
;OLOOP="Outer Loop"
;LONGSTR="Long Straight"
;FINALSTR="Final Straight"
;1A = "One A"
;2A = "Two A"
;CHUTEENT = "Entering Short Chute"
;CHUTE = "In the Short Chute"
;CHUTEEXT = "Exiting Short Chute"
;HAIRPIN = "Hairpin"
;FSTC = "?"

num_named_sections = 6					;number of sections to be named below
								;Format: dlong, dlat, NAME
name_0 = 127.00 314.00 T1
name_1 = 314.00 501.00 T2
name_2 = 501.00 748.00 BSTR
name_3 = 748.00 938.00 T3
name_4 = 938.00 1121.00 T4
name_5 = 1121.00 127.00 FSTC



