
[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1


[AUDIO_VOLUME]
ENGINE_EXT = 2.5
ENGINE_INT = 1.6
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 0.8
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1.4
BACKFIRE_INT = 1.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 1.0
LIMITER = 1.0
TURBO = 9.0
HIT = 1.0
SCRAPE = 1.0
WHEEL = 0.8
SKID_EXT = 1.0
SKID_INT = 0.6

[AUDIO_PITCH]
ENGINE_EXT = 1.1
ENGINE_INT = 1.1
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 1.0
BACKFIRE_INT = 1.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 0.0
LIMITER = 1.0
TURBO = 1.155
HIT = 1.0
SCRAPE = 1.0
WHEEL = 1.0
SKID_EXT = 1.0
SKID_INT = 1.0



;================================================

;                REVERSE LIGHTS

;================================================

[EMISSIVE_REVERSE_0]
NAME = LEFT_REVERSE_1, REAR_LEFT_REVERSE_2, REAR_RIGTH REVER_2, REAR_RIGTH REVERSE_1, REAR REVER_5, REAR_REVERSE_3, REAR_LEFT_REVERSE_2_002
COLOR = 25, 25, 25, 5
OFF_COLOR = 0, 0, 0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR
ACT_AS_HEADLIGHTS = 0

;================================================

;                  INDICATORS

;================================================


; Front Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = RIGTH_FRONT_SIGNAL
COLOR = 255, 128, 0, 5
OFF_COLOR = 0, 0, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1


; Front Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = LEFT_FRONT_SIGNAL
COLOR = 255, 128, 0, 5
OFF_COLOR = 0, 0, 0, 1

LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1





;================================================

; Rear Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = REAR_RIGTH_TURN
COLOR = 255, 200, 0, 1
OFF_COLOR = 0, 0, 0, 0.00
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR


; Rear Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME =REAR_LEFT_TURN
COLOR = 255, 200, 0, 1
OFF_COLOR = 0, 0, 0, 0.00
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR

;================================================

; Mirror Right

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = RIGTH_SMALL_TURN
COLOR = 255, 200, 0, 1
OFF_COLOR = 0, 0, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1


; Mirror Left

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = LEFT_SMALL_TURN
COLOR = 255, 200, 0, 1
OFF_COLOR = 0, 0, 0, 1
LAG = 0.4
SIMULATE_HEATING = 0.3
LOCATION = Front
CAST_LIGHT = 1

;================================================

;                 HEAD LIGHTS

;================================================


[EMISSIVE_HIGHBEAM_...]
NAME = LIGHT_FRONT_1
COLOR = 200, 200, 210, 2
FALLBACK_HEADLIGHTS_COLOR = 200, 200, 210, 1
ACT_AS_HEADLIGHTS=1
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = FRONT

[EMISSIVE_LIGHT_1]
NAME = Mesh_MainBody69
COLOR = 100, 100, 100
OFF_COLOR = 100, 100, 100
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = FRONT


;[EMISSIVE_HIGHBEAM_...]
;NAME = LIGHT_RAIN_1
;COLOR = 200, 200, 80, 5
;LAG = 0.1
;SIMULATE_HEATING = 0.0
;LOCATION = FRONT

;================================================

;                 TAIL LIGHTS

;================================================

; Inner Rear Running Lights

[EMISSIVE_LIGHT_...]
NAME = LIGHT_REAR_1,LIGHT_REAR_1.001
COLOR = 40, 5, 5, 3.5
OFF_COLOR = 40, 5, 5, 0.0
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR


; 3rd Brake Light

[EMISSIVE_BRAKE_0]
NAME =,LIGHT_REAR_OUT_3,LIGHT_BREAK_OUT_2,LIGHT_BREAK_3,LIGHT_BREAK_4,LIGHT_REAR_OUT_3.001
FALLBACK_BRAKES_COLOR = 110, 10, 10, 2
COLOR = 110, 10, 10, 2
LAG = 0.1
SIMULATE_HEATING = 0.01
LOCATION = REAR

;Brake Lights
[EMISSIVE_BRAKE_1]
NAME=LIGHT_BREAK_2
COLOR=110, 10, 10, 2
OFF_COLOR=0,0,0
FALLBACK_HEADLIGHTS_COLOR =0,0,0
CAST_LIGHT=1
ACT_AS_HEADLIGHTS=0
FALLBACK_BRAKES_COLOR = 110, 10, 10, 2
INPUT = BRAKE
INPUT_THRESHOLD = 0.95
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 3 ; sets frequency for blinking

;==================================================================================================

;                                              INTERIOR

;==================================================================================================


[INCLUDE: common/materials_interior.ini]
DisableDev = 1

[CAR_STEREO_...]
;ACTIVE = $" read('csp/version', 0) >= 1279 "

MESHES = Music
RESOLUTION = 700, 455
DISPLAY_POS = 95, 30
Size = 575, 315
COLOR = 2, 2, 4
FADE_WHEN_INACTIVE = 0.95
DITHERING = 2

; background
RECT_4 = 1
RECT_4_START = 0, 0
RECT_4_SIZE = 575, 315
RECT_4_COLOR = 0, 0, 0, 1
RECT_4_Z_INDEX = -10

; main text
TEXT_CSP_0 = "{Track}"
TEXT_CSP_0_NOALBUM = "{Track}"
TEXT_CSP_0_NOARTIST = "{Track}"
TEXT_CSP_0_FALLBACK = ""
TEXT_CSP_0_ALIGN_LAYOUT = 0.0
TEXT_CSP_0_START = 210, 85
TEXT_CSP_0_SIZE = 355, 48
TEXT_CSP_0_FONT_TYPE = MONOSPACE
TEXT_CSP_0_Z_INDEX = 10
TEXT_CSP_0_SCALE = 1
TEXT_CSP_0_BOLD = 1

; main text
;TEXT_CSP_4 = "{Artist}"
;TEXT_CSP_4_NOALBUM = "{Artist}"
;TEXT_CSP_4_NOARTIST = ""
;TEXT_CSP_4_FALLBACK = ""
;TEXT_CSP_4_ALIGN_LAYOUT = 0.0
;TEXT_CSP_4_START = 210, 130
;TEXT_CSP_4_SIZE = 390, 48
;TEXT_CSP_4_FONT_TYPE = MONOSPACE
;TEXT_CSP_4_Z_INDEX = 10
;TEXT_CSP_4_SCALE = 1
;TEXT_CSP_4_BOLD = 0
;
; track position
;TEXT_CSP_1 = "{Position:%02d:%02d//--:--}"
;TEXT_CSP_1_ALIGN_LAYOUT = 0
;TEXT_CSP_1_START = 204, 175
;TEXT_CSP_1_SIZE = 460, 48
;TEXT_CSP_1_FONT_TYPE = MONOSPACE
;TEXT_CSP_1_Z_INDEX = 10
;TEXT_CSP_1_SCALE = 0.8
;TEXT_CSP_1_BOLD = 0

; track duration
;TEXT_CSP_2 = "{Duration:%02d:%02d//--:--}"
;TEXT_CSP_2_ALIGN_LAYOUT = 1, 0
;TEXT_CSP_2_START = 260, 175
;TEXT_CSP_2_SIZE = 80, 48
;TEXT_CSP_2_FONT_TYPE = MONOSPACE
;TEXT_CSP_2_Z_INDEX = 10
;TEXT_CSP_2_SCALE = 0.8
;TEXT_CSP_2_BOLD = 0

; track duration
;TEXT_CSP_3 = "/"
;TEXT_CSP_3_ALIGN_LAYOUT = 1, 0
;TEXT_CSP_3_START = 260, 175
;TEXT_CSP_3_SIZE = 20, 48
;TEXT_CSP_3_FONT_TYPE = MONOSPACE
;TEXT_CSP_3_Z_INDEX = 10
;TEXT_CSP_3_SCALE = 0.8
;TEXT_CSP_3_BOLD = 0
;
;; progress bar background
;RECT_5 = 1
;RECT_5_START = 65, 236
;RECT_5_SIZE = 113, 1
;RECT_5_Z_INDEX = 12
;RECT_5_COLOR = 1, 1, 1, 1
;
;; progress bar background
;RECT_6 = 1
;RECT_6_START = 65, 232
;RECT_6_SIZE = 113, 5
;RECT_6_Z_INDEX = 11
;RECT_6_COLOR = 1, 0.5, 0, 1
;RECT_6_SCALE_WITH_PROGRESS = 1, 0
;
;; album cover in the middle
;ALBUM_COVER_0 = 1
;ALBUM_COVER_0_START = 40, 80
;ALBUM_COVER_0_SIZE = 170, 170
;ALBUM_COVER_0_Z_INDEX = -1
;ALBUM_COVER_0_FALLBACK = MUSIC
;ALBUM_COVER_0_FALLBACK_COLOR = 0.3, 0.3, 0.3, 1
;ALBUM_COVER_0_FALLBACK_BACKGROUND = 0.05, 0.05, 0.05, 1
;ALBUM_COVER_0_FALLBACK_SIZE = 28
;ALBUM_COVER_0_COLOR = 1, 1, 1, 1
;
;; animation below album cover
;ANIMATION_0 = 12, 8
;ANIMATION_0_START = 40, 152
;ANIMATION_0_BLOCK = 10, 2
;ANIMATION_0_MARGIN = 3, 3
;ANIMATION_0_BASE_ROW = BOTTOM
;
;; larger album cover for background, drawn on top of reflected animation and its gradient, very transparent
;ALBUM_COVER_1 = 1
;ALBUM_COVER_1_START = -60, 0
;ALBUM_COVER_1_SIZE = 427, 472
;ALBUM_COVER_1_COLOR = 1, 1, 1, 0.04
;ALBUM_COVER_1_Z_INDEX = -10

; larger album cover for background, drawn on top of reflected animation and its gradient, very transparent
;ALBUM_COVER_1 = 1
;ALBUM_COVER_1_START = -90, -150
;ALBUM_COVER_1_SIZE = 775, 775
;ALBUM_COVER_1_COLOR = 1, 1, 1, 0.09
;ALBUM_COVER_1_Z_INDEX = -10





;================================================

[INSTRUMENTS]
HAZARDS_G_THRESHOLD=1.1


; Dash, Shifter, Heater icons - Red/Orange

[EMISSIVE_LIGHT_...]
NAME=TextPlaneBase
COLOR=3,1.5,2

[EMISSIVE_LIGHT_...]
NAME=Box0??, WATER_TEMP_??
COLOR=1,1,1,2
OFF_COLOR=1,1,1,2


; Right Door icons - Red/Orange

[EMISSIVE_LIGHT_...]
NAME=TextPlaneRight
COLOR=3,1.5,2


; Left Door icons - Red/Orange

[EMISSIVE_LIGHT_...]
NAME=TextPlaneLeft
COLOR=3,1.5,2




;================================================


[EMISSIVE_HIGHBEAM_...]
NAME = LIGHT_ONIN
COLOR = 0.1, 0.1, 1, 10
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_LOWBEAM_...]
NAME = LIGHT_ONIN
COLOR = 0.1, 1, 0.1, 10
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME = LEFT_TURN_IN
COLOR = 0, 1, 0, 45
CAST_LIGHT = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME = INDICARTOR_IN_RIGTH
COLOR = 0, 1, 0, 45
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_HAZARD_...]
NAME = hazard_button
COLOR = 2, 1, 1, 2
Cast_Light = 0
TOGGLE_VISIBILITY = 0
LAG=0.1


[EMISSIVE_HANDBRAKE_...]
NAME = gauge_brake
COLOR = 2, 1, 1, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TRACTIONCONTROL_...]
NAME = gauge_traction
COLOR = 0, 0, 0, 1
OFF_COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_TRACTIONCONTROL_INACTION_...]
NAME = gauge_traction_active
COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_ABS_...]
NAME = gauge_abs
COLOR = 0, 0, 0, 1
OFF_COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1


[EMISSIVE_ABS_INACTION_...]
NAME = gauge_abs_active
COLOR = 2, 1, 0, 4
Cast_Light = 0
TOGGLE_VISIBILITY = 1
LAG=0.1

[EMISSIVE_...]
NAME=gauge_fuel_lit
TOGGLE_VISIBILITY = 1
COLOR= 2, 1, 0, 4
INPUT=FUEL
INPUT_THRESHOLD = 7
INPUT_THRESHOLD_INVERSE = 1
LAG=0.1


[SHADOWED_WHEELS]
ANGLE=12
OFFSET=0
OPACITY=0.8
WIDTH=0.15

[SHADOWED_TYRES]
ANGLE=6
OFFSET=0
OPACITY=0.8
WIDTH=0.05
EXTRA_AMBIENT_BRIGHTNESS=0.0

[TYRES_FX]
DIRT_WIDTH_K=1.2

[BASIC]
DIESEL_ENGINE = 0 		; or 1

[PARTICLES_FX_EXHAUST_...]
POSITION = -0.01, 0.28, -2.3 		; self explanatory
DIRECTION = 0, 0.3, -1 			; self explanatory
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.1, 0.3			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_FLAMES]
COLOR_MULT=1, 1, 1, 1
INTENSITY_MULT=1.5
SIZE_MULT=1.5
TEMPERATURE_MULT=1

[EXHAUST_FLAMES]
ANTILAG=1
ANTILAG_DELAY=0.15
ANTILAG_INTENSITY=1
ANTILAG_INTERVAL_MAX=6500
ANTILAG_INTERVAL_MIN=5800
ANTILAG_TURBO_THRESHOLD=1.53887
DAMAGE=0
;DAMAGE_DURATION=0.05
;DAMAGE_INTENSITY=1
;DAMAGE_PROBABILITY=1
DISCHARGE=1
DISCHARGE_CHARGE_TIME=2
DISCHARGE_DELAY=1
DISCHARGE_DURATION=1
DISCHARGE_INTENSITY=0.64
DISCHARGE_PROBABILITY=0.88
DISCHARGE_RPM_THRESHOLD_MAX=6500
DISCHARGE_RPM_THRESHOLD_MIN=4500
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=80
FLAT_SHIFT=1
FLAT_SHIFT_COOLDOWN=0.23
FLAT_SHIFT_DURATION=0.05
FLAT_SHIFT_GAS_THRESHOLD=0.3
FLAT_SHIFT_INTENSITY=0.1
FLAT_SHIFT_PROBABILITY=1
FLAT_SHIFT_RPM_THRESHOLD=6000
LIMITER=1
LIMITER_DELAY=0.3
LIMITER_INTENSITY=1
LIMITER_RPM_THRESHOLD=6500


;cluster needles
[EMISSIVE_LIGHT_...]
NAME=LIGHT_DASHBOARD_3
COLOR = 1,1,1,2
OFF_COLOR =  1,1,1,2
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
BIND_TO_EXTRA_A=0
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

;cluster needles
[EMISSIVE_...]
NAME=LIGHT_DASHBOARD_5
COLOR = 1,0.1,0,200
OFF_COLOR =  1,1,1,2
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
INPUT = RPM
INPUT_THRESHOLD = 6500
BLINK_REPEAT = 1 ; just make it blink
BLINK_FREQENCY_HZ = 15 ; sets frequency for blinking

[EMISSIVE_LIGHT_...]
;cluster needles
NAME=SCREEN_HONDA
COLOR = 1,1,1, 2 
OFF_COLOR =  1,1,1, 2
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
BIND_TO_EXTRA_A=0
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_LIGHT_...]
;cluster needles
NAME=Mesh_ARROW_RPM1
COLOR = 1,1,1,6
OFF_COLOR =  1,1,1,6
LAG=0.1
SIMULATE_HEATING=0
LOCATION=NONE
BIND_TO_EXTRA_A=0
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[ODOMETER_MAIN]
DIGITAL_ITEM=5
DIGITAL_ITEM_NUMBER_FORMAT=06.0
UPPER_BOUND=999999
; add zero to add leading zeros

[SHAKING_EXHAUST_...]
MESHES = exaust 2
POINT_0 = -0.34, 0.12, -0.354
POINT_0_RADIUS = 1
POINT_0_EXP = 0.005

[SHAKING_EXHAUST_...]
MESHES = engine_SUB0
POINT_0 = -0.34, 0.12, -0.354
POINT_0_RADIUS = 1
POINT_0_EXP = 0.005

[INSTRUMENTS]
HAZARDS_G_THRESHOLD = 1.9  ; set G-force for hazards to turn on automatically on sudden braking


;FOG LIGHTS
[EMISSIVE_EXTRA_D_1]
NAME=LIGHT_RAIN_1_R,LIGHT_RAIN_1_L
COLOR=1, 1, 1,300
OFF_COLOR=0,0,0
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
LOCATION=MIDDLE


;Daytime Running Cast Light
[LIGHT_EXTRA_0] 
BOUND_TO=Mesh_MainBody69
COLOR=1,1,1,5
LAG=0.8
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0.75
POSITION=0,0.8,2.0
DIRECTION=0.2,0,1.7
RANGE=7
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=1
SPOT=150
SPOT_SHARPNESS=0.1
VOLUMETRIC_LIGHT=0

;[LIGHT_EXTRA_1] 
;BOUND_TO=Mesh_MainBody69
;COLOR=1,1,1,10
;LAG=0.8
;DIFFUSE_CONCENTRATION=1
;EXTERIOR_ONLY=0
;INTERIOR_ONLY=0
;FADE_AT=100
;FADE_SMOOTH=5
;POSITION=0.75,0.8,2.5
;DIRECTION=0.2,0,1.7
;RANGE=5
;RANGE_GRADIENT_OFFSET=0.5
;SPECULAR_MULT=1
;SPOT=150
;SPOT_SHARPNESS=0.1
;VOLUMETRIC_LIGHT=0

[EMISSIVE_EXTRA_D_0] 
BIND_TO_EXTRA_Z=1
BIND_TO_HEADLIGHTS=0
NAME =FRONT_LICSENSE
COLOR=0,0,1,1
OFF_COLOR = 0,0,0
LAG = 999999999999999999999999999999999999999999999
SIMULATE_HEATING = 0
LOCATION =FRONT
ACT_AS_HEADLIGHTS = 0
TOGGLE_VISIBILITY=1
TOGGLE_VISIBILITY_INVERSE=0


; front Headlights
[LIGHT_HEADLIGHTS]
BOUND_TO=LIGHT_FRONT_1
BOUND_EMISSIVE_MAX	= 100

; Brake Lights
[LIGHT_BRAKES]
COLOR=40,5,5

[LIGHT_BRAKE_0]
BOUND_TO=LIGHT_BREAK_3


;Left Fog Cast Light
[LIGHT_EXTRA_1] 
BOUND_TO=LIGHT_RAIN_1_R
COLOR=1,1,1,25
LAG=0.8
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
MIRROR=0
POSITION=-0.65,0.2,1.9
DIRECTION=-0.7,0,1.7
RANGE=10
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=45
SPOT_SHARPNESS=0.1
VOLUMETRIC_LIGHT=0

;;Right Fog Cast Light
[LIGHT_EXTRA_2] 
BOUND_TO=LIGHT_RAIN_1_L
COLOR=1,1,1,25
LAG=0.8
DIFFUSE_CONCENTRATION=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100
FADE_SMOOTH=5
POSITION=0.65,0.2,1.9
DIRECTION=0.7,0,1.7
RANGE=10
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=45
SPOT_SHARPNESS=0.1
VOLUMETRIC_LIGHT=0

;Cornering Light Right
[EMISSIVE_CORNERINGLAMP_RIGHT_1]
NAME=LIGHT_RAIN_1_R
COLOR=1,1,1,300
CAST_LIGHT=1
STEER_THRESHOLD= 50

;Cornering Light Left
[EMISSIVE_CORNERINGLAMP_LEFT_1]
NAME=LIGHT_RAIN_1_L
COLOR=1,1,1,300
CAST_LIGHT=1
STEER_THRESHOLD= -50


[LIGHT_TURNSIGNAL_LEFT_0]
POSITION=0.7, 0.66, 2.1


[LIGHT_TURNSIGNAL_RIGHT_0]
POSITION=-0.7, 0.66, 2.1

[LIGHT_TURNSIGNAL_LEFT_1]
POSITION=0.8, 0.89, -2.3

[LIGHT_TURNSIGNAL_RIGHT_1]
POSITION=-0.8, 0.89, -2.3

[LIGHT_TURNSIGNAL_LEFT_2]
POSITION=1.0, 0.89, 1.4

[LIGHT_TURNSIGNAL_RIGHT_2]
POSITION=-1.0, 0.89, 1.4

[LIGHT_TURNSIGNAL_RIGHT_3]
COLOR=0,0,0

[LIGHT_TURNSIGNAL_LEFT_3]
COLOR=0,0,0

;Rear NumberPlate Cast Lights
[LIGHT_LICENSEPLATE]
; no need to specify meshes names if material is using
; Plate_D.dds and Plate_NM.dds textures
MESHES=mesh2
OFFSET=0.00, 0.02, -0.02
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.02
SPOT=230
SPOT_SHARPNESS=0.09
COLOR=1,1,1,20
OFF_COLOR=0,0,0
FALLBACK_EMISSIVE=1,1,1,1
LAYOUT=ONE_ON_TOP


;TODO
;[REFRACTING_HEADLIGHT_0]
;SURFACE = LIGHT_BREAK_OUT_1
;INSIDE = LIGHT_REAR_1,LIGHT_BREAK_2,LIGHT_REAR_OUT_3,LIGHT_BREAK_OUT_2,LIGHT_BREAK_3,LIGHT_BREAK_4
;;ABSORPTION = 0.132
;;AMBIENT_MULT = 0.91
;;BASE_EMISSIVE_K = 0.07
;;BOUNCED_BACK_MULT = 0.77
;;BULB_BLUR_K = 4
;;BULB_REFLECTION_K = -0.35
;;CUSTOM_BULB_0 = 0.5, 0.5, 0, 0
;;CUSTOM_BULB_1 = 0.5, 0.5, 0, 0
;;CUSTOM_BULB_2 = 0.5, 0.5, 0, 0
;;CUSTOM_BULB_3 = 0.5, 0.5, 0, 0
;;DIFFUSE_MAP_FILTER_MULT = 3.82
;;DIFFUSE_MAP_MULT = 1
;;DIRECTION = -0.00185288, -0.000280448, 0.999998
;;DYNAMIC_EMISSIVE_MAP = 0
;;EMISSIVE_MULT = 0.53
;;EXTRA_GLASS_COLORIZATION = 0
;;EXTRA_SIDE_THICKNESS = 353
;;F0 = 1
;;GLASS_COLOR = 1, 0.9999, 0.9999
;;GLASS_EMISSIVE_MULT = 0.13
;;GLASS_EXTRA_THICKNESS = 0
;;INNER_SPECULAR = 18.4
;;INNER_SPECULAR_EXP = 600
;;IOR = 1
;;IOR_FLYOUT_FLAT = 0.51
;;LOD_BIAS = 0
;;MIRROR_2_AS_5 = 0
;;MIRROR_3_AS_4 = 1
;;MIRROR_DIR = -1.00349, -1.1895e-05, -3.93018e-07
;;MIRROR_POS = 0.00369263, -0.00393009, 4.95911e-05
;;NM_SHARE_EXT = 0.4
;;NM_SHARE_INT = 0.57
;;ORIGIN = -0.586426, 0.347102, -1.7591
;;RADIUS = 0.0530001
;;RAYTRACE_STEP_INCREASE = 1
;;RAYTRACE_STEP_START = 0
;;REFLECTIVENESS_DIFFUSE_MULT = 100
;;REFLECTIVENESS_MULT = 10
;;REFLECTIVE_GAMMA = 0.7
;;REFRACTION_MASKING = 0
;;SIDE_FALLOFF = 3.52
;;USE_COLORED_BULBS = 0
;;USE_CUSTOM_BULBS = 0
;;USE_NORMAL_ALPHA = 1
;SYNC_EMISSIVE_AUTO = 1


 ;       ///FRONT_HEADLIGHTS_GLASS///
[INCLUDE: common/materials_glass.ini]
[Material_PhotoelasticGlass]
Meshes= Mesh_GLASS_FRONT_1,Mesh_GLASS_REAR_1,Mesh_GLASS_REAR_1.001

;set settings for lcd screen icons
[SHADER_REPLACEMENT_...]
MESHES=Mesh_GLASS_REAR_1.001,LIGHT_BREAK_OUT_1.001
IS_TRANSPARENT=1

;set settings for lcd screen icons
;[SHADER_REPLACEMENT_...]
;MESHES=Mesh_GLASS_WindScreen1
;CULL_MODE=DOUBLESIDED




[ANIMATION_1]
FILE=
TIME= 0.01
BIND_TO_EXTRA_A=1

[ANIMATION_2]
FILE=car_door_L.ksanim
TIME= 2
BIND_TO_EXTRA_C=1

[ANIMATION_3]
FILE=car_door_R.ksanim
TIME= 2
BIND_TO_EXTRA_C=1

[ANIMATION_4]
FILE=trunk.ksanim
TIME= 2
BIND_TO_EXTRA_C=1

[ANIMATION_5]
FILE=hood.ksanim
TIME= 2
BIND_TO_EXTRA_C=1



[SHADER_REPLACEMENT_...]
MESHES=Mesh_GLASS_RIGHT_1_INTERIOR,Mesh_GLASS_CENTER_INTERIOR,Mesh_GLASS_LEFT_2_INTERIOR,Mesh_GLASS_CENTER_INTERIOR.001
SHADER=ksWindscreen
IS_TRANSPARENT=1

[SHADER_REPLACEMENT_...]
MESHES=Mesh_GLASS_CENTER_1.001
IS_TRANSPARENT=1


;Animations~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[WIPERS]
WIND_THRESHOLDS_KMH = 60, 150 ; speed for wipers to start vibrating and for maximum vibration
WIND_AMPLITUDE_MULT = 1 ; multiplier for amplitude
WIND_FREQUENCY_MULT = 1 ; multiplier for frequency
WIND_OFFSET = 0.03 ; base animation2

[WIPERS_TRACE_...]
SURFACE = Mesh_MainBody52,Mesh_GLASS_CENTER_1,Mesh_GLASS_WindScreen1,Mesh_GLASS_CENTER_1.001,Mesh_GLASS_CENTER_INTERIOR.001
WIPERS = Mesh_WIPER3,Mesh_WIPER4



[EMISSIVE_LIGHT_...]
NAME=LIGHT_DASHBOARD_1,Mesh_STEER_HR1_5,LIGHT_DASHBOARD_4
COLOR=1, 1, 1, 2
OFF_COLOR=0, 0, 0
CAST_LIGHT=0
LAG=0.0
SIMULATE_HEATING=0.0
;LOCATION=FRONT

;HandBrake Dash Light
[EMISSIVE_HANDBRAKE_1]
NAME=LIGHT_DASHBOARD_1_Park
TOGGLE_VISIBILITY = 0
COLOR=1,0,0,6
OFF_COLOR=1,1,1,2
LAG=0.2
CAST_LIGHT=0

;START Dash Light
[EMISSIVE_BATTERY_2]
NAME=LIGHT_DASHBOARD_1_START
TOGGLE_VISIBILITY = 0
OFF_COLOR=1,0,0,2
COLOR=1,1,1,2
LAG=0.2
CAST_LIGHT=0

;Traction Control Dash Light;
[EMISSIVE_...]
NAME=LIGHT_DASHBOARD_1_TC
COLOR=1,0.6,0.1,6
FALLBACK_HEADLIGHTS_COLOR = 1,1,1,2
INPUT= TRACTIONCONTROL
INPUT_THRESHOLD = 0
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=0

[EMISSIVE_LIGHT_...]
NAME=LIGHT_DASHBOARD_1_AIRBAG
COLOR=1.3,1,0,4
OFF_COLOR=1.3,1,0,4
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0

;Hazard Button
[EMISSIVE_HAZARD_1]
NAME= LIGHT_DASHBOARD_1_Hazards
COLOR=0.8, 0,0, 20
OFF_COLOR=0.8, 0.1, 0.1,6
CAST_LIGHT=0
LAG=0.3
SIMULATE_HEATING=0.0
;LOCATION=FRONT

;Navigation Back Light;
[EMISSIVE_LIGHT_0]
NAME=Navigation,Music,Reverse.001,Reverse,Music_OVERLAY
COLOR=1,1,1,2
OFF_COLOR=1,1,1,2
ACT_AS_HEADLIGHTS=0

[SCRIPTABLE_DISPLAY_...]
; Example of scriptable display
MESHES = Navigation
RESOLUTION = 1920, 1080
DISPLAY_POS = 0, 0
Size = 970, 490
SCALE=2.0
KEEP_BACKGROUND = 1 ; Stop CSP from painting original texture as background to get stereo and navigator 
  ; to work. Script will need to reset background manually or things will leave trails.
INTERACTIVE = 1 ; Keep track of mouse position over the display (adds extra cost, especially on high poly meshes)
FORCE_UPDATE_AFTER = NAVIGATOR_0

[INCLUDE: common/navigators.ini]

;Sat Navigation
[Navigator_StyleModernDark]
Meshes = Navigation
RESOLUTION = 1920, 1080
DISPLAY_POS = 0, 0
Size = 970, 490
SCALE=2.0
DYNAMIC_OPACITY = 0  ; disabling component from the start, relying on scriptable display to activate it when needed

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = Navigation  ; display mesh
RESOLUTION = 1920, 1080
DISPLAY_POS = 0, 0
Size = 970, 540
SCALE=2.0
COLOR = 1.5, 1.5, 1.5
FADE_WHEN_INACTIVE = 0.95
DITHERING = 2
aftermarketComponent=0
RearCameraPosition = 0, 0.75, -2.5  ; position of rear view camera

[SHADER_REPLACEMENT_...]
MESHES=INT_HIGH_BEAM, INT_DAY_LIGHTS, INT_HEADLIGHTS, INT_HANDBRAKE, INT_ABS, INT_BELT, INT_TC, INT_TC_OFF, INT_AIRBAG_WARNING, INT_TYRE_PRESSURE, INT_POWER_STEERING, INT_ENGINE, INT_OIL, INT_BATTERY
BLEND_MODE=ADD

;High Beam Dash Light;
[EMISSIVE_HIGHBEAM_0]
NAME=INT_HIGH_BEAM
ACT_AS_HEADLIGHTS=0
COLOR=0,0.2,1,12
OFF_COLOR=0,0,0
CAST_LIGHT=0
LAG=0.0
TOGGLE_VISIBILITY=1

;HandBrake Dash Light;
[EMISSIVE_HANDBRAKE_0]
NAME=INT_HANDBRAKE
ACT_AS_HEADLIGHTS=0
COLOR=1,0,0,6
OFF_COLOR=0,0,0
CAST_LIGHT=0
LAG=0.0
TOGGLE_VISIBILITY=1

;BATTERY Dash Light;
[EMISSIVE_BATTERY_0]
NAME=INT_BATTERY,INT_BELT, INT_AIRBAG_WARNING
ACT_AS_HEADLIGHTS=0
COLOR=1,0,0,6
OFF_COLOR=0,0,0
CAST_LIGHT=0
LAG=0.0
TOGGLE_VISIBILITY=1


;BATTERY Dash Light;
[EMISSIVE_BATTERY_1]
NAME=INT_POWER_STEERING
ACT_AS_HEADLIGHTS=0
COLOR=1.3,1,0,4
OFF_COLOR=0,0,0
CAST_LIGHT=0
LAG=0.0
TOGGLE_VISIBILITY=1

;Engine Damage Dash Light;
[EMISSIVE_ENGINE_DAMAGE_0]
NAME=INT_ENGINE
ENGINE_LIFE_THRESHOLD=750kj
ACT_AS_HEADLIGHTS=0
COLOR=1.3,1,0,4
OFF_COLOR=0,0,0
CAST_LIGHT=0
LAG=0.0
TOGGLE_VISIBILITY=1

;Low Tyre Pressure Dash Light;
[EMISSIVE_...]
NAME=INT_TYRE_PRESSURE
OFF_COLOR=0,0,0
TOGGLE_VISIBILITY = 1
COLOR=1.3,1,0,4
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 45
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2
CAST_LIGHT=0

[EMISSIVE_...]
INPUT = OIL_TEMPERATURE
INPUT_THRESHOLD=90
NAME = INT_OIL
ACT_AS_HEADLIGHTS=0
COLOR=1.3,1,0,4
OFF_COLOR=0,0,0
CAST_LIGHT=0
LAG=0.0
TOGGLE_VISIBILITY=1


;HandBrake Dash Light;
[EMISSIVE_ABS_0]
NAME=INT_ABS
ACT_AS_HEADLIGHTS=0
OFF_COLOR=1.3,1,0,4
COLOR=0,0,0
CAST_LIGHT=0
LAG=0.0
TOGGLE_VISIBILITY=1
´
;Traction Control Dash Light;
[EMISSIVE_TRACTIONCONTROL_0]
NAME=INT_TC_OFF
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=1.3,1,0,4
LAG=0.2
CAST_LIGHT=0

;Traction Control ACTION Dash Light;
[EMISSIVE_TRACTIONCONTROL_INACTION_0]
NAME=INT_TC
TOGGLE_VISIBILITY = 1
COLOR=0
COLOR=1.3,1,0,4
LAG=0.2
CAST_LIGHT=0


;Low Beam Dash Light
[EMISSIVE_LIGHT_...]
NAME=INT_HEADLIGHTS
COLOR=0,1,0,6
BIND_TO_HEADLIGHTS=1
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=1

;Day Light Dash Light
[EMISSIVE_LIGHT_...]
NAME=INT_DAY_LIGHTS
COLOR=0,1,0,6
OFF_COLOR=0,1,0,6
BIND_TO_HEADLIGHTS=1
LAG=0.0
SIMULATE_HEATING=0.0
CAST_LIGHT=0
TOGGLE_VISIBILITY=1

;Rear Dome Cast Lights
[LIGHT_EXTRA_7]
;BIND_TO_HEADLIGHTS=1
BIND_TO_EXTRA_B=1
COLOR=1,1,0.9,2
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100;5
FADE_SMOOTH=5
MIRROR=0.025
POSITION=-0.0 , 1.41 , -0.47 ;spot only middle dome -0.0120042,0.639478,0.512979
DIRECTION=0,-10,0.8
RANGE=1.75
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=150;90
SPOT_SHARPNESS=0.5

;Rear Dome Lights
[EMISSIVE_EXTRA_B_1]
NAME= Mesh_COCKPIT_HR13_DOMELIGHT
COLOR=1,1,0.8,15
CAST_LIGHT=1
LAG=0.3
SIMULATE_HEATING=0.0
;LOCATION=FRONT

;Trunk Cast Lights
[LIGHT_EXTRA_8]
;BIND_TO_HEADLIGHTS=1
BIND_TO_EXTRA_C=1
COLOR=1,1,0.9,25
DIFFUSE_CONCENTRATION=0.88
EXTERIOR_ONLY=0
INTERIOR_ONLY=0
FADE_AT=100;5
FADE_SMOOTH=5
MIRROR=0.6
POSITION=-0.0 , 1.0 , -1.94 ;spot only middle dome -0.0120042,0.639478,0.512979
DIRECTION=-0.5,-0.85,0.5
RANGE=1.0
RANGE_GRADIENT_OFFSET=0.5
SPECULAR_MULT=3
SPOT=120;90
SPOT_SHARPNESS=0.5
LAG=0.99

[SHADER_REPLACEMENT_...]
MESHES=SCREEN_HONDA_2, Reverse, Music, Navigation
PROP_... = fresnelMaxLevel, 0.02
PROP_... = fresnelMaxLevel, 0.02

[SHADER_REPLACEMENT_...]
MESHES=Reverse.001,Music_OVERLAY
BLEND_MODE=ADD
PROP_... = fresnelMaxLevel, 0.02

;Rear NumberPlate Lights
[EMISSIVE_LIGHT_...]
NAME=LIGHT_REAR_OUT_REVERSE
COLOR=1,1,1,100
OFF_COLOR=0,0,0
LAG=0.3
SIMULATE_HEATING=0.3
CAST_LIGHT=1 
LOCATION=REAR


[BRAKEDISC_FX]
DEBUG = 0
ACTIVE = 1            ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0            ; use ceramic look
CARVED = 0             ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 20  ; increase to make more lines
GLOW_OFFSET = 2.5      ; increase to offset heated and worn center more to the center, decrease to offset it more to the outside area; with 0.5, it would be in the middle

;WEAR_MULT = 8.0           ; please do not change this one unless you want to set it to 0 or something; general multiplier might change in the future
;GLOW_MULT = 8.0           ; adjust glowing intensity

; Patch guesses holes from alpha-channel of txDiffuse. Holes don’t glow or reflect stuff and look dark:
ALPHA_MASK = 0.0, 0.0  ; hole is everything with alpha below 0.1, everything with alpha above 0.2 is not a hole, in-between is a transition

; Patch can also estimate deepenings based on luminance and normal texture. Deepenings glow with a delay (but fully heated, glow more) and are a bit occluded:
LUMINOCITY_MASK = 0.01, 0.02  ; everything darker than 0.01 is a deepening
NORMAL_MASK = 0.5, 0.3        ; everything looking away more than 50% is a deepening

