;-----ANALOG INDICATORS---------------------------------------------
[ANALOG_INDICATOR_...]
;tacho gauge indicator
BIND_TO=RPM
NAME=arrow4
ZERO=0.000
MIN_VALUE=0
STEP=0.02634146
OBJECT_NAME_MAX=
LUT=(0=0|500=4.5|1000=13.5|2000=18|3000=27|4000=36|5000=45.1|5500=67.7|6000=90.1|6500=112.6|7000=135.1|7500=157.6|8000=180|8500=202.5|9000=225|10000=270)
INPUT_LAG_UP = 0.70
INPUT_LAG_DOWN = 0.80

[ANALOG_INDICATOR_...]
;turbo boost pressure gauge indicator
BIND_TO=TURBO
NAME=arrow5
USE_BAR=1
LUT=(0=12.5|0.15=90|1.0=180|1.2=198|2.0=270)

[ANALOG_INDICATOR_...]
;oil pressure gauge indicator
BIND_TO=OIL
NAME=arrow2
MIN_VALUE=0
MAX_VALUE=8.5
INPUT_LAG_UP=0.95
INPUT_LAG_DOWN=0.98
LUT=(0=0|1.77=48|4=108|6=176|7=230|7.5=246)
USE_BAR=1

[ANALOG_INDICATOR_...]
;water temp gauge indicator
BIND_TO=WATER_TEMP
NAME=arrow3
MIN_VALUE=30
LUT=(30=0|70=90|80=135|89.5=180)
INPUT_LAG_UP=0.9991
INPUT_LAG_DOWN=0.9996

[ANALOG_INDICATOR_...]
;oil temp gauge indicator
BIND_TO=WATER_TEMP
NAME=arrow1
MIN_VALUE=30
LUT=(30=0|70=111|80=156|89.76=212)
INPUT_LAG_UP=0.9991
INPUT_LAG_DOWN=0.9996

;-----EXTRA_FX_SPRITES----------------------------------------------------------------------
[EXTRA_FX_EMISSIVE_...]
;clock dash icons extra fx sprites
MESHES = 
MATERIALS = digs_mat
DIGITAL_INSTRUMENTS = 
RANGE = 0.1
COLOR = 0.6
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 2       ; extra tonemapping for emissive color to balance things out
MIP_BIAS = 0             ; MIP bias for texture (increase for smoother light)
IGNORE_TEXTURE_COLOR = 0 ; set to 1 to use COLOR and emissive color only
COVERAGE = 1             ; samples density, by default 3 for cars and 2 for tracks
SAMPLES_LIMIT = 100      ; upper limit for number of samples
SPLIT_ELEMENTS = 0       ; split meshes into elements before generating samples
SPLIT_THRESHOLD = …      ; set to something above 0 to weld vertices within that distance
NORMAL_SHIFT = 0.012     ; increase to move light producing samples away from surface alogn
COVERED_BY = …           ; stop emissive if a mesh with given name is visible

[EXTRA_FX_EMISSIVE_...]
;dash gauges extra fx sprites
MESHES = 
MATERIALS = gauges
DIGITAL_INSTRUMENTS = 
RANGE = 0.15
COLOR = 0.75
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 0       ; extra tonemapping for emissive color to balance things out
MIP_BIAS = 0             ; MIP bias for texture (increase for smoother light)
IGNORE_TEXTURE_COLOR = 1 ; set to 1 to use COLOR and emissive color only
COVERAGE = 4           ; samples density, by default 3 for cars and 2 for tracks
SAMPLES_LIMIT = 100      ; upper limit for number of samples
SPLIT_ELEMENTS = 1       ; split meshes into elements before generating samples
SPLIT_THRESHOLD = …      ; set to something above 0 to weld vertices within that distance
NORMAL_SHIFT = 0.03     ; increase to move light producing samples away from surface alogn
COVERED_BY = …           ; stop emissive if a mesh with given name is visible

[EXTRA_FX_EMISSIVE_...]
;hks display extra fx sprites
MESHES = DISPLAY_SP
MATERIALS = 
DIGITAL_INSTRUMENTS = 
RANGE = 0.12
COLOR = 750
DIRECTED = 1
INTERIOR_ONLY = 0
EXTERIOR_ONLY = 0
EMISSIVE_TWEAK = 1000       ; extra tonemapping for emissive color to balance things out
MIP_BIAS = 0             ; MIP bias for texture (increase for smoother light)
IGNORE_TEXTURE_COLOR = 0 ; set to 1 to use COLOR and emissive color only
COVERAGE = 5         ; samples density, by default 3 for cars and 2 for tracks
SAMPLES_LIMIT = 100      ; upper limit for number of samples
SPLIT_ELEMENTS = 0       ; split meshes into elements before generating samples
SPLIT_THRESHOLD = …      ; set to something above 0 to weld vertices within that distance
NORMAL_SHIFT = 0.015     ; increase to move light producing samples away from surface alogn
COVERED_BY = …           ; stop emissive if a mesh with given name is visible

[LIGHT_EXTRA_...]
;clock minutes
BOUND_TO=
COLOR=179, 198, 208, 0.25
DIFFUSE_CONCENTRATION=0.99
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
FADE_AT=4
FADE_SMOOTH=2
MIRROR=0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.065, 0.73, 0.505
DIRECTION=0.0, -0.7, -1
RANGE=0.08
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.02
SPOT=160
SPOT_SHARPNESS=0.01

[LIGHT_EXTRA_...]
;clock hours
BOUND_TO=
COLOR=179, 198, 208, 0.25
DIFFUSE_CONCENTRATION=0.99
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
FADE_AT=4
FADE_SMOOTH=2
MIRROR=0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.042, 0.73, 0.505
DIRECTION=0.0, -0.7, -1
RANGE=0.08
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.02
SPOT=160
SPOT_SHARPNESS=0.01

;-----DASH WARNINGS----------------------------------------------------------------------
[EMISSIVE_ENGINE_DAMAGE_0]
NAME=ce
COLOR=50,40,1,0.3
ENGINE_LIFE_THRESHOLD=900
LAG=0.3

[EMISSIVE_ENGINE_DAMAGE_1]
;radiator emissive
NAME=rad
COLOR=25,1,0,0.5
ENGINE_LIFE_THRESHOLD=500
LAG=0.3

[EMISSIVE_ENGINE_DAMAGE_2]
;oil emissive
NAME=oil
COLOR=25,1,0,0.5
ENGINE_LIFE_THRESHOLD=250
LAG=0.3

[EMISSIVE_...]
NAME=oil,bat,rad,cat
BIND_TO=STALLED 
COLOR=25,1,0,0.5
LAG=0.3

[EMISSIVE_...]
;check engine emissive
NAME=ce
BIND_TO=STALLED 
COLOR=50,40,1,0.3
LAG=0.3

[EMISSIVE_HANDBRAKE_0]
;hand brake emissive
NAME=hb
COLOR=25, 1, 0, 0.5
LAG=0.5
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_...]
NAME=fuel
BIND_TO=FUEL
INPUT_THRESHOLD=7  
INPUT_THRESHOLD_INVERSE=1
COLOR=50,40,1,0.5
LAG=0.3

[EMISSIVE_OPENDOORS_0]
NAME=dors, hatch
COLOR=25,1,0,0.5
LAG=0.3
SIMULATE_HEATING=0.0
LOCATION=NONE

[EMISSIVE_...]
;power tumbler
;INPUT = RPM
;INPUT_THRESHOLD=10
INPUT_THRESHOLD_INVERSE=1
NAME = misc_mesh
BIND_TO=STALLED 
CHANNEL=2
COLOR = 5,40,5, 2
;------GAUGES EMISSIVES------------------------------------------------------
[LIGHT_EXTRA_...]
;tachometer selflight
BOUND_TO=plate_l
COLOR=200,200,200, 50
DIFFUSE_CONCENTRATION=0.90
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
FADE_AT=14
FADE_SMOOTH=14
MIRROR=0.0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.381, 0.665, 0.297
DIRECTION=1, 0.5, 2
RANGE=0.098
RANGE_GRADIENT_OFFSET=0.1
SPECULAR_MULT=0.0
SPOT=135
SPOT_SHARPNESS=0.1

[EMISSIVE_EXTRA_A_...]
;greddy arrows emiss
NAME=arrow?
CHANNEL=0
COLOR=40,20,5, 0.6
FALLBACK_HIGHBEAM_COLOR=40,20,5, 0.6
FALLBACK_LOWBEAM_COLOR=40,20,5, 0.6
FALLBACK_HEADLIGHTS_COLOR=40,20,5, 0.6
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_A_...]
;greddy base green emiss
NAME=gauges_mesh
CHANNEL=0
COLOR=5,40,5, 0.12
FALLBACK_HIGHBEAM_COLOR=5,40,5, 0.12
FALLBACK_LOWBEAM_COLOR=5,40,5, 0.12
FALLBACK_HEADLIGHTS_COLOR=5,40,5, 0.12
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_A_...]
;greddy base red emiss
NAME=gauges_mesh
CHANNEL=1
COLOR=40,12,2, 0.15
FALLBACK_HIGHBEAM_COLOR=40,15,5, 0.15
FALLBACK_LOWBEAM_COLOR=40,15,5, 0.15
FALLBACK_HEADLIGHTS_COLOR=40,15,5, 0.15
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_A_...]
;ultra display emiss
NAME=DISPLAY_SP
CHANNEL=0
COLOR=115,255,0, 0.028
FALLBACK_HIGHBEAM_COLOR=115,255,0, 0.028
FALLBACK_LOWBEAM_COLOR=115,255,0, 0.028
FALLBACK_HEADLIGHTS_COLOR=115,255,0, 0.028
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_A_...]
;hks evc display emiss
NAME=DISPLAY_SP
CHANNEL=1
COLOR=255,115,0, 0.028
FALLBACK_HIGHBEAM_COLOR=255,115,0, 0.028
FALLBACK_LOWBEAM_COLOR=255,115,0, 0.028
FALLBACK_HEADLIGHTS_COLOR=255,115,0, 0.028
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
;BIND_TO=RPM
;INPUT=7000
;INPUT_THRESHOLD_INVERSE=0

[EMISSIVE_EXTRA_A_...]
;hks evc buttons emiss
NAME=decal1
CHANNEL=0
COLOR=255,255,64, 0.02
FALLBACK_HIGHBEAM_COLOR=255,255,64, 0.02
FALLBACK_LOWBEAM_COLOR=255,255,64, 0.02
FALLBACK_HEADLIGHTS_COLOR=255,255,64, 0.02
LAG=0.5
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
;------GREDDY GAUGES WARNINGS------------------------------------------------------
[EMISSIVE_...]
;oil press warning
NAME=gauges_mesh
BIND_TO=OIL
CHANNEL=2
INPUT_THRESHOLD=6.83
INPUT_THRESHOLD_INVERSE=0
INPUT_LAG_UP=0.995
INPUT_LAG_DOWN=0.985
LAG=0.3
COLOR=40,2,0, 4

[EMISSIVE_...]
;oil temp warning
NAME=gauges_mesh
CHANNEL=3
BIND_TO=WATER_TEMP
INPUT_THRESHOLD=89
INPUT_THRESHOLD_INVERSE=0
INPUT_LAG_UP=0.99
INPUT_LAG_DOWN=0.9997
LAG=0.3
COLOR=40,2,0, 4

[EMISSIVE_...]
;water temp warning
NAME=gauges_mesh
CHANNEL=5
BIND_TO=WATER_TEMP
INPUT_THRESHOLD=89
INPUT_THRESHOLD_INVERSE=0
INPUT_LAG_UP=0.99
INPUT_LAG_DOWN=0.9997
LAG=0.3
COLOR=40,2,0, 4

[EMISSIVE_...]
;turbo warning
NAME=gauges_mesh
CHANNEL=4
BIND_TO=TURBO
INPUT_THRESHOLD=1.17
INPUT_THRESHOLD_INVERSE=0
INPUT_LAG_UP=0.5
INPUT_LAG_DOWN=0.5
LAG=0.3
COLOR=40,2,0, 4

[EMISSIVE_...]
;overreving warning
INPUT = RPM
INPUT_THRESHOLD=8000
INPUT_THRESHOLD_INVERSE=0
NAME = misc_mesh
CHANNEL=0
COLOR = 40,20,0, 5
BLINK_REPEAT=1
BLINK_FREQUENCY_HZ=5

[EMISSIVE_...]
;overspeeding warning
INPUT = SPEED
INPUT_THRESHOLD=299
NAME=DISPLAY_SP
CHANNEL=0
COLOR = 40,4,0, 1
BLINK_REPEAT=1
BLINK_FREQUENCY_HZ=1.04
;------GAUGES SPRITES------------------------------------------------------
[LIGHT_EXTRA_...]
;tachometer gauge sprite outside
BOUND_TO=plate_l
COLOR=255,161,72, 8
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
FADE_AT=7
FADE_SMOOTH=7
MIRROR=0.0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.351, 0.695, 0.31
DIRECTION=0, 0.37, -1
RANGE=0.29
RANGE_GRADIENT_OFFSET=-0.2
SPECULAR_MULT=0.1
SPOT=135
SPOT_SHARPNESS=0.1

[LIGHT_EXTRA_...]
;water temp sprite inside
BOUND_TO=plate_l
COLOR=4,25,7, 50
DIFFUSE_CONCENTRATION=1.2
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
FADE_AT=4
FADE_SMOOTH=4
MIRROR=0.0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.273, 0.726, 0.33
DIRECTION=0.0, 0.50, -1
RANGE=0.05
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.5
SPOT=180
SPOT_SHARPNESS=0.01

[LIGHT_EXTRA_...]
;turbo sprite inside
BOUND_TO=plate_l
COLOR=4,25,7, 50
DIFFUSE_CONCENTRATION=1.2
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
FADE_AT=4
FADE_SMOOTH=4
MIRROR=0.0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.43, 0.727, 0.33
DIRECTION=0.0, 0.50, -1
RANGE=0.05
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.5
SPOT=180
SPOT_SHARPNESS=0.01

[LIGHT_EXTRA_...]
;oil press sprite inside
BOUND_TO=plate_l
COLOR=4,25,7, 50
DIFFUSE_CONCENTRATION=1.2
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
FADE_AT=4
FADE_SMOOTH=4
MIRROR=0.0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.228, 0.679, 0.315
DIRECTION=0.0, 0.50, -1
RANGE=0.05
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.5
SPOT=180
SPOT_SHARPNESS=0.01

[LIGHT_EXTRA_...]
;shift up sprite outside
BOUND_TO=misc_mesh
CHANNEL=0
COLOR=40,10,0, 40
DIFFUSE_CONCENTRATION=1.2
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
AFFECTS_TRACK=0
FADE_AT=7
FADE_SMOOTH=7
MIRROR=0.0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.351, 0.75, 0.319
DIRECTION=0, 0.35, -1
RANGE=0.25
RANGE_GRADIENT_OFFSET=-0.3
SPECULAR_MULT=0.5
SPOT=190
SPOT_SHARPNESS=0.1

[LIGHT_EXTRA_...]
;oil temp sprite inside
BOUND_TO=plate_l
COLOR=4,25,7, 50
DIFFUSE_CONCENTRATION=1.2
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
FADE_AT=4
FADE_SMOOTH=4
MIRROR=0.0, 0, 0
MIRROR_DIRECTION=1
POSITION=0.0544, 0.518, 0.255
DIRECTION=0.0, 0.50, -1
RANGE=0.05
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.5
SPOT=180
SPOT_SHARPNESS=0.01
;---------------------------------------------------------------------
[LIGHT_EXTRA_...]
;tl sprite
BOUND_TO=tb_l
COLOR=10,100,0,50
DIFFUSE_CONCENTRATION=1.05
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
FADE_AT=4
FADE_SMOOTH=4
MIRROR=0.0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.221, 0.723, 0.318
DIRECTION=0.0, 0.40, -1
RANGE=0.1
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.1
SPOT=180
SPOT_SHARPNESS=0.01

[LIGHT_EXTRA_...]
;tr sprite
BOUND_TO=tb_r
COLOR=10,100,0,50
DIFFUSE_CONCENTRATION=1.05
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
FADE_AT=4
FADE_SMOOTH=4
MIRROR=0.0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.48, 0.723, 0.318
DIRECTION=0.0, 0.40, -1
RANGE=0.1
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.1
SPOT=180
SPOT_SHARPNESS=0.01

[LIGHT_EXTRA_...]
;... sprite
BOUND_TO=misc_mesh
CHANNEL=0
COLOR=100,0,0,5
DIFFUSE_CONCENTRATION=0.2
EXTERIOR_ONLY=0
INTERIOR_ONLY=1
AFFECTS_TRACK=0
FADE_AT=4
FADE_SMOOTH=4
MIRROR=0.0, 0, 0
MIRROR_DIRECTION=1
POSITION=-0.351, 0.749, 0.319
DIRECTION=0.0, 0.50, -1
RANGE=0.06
RANGE_GRADIENT_OFFSET=0.01
SPECULAR_MULT=0.3
SPOT=180
SPOT_SHARPNESS=0.01