/////////////////////hayp///////////////////////////////////////////////////////
[SHADER_REPLACEMENT_...]
MESHES = 
PROP_... = emChannelsMode, 1

[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/selflighting.ini]
[EXTRA_FX] MASK_GBUFFER = Peugeot_406_headlightglass_L.001

[SHADER_REPLACEMENT_...] 
MATERIALS = CARPET
PROP_... = ksAmbient, 0.03
PROP_... = ksSpecular, 0.1
PROP_... = ksDiffuse, 0.05 
PROP_... = ksSpecularEXP, 20   
PROP_... = detailUVMultiplier, 250


[SHADER_REPLACEMENT_...] 
MATERIALS = INT_TORPEDO, ST_WHEEL, DVERNAYA KARTA
PROP_... = ksAmbient, 0.15
PROP_... = detailNormalBlend, 1
PROP_... = ksSpecular, 0.05
PROP_... = detailUVMultiplier, 65

[SHADER_REPLACEMENT_...] 
MATERIALS =SEAT
PROP_... = ksAmbient, 0.15
PROP_... = detailNormalBlend, 1
PROP_... = ksSpecular, 0.05
PROP_... = detailUVMultiplier, 500

[SHADER_REPLACEMENT_...] 
MATERIALS =POTOLOK
PROP_... = ksAmbient, 0.2
PROP_... = detailNormalBlend, 1
PROP_... = ksSpecular, 0.05
PROP_... = detailUVMultiplier, 500
PROP_... = fresnelMaxLevel, 0.0


[SHADER_REPLACEMENT_...] 
MATERIALS =kozyrki
PROP_... = ksAmbient, 0.1
PROP_... = detailNormalBlend, 1
PROP_... = ksSpecular, 0.05
PROP_... = detailUVMultiplier, 1200
PROP_... = fresnelMaxLevel, 0.0

[SHADER_REPLACEMENT_...]
MATERIALS =Brake_Caliper
PROP_... = ksAmbient, 0.9
PROP_... = ksSpecular, 0.5
PROP_... = ksDiffuse, 0.015
PROP_... = sunSpecular, 1
PROP_... = sunSpecularEXP, 7500

[SHADER_REPLACEMENT_...]
MATERIALS =BDisc
PROP_... = ksAmbient, 0.1
PROP_... = ksSpecular, 0.1
PROP_... = ksSpecularEXP, 150
PROP_... = fresnelMaxLevel, 0.5
PROP_... = fresnelC, 0.1
PROP_... = fresnelEXP, 8

[SHADER_REPLACEMENT_...]
MATERIALS =TYRES
PROP_... = ksAmbient, 0.13
PROP_... = ksSpecular, 0.05
PROP_... = ksDiffuse, 0.05

[Material_InteriorPBRDetail]
Materials =Peugeot_406_lights_5, ext_chrome, Peugeot_406_chrome
Reflectance = 0.1
Smoothness = 1
DetailNormalPBRFormat = 0
DetailNormalBlend = 1
DetailScale = 80
BrightnessAdjustment = 0.25
CubemapReflectionBlur = 0.2
Metalness = 0.8

[Material_InteriorPBRDetail]
Materials =light_reflector, Peugeot_406_chrome.002
Reflectance = 0.1
Smoothness = 1
DetailNormalPBRFormat = 0
DetailNormalBlend = 1
DetailScale = 150
BrightnessAdjustment = 0.9
CubemapReflectionBlur = 0
Metalness = 1

[SHADER_REPLACEMENT_...]
MATERIALS =headloghtglass
PROP_... = ksAmbient, 0.02
PROP_... = ksDiffuse, 0.2
PROP_... = ksSpecular, 1
PROP_... = ksSpecularEXP, 500

[SHADER_REPLACEMENT_...]
MATERIALS =Peugeot_406_glass
PROP_... = ksAmbient, -0.02
PROP_... = ksDiffuse, 0.2
PROP_... = ksSpecular, 1
PROP_... = ksSpecularEXP, 500

[SHADER_REPLACEMENT_...]
MATERIALS = BODY
PROP_... = detailUVMultiplier, 150
PROP_... = ksSpecularEXP, 150
PROP_... = ksDiffuse, 0.15

[SHADER_REPLACEMENT_...]
MATERIALS = ext_plastik, Peugeot_406_buttons, Peugeot406_RedArrow, Peugeot_406_Black, INT_WOOD, arrow_black, arrow_white
PROP_... = ksAmbient, 0.2
PROP_... = ksDiffuse, 0.1
PROP_... = ksSpecular, 0.05

[SHADER_REPLACEMENT_...]
MATERIALS =INT_PLASTIK, Peugeot_406_speaker
PROP_... = ksAmbient, 0.18
PROP_... = ksDiffuse, 0.1
PROP_... = ksSpecular, 0.5
PROP_... = ksSpecularEXP, 200
PROP_... = fresnelMaxLevel, 0.01
PROP_... = fresnelC, 0.01
PROP_... = fresnelEXP, 8

[SHADER_REPLACEMENT_...]
MATERIALS =pedal, Peugeot_406_Black
PROP_... = ksAmbient, 0.1
PROP_... = ksDiffuse, 0.1
PROP_... = ksSpecular, 0.05

[SHADER_REPLACEMENT_...]
MATERIALS =Peugeot_406_speaker, uyg
PROP_... = ksAmbient, 0
PROP_... = ksDiffuse, 0.1
PROP_... = ksSpecular, 0.05



[SHADER_REPLACEMENT_...]
MATERIALS = light glass.001, GLASS
PROP_... = ksAmbient, 0.01
PROP_... = ksDiffuse, 0.007
PROP_... = ksSpecular, 1
PROP_... = ksSpecularEXP, 1500


[Material_CarPaint_Chrome]
Materials = 
NormalsMode = BASIC
BrightnessAdjustment = 0.1
SpecularBase = 1,50
SpecularSun = 12, 1500
PROP_0 = isAdditive, 2
ClearCoatThickness = 0.2

//////////////////////////////////////////////////////////////light suka//////////////////////////////////////////////
TOGGLE_VISIBILITY = 1

[EMISSIVE_LIGHT_...]
NAME=Peugeot_406_decals_gauges_SUB8
TOGGLE_VISIBILITY = 1
COLOR=255,180,100,0.1
LAG=0.5
LOCATION=FRONT

[EMISSIVE_HIGHBEAM_...]
NAME=Peugeot_406_decals_gauges_SUB5
TOGGLE_VISIBILITY = 1
COLOR=255,180,100,0.1
LAG=0.5
LOCATION=FRONT

[DATA] 
DISABLE_LIGHTSINI=1

[EMISSIVE_LIGHT_...]
NAME=Peugeot_406_headlight_L_SUB3.001
COLOR=255,180,100,10
LAG=0.5
LOCATION=FRONT
ACT_AS_HEADLIGHTS=1
SIMULATE_HEATING=1
CAST_LIGHT=1


[SelfLight_Headlights]
BOUND_TO=Peugeot_406_headlight_L_SUB3.001
POSITION= 0.01, 0.59, 2.01
MIRROR = 0.68
DIRECTION= -1, 0.0, -1.4 (leave this direction alone)
SPOT= 180
COLOR = 255,180,100,5
RANGE=0.15


[SelfLight_Headlights]
BOUND_TO=Peugeot_406_headlight_L_SUB3.001
POSITION= 0.01, 0.69, 2.12
MIRROR = 0.68
DIRECTION= -1, 0.0, -1.4 (leave this direction alone)
SPOT= 180
COLOR = 255,180,100,8
RANGE=0.13

/////////////////////////////////////////

[SelfLight_Headlights]
BOUND_TO=Peugeot_406_headlight_R_SUB4.001
POSITION= 0.01, 0.6, 2.1
MIRROR = 0.47
DIRECTION= -0.8, -0.01, -2.6 (leave this direction alone)
SPOT= 200
COLOR = 255,180,100,13
RANGE=0.1

[SelfLight_Headlights]
BOUND_TO=Peugeot_406_headlight_R_SUB4.001
POSITION= 0.01, 0.605, 2.105
MIRROR = 0.47
DIRECTION= -0.8, -0.01, -2.6 (leave this direction alone)
SPOT= 200
COLOR = 255,180,100,4
RANGE=0.14

////////////////////////////////////////////

///////////////////////////////////////////testo blyat/////////////////////

///////////////////////////////////////////////light////////////



[EMISSIVE_LIGHT_...]
NAME=Peugeot_406_TaiLight_SUB5
COLOR=250,0,0,1
LAG=0.35
LOCATION=FRONT
ACT_AS_HEADLIGHTS=4
SIMULATE_HEATING=2
CAST_LIGHT= 1

[EMISSIVE_LIGHT_...]
NAME =Peugeot_406_decals_gauges_SUB8
COLOR = 0, 128, 0,0.5
LAG = 0.4
SIMULATE_HEATING = 1

[EMISSIVE_HIGHBEAM_0]
NAME=Peugeot_406_headlight_R_SUB4.001
COLOR=255,180,100,10
LAG=0.5
LOCATION=FRONT
ACT_AS_HEADLIGHTS=1
SIMULATE_HEATING=1
CAST_LIGHT=1

[EMISSIVE_HIGHBEAM_1]
NAME=Peugeot_406_bumper_F_SUB0.002
COLOR=255,180,100,0.2
LAG=0.5
LOCATION=FRONT
ACT_AS_HEADLIGHTS=1
SIMULATE_HEATING=1
CAST_LIGHT=1

[EMISSIVE_LIGHT_...]
NAME=Peugeot_406_headlight_L_SUB3.019
COLOR=255,205,150
LAG=0.35
LOCATION=FRONT
ACT_AS_HEADLIGHTS=1
SIMULATE_HEATING=2
CAST_LIGHT=


[EMISSIVE_LIGHT_...]
NAME= Peugeot_406_TaiLight.005_SUB5
COLOR=250,0,0
LAG=0.35
LOCATION=REAR
ACT_AS_HEADLIGHTS=4
SIMULATE_HEATING=2
CAST_LIGHT=

[EMISSIVE_LIGHT_...]
NAME=Peugeot_406_dash_SUB3
COLOR=250,0,0,0.006
LAG=0.35
LOCATION=FRONT
ACT_AS_HEADLIGHTS=4
SIMULATE_HEATING=2
CAST_LIGHT=

[EMISSIVE_LIGHT_...]
NAME=Peugeot_406_dash_SUB3.003, Peugeot_406_dash_SUB3.002, ARROW_SPEED_SUB2, ARROW_RPM_SUB2, ARROW_FUEL_SUB2, ARROW_OIL_SUB2
COLOR=250,0,0,0.02
LAG=0.35
LOCATION=FRONT
ACT_AS_HEADLIGHTS=4
SIMULATE_HEATING=2
CAST_LIGHT=

[EMISSIVE_LIGHT_...]
NAME=Peugeot_406_dash_SUB3.004
COLOR=250,0,0,0.06
LAG=0.35
LOCATION=FRONT
ACT_AS_HEADLIGHTS=4
SIMULATE_HEATING=2
CAST_LIGHT=
[EMISSIVE_LIGHT_...]
NAME=speed.039, rpm.038
COLOR=250, 15, 0,0.1
LAG=0.35
LOCATION=FRONT
ACT_AS_HEADLIGHTS=4
SIMULATE_HEATING=2
CAST_LIGHT=

[EMISSIVE_BRAKE_...]
NAME= Peugeot_406_TaiLight_SUB4
COLOR=250,0,0
LAG=0.6
LOCATION=REAR
ACT_AS_HEADLIGHTS=4
SIMULATE_HEATING=2
CAST_LIGHT=


[EMISSIVE_REVERSE_...]
NAME=Peugeot_406_TaiLight_SUB3
COLOR=250,0,0
LAG=0.35
LOCATION=REAR
ACT_AS_HEADLIGHTS=4
SIMULATE_HEATING=2
CAST_LIGHT=


///TURN SIGNAL
[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=Peugeot_406_TaiLight_SUB2
COLOR=35, 5, 2
LAG=0.9
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=Peugeot_406_headlight_L_SUB5.001
COLOR=255,79,0,4
LAG=0.9
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_LEFT_...]
NAME=Peugeot_406_decals_gauges_SUB1
TOGGLE_VISIBILITY = 1
COLOR=0, 128, 0,0.1
LAG=0.9
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=Peugeot_406_TaiLight_SUB1
COLOR=35, 5, 2
LAG=0.9
SIMULATE_HEATING=0.0
LOCATION=FRONT

[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME= Peugeot_406_headlight_R_SUB5.001
COLOR=255,79,0,4
LAG=0.9
SIMULATE_HEATING=0.0
LOCATION=FRONT



[EMISSIVE_TURNSIGNAL_RIGHT_...]
NAME=Peugeot_406_decals_gauges_SUB0
TOGGLE_VISIBILITY = 1
COLOR=0, 128, 0,0.1
LAG=0.9
SIMULATE_HEATING=0.0
LOCATION=FRONT


////////////////////////////////////////////////////////////

═════════════════════ஜ۩۞۩ஜ════════════════════
               •● REFRACTION ●•
═════════════════════ஜ۩۞۩ஜ════════════════════


[REFRACTING_HEADLIGHT_...]
SURFACE =Peugeot_406_TaiLightGlass.002
INSIDE =Peugeot_406_TaiLight_SUB5
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 1
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_COLOR = 1,0,0
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.184,0.556,0.034,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 = 1
DIFFUSE_MAP_MULT = 0
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.33
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 1,0,0
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 1
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = 5.9604645e-08,0.7689625,-2.3377976
NM_SHARE_EXT = 0.05
NM_SHARE_INT = 0.61
ORIGIN = 0.737,0.732,-2.4521422
RADIUS = 0.0099
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0


[REFRACTING_HEADLIGHT_...]
SURFACE =Peugeot_406_TaiLightGlass.005
INSIDE =Peugeot_406_TaiLight_SUB2
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 1
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
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 = 1
DIFFUSE_MAP_MULT = 0
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 21.23
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 1,0,0
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = 0.72194016,0.7760961,-2.3262923
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.61
ORIGIN = 0.733,0.815,-2.4045262
RADIUS = 0.009300014
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0


[REFRACTING_HEADLIGHT_...]
SURFACE =Peugeot_406_TaiLightGlass
INSIDE =Peugeot_406_TaiLight_SUB3
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 1
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_COLOR = 1,0,0
BULB_REFLECTION_K = 0.2
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 = 1
DIFFUSE_MAP_MULT = 0
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 70.07
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 1,0,0
GLASS_EMISSIVE_MULT = 0.01
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = 1.7881393e-07,0.76327646,-2.427226
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.61
ORIGIN = 0.531,0.778,-2.4521422
RADIUS = 0.0049000084
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0


[REFRACTING_HEADLIGHT_...]
SURFACE =Peugeot_406_TaiLightGlass.004
INSIDE =Peugeot_406_TaiLight_SUB4
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 1
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_COLOR = 1,0,0
BULB_REFLECTION_K = 0.2
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 = 1
DIFFUSE_MAP_MULT = 0
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 7.33
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 1,0,0
GLASS_EMISSIVE_MULT = 0.09
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = -5.9604645e-08,0.7236798,-2.4361176
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.61
ORIGIN = 0.5302636,0.7236798,-2.4521422
RADIUS = 0.0076
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0


[REFRACTING_HEADLIGHT_...]
SURFACE =Peugeot_406_TaiLightGlass.001
INSIDE =Peugeot_406_TaiLight_SUB1
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 1
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_COLOR = 1,0,0
BULB_REFLECTION_K = 0.2
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 = 1
DIFFUSE_MAP_MULT = 0
DIRECTION = 0,0,1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 20.66
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 1,0,0
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0050000055
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.5
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1,0,0
MIRROR_POS = -0.7216745,0.80855906,-2.3294678
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.61
ORIGIN = -0.6736003,0.80680156,-2.4291313
RADIUS = 0.0073000095
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0


............................ANIMATION.................................................................khgkhkhkhjkjh

[ANIMATION_1]
INPUT = EXTRA_A         ; bind to reverse gear
FILE = sunroof.ksanim    ; file name of new animation in “animations” folder
TIME = 2.0                  ; animation time
INPUT_AS_PROGRESS = 0       ; set to 1 to switch to that second input-as-progress mode
LOOP_WHILE_ACTIVE = 0       ; if set to 0, animation would go to 0% if not triggered, and 
                            ; to 100% otherwise; if set to 1, animation would play in 
                            ; a loop if triggered and stop otherwise
LOOP_KEEP_UNTIL_DONE = 1    ; only for “LOOP_WHILE_ACTIVE”: set to 1 to make animation 
                            ; go to 0% if stopped (like wipers would do, for example)
TICK_TOCK_MODE = 0       ; only for “LOOP_WHILE_ACTIVE”: loop as 0% → 100% → 0% instead 
                            ; of jumping from 100% to 0%
AFFECTS_INTERIOR_SHAPE = 1  ; force to update interior reflections mask if animation is 
                            ; playing (slower)

//////////////////////////////HAZARD LIGHTS//////////////////////////////
[EMISSIVE_ABS_INACTION_0]
NAME=Peugeot_406_decals_gauges_SUB2
TOGGLE_VISIBILITY = 1
COLOR=60,12,0.2,1
LAG=0.2

[EMISSIVE_HANDBRAKE_...]
NAME=Peugeot_406_decals_gauges_SUB5.006
TOGGLE_VISIBILITY = 1
COLOR=60,2,0.2,2
LAG=0.2

[EMISSIVE_...]
NAME=Peugeot_406_decals_gauges_SUB4
TOGGLE_VISIBILITY = 1
COLOR=60,0,0,1
INPUT=BODY_DAMAGE
INPUT_THRESHOLD=20
LAG=0.2


[EMISSIVE_...]
NAME=Peugeot_406_decals_gauges_SUB9
TOGGLE_VISIBILITY = 1
COLOR=60,20,0,1
INPUT=RPM
INPUT_THRESHOLD = 910


[EMISSIVE_...]
NAME=Peugeot_406_decals_gauges_SUB6, Peugeot_406_decals_gauges_SUB4, Peugeot_406_decals_gauges_SUB3
TOGGLE_VISIBILITY = 1
COLOR=60,0,0,1
INPUT=STALLED
LAG=0.2


.................................PBR..................................
[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1

[SHADOWED_WHEELS_FRONT]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=1
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.04
WIDTH=0.1

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
ANGLE_X=0
BOUND_TO_SUSPENSION=1
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.04
WIDTH=0.1

[REFLECTIONS_FX]
ALLOW_INTERIOR_SSAO=0
ALLOW_INTERIOR_SSGI=0
AUTOFIX=1
MASK_CUBEMAP_ENABLED=1
MASK_CUBEMAP_OFFSET=0, -0.1, 0.2
MASK_CUBEMAP_TWEAK=0.5

[SMART_MIRROR]
DISALLOW_MAPPING_NORMALIZATION=0
DISALLOW_REAR_MIRROR=0
DISALLOW_REFLECTION_TILTING=0
SHAKING=0

[STATUS_BATTERY]
BASE_VOLTAGE=12.4
MAX_VOLTAGE=13.6
RPM_LAG=0.98

[STATUS_EXHAUST]
TEMPERATURE_BOOST=400
TEMPERATURE_IDLE=400
TEMPERATURE_LAG_DOWN=0.995
TEMPERATURE_LAG_UP=0.995
TEMPERATURE_RPM=100

[STATUS_OIL]
PRESSURE_BASE=1
PRESSURE_LAG_DOWN=0.9985
PRESSURE_LAG_UP=0.998
PRESSURE_STEP=0.7
TEMPERATURE_LAG_DOWN=0.995
TEMPERATURE_LAG_UP=0.995
TEMPERATURE_MULT=1
TEMPERATURE_OFFSET=0
TEMPERATURE_RPM_FACTOR=0.03

[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.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
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



[LIGHTING] ; Standard Config - Do Not Change
EMISSIVE_BRAKELIGHTS_MULT=1
EMISSIVE_HEADLIGHTS_MULT=1
EMISSIVE_MULT=1
EMISSIVE_PARKINGLIGHTS_MULT=1
INTERIOR_FAKE_SHADOW_FADE=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=0.4
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.1

[BASIC]
BRAKES_THRESHOLD=0.01
ENGINE_STALLED_RPM_THRESHOLD=1
HAZARD_LIGHTS_ENGINE_LIFE_THRESHOLD=0.001
HEADLIGHTS_ARE_HEADLIGHTS=1
HORN_AS_SIREN=0
IS_LOW_BEAM_AVAILABLE=1
LIGHT_DAMAGE_SPEED_MAX=120
LIGHT_DAMAGE_SPEED_MIN=80
STOP_LODS_ADJUSTMENT=0
TURNING_LIGHTS_REPEAT=1

[PARTICLES_FX]
BODYSPARKS_AMOUNT=0.25
BODYSPARKS_INTENSITY=0.2
BODYSPARKS_LIFETIME=0.4
BODY_SPARKS_COLOR=1, 0.5, 0, 10
COLLIDER_0SPARKS_AMOUNT=0.25
COLLIDER_0SPARKS_INTENSITY=0.2
COLLIDER_0SPARKS_LIFETIME=0.4
COLLIDER_0_SPARKS_COLOR=1, 0.5, 0, 10
DRAG_MULT=2
INTERIOR_BOUNDS_CHECK=1
INTERIOR_BOUNDS_HEIGHT=0.644874
LIFT_MULT=0.1
SPARKS_AMOUNT_MULT=2
SPARKS_COOLDOWN_LAG=0.96
SPARKS_DEPTH_EXP=4
SPARKS_MAX_DEPTH=0.0025
SPARKS_OVERLOAD_LAG=0.7
TRACES_LIGHTS_POS=0.655593, 0.825127, -2.15187

[INSTRUMENTS]
FUEL_SPLASH_MULT=0
HAZARDS_G_THRESHOLD=1.5
SPEED_FIX=1
SPEED_LAG=0.92
SPEED_LIMIT=

[INSTRUMENTS]
RPM_VINTAGE =1 ; set to 1 to enable the whole thing
RPM_VINTAGE_ROUND_TO = 0 ; to what RPMs needle should snap
RPM_VINTAGE_DELAY = 0.11 ; delay between updates
RPM_VINTAGE_SPEED_LAG = 0.80 ; inertia value, from 0 to 1 (needle won’t move with 1)
RPM_VINTAGE_LIMIT = 0 ; set to some



[WIPERS_TRACE_...]
SURFACE = g30_SUB28.001
WIPERS = beb1, beb2

[DATA] 
DISABLE_LIGHTSINI=1

[EXTRA_FX]
SKIP_GBUFFER = g30_SUB28, g30_SUB28.003, g30_SUB28.004, g30_SUB28.006, g30_SUB28.005
MASK_GBUFFER =

[INCLUDE]
INCLUDE=common/materials_carpaint.ini
[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/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]
[INCLUDE: navigators_mixins.ini]
[INCLUDE: navigators_maps.ini]
[INCLUDE: navigators_layouts.ini]
[INCLUDE: navigators_themes.ini]

[LIGHT_FLAME_0] ; Flame Brightness
BRIGHTNESS_MULT=1
CAR_BRIGHTNESS_MULT=1
CAR_RANGE_MULT=1
COLOR=5,1,1,1
DEBUG=0
DIRECTION_MULT=1, 1, 1
FADE_AT=150
FADE_SMOOTH=30
OFFSET=0.2
RANGE=7
RANGE_GRADIENT_OFFSET=0.2
SPOT=238.322
SPOT_SHARPNESS=0.0

[EXHAUST_FLAMES] ; CSP Flames Configuration
ANTILAG=0 ; turbo antilag, i havent tested this yet
ANTILAG_DELAY=0.0 ; how long after antilag trigger do flames start, in seconds
ANTILAG_INTENSITY=10 ; flame size
ANTILAG_INTERVAL_MAX=7000
ANTILAG_INTERVAL_MIN=65000
ANTILAG_TURBO_THRESHOLD=0.0
DAMAGE=0 ; engine damage? idk
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1 ; lifting off the throttle
DISCHARGE_CHARGE_TIME=0.1 ; how long you have to press the throttle to "charge" the flames
DISCHARGE_DELAY=0.1 ; delay after throttle lift
DISCHARGE_DURATION=0.55 ; length of flame shooting, in seconds
DISCHARGE_PROBABILITY=1; chance of flame shoot on lift, 1 is guaranteed, 0 is never
DISCHARGE_INTENSITY=1; flame size
DISCHARGE_RPM_THRESHOLD_MAX=7200 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=2000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=1 ; on upshift
FLAT_SHIFT_COOLDOWN=0 ; after upshift
FLAT_SHIFT_DURATION=0.1 ; length of flame shooting, in seconds
FLAT_SHIFT_GAS_THRESHOLD=50 ; how much gas needs to be pressed on upshift for flame, 100 is wide open
FLAT_SHIFT_INTENSITY=.1 ; flame size
FLAT_SHIFT_PROBABILITY=.5 ; chance of flame shoot on upshift
FLAT_SHIFT_RPM_THRESHOLD=6500
LIMITER=1 ; on hitting the limiter
LIMITER_DELAY=0.2 ; delay, in seconds
LIMITER_INTENSITY=.1 ; flame size
LIMITER_RPM_THRESHOLD=6500 ; limiter flames will not shoot below this rpm




[ANIMATED_WIPER_...]
MESHES = Peugeot_406_body_SUB2.004, Peugeot_406_body_SUB2.010
UNDERLYING_SURFACE =Peugeot_406_windshield
DEBUG = 1 ; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES =Peugeot_406_body_SUB2.004, Peugeot_406_body_SUB2.010
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1
[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = Peugeot_406_body_SUB2.004, Peugeot_406_body_SUB2.010
UNDERLYING_SURFACE = Peugeot_406_windshield
GROUP_0 = 'Peugeot_406_body_SUB2.004@A=*'
GROUP_0_ANGLE_TO = 68.5
GROUP_0_AXIS = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_0 = 0, 0.70710677, 0.70710677
GROUP_0_AXIS_OFFSET_1 = 0, 0.70710677, 0.70710677
GROUP_0_END = -0.66893005, 0.95477057, 0.78204346
GROUP_0_PIVOT = 0.046211414, 0.895931, 1.0114989
GROUP_1 = 'Peugeot_406_body_SUB2.010@A=*'
GROUP_1_ANGLE_TO = 75.7
GROUP_1_AXIS = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_0 = 0, 0.70710677, 0.70710677
GROUP_1_AXIS_OFFSET_1 = 0, 0.70710677, 0.70710677
GROUP_1_END = -0.13296509, 1.0171728, 0.9024811
GROUP_1_PIVOT = 0.5833008, 0.8759673, 0.9171878








