# ================================================================= #
#                      AONIO CONFIGURATION FILE                     #
# ================================================================= #


# Created by EQ Worry, using Aegio .NET LFS InSim library.
# For basic info and installation instructions see _Config.txt.


# ------------------------ Connection Data ------------------------ #

# Local or remote address of the client to connect to. If remote
# address is used it must be publicly accessible.
ClientIPAddress=127.0.0.1

# Local InSim port used for connection, set in game by /insim=29999
# command. Type just /insim to see current setup.
ClientPortTCP=29999

# Custom UDP port for communication. In case of troubles try other
# values between 20000 and 60000.
ClientPortUDP=59999

# Local multiplayer password, usually empty. In case of password
# error go to Multiplayer, Start New Host, load track if required, 
# see Admin Password field.
ClientPassword=

# Number of miliseconds to wait between sending packets. Using one
# or even zero means faster button redraws but many packets send
# at once in this way may be refused by the client. Experiment.
ClientDelay=0

# --------------------- Special Configuration --------------------- #

# Connect to local TeamSpeak3 client using the ClientQuery port.
# After connect the TS3 panel can be used, showing nickname of the
# current TS3 speaker. Also set in seconds the additional time for
# which the last speaker is shown.
UseLocalTS3=yes
DelayLastTS=3

# Store into separate Times.txt file tab-separated split/lap times,
# either only for yourself or for everyone. Stored data: user name,
# track name, car name, lap number, split 1, split 2, split 3, lap.
# All times are in centiseconds (e.g. 8451 = 1:24.51).
LogOwnTimes=no
LogAllTimes=no

# Manage in-car camera, simulating real perception by leveling the
# horizon. With this mode advanced in-car camera mode is used,
# changing the driving experience. Looking left and right using
# standard keys is then not possible, but see below.
SmoothInCarCamera=no

# Activate looking using signal lights, allowing to look left/right 
# by standard signal lights keys, 7 and 8. Look back using key 9. 
# After 1 second the view is switched back to front and signal 
# lights are turned off using 0. Set the look angle in degrees.
LookUsingSignals=no
LookAngle=60

# -------------------------- Panel Setup -------------------------- #

# For "Show" and "Use" items type yes/no. For "X" and "Y" use values 
# approx. from 0 to 185. To apply changes save file and restart the 
# program e.g. by pressing R in the console.

# Show speed in miles per hour and/or distance in yards.
DisplayMiles=no
DisplayYards=no

# Panel showing currently viewed driver (you, if you're in race) 
# data, such as lap, position, penalties, stops, fuel, or speed.
# When fuel consumption per lap data are available, you can switch
# current fuel display from remaining percentage to laps.
ShowViewed=no
ViewedDriverX=77
ViewedDriverY=185
UseFuelLaps=yes

# Panel showing info about the driver one place ahead incl. exact 
# current time gap. Optionally show relative car in front.
ShowPrevious=no
PreviousDriverX=44
PreviousDriverY=185
UseRelativePrevious=no

# Panel showing info about the driver one place behind incl. exact 
# current time gap. Optionally show relative car behind.
ShowFollowing=no
FollowingDriverX=122
FollowingDriverY=185
UseRelativeFollowing=no

# Star spotter panel showing exact distance to cars around you in
# eight directions at once.
ShowSpotter=no
SpotterStarX=24
SpotterStarY=183

# Panel showing basic host/server info, such as server name, current
# number of connections and players.
ShowHost=no
HostPanelX=168
HostPanelY=0

# Panel showing all cars in surrounding area of 80x40 meters.
ShowRadar=no
RadarScreenX=11
RadarScreenY=165

# Digital speed panel. For size use 3 to 20, for color use 0 (black)
# to 7 (white) and 8 (gray, no color) - LFS colors scheme.
ShowSpeedo=yes
DigitalSpeedoX=99
DigitalSpeedoY=180
DigitalSpeedoSize=9
DigitalSpeedoColor=3
ShowGear=yes
DigitalGearColor=6
ShowRotations=no
DigitalRotationsColor=7

# Complete list of cars in race with time differences and additional
# available info (car, stops, penaty). Optionally, only cars of one
# category can be shown.
ShowField=no
FieldOverviewX=182
FieldOverviewY=201
FieldOneCategory=no

# Split/sector times in current track/car combo and comparison to
# stored local best.
ShowTiming=yes
TimingDataX=75
TimingDataY=8

# Minimum and maximum speeds in sectors or defined track parts plus
# maximum engine rotations in sectors. (See below for config.)
ShowSpeed=yes
UseSmallSpeed=yes
SpeedInfoX=78
SpeedInfoY=190

# Coordinates of viewed car on LFS map plus current track node.
# Save local car location every second to Location.txt file.
ShowLocation=no
LocationX=136
LocationY=185
SaveLocation=no

# Coordinates of race/leader/driver info panel.
ShowRace=no
RaceInfoX=146
RaceInfoY=0

# Coordinates of the TeamSpeak3 currently talking client panel.
ShowTS3=no
TS3X=25
TS3Y=0

# Coordinates of the PB live time/speed comparison panel. Comparison
# base can be PB or WR, the latter after replaying a SPR file.
ShowComparison=no
ComparisonX=125
ComparisonY=8
ComparisonBase=PB

# --------------------------- WAV Sounds -------------------------- #

# Turn on/off additional informational sounds played. Use yes/no.
UseSound=yes

# Names of WAV files in SND directory, without extension. Empty or
# inexistent files will be ignored.

# Warning in case of close car in the specified sector.
SoundFront=
SoundFrontRight=
SoundRight=notify
SoundRearRight=notify
SoundRear=notify
SoundRearLeft=notify
SoundLeft=notify
SoundFrontLeft=

# Warning withdrawn, shift up required, shift up notification delay
# in 100s of miliseconds (5 = 500 ms), set 0 for no delay.
SoundClear=chimes
SoundShift=ding
ShiftDelay=5

# Distance in meters to raise and clear proximity warning.
RaiseDistance=10
ClearDistance=15

# Sound to play on every race start.
SoundStart=chimes

# -------------------- Additional Fuel Settings ------------------- #

# Special fuel panel showing both remaining percentage and laps.
ShowFuel=yes
FuelInfoX=104
FuelInfoY=190

# Warn when fuel is low. Set at what fuel remaining laps the warning 
# should sound and fuel indicator to blink. Also your current fuel
# level could be sent each 30 seconds to Airio (shown in !pl there)
# to support e.g. lowest consumption racing events.
FuelWarningLaps=2
FuelWarningSound=chord
SendFuelToAirio=no

# ------------------ Track and Car Configuration ------------------ #

# Engine rotation limits by car type for the speed panel. More lines
# are possible, use "car>rotations, car>rotations, ..." scheme.
CarsMaxRPM=XFG>8000, XRG>7000, FBM>9200
CarsMaxRPM=FZR>8500, XRR>7500, FXR>7500
CarsMaxRPM=FZ5>8000, LX4>9000, RB4>7500

# Shift engine rotation by car type for the speed panel. More lines
# are possible, use "car>rotations, car>rotations, ..." scheme.
CarsShiftRPM=XFG>7800, XRG>6850

# Zones for measuring minimum speed on track, shown in speed panel.
# Define one track per line as "track> start-end, start-end, ...".
NodesMinSpeed=BL1> 10-35, 145-165, 180-195, 230-250, 260-280
NodesMinSpeed=BL2> 390-10, 60-110, 130-160, 210-235, 270-300
NodesMinSpeed=AS3> 55-90, 170-190, 210-230, 350-375, 410-435

# Zones for measuring maximum speed on track, shown in speed panel.
# Define one track per line as "track> start-end, start-end, ...".
NodesMaxSpeed=BL1> 310-10, 130-150, 210-235
NodesMaxSpeed=BL2> 365-390, 160-220
NodesMaxSpeed=AS3> 30-60, 130-160, 300-345

# Recognize custom car types as standard cars with intake air or
# additional mass restrictions. This is necessary for correct car
# type info and fuel per lap consumption. Multiple lines allowed.
CustomCars=FX3|FXR,32,0 XR3|XRR,34,0 FZ3|FZR,28,0
CustomCars=FX2|FXR,23,0 XR2|XRR,24,0 FZ2|FZR,20,0
CustomCars=UFB|UFR,45,0 XFB|XFR,43,0 UFJ|UFR,23,0 XFJ|XFR,21,0
CustomCars=XFX|XFG,20,0 XRX|XRG,20,0 FBX|FBM,20,0 FJR|FO8,20,70

# Evaluate and show car categories separately on multiclass servers.
# Only one line is allowed with cars of the same category grouped
# using '+' and categories separated using ','.
CarClasses=UF1+XFG+XRG, RB4+XRT+FXO+LX4, UFR+XFR, RAC+LX6+FZ5, FXR+FZR+XRR, FX2+XR2+FZ2, UFB+XFB, UFJ+XFJ

# --------------------- LFS Scripting Support --------------------- #

# Execute any LFS/Aonio command in specific node on specific track
# for specific car. This can be also used to run defined LFS scripts.
# The format is "track+car @ node > command", for example the entry
# "BL1 + FBM @ 10 > /run _test1" will run script _test1.lfs in node
# number 10 on BL1 when using FBM. Hide buttons to disable scripts.
ExecuteInNode=
