[INCLUDE: common/materials_interior.ini] 
[INCLUDE: common/navigators.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/no_popup_lights.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/gt3_exhaust_glow.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: android_auto/config.ini]
[INCLUDE: pbr_int.ini]
[INCLUDE: pbr_ext.ini]

[Material_Carbon]
Meshes = [INCLUDE: common/materials_interior.ini]

[DATA] 
DISABLE_LIGHTSINI = 1

-----------------PLATELIGHT------------------------

[LIGHT_LICENSEPLATE]
MESHES=numplate_001_001
OFFSET=0.00, 0.035, -0.0
RANGE=0.31
RANGE_GRADIENT_OFFSET=0.25
SPOT=130
SPOT_SHARPNESS=0.0
COLOR=20,15,40,0.4
FALLBACK_EMISSIVE=1,1,1,0.9
; other supported values: TWO_ON_TOP, ONE_ON_TOP
LAYOUT=TWO_ON_TOP
FADE_AT=10
FADE_SMOOTH=4
ACTIVE=1
AFFECTS_TRACK=1

================== EXTERIOR & INTERIOR LIGHTS ===========================

[EMISSIVE_BRAKE_0]
NAME= chassis_Drawable_Geometry_026_vehicle_lightsemissive_002
COLOR=200,5,0,5
LAG=0.4
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1

[EMISSIVE_BRAKE_1]
NAME= brakelight_m_Drawable_Geometry_128_vehicle_lightsemissive_002
COLOR=200,5,0,1
LAG=0.4
SIMULATE_HEATING=0
LOCATION=REAR
CAST_LIGHT=1

[EMISSIVE_REVERSE_...]
NAME= RearLights
COLOR=255, 255, 255, 2
LAG=0.7
SIMULATE_HEATING=3
CAST_LIGHT=1

[EMISSIVE_...]  Tails
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = brakelight_l_Drawable_Geometry_183_vehicle_lightsemissive_003, brakelight_r_Drawable_Geometry_184_vehicle_lightsemissive_003
COLOR= 10,10,15,10
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] CLUSTERS
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = chassis_Drawable_Geometry_026_vehicle_dash_emissive, door_dside_f_Drawable_Geometry_018_vehicle_dash_emissive_006, misc_c_Drawable_Geometry_070_vehicle_dash_emissive_002, misc_c_Drawable_Geometry_070_vehicle_dash_emissive_001, chassis_Drawable_Geometry_026_vehicle_dash_emissive_004
COLOR= 1,1,1,5
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] Headlights
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = misc_j_Drawable_Geometry_092_vehicle_dash_emissive_003
COLOR= 10,10,15,15
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] CLUSTERS
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = arrowspeed_002, arrow_rpm001
COLOR= 5,0,0,1
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_...] Headlights
INPUT=LIGHT
BIND_TO_HEADLIGHTS=1
NAME = headlight_l_Drawable_Geometry_067_vehicle_lightsemissive, headlight_r_Drawable_Geometry_068_vehicle_lightsemissive
COLOR= 10,10,15,80
LAG=0.3
SIMULATE_HEATING=0
AFFECTS_TRACK=1

[EMISSIVE_HIGHBEAM_...]
BIND_TO_HEADLIGHTS=1
NAME=dash_beamlights
COLOR = 0, 5, 25, 0.8
LAG=0.1
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5
TOGGLE_VISIBILITY=1

[LIGHT_HEADLIGHT_0]
RANGE=95
COLOR=180,220,325,0.05
POSITION=0,0.8, 2.0
BOUND_TO= headlight_l_Drawable_Geometry_067_vehicle_lightsemissive, headlight_r_Drawable_Geometry_068_vehicle_lightsemissive
FALLBACK_LOWBEAM_COLOR=0,0,0 
LAG=0.9
SIMULATE_HEATING=1
LOCATION=FRONT
CAST_LIGHT=1
SPOT=110
CLUSTER_THRESHOLD=0
SPOT_SHARPNESS=0.000
RANGE_GRADIENT_OFFSET=0.7


[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=SinyalSag-0
TOGGLE_VISIBILITY = 1
COLOR=120, 40, 0, 50
LAG=0
REPEAT_FREQENCY_HZ=2.5
LOCATION=REAR
SIMULATE_HEATING=0
REPEAT_FREQENCY_HAZARDS_HZ=2
RANGE_PREFIX=SinyalSag-
RANGE_START_INDEX=1
RANGE_END_INDEX=24
RANGE_DELAY=0.007 	; to compensate for that there are more of them
CAST_LIGHT=0

= ================================== TURN SIGNALS =============================


[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME= LeftSignal-1
TOGGLE_VISIBILITY = 1
COLOR=40,7,0, 15
LAG=0
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=0
FADE_AT=50
RANGE_PREFIX= LeftSignal-
RANGE_START_INDEX=2
RANGE_END_INDEX=6
RANGE_DELAY=0.02 	; to compensate for that there are more of them

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME= RearLeftSignal-7
COLOR=40,7,0, 15
LAG=0
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=0
FADE_AT=50
RANGE_PREFIX= RearLeftSignal-
RANGE_START_INDEX=7
RANGE_END_INDEX=1
RANGE_DELAY=0.02 	; to compensate for that there are more of them

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=dash_turnL
TOGGLE_VISIBILITY = 1
COLOR=0, 40, 0, 1.8
LAG=0
REPEAT_FREQENCY_HZ=2.5
LOCATION=REAR
SIMULATE_HEATING=0

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=RightSignal-1
TOGGLE_VISIBILITY = 1
COLOR=40,7,0, 15
LAG=0
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=0
FADE_AT=50
RANGE_PREFIX= RightSignal-
RANGE_START_INDEX=2
RANGE_END_INDEX=6
RANGE_DELAY=0.02 	; to compensate for that there are more of them

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME= RearRightSignal-7
COLOR=40,7,0, 15
LAG=0
LOCATION=FRONT
SIMULATE_HEATING=0
CAST_LIGHT=0
FADE_AT=50
RANGE_PREFIX= RearRightSignal-
RANGE_START_INDEX=7
RANGE_END_INDEX=1
RANGE_DELAY=0.02 	; to compensate for that there are more of them

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=dash_turnR
TOGGLE_VISIBILITY = 1
COLOR=0, 40, 0, 1.8
LAG=0
REPEAT_FREQENCY_HZ=2.5
LOCATION=REAR
SIMULATE_HEATING=0


----------------------------------- GLASS ------------------------------------------------

[REFLECTIONS_FX]
SKIP_GBUFFER = material:Glass


[Material_Glass]
Materials = WindowEXT
ThicknessMult = 1.5
EXTRA_MASK_PASS = 0
EXTRA_MASK_PASS_OPACITY = 1
FilmIOR=3

[Material_PhotoelasticGlass]
Materials = Glass
FilmIOR=1.5
ThicknessMult = 1.5

[WOBBLY_BIT_0]
NAME = mmp_koku
CONNECTED_TO = 0.001, 1.06, 0.121 ; point to which node is attached to, and around which it will rotate
MAX_RANGE = 3              ; max range node can move from its original position
DAMPENING_LAG = 0.99            ; think of it as usual AC lag value, trying to zero node’s speed
G_GAIN = 0.03                ; how much G-forces affect node’s speed
GRAVITY_GAIN = 0.05                ; how much gravity affects node’s speed
OFFSET_GAIN = 70             ; how strong is returning force
STIFF_AXIS = 0, 0, 0            ; optional higher stiffness axis to reduce movement along it
STIFF_AXIS_STIFFNESS = 0      ; now stiff is optional stiffness axis
G_FILTER = 0.02             ; temporal filter for G-forces
DEFAULT_GRAVITY_INCLUDED_ALREADY = 1 ; either 0 or 1; set it to 1 if you don’t want gravity to skew your stuff when car is in neutral position


[INCLUDE: common/selflighting.ini]

[SelfLight_Headlights]    ;;headlights l
DIRECTION = -1, 0,10
POSITION = 0, 0.548, 1.42
MIRROR= 0.651, 0, 0
AFFECTS_TRACK = 1
DIFFUSE_CONCENTRATION = 0.9
BOUND_TO = headlight_l_Drawable_Geometry_067_vehicle_lightsemissive
SPOT_SHARPNESS =0.2
SPOT = 65
COLOR =10,11,14,130
SPECULAR_MULT = 0
RANGE = 0.6

------------------------- BRAKE FX -------------------------------

[BRAKEDISC_FX]
ACTIVE = 1   
REFRESH = 1          ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else
CERAMIC = 0         ; use ceramic look
CARVED = 30              ; add a bit of carving, radial lines (fast for shader to compute)
CARVED_FREQUENCY = 10  ; increase to make more lines
GLOW_OFFSET = 0.72   ; 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
DEBUG = 0
DISC_INTERNAL_RADIUS = 0.110
DISC_RADIUS = 0.200
ALPHA_MASK = 0.012, 0.07
LUMINOCITY_MASK = 0.08 0.3
WEAR_FORCE = 0.6
;GLOW_FORCE = 0.0



------------------------- EXHAUST -------------------------------



[PARTICLES_FX_EXHAUST_0]
POSITION=-0.060,0.291,-2.2
DIRECTION=-0.07,0.16,-7
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100

[PARTICLES_FX_EXHAUST_1]
POSITION=0.060,0.291,-2.2
DIRECTION=0.07,0.16,-7
COLOR = 0.22,0.23,0.24 			
LIFE = 0.5 				
SPEED = 0.5, 1 				
SPREAD = 0.12				
STARTING_SIZE = 0.05	
SPAWN_OFFSET = 0.08			
INTENSITY = 0.3, 1			
TEMPERATURE_LAG = 7 
SPEED_THRESHOLD = 15, 100


-------------- HEADUNIT --------------

[INCLUDE: android_auto/config.ini]
[Display_AndroidAuto]
Meshes = chassis_Drawable_Geometry_026_vehicle_dash_emissive
Resolution = 645, 250    ; texture resolution
Size = 640, 245          ; size of the screen area
Offset = 2, 5       ; left top corner of screen area
Scale = 2            ; might need adjusting to get the scale right
RearCameraPosition = 0, 0.1, -2.4  ; position of rear view camera
REFRESH_RATE = 144
aftermarketComponent = 1

