[DATA] 
DISABLE_LIGHTSINI = 0

[BASIC]
OPEN_WHEELER = 0               ; patch uses info on if car is open wheeler or not a lot (for example, for how sparks or tyres would look, or even how car is rendered in rendering queue). it gets that info from “ui_car.json”, but it could be generally more reliable to set it explicitly
RALLY_CAR = 0                  ; similar thing, although rally check is only used for switching headlights to rally mode if it’s a single car race
DIESEL_ENGINE = 1 

[SHAKING_EXHAUST_1]
MESHES =R33_exhaust_SUB0,R33_exhaust_inner,R33_JUN_intercooler
POINT_0 = -0.07,2.86,0.0　;座標
POINT_0_RADIUS = 1 ;1～0
POINT_0_EXP = -0.8 ;
POINT_0_SCALE = 0, 0.37, 0.0

[MESH_SPLIT_...]
MESHES = R33_F_bumper_VSpec_indicator_under   ; list of meshes to cut
SPLIT_AXIS = 1, 0, 0   ; axis to cut mesh by (cut will be perpendicular to it)
SPLIT_THRESHOLD = 0.0  ; offset for cut along the line, in meters
SPLIT_POSTFIX = _CUT   ; name of cut off mesh in this case would be “Headlights_CUT”

[MESH_SPLIT_...]
MESHES = R33_F_bumper_VSpec_indicator_glass   ; list of meshes to cut
SPLIT_AXIS = 1, 0, 0   ; axis to cut mesh by (cut will be perpendicular to it)
SPLIT_THRESHOLD = 0.0  ; offset for cut along the line, in meters
SPLIT_POSTFIX = _CUT   ; name of cut off mesh in this case would be “Headlights_CUT”

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

[PARTICLES_FX_EXHAUST_0]
POSITION=0.4102072,0.2049157,-2.156513
DIRECTION=0,-0.0003654245,-0.9999999
SPREAD = 0.7
GROW = 0.9
LIFE = 1,9
SPEED = 0.9, 0.8
INTENSITY = 0.2, 0.2
TEMPERATURE_THRESHOLD = 1
SPEED_THRESHOLD = 10, 40


[LIGHTING]
EMISSIVE_MULT = 6
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT = -0.20
INTERIOR_FAKE_UPPER_SHADOW_FADE = 0.1
INTERIOR_FAKE_SHADOW_OPACITY = 1.4
INTERIOR_FAKE_SHADOW_HEIGHT = 0.1
INTERIOR_FAKE_SHADOW_FAGE = 0.2

[BOUNCED_HEADLIGHTS]
ACTIVE = 1
FADE_AT = 200
FADE_SMOOTH = 50
FALLOFF = 0.4
GRADIENT_OFFSET = 0.8
MULT = 1, 1, 1, 1
OFFSET = 7

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES = R33_F_bumper_VSpec_indicator_under_CUT,R33_tail_light_enclosure,R33_FLQP_turn_signal_inner,R33_FRQP_turn_signal_inner,R33_F_GTR_badge_chrome,R33_R_headlight_S2_inner,R33_L_headlight_S2_inner,R33_trunk_badge_GTR_gloss,R33_L_taillight_inner_reflector,R33_L_taillight_reverse,R33_R_taillight_reverse,R33_R_taillight_reflector_inner,R33_R_door_lock,R33_L_door_lock,R33_antennatop,R33_GT_badge_L_chrome,R33_GT_badge_R_chrome
PROP_... = ksAmbient, 0.100000
PROP_... = ksDiffuse, 0.00000
PROP_... = ksSpecular, 0.00000
PROP_... = ksSpecularEXP, 900.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.0
PROP_... = fresnelEXP, 0
PROP_... = fresnelMaxLevel, 0.8
PROP_... = isAdditive, 0
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 90


[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES=R33_F_bumper_VSpec_indicator_under,R33_R_taillight_glass,R33_L_taillight_glass,R33_L_headlight_S2_glass,R33_R_headlight_S2_glass,R33_R_headlight_S2_inner_glass,R33_L_headlight_S2_inner_glass
PROP_... = ksAmbient, 0.100000
PROP_... = ksDiffuse, 0.1000
PROP_... = ksSpecular, 0.1000
PROP_... = ksSpecularEXP,600.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0.0
PROP_... = fresnelC, 0.5
PROP_... = fresnelEXP, 0
PROP_... = fresnelMaxLevel, 0.3
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 80



[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_R_headlight_S2_housing,R33_F_bumper_N1_plastic,R33_L_headlight_S2_housing
PROP_... = ksAmbient, 0.100000
PROP_... = ksDiffuse, 0.100000
PROP_... = ksSpecular, 0.00000
PROP_... = ksSpecularEXP, 90.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.0
PROP_... = fresnelEXP, 0
PROP_... = fresnelMaxLevel, 0.01
PROP_... = isAdditive, 0
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 80


[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES = rim_lf_0.004,rim_lf_0.003,rim_lf_0.005,rim_lf_0
PROP_... = ksAmbient, 0.400000
PROP_... = ksDiffuse, 0.33000
PROP_... = ksSpecular, 0.5000
PROP_... = ksSpecularEXP, 600.000000
PROP_... = ksEmissive,0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.2
PROP_... = fresnelEXP, 4
PROP_... = fresnelMaxLevel, 0.4
PROP_... = isAdditive, 2
PROP_... = useDetail, 1
PROP_... = detailUVMultiplier, 0.0






[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_F_bumper_lip_S3_plastic,R33_hood_lip,R33_F_grille_SUB0,R33_hood,R33_L_door_body.001,R33_F_bumper_N1_body,R33_FR_quarterpanel_body,R33_R_door_body,R33_R_sideskirt_body,R33_FR_fender_skirt_body,R33_Body,R33_R_bumper_stock,R33_Trunk,R33_garnish_S2,R33_R_taillight_cover,R33_L_taillight_cover,R33_R_wing,R33_R_wing_sidegarnishes,R33_R_mirror,R33_R_mirror_body,R33_L_mirror_body,R33_L_mirror,R33_FL_quarterpanel_body,R33_L_door_body,R33_FL_fender_skirt_body,R33_L_sideskirt_body,
PROP_... = ksAmbient, 0.400000
PROP_... = ksDiffuse, 0.33000
PROP_... = ksSpecular, 0.5000
PROP_... = ksSpecularEXP, 600.000000
PROP_... = ksEmissive,0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.2
PROP_... = fresnelEXP, 4
PROP_... = fresnelMaxLevel, 0.4
PROP_... = isAdditive, 2
PROP_... = useDetail, 1
PROP_... = detailUVMultiplier, 0.0

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_R_headlight_S2_projector_glass
PROP_... = ksAmbient, 0.10000
PROP_... = ksDiffuse,0.10000
PROP_... = ksSpecular, 0.100
PROP_... = ksSpecularEXP, 200.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.5
PROP_... = fresnelEXP, 1
PROP_... = fresnelMaxLevel, 0.1
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 60

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =Steering_Wheel_ObjOff_SUB0,Steering_Wheel_ObjOff_SUB4,
PROP_... = ksAmbient, 0.10000
PROP_... = ksDiffuse,0.1000
PROP_... = ksSpecular, 0.100
PROP_... = ksSpecularEXP, 50.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.5
PROvcP_... = fresnelEXP, 1
PROP_... = fresnelMaxLevel, 0.1
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 60

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =taillight_chrome
PROP_... = ksAmbient, 0.000
PROP_... = ksDiffuse,0.000
PROP_... = ksSpecular,0.00
PROP_... = ksSpecularEXP, 90.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.1
PROP_... = fresnelEXP, 1
PROP_... = fresnelMaxLevel, 0.8
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 60


[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =Kouki_Steering_Body,
PROP_... = ksAmbient, 0.030000
PROP_... = ksDiffuse,0.000
PROP_... = ksSpecular, 0.000
PROP_... = ksSpecularEXP, 150.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.0
PROP_... = fresnelEXP, 1
PROP_... = fresnelMaxLevel, 0.3
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 60

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =Object004,R33_interior_dash,R33_R_door_interior_main,R33_FR_seat_SUB0,R33_interior_main_SUB0,
PROP_... = ksAmbient, 0.030000
PROP_... = ksDiffuse,0.0100
PROP_... = ksSpecular, 0.000
PROP_... = ksSpecularEXP, 20.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.0
PROP_... = fresnelEXP, 1
PROP_... = fresnelMaxLevel, 0.2
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 60
[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_FR_seat_SUB1,
PROP_... = ksAmbient, 0.00
PROP_... = ksDiffuse,0.000
PROP_... = ksSpecular, 0.1000
PROP_... = ksSpecularEXP, 20.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.3
PROP_... = fresnelEXP, 0
PROP_... = fresnelMaxLevel, 0.3
PROP_... = isAdditive, 0
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 0

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =
PROP_... = ksAmbient, 0.20000
PROP_... = ksDiffuse, 0.2000
PROP_... = ksSpecular, 0.30000
PROP_... = ksSpecularEXP, 800.00000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.5
PROP_... = fresnelEXP,0.7
PROP_... = fresnelMaxLevel, 0.12
PROP_... = isAdditive, 2
PROP_... = useDetail, 1
PROP_... = detailUVMultiplier, 20

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_JUN_intercooler
PROP_... = ksAmbient, 0.20000
PROP_... = ksDiffuse, 0.2000
PROP_... = ksSpecular, 0.00000
PROP_... = ksSpecularEXP, 800.00000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.5
PROP_... = fresnelEXP,0
PROP_... = fresnelMaxLevel, 0.8
PROP_... = isAdditive, 0
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 20


[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_chassis_trim,EXT_Wiper_FR,EXT_Wiper_FL,EXT_RearWipers,R33_rubbertrim,R33_L_mirror_surround,R33_R_mirror_surround,R33_F_grille_mesh,R33_F_grille_backing
PROP_... = ksAmbient, 0.10000
PROP_... = ksDiffuse, 0.100
PROP_... = ksSpecular, 0.05000
PROP_... = ksSpecularEXP, 10.00000
PROP_... = ksEmissive, 0.0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.0
PROP_... = fresnelEXP,0.0
PROP_... = fresnelMaxLevel, 0.1
PROP_... = isAdditive, 0
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 20


[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =nis_caliper_LF,nis_caliper_LR,nis_caliper_RR,nis_caliper_RF
PROP_... = ksAmbient, 0.70000
PROP_... = ksDiffuse, 0.50
PROP_... = ksSpecular, 0.400
PROP_... = ksSpecularEXP, 500.00000
PROP_... = ksEmissive, 0.4
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.5
PROP_... = fresnelEXP,0.5
PROP_... = fresnelMaxLevel, 0.4
PROP_... = isAdditive, 0
PROP_... = useDetail, 1
PROP_... = detailUVMultiplier, 800
PROP_... = detailUVMultiplier, 800
PROP_... = detailUVMultiplier, 800

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =BBS_LM_LF_SUB2,BBS_LM_LF_SUB1,nis_caliper_LF_misc1,nis_caliper_LF_misc,nis_caliper_LR_misc,nis_caliper_LR_misc1,nis_caliper_RR_misc,nis_caliper_RR_misc1,nis_caliper_RF_misc,nis_caliper_RF_misc1
PROP_... = ksAmbient, 0.100000
PROP_... = ksDiffuse, 0.00
PROP_... = ksSpecular, 0.50000
PROP_... = ksSpecularEXP, 90.00000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.6
PROP_... = fresnelEXP,0
PROP_... = fresnelMaxLevel, 0.6
PROP_... = isAdditive, 0
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 20




[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =lcn_plate_front,lcn_plate_back
PROP_... = ksAmbient, 0.200000
PROP_... = ksDiffuse, 0.100
PROP_... = ksSpecular, 0.10000
PROP_... = ksSpecularEXP, 90.00000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.3
PROP_... = fresnelEXP,0
PROP_... = fresnelMaxLevel, 0.1
PROP_... = isAdditive, 2
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 0

[AUDIO_VOLUME]
ENGINE_EXT = 1.5
ENGINE_INT = 1.5
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.6
HORN = 2.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 10.0
BACKFIRE_INT = 29.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 1.0
TRANSMISSION = 3.0
LIMITER = 1.0
TURBO = 5.0



[AUDIO_PARAMETER_TRANSFORM]
; Originally, AC would sent 10000 to soundbank, but now it’ll send 5000 instead. Or, 
; it’ll send 2500 instead of 5000 — values in-between these points are linearly interpolated.
ENGINE_EXT_RPMS = (| 0=0 | 8500=7920 |)
ENGINE_INT_RPMS = (| 0=0 | 8500=7920 |)




[ANALOG_INDICATOR_...]
BIND_TO=FUEL
NAME=ARROW_FUEL
ZERO=0
MIN_VALUE=0
STEP=0.85
LUT=(0=-1|36=29.5|72=63)

[ANALOG_INDICATOR_...]
BIND_TO=TURBO
NAME=ARROW_TURBO
USE_BAR=1
LUT=(0.0=8|0.1=36|0.8=71)

[ANALOG_INDICATOR_...]
BIND_TO=WATER_TEMP
NAME=ARROW_WATER_TEMP
ZERO=0
STEP=0
MIN_VALUE=50
LUT=(50=-10|70=20|90=34|110=53|120=65)

[ANALOG_INDICATOR_...]
BIND_TO=OIL
NAME=ARROW_OILPRESSURE
MIN_VALUE=2.5
MAX_VALUE=8.5
INPUT_LAG_UP=0.9
INPUT_LAG_DOWN=0.1
LUT=(0=0|5=37|8.5=62)
USE_BAR=1

[ANALOG_INDICATOR_...]
BIND_TO=OIL_TEMP
NAME=oil
INPUT_MIN=70
INPUT_MAX=150
INPUT_OFFSET=-68
UPPER_BOUND=120
RANGE=200

[ANALOG_INDICATOR_...]
BIND_TO=SLIP_RATIO
NAME=tol
ZERO=0
STEP=0
MIN_VALUE=0
LUT=(0=0|0.02=7|0.04=19|0.06=27|0.08=33|0.1=38|0.4=49|0.6=58|0.8=63|1=68)

[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1    ; for turbo sound, “throttle” input, same as in engine event
----------------------------------------------------
[LIGHTING]
EMISSIVE_MULT=6
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=0.3
INTERIOR_FAKE_UPPER_SHADOW_FADE=-0.1
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=-0.1
INTERIOR_FAKE_SHADOW_FAGE=0.5

[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

[BOUNCED_INTERIOR_LIGHT]
ACTIVE=0

[BOUNCED_HEADLIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=0.4
GRADIENT_OFFSET=0.8
MULT=1, 1, 1, 1
OFFSET=7




     ///EXTENSION LIGHTS///
[LIGHT_LICENSEPLATE]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
MESHES=lcn_plate_back
OFFSET=-0.030, 0.030, -0.04
RANGE=0.27
RANGE_GRADIENT_OFFSET=0.2
SPOT=135
SPOT_SHARPNESS=0.2
COLOR=5,4.2,3.1,1
FALLBACK_EMISSIVE=5,4.2,3.3,0.1
LAYOUT=TWO_ON_TOP
FADE_AT=180

[EMISSIVE_...]
NAME,R33_interior_decals=Object026
BIND_TO=STALLED
COLOR=30,0,0,1
LAG=0.3

[EMISSIVE_...]
NAME=Object025
BIND_TO=FUEL
INPUT_THRESHOLD=7  
INPUT_THRESHOLD_INVERSE=1
COLOR=40,10,0,1
LAG=0.3
--------------------------------------------------------
   ///AMBER-PARKING-DIM LIGHTS///
[EMISSIVE_EXTRA_A_0]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=RPMQ_SUB1,SPEED_SUB1,R33_fuelgauge_needlebase,WATERQ,tol,oil,turbo
R33_interior_gauges
COLOR=9,7,5,20
FALLBACK_HEADLIGHTS_COLOR=5,2,1
FALLBACK_HIGHBEAM_COLOR=5,2,1
FALLBACK_LOWBEAM_COLOR=5,2,1
LAG=0.3
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_A_1]
/Dash digits/
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=R33_interior_gauges,R33_interior_main_SUB1,R33_interior_decals,R33_R_door_interior_decals
COLOR=9,7,5,20
FALLBACK_HEADLIGHTS_COLOR=3.1,2.9,2.1
FALLBACK_HIGHBEAM_COLOR=3.1,2.9,2.1
FALLBACK_LOWBEAM_COLOR=3.1,2.9,2.1
LAG=0.3
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

--------------------------------------------------------
     ///LowBeam///
[EMISSIVE_LIGHT_0]
NAME =R33_R_headlight_S2_projector_glass
COLOR = 7, 7, 7, 50
LAG = 0.6
SIMULATE_HEATING = 3
LOCATION = FRONT
BIND_TO_HEADLIGHTS = 1
CAST_LIGHT = 1
CLUSTER_THRESHOLD = 0.5
ACT_AS_HEADLIGHT = 1

[EMISSIVE_LIGHT_1]
NAME = R33_R_headlight_S2_indicator_inner,R33_L_headlight_S2_indicator_inner
COLOR =2.5, 2, 1, 20
LAG = 0.4
SIMULATE_HEATING = 3
LOCATION = FRONT
BIND_TO_HEADLIGHTS = 1
CAST_LIGHT = 1
CLUSTER_THRESHOLD = 0.5
ACT_AS_HEADLIGHT = 1

[EMISSIVE_LIGHT_2]
NAME = BackLight
COLOR =  4, 1, 0, 3
LAG = 0.4
SIMULATE_HEATING = 0
LOCATION = REAR
BIND_TO_HEADLIGHTS = 1
CAST_LIGHT = 1
CLUSTER_THRESHOLD = 0.3

------------------------
     ///HIGH BEAMS///
[EMISSIVE_EXTRA_B_0]
/high inside/
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=R33_L_headlight_S2_inner,R33_R_headlight_S2_inner
COLOR=9,6.5,3.5,30
FALLBACK_HIGHBEAM_COLOR=9,6.5,3.5,30
FALLBACK_HEADLIGHTS_COLOR=
FALLBACK_LOWBEAM_COLOR=
LAG=0.9
SIMULATE_HEATING=3
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

-----------------------
   ///Extra_Rear///
[EMISSIVE_EXTRA_A_0REARLIGHTS]
NAME = R33_R_wing_stock_light_inner
COLOR = 4, 1, 0, 100
FALLBACK_HEADLIGHTS_COLOR = 4, 1, 0, 0
FALLBACK_BRAKES_COLOR = 4, 1, 0, 100
FALLBACK_BRAKES_COLOR_HIGHER = 4, 1, 0, 100
BIND_TO_EXTRA_A = 0
LAG = 0.8
SIMULATE_HEATING = 2
LOCATION = REAR
CAST_LIGHT = 1

[EMISSIVE_EXTRA_B_0REARLIGHTS]
NAME = BackLight,BackBrakeLight
COLOR = 4, 1, 0, 3
FALLBACK_HEADLIGHTS_COLOR = 4, 1, 0, 3
FALLBACK_BRAKES_COLOR = 4, 1, 0, 0
FALLBACK_BRAKES_COLOR_HIGHER = 4, 1, 0, 20
BIND_TO_EXTRA_A = 0
LAG = 0.8
SIMULATE_HEATING = 2
LOCATION = REAR
CAST_LIGHT = 1

[EMISSIVE_EXTRA_B_1REARLIGHTS]
NAME = R33_L_taillight_inner_glass
COLOR = 4, 1, 0, 3
FALLBACK_HEADLIGHTS_COLOR = 0, 0, 0, 0
FALLBACK_BRAKES_COLOR = 4, 1, 0, 20
FALLBACK_BRAKES_COLOR_HIGHER = 4, 1, 0, 20
BIND_TO_EXTRA_A = 0
LAG = 0.8
SIMULATE_HEATING = 2
LOCATION = REAR
CAST_LIGHT = 1

[EMISSIVE_EXTRA_B_2REARLIGHTS]
NAME =  R33_R_taillight_glass_inner
COLOR = 4, 1, 0, 3
FALLBACK_HEADLIGHTS_COLOR = 0, 0, 0, 0
FALLBACK_BRAKES_COLOR = 4, 1, 0, 20
FALLBACK_BRAKES_COLOR_HIGHER = 4, 1, 0, 20
BIND_TO_EXTRA_A = 0
LAG = 0.8
SIMULATE_HEATING = 2
LOCATION = REAR
CAST_LIGHT = 1


-------------------------------------
     ///TURN SIGNALS///
[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=R33_L_taillight_inner_reflector
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=REAR
FADE_AT=550

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=R33_F_bumper_VSpec_indicator_under
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=FRONT
FADE_AT=550

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=R33_FLQP_turn_signal_inner
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=FRONT
FADE_AT=550

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=R33_R_taillight_reflector_inner
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=REAR
FADE_AT=550

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=R33_F_bumper_VSpec_indicator_under_CUT
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=FRONT
FADE_AT=550

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=R33_FRQP_turn_signal_inner
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=SIDE
FADE_AT=550

[EMISSIVE_REVERSE_0]
NAME=R33_R_taillight_reverse,R33_L_taillight_reverse
COLOR=190, 190, 190,15
LAG=0.8
SIMULATE_HEATING=1.0

[EMISSIVE_REVERSE_1]
NAME=tolat
COLOR=190, 190, 190,15
LAG=0.8
SIMULATE_HEATING=1.0


[EMISSIVE_TURNSIGNAL_NOHAZARD_LEFT_...]
NAME=indexbb
TOGGLE_VISIBILITY = 0
COLOR=25,15,0, 15
LAG=0.2


[EMISSIVE_TURNSIGNAL_NOHAZARD_RIGHT_...]
NAME=indexjb
TOGGLE_VISIBILITY = 0
COLOR=25,15,0, 15
LAG=0.2







[REFRACTING_HEADLIGHT_0]
SURFACE = headlightlbulbs_a_SUB3,headlightl_a_SUB4,headlightlbulbs_a_SUB2,headlightl_a_SUB1,headlightl_a_SUB6
INSIDE = headlightlbulbs_a_SUB3,headlightl_a_SUB4,headlightlbulbs_a_SUB2,headlightl_a_SUB1,headlightl_a_SUB6

ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.04
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.13
CUSTOM_BULB_0 = 0.411, 0.58, 0.009, 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 = 0.87
DIFFUSE_MAP_MULT = 0.368
DIRECTION = -0.0062094, 0.0226748, -0.999795
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT =  20.46
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.32
GLASS_EXTRA_THICKNESS = 0
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.6
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.999973, 1.35624e-08, -7.7486e-07
MIRROR_POS = -0.0062027, 0.662354, 2.11511
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.6
ORIGIN = 0.71946, 0.652618, 1.89156
RADIUS = 0.2394
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 1
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0





[REFRACTING_HEADLIGHT_1]
SURFACE = R33_F_bumper_VSpec_indicator_glass_CUT
INSIDE =R33_F_bumper_VSpec_indicator_under_CUT
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.031
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 = 1
DIRECTION = 5.51343e-07, 3.21772e-07, -1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.99
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.00500001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = 1.1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, -9.68575e-08, 2.98023e-07
MIRROR_POS = -1.0289, 0.247828, 2.11784
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = -0.683136, 0.239031, 2.20337
RADIUS = 0.0482627
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.7
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0





[REFRACTING_HEADLIGHT_2]
SURFACE = R33_F_bumper_VSpec_indicator_glass
INSIDE = R33_F_bumper_VSpec_indicator_under
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.031
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.01
DIFFUSE_MAP_MULT = 1
DIRECTION = 0, 0, -1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0267
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = 1.1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, 0, 0
MIRROR_POS = -4.76837e-06, 0.238526, 2.19519
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = 0.681022, 0.238526, 2.20877
RADIUS = 0.048379
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1.1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.98
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0



[REFRACTING_HEADLIGHT_3]
SURFACE =R33_L_taillight_signals_glass_outer
INSIDE = R33_L_taillight_inner_reflector
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.148
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.19
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.314, 0.511, 0.029, 0
CUSTOM_BULB_1 = 0.5, 0, 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.664
DIRECTION = -2.64049e-05, 0.00292734, 1.00001
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.45
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0045
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.999981, 2.79397e-08, 1.00285e-05
MIRROR_POS = -0.0436715, 0.621022, -2.21934
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = 0.527826, 0.614177, -2.18146
RADIUS = 0.2347
REFLECTIVENESS_DIFFUSE_MULT = 0
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1.1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.76
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0



[REFRACTING_HEADLIGHT_4]
SURFACE = R33_R_taillight_signals_glass_outer_002
INSIDE =R33_R_taillight_reflector_inner
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.115
AMBIENT_MULT = 0.23
BASE_EMISSIVE_K = 0.2
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.679, 0.496, 0.022, 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.638
DIRECTION = 0.0345781, -0.0552225, 0.997899
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.51
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.00500001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.892102, -0.449807, -0.0426653
MIRROR_POS = -1.13453, 0.621996, -2.25978
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = -0.534691, 0.612902, -2.19628
RADIUS = 0.2541
REFLECTIVENESS_DIFFUSE_MULT = 0
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.75
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0










[REFRACTING_HEADLIGHT_5]
SURFACE = headlightr_a_SUB0,headlightl_a_SUB0
INSIDE = headlightr_a_SUB0,headlightl_a_SUB0
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.005
AMBIENT_MULT = 0.26
BASE_EMISSIVE_K = 0.02
BOUNCED_BACK_MULT = 0.57
BULB_BLUR_K = 4
BULB_REFLECTION_K = -0.74
CUSTOM_BULB_0 = 0.83, 0.473, 0.196, 0.174
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 = 0.11
DIFFUSE_MAP_MULT = 0.431
DIRECTION = 0, 0, -1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.08
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.32
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.37
GLASS_EXTRA_THICKNESS = 0.04
INNER_SPECULAR = 7.2
INNER_SPECULAR_EXP = 232
IOR = 1
IOR_FLYOUT_FLAT = 0.09
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 1
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, 0, 0
MIRROR_POS = -4.17233e-07, 0.632935, 1.99594
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = 0.607013, 0.632935, 2.1844
RADIUS = 0.198455
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 2.4
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.97
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0



[REFRACTING_HEADLIGHT_6]
SURFACE =glassctl_a_SUB0
INSIDE = taillightc_a__slod_SUB1_002,taillightc_a__slod_SUB4_002
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0
AMBIENT_MULT = 0.34
BASE_EMISSIVE_K = 0
BOUNCED_BACK_MULT = 0.38
BULB_BLUR_K = 2.3
BULB_REFLECTION_K = 1
CUSTOM_BULB_0 = 0.143, 0.571, 0.241, 1
CUSTOM_BULB_1 = 0.518, 0.58, 0, 0
CUSTOM_BULB_2 = 0.5, 0.5, 0, 0
CUSTOM_BULB_3 = 0, 0.571, 0, 0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = -0.073206, -0.00896236, 0.99729
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.19
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.69
GLASS_EXTRA_THICKNESS = 0
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.00001, -5.27129e-07, -2.65986e-06
MIRROR_POS = -0.0179596, 0.658779, -1.96547
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = 0.188019, 0.654029, -1.99923
RADIUS = 0.224213
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 3
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0





[REFRACTING_HEADLIGHT_7]
SURFACE = OUT_GLASS_REAR_LEFT_REFRACTION_TRANSPARENT
INSIDE = OUT_REAR_REFLECTOR, OUT_EMESSIVE_LEFT_RIGHT_TRANSPARENT, OUT_BULB_REAR_LEFT
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 1
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.565, 0.417, 0.056, 0
CUSTOM_BULB_1 = 0.593, 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.86
DIFFUSE_MAP_MULT = 1
DIRECTION = 1.54972e-06, -4.99189e-07, 1
DYNAMIC_EMISSIVE_MAP = 1
EMISSIVE_MULT = 0.3
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.75
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.00730001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.24
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.00017, 5.28991e-07, -1.93715e-06
MIRROR_POS = 0.00113297, 0.748459, -2.00153
NM_SHARE_EXT = 1
NM_SHARE_INT = 1
ORIGIN = 0.670582, 0.74865, -2.05979
RADIUS = 0.0843501
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 7
REFLECTIVE_GAMMA = 0.5
REFRACTION_MASKING = 0
SIDE_FALLOFF = 3.2
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1



[REFRACTING_HEADLIGHT_8]
SURFACE = OUT_GLASS_REAR_RIGHT_REFRACTION_TRANSPARENT
INSIDE = OUT_REAR_REFLECTOR, OUT_EMESSIVE_REAR_RIGHT_TRANSPARENT, OUT_BULB_REAR_RIGHT
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 1
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.435, 0.444, 0.056, 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.86
DIFFUSE_MAP_MULT = 1
DIRECTION = -9.94653e-07, 6.15546e-08, 0.999999
DYNAMIC_EMISSIVE_MAP = 1
EMISSIVE_MULT = 0.05
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.75
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.00720001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.24
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.00004, 7.45058e-09, 1.57859e-06
MIRROR_POS = -0.000293732, 0.748959, -2.00089
NM_SHARE_EXT = 1
NM_SHARE_INT = 1
ORIGIN = -0.668996, 0.74906, -2.05917
RADIUS = 0.0843501
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 7
REFLECTIVE_GAMMA = 0.5
REFRACTION_MASKING = 0
SIDE_FALLOFF = 3.2
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1




[WIPERS_TRACE_...]
SURFACE= R33_F_windshield, R33_F_windshield_blackglass
WIPERS = wip1, wip11, wip2, wip22, EXT_RearWipers



[ANIMATED_WIPER_...]
MESHES = wip1, wip11, wip2, wip22, EXT_RearWipers
UNDERLYING_SURFACE = R33_F_windshield, R33_F_windshield_blackglass 
DEBUG = 0 ; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES = wip1, wip11, wip2, wip22, EXT_RearWipers
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1

[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = wip1, wip11, wip2, wip22, EXT_RearWipers
UNDERLYING_SURFACE = R33_F_windshield, R33_F_windshield_blackglass
GROUP_0 = 'wip22@A=*', 'wip2@A=*'
GROUP_0_ANGLE_TO = -77.300003
GROUP_0_AXIS = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_0_END = 0.090040, 0.831795, 0.995489
GROUP_0_PIVOT = -0.651173, 0.769246, 0.957088
GROUP_0_RUBBER_FROM = -0.392038, 0.823127, 0.941554
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.009233
GROUP_0_RUBBER_OFFSET_POS = 0.782481
GROUP_0_RUBBER_TO = 0.085180, 0.825958, 0.992296
GROUP_0_SCALE_LUT = '(|0.000=1.000|0.998=0.928|1.027=0.911|)'
GROUP_0_SCALE_LUT_CUBIC = 1
GROUP_1 = 'wip11@A=*', 'wip1@A=*'
GROUP_1_ANGLE_TO = -93.400002
GROUP_1_AXIS = 0.000000, 0.707107, 0.707107
GROUP_1_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_1_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_1_END = 0.675756, 0.816247, 0.836893
GROUP_1_PIVOT = -0.012909, 0.778271, 1.081544
GROUP_1_RUBBER_FROM = 0.210105, 0.831928, 0.961740
GROUP_1_RUBBER_OFFSET_AMOUNT = 0.017316
GROUP_1_RUBBER_OFFSET_POS = 0.374522
GROUP_1_RUBBER_TO = 0.674933, 0.811131, 0.834085
GROUP_2 = 'EXT_RearWipers@A=*'
GROUP_2_ANGLE_TO = -156.899994
GROUP_2_AXIS = 0.000000, 0.707107, -0.707107
GROUP_2_AXIS_OFFSET_0 = 0.000000, 0.707107, -0.707107
GROUP_2_AXIS_OFFSET_1 = 0.000000, 0.707107, -0.707107
GROUP_2_END = -0.579867, 0.913408, -1.355040
GROUP_2_PIVOT = -0.024623, 0.905641, -1.555132
GROUP_2_RUBBER_FROM = -0.210943, 0.912952, -1.509026
GROUP_2_RUBBER_OFFSET_AMOUNT = 0.005902
GROUP_2_RUBBER_OFFSET_POS = 0.780624
GROUP_2_RUBBER_TO = -0.580889, 0.914467, -1.359627
GROUP_2_SCALE_LUT = '(|0.000=1.000|0.516=1.008|1.000=1.000|)'
GROUP_2_SCALE_LUT_CUBIC = 1




[LIGHT_BRAKEDISCS]
COLOR=0.5, 0.1, 0, 2

[BRAKEDISC_FX]
ACTIVE = 0             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else





[EXHAUST_FLAMES]
ANTILAG=1 ; turbó antilag, ezt még nem teszteltem
ANTILAG_DELAY=0 ; mennyi idővel az antilag trigger után indulnak el a lángok, másodpercek alatt
ANTILAG_INTENSITY=3 ; flame size
ANTILAG_INTERVAL_MAX=0.25
ANTILAG_INTERVAL_MIN=0
ANTILAG_TURBO_THRESHOLD=0 
DAMAGE=1 ; engine damage? idk
DAMAGE_DURATION=10.00
DAMAGE_INTENSITY=5
DAMAGE_PROBABILITY=1
DISCHARGE=1 ; leemelve a gázkart
DISCHARGE_CHARGE_TIME=2 ; mennyi ideig kell nyomni a gázkart a lángok "feltöltéséhez".
DISCHARGE_DELAY=0.02 ; késleltetés a gázemelés után
DISCHARGE_DURATION=3 ; a lánglövés hossza, másodpercben
DISCHARGE_PROBABILITY=0.8; a láng kilövése esélye emelésre, 1 garantált, 0 soha
DISCHARGE_INTENSITY=5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=4100 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=4000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=60
FLAT_SHIFT=1 ; felfelé váltáskor
FLAT_SHIFT_COOLDOWN=0.2 ; felfelé váltás után
FLAT_SHIFT_DURATION=0.1 ; a lánglövés hossza, másodpercben
FLAT_SHIFT_GAS_THRESHOLD=50 ; mennyi gázt kell nyomni a felfelé kapcsolásnál a lánghoz, a 100-as teljesen nyitva van
FLAT_SHIFT_INTENSITY=3 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; felfelé váltáskor láng keletkezik
FLAT_SHIFT_RPM_THRESHOLD=6000
LIMITER=7700 ; a limiter eltalálásakor
LIMITER_DELAY=0.0 ; késleltetés, másodpercben
LIMITER_INTENSITY=0.5 ; flame size
LIMITER_RPM_THRESHOLD=8600 ; A korlátozó lángok nem lőnek ki ezen fordulatszám alatt




EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW]
MESHES = R33_exhaust_SUB0
COLOR = 5, 1.2, 0, 2
USE_SMOOTH_TRANSITION = 1
INPUT_MIN = 50
INPUT_MAX = 200
INPUT_LUT = (| 84 = 0 | 110 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3
ExhaustPoint = 15.05, 20.77, -344.56
ExhaustLightPoint = 15.05, 20.77, -344.56
ExhaustMeshes_MultiMap = R33_exhaust_SUB0
ExhaustMeshes_PerPixel = R33_exhaust_SUB0




[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = carpaint

[Material_CarPaint_Metallic]
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 1 
ColoredSpecular = 1.9
AmbientSpecular = 0.6
AmbientSpecularEXP = 2.5
ClearCoatThickness = 0.06


[Material_PhotoelasticGlass]
Meshes= R33_F_windshield

[Material_PhotoelasticGlass]
Meshes= R33_FL_window

[Material_PhotoelasticGlass]
Meshes= R33_FR_window




[LIGHT_EXTRA_0]                                 ;(REAR)
LINE_FROM=-0.6, 0.2, -1.9                       ;position of the glow
LINE_TO=0.6, 0.2, -1.9                          ;position of the glow
BIND_TO_EXTRA_B=0 
BIND_TO_HEADLIGHTS=0                           ;(1=turn on with headlights) (0=always on)
COLOR=0,0,0                                 ;more zeroes=brighter
DIFFUSE_CONCENTRATION=0.9
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.8
RANGE_GRADIENT_OFFSET=0.1
SPOT=150
SPOT_SHARPNESS=0.3
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=0                                ;(1=glow will light up objects surrounding it)
EXTERIOR_ONLY=1                                 ;(1=only visible from outside)
INTERIOR_ONLY=0                                 ;(1=only visible from cockpit view)



--------------------------------------------------------------------------------------------------
{Interior}
--------------------------------------------------------------------------------------------------


[LIGHT_EXTRA_1]                               ;(INTERIOR BACK SEAT GLOW) {Visible from outside only}
LINE_FROM=-0.2, 0.9, -0.1
LINE_TO=0.2, 0.9, -0.1
BIND_TO_EXTRA_C=1
COLOR=3,5,4 
DIFFUSE_CONCENTRATION=0.95
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.1
SPOT=250
SPOT_SHARPNESS=0.0
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0

[LIGHT_EXTRA_2]                               ;(INTERIOR BACK SEAT GLOW) {Visible from outside only}
LINE_FROM=-0.2, 0.9, -0.6
LINE_TO=0.2, 0.9, -0.6
BIND_TO_EXTRA_C=1 
COLOR=3,5,4 
DIFFUSE_CONCENTRATION=0.95
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.1
SPOT=250
SPOT_SHARPNESS=0.0
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0



[LIGHT_LICENSEPLATE]
BIND_TO_EXTRA_A=0
BIND_TO_HEADLIGHTS=1
MESHES=lcn_plate_back
OFFSET=-0.0, -0.05, -0.1
RANGE=0.29
RANGE_GRADIENT_OFFSET=0.1
SPOT=300
SPOT_SHARPNESS=0.1
COLOR=5,4,2.25,0.5
FALLBACK_EMISSIVE=5,4.2,3.3,0.1
LAYOUT=TWO_ON_TOP
FADE_AT=199



[EMISSIVE_EXTRA_C]
NAME=[DATA] 
DISABLE_LIGHTSINI = 1

[BASIC]
OPEN_WHEELER = 0               ; patch uses info on if car is open wheeler or not a lot (for example, for how sparks or tyres would look, or even how car is rendered in rendering queue). it gets that info from “ui_car.json”, but it could be generally more reliable to set it explicitly
RALLY_CAR = 0                  ; similar thing, although rally check is only used for switching headlights to rally mode if it’s a single car race
DIESEL_ENGINE = 1 

[SHAKING_EXHAUST_1]
MESHES =R33_exhaust_SUB0,R33_exhaust_inner,R33_JUN_intercooler
POINT_0 = -0.07,2.86,0.0　;座標
POINT_0_RADIUS = 1 ;1～0
POINT_0_EXP = -0.8 ;
POINT_0_SCALE = 0, 0.37, 0.0

[MESH_SPLIT_...]
MESHES = R33_F_bumper_VSpec_indicator_under   ; list of meshes to cut
SPLIT_AXIS = 1, 0, 0   ; axis to cut mesh by (cut will be perpendicular to it)
SPLIT_THRESHOLD = 0.0  ; offset for cut along the line, in meters
SPLIT_POSTFIX = _CUT   ; name of cut off mesh in this case would be “Headlights_CUT”

[MESH_SPLIT_...]
MESHES = R33_F_bumper_VSpec_indicator_glass   ; list of meshes to cut
SPLIT_AXIS = 1, 0, 0   ; axis to cut mesh by (cut will be perpendicular to it)
SPLIT_THRESHOLD = 0.0  ; offset for cut along the line, in meters
SPLIT_POSTFIX = _CUT   ; name of cut off mesh in this case would be “Headlights_CUT”

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

[PARTICLES_FX_EXHAUST_0]
POSITION=0.4102072,0.2049157,-2.156513
DIRECTION=0,-0.0003654245,-0.9999999
SPREAD = 0.7
GROW = 0.9
LIFE = 1,9
SPEED = 0.9, 0.8
INTENSITY = 0.2, 0.2
TEMPERATURE_THRESHOLD = 1
SPEED_THRESHOLD = 10, 40


[LIGHTING]
EMISSIVE_MULT = 6
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT = -0.20
INTERIOR_FAKE_UPPER_SHADOW_FADE = 0.1
INTERIOR_FAKE_SHADOW_OPACITY = 1.4
INTERIOR_FAKE_SHADOW_HEIGHT = 0.1
INTERIOR_FAKE_SHADOW_FAGE = 0.2

[BOUNCED_HEADLIGHTS]
ACTIVE = 1
FADE_AT = 200
FADE_SMOOTH = 50
FALLOFF = 0.4
GRADIENT_OFFSET = 0.8
MULT = 1, 1, 1, 1
OFFSET = 7

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES = R33_F_bumper_VSpec_indicator_under_CUT,R33_tail_light_enclosure,R33_FLQP_turn_signal_inner,R33_FRQP_turn_signal_inner,R33_F_GTR_badge_chrome,R33_R_headlight_S2_inner,R33_L_headlight_S2_inner,R33_trunk_badge_GTR_gloss,R33_L_taillight_inner_reflector,R33_L_taillight_reverse,R33_R_taillight_reverse,R33_R_taillight_reflector_inner,R33_R_door_lock,R33_L_door_lock,R33_antennatop,R33_GT_badge_L_chrome,R33_GT_badge_R_chrome
PROP_... = ksAmbient, 0.100000
PROP_... = ksDiffuse, 0.00000
PROP_... = ksSpecular, 0.00000
PROP_... = ksSpecularEXP, 900.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.0
PROP_... = fresnelEXP, 0
PROP_... = fresnelMaxLevel, 0.8
PROP_... = isAdditive, 0
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 90


[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES=R33_F_bumper_VSpec_indicator_under,R33_R_taillight_glass,R33_L_taillight_glass,R33_L_headlight_S2_glass,R33_R_headlight_S2_glass,R33_R_headlight_S2_inner_glass,R33_L_headlight_S2_inner_glass
PROP_... = ksAmbient, 0.100000
PROP_... = ksDiffuse, 0.1000
PROP_... = ksSpecular, 0.1000
PROP_... = ksSpecularEXP,600.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0.0
PROP_... = fresnelC, 0.5
PROP_... = fresnelEXP, 0
PROP_... = fresnelMaxLevel, 0.3
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 80



[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_R_headlight_S2_housing,R33_F_bumper_N1_plastic,R33_L_headlight_S2_housing
PROP_... = ksAmbient, 0.100000
PROP_... = ksDiffuse, 0.100000
PROP_... = ksSpecular, 0.00000
PROP_... = ksSpecularEXP, 90.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.0
PROP_... = fresnelEXP, 0
PROP_... = fresnelMaxLevel, 0.01
PROP_... = isAdditive, 0
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 80

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_hood_lip,R33_F_grille_SUB0,R33_hood,R33_F_bumper_N1_body,R33_FR_quarterpanel_body,R33_R_door_body,R33_R_sideskirt_body,R33_FR_fender_skirt_body,R33_Body,R33_R_bumper_stock,R33_Trunk,R33_garnish_S2,R33_R_taillight_cover,R33_L_taillight_cover,R33_R_wing,R33_R_wing_sidegarnishes,R33_R_mirror,R33_R_mirror_body,R33_L_mirror_body,R33_L_mirror,R33_FL_quarterpanel_body,R33_L_door_body,R33_FL_fender_skirt_body,R33_L_sideskirt_body,
PROP_... = ksAmbient, 0.400000
PROP_... = ksDiffuse, 0.33000
PROP_... = ksSpecular, 0.5000
PROP_... = ksSpecularEXP, 600.000000
PROP_... = ksEmissive,0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.2
PROP_... = fresnelEXP, 4
PROP_... = fresnelMaxLevel, 0.4
PROP_... = isAdditive, 2
PROP_... = useDetail, 1
PROP_... = detailUVMultiplier, 0.0

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_R_headlight_S2_projector_glass
PROP_... = ksAmbient, 0.10000
PROP_... = ksDiffuse,0.10000
PROP_... = ksSpecular, 0.100
PROP_... = ksSpecularEXP, 200.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.5
PROP_... = fresnelEXP, 1
PROP_... = fresnelMaxLevel, 0.1
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 60

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =Steering_Wheel_ObjOff_SUB0,Steering_Wheel_ObjOff_SUB4,
PROP_... = ksAmbient, 0.10000
PROP_... = ksDiffuse,0.1000
PROP_... = ksSpecular, 0.100
PROP_... = ksSpecularEXP, 50.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.5
PROvcP_... = fresnelEXP, 1
PROP_... = fresnelMaxLevel, 0.1
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 60

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =taillight_chrome
PROP_... = ksAmbient, 0.000
PROP_... = ksDiffuse,0.000
PROP_... = ksSpecular,0.00
PROP_... = ksSpecularEXP, 90.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.1
PROP_... = fresnelEXP, 1
PROP_... = fresnelMaxLevel, 0.8
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 60


[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =Kouki_Steering_Body,
PROP_... = ksAmbient, 0.030000
PROP_... = ksDiffuse,0.000
PROP_... = ksSpecular, 0.000
PROP_... = ksSpecularEXP, 150.000000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.0
PROP_... = fresnelEXP, 1
PROP_... = fresnelMaxLevel, 0.3
PROP_... = isAdditive, 1
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 60

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =
PROP_... = ksAmbient, 0.20000
PROP_... = ksDiffuse, 0.2000
PROP_... = ksSpecular, 0.30000
PROP_... = ksSpecularEXP, 800.00000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.5
PROP_... = fresnelEXP,0.7
PROP_... = fresnelMaxLevel, 0.12
PROP_... = isAdditive, 2
PROP_... = useDetail, 1
PROP_... = detailUVMultiplier, 20

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_JUN_intercooler
PROP_... = ksAmbient, 0.20000
PROP_... = ksDiffuse, 0.2000
PROP_... = ksSpecular, 0.00000
PROP_... = ksSpecularEXP, 800.00000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.5
PROP_... = fresnelEXP,0
PROP_... = fresnelMaxLevel, 0.8
PROP_... = isAdditive, 0
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 20


[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =R33_chassis_trim,EXT_Wiper_FR,EXT_Wiper_FL,EXT_RearWipers,R33_rubbertrim,R33_L_mirror_surround,R33_R_mirror_surround,R33_F_grille_mesh,R33_F_grille_backing
PROP_... = ksAmbient, 0.10000
PROP_... = ksDiffuse, 0.100
PROP_... = ksSpecular, 0.05000
PROP_... = ksSpecularEXP, 10.00000
PROP_... = ksEmissive, 0.0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.0
PROP_... = fresnelEXP,0.0
PROP_... = fresnelMaxLevel, 0.1
PROP_... = isAdditive, 0
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 20


  
[SHADER_REPLACEMENT_...]
ACTIVE = 1
MESHES =lcn_plate_front,lcn_plate_back
PROP_... = ksAmbient, 0.200000
PROP_... = ksDiffuse, 0.100
PROP_... = ksSpecular, 0.10000
PROP_... = ksSpecularEXP, 90.00000
PROP_... = ksEmissive, 0
PROP_... = ksAlphaRef, 0
PROP_... = fresnelC, 0.3
PROP_... = fresnelEXP,0
PROP_... = fresnelMaxLevel, 0.1
PROP_... = isAdditive, 2
PROP_... = useDetail, 0
PROP_... = detailUVMultiplier, 0

[AUDIO_VOLUME]
ENGINE_EXT = 2.0
ENGINE_INT = 1.5
GEAR_EXT = 1.0
GEAR_INT = 1.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 2.0
DOWN_SHIFT = 1.6
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 = 1.0
LIMITER = 1.0
TURBO = 5.0

[ANALOG_INDICATOR_...]
BIND_TO=FUEL
NAME=ARROW_FUEL
ZERO=0
MIN_VALUE=0
STEP=0.85
LUT=(0=-1|36=29.5|72=63)

[ANALOG_INDICATOR_...]
BIND_TO=TURBO
NAME=ARROW_TURBO
USE_BAR=1
LUT=(0.0=8|0.1=36|0.8=71)

[ANALOG_INDICATOR_...]
BIND_TO=WATER_TEMP
NAME=ARROW_WATER_TEMP
ZERO=0
STEP=0
MIN_VALUE=50
LUT=(50=-10|70=20|90=34|110=53|120=65)

[ANALOG_INDICATOR_...]
BIND_TO=OIL
NAME=ARROW_OILPRESSURE
MIN_VALUE=2.5
MAX_VALUE=8.5
INPUT_LAG_UP=0.9
INPUT_LAG_DOWN=0.1
LUT=(0=0|5=37|8.5=62)
USE_BAR=1

[ANALOG_INDICATOR_...]
BIND_TO=OIL_TEMP
NAME=oil
INPUT_MIN=70
INPUT_MAX=150
INPUT_OFFSET=-68
UPPER_BOUND=120
RANGE=200

[ANALOG_INDICATOR_...]
BIND_TO=SLIP_RATIO
NAME=tol
ZERO=0
STEP=0
MIN_VALUE=0
LUT=(0=0|0.02=7|0.04=19|0.06=27|0.08=33|0.1=38|0.4=49|0.6=58|0.8=63|1=68)

[AUDIO_PROPERTIES]
TURBO_THROTTLE = 1    ; for turbo sound, “throttle” input, same as in engine event
----------------------------------------------------
[LIGHTING]
EMISSIVE_MULT=6
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=0.3
INTERIOR_FAKE_UPPER_SHADOW_FADE=-0.1
INTERIOR_FAKE_SHADOW_OPACITY=0.9
INTERIOR_FAKE_SHADOW_HEIGHT=-0.1
INTERIOR_FAKE_SHADOW_FAGE=0.5

[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

[BOUNCED_INTERIOR_LIGHT]
ACTIVE=0

[BOUNCED_HEADLIGHTS]
ACTIVE=1
FADE_AT=200
FADE_SMOOTH=50
FALLOFF=0.4
GRADIENT_OFFSET=0.8
MULT=1, 1, 1, 1
OFFSET=7




     ///EXTENSION LIGHTS///
[LIGHT_LICENSEPLATE]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=1
MESHES=lcn_plate_back
OFFSET=-0.030, 0.030, -0.04
RANGE=0.27
RANGE_GRADIENT_OFFSET=0.2
SPOT=135
SPOT_SHARPNESS=0.2
COLOR=5,4.2,3.1,3
FALLBACK_EMISSIVE=5,4.2,3.3,0.1
LAYOUT=TWO_ON_TOP
FADE_AT=180

[EMISSIVE_...]
NAME,R33_interior_decals=Object026
BIND_TO=STALLED
COLOR=30,0,0,1
LAG=0.3

[EMISSIVE_...]
NAME=Object025
BIND_TO=FUEL
INPUT_THRESHOLD=7  
INPUT_THRESHOLD_INVERSE=1
COLOR=40,10,0,1
LAG=0.3
--------------------------------------------------------
   ///AMBER-PARKING-DIM LIGHTS///
[EMISSIVE_EXTRA_A_0]
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=RPMQ_SUB1,SPEED_SUB1,R33_fuelgauge_needlebase,WATERQ,tol,oil,turbo
R33_interior_gauges
COLOR=9,7,5,20
FALLBACK_HEADLIGHTS_COLOR=5,2,1
FALLBACK_HIGHBEAM_COLOR=5,2,1
FALLBACK_LOWBEAM_COLOR=5,2,1
LAG=0.3
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

[EMISSIVE_EXTRA_A_1]
/Dash digits/
BIND_TO_EXTRA_A=1
BIND_TO_HEADLIGHTS=0
NAME=R33_interior_gauges,R33_interior_main_SUB1,R33_interior_decals,R33_R_door_interior_decals
COLOR=9,7,5,20
FALLBACK_HEADLIGHTS_COLOR=3.1,2.9,2.1
FALLBACK_HIGHBEAM_COLOR=3.1,2.9,2.1
FALLBACK_LOWBEAM_COLOR=3.1,2.9,2.1
LAG=0.3
SIMULATE_HEATING=0
LOCATION=NONE
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

--------------------------------------------------------
     ///LowBeam///
[EMISSIVE_LIGHT_0]
NAME =R33_R_headlight_S2_projector_glass
COLOR = 7, 7, 7, 50
LAG = 0.6
SIMULATE_HEATING = 3
LOCATION = FRONT
BIND_TO_HEADLIGHTS = 1
CAST_LIGHT = 1
CLUSTER_THRESHOLD = 0.5
ACT_AS_HEADLIGHT = 1

[EMISSIVE_LIGHT_1]
NAME = R33_R_headlight_S2_indicator_inner,R33_L_headlight_S2_indicator_inner
COLOR =2.5, 2, 1, 20
LAG = 0.4
SIMULATE_HEATING = 3
LOCATION = FRONT
BIND_TO_HEADLIGHTS = 1
CAST_LIGHT = 1
CLUSTER_THRESHOLD = 0.5
ACT_AS_HEADLIGHT = 1

[EMISSIVE_LIGHT_2]
NAME = BackLight
COLOR =  4, 1, 0, 3
LAG = 0.4
SIMULATE_HEATING = 0
LOCATION = REAR
BIND_TO_HEADLIGHTS = 1
CAST_LIGHT = 1
CLUSTER_THRESHOLD = 0.3

------------------------
     ///HIGH BEAMS///
[EMISSIVE_EXTRA_B_0]
/high inside/
BIND_TO_EXTRA_B=1
BIND_TO_HEADLIGHTS=0
NAME=R33_L_headlight_S2_inner,R33_R_headlight_S2_inner
COLOR=7,7,7,30
FALLBACK_HIGHBEAM_COLOR=7,7,7,30
FALLBACK_HEADLIGHTS_COLOR=
FALLBACK_LOWBEAM_COLOR=
LAG=0.9
SIMULATE_HEATING=3
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5

-----------------------
   ///Extra_Rear///
[EMISSIVE_EXTRA_A_0REARLIGHTS]
NAME = R33_R_wing_stock_light_inner
COLOR = 4, 1, 0, 100
FALLBACK_HEADLIGHTS_COLOR = 4, 1, 0, 0
FALLBACK_BRAKES_COLOR = 4, 1, 0, 100
FALLBACK_BRAKES_COLOR_HIGHER = 4, 1, 0, 100
BIND_TO_EXTRA_A = 0
LAG = 0.8
SIMULATE_HEATING = 2
LOCATION = REAR
CAST_LIGHT = 1

[EMISSIVE_EXTRA_B_0REARLIGHTS]
NAME = BackBrakeLight
COLOR = 4, 1, 0, 3
FALLBACK_HEADLIGHTS_COLOR = 4, 1, 0, 3
FALLBACK_BRAKES_COLOR = 4, 1, 0, 20
FALLBACK_BRAKES_COLOR_HIGHER = 4, 1, 0, 20
BIND_TO_EXTRA_A = 0
LAG = 0.8
SIMULATE_HEATING = 2
LOCATION = REAR
CAST_LIGHT = 1


-------------------------------------
     ///TURN SIGNALS///
[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=R33_L_taillight_inner_reflector
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=REAR
FADE_AT=550

[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=R33_F_bumper_VSpec_indicator_under
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=FRONT
FADE_AT=550

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=R33_FLQP_turn_signal_inner
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=FRONT
FADE_AT=550

[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=R33_R_taillight_reflector_inner
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=REAR
FADE_AT=550

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=R33_F_bumper_VSpec_indicator_under_CUT
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=FRONT
FADE_AT=550

[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=R33_FRQP_turn_signal_inner
COLOR=100,45,4,1
LAG=0.8 
SIMULATE_HEATING=3 
LOCATION=SIDE
FADE_AT=550

[EMISSIVE_REVERSE_0]
NAME=R33_R_taillight_reverse,R33_L_taillight_reverse
COLOR=190, 190, 190,150
LAG=0.8
SIMULATE_HEATING=1.0

[EMISSIVE_REVERSE_1]
NAME=tolat
COLOR=190, 190, 190,150
LAG=0.8
SIMULATE_HEATING=1.0









[REFRACTING_HEADLIGHT_0]
SURFACE =R33_R_headlight_S2_inner_glass,R33_L_headlight_S2_inner_glass
INSIDE =R33_L_headlight_S2_housing,R33_R_headlight_S2_housing,R33_L_headlight_S2_indicator_inner,R33_R_headlight_S2_indicator_inner
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.047
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.09
BOUNCED_BACK_MULT = 0.52
BULB_BLUR_K = 1.4
BULB_REFLECTION_K = 0.95
CUSTOM_BULB_0 = 0.577, 0.445, 0.066, 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.37
DIFFUSE_MAP_MULT = 1
DIRECTION = 0, 0, -1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.43
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 25
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.00500001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
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 = 3.48687e-06, 0.525914, 2.08553
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = 0.739037, 0.525914, 2.18153
RADIUS = 0.105998
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 3
REFRACTION_MASKING = 0
SIDE_FALLOFF = 3.65
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0




[REFRACTING_HEADLIGHT_1]
SURFACE = OUT_GLASS_REAR_RIGHT_REFRACTION_TRANSPARENT
INSIDE = OUT_REAR_REFLECTOR, OUT_EMESSIVE_REAR_RIGHT_TRANSPARENT, OUT_BULB_REAR_RIGHT
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 1
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.435, 0.444, 0.056, 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.86
DIFFUSE_MAP_MULT = 1
DIRECTION = -9.94653e-07, 6.15546e-08, 0.999999
DYNAMIC_EMISSIVE_MAP = 1
EMISSIVE_MULT = 0.05
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.75
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.00720001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.24
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = -1.00004, 7.45058e-09, 1.57859e-06
MIRROR_POS = -0.000293732, 0.748959, -2.00089
NM_SHARE_EXT = 1
NM_SHARE_INT = 1
ORIGIN = -0.668996, 0.74906, -2.05917
RADIUS = 0.0843501
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 7
REFLECTIVE_GAMMA = 0.5
REFRACTION_MASKING = 0
SIDE_FALLOFF = 3.2
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1




[REFRACTING_HEADLIGHT_2]
SURFACE = R33_F_bumper_VSpec_indicator_glass
INSIDE = R33_F_bumper_VSpec_indicator_under
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.031
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.01
DIFFUSE_MAP_MULT = 1
DIRECTION = 0, 0, -1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0267
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = 1.1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, 0, 0
MIRROR_POS = -4.76837e-06, 0.238526, 2.19519
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = 0.681022, 0.238526, 2.20877
RADIUS = 0.048379
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1.1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.98
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0



[REFRACTING_HEADLIGHT_3]
SURFACE =R33_L_taillight_signals_glass_outer
INSIDE = R33_L_taillight_inner_reflector
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.148
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.19
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.314, 0.511, 0.029, 0
CUSTOM_BULB_1 = 0.5, 0, 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.664
DIRECTION = -2.64049e-05, 0.00292734, 1.00001
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.45
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.0045
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.999981, 2.79397e-08, 1.00285e-05
MIRROR_POS = -0.0436715, 0.621022, -2.21934
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = 0.527826, 0.614177, -2.18146
RADIUS = 0.2347
REFLECTIVENESS_DIFFUSE_MULT = 0
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1.1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.76
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0



[REFRACTING_HEADLIGHT_4]
SURFACE = R33_R_taillight_signals_glass_outer_002
INSIDE =R33_R_taillight_reflector_inner
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.115
AMBIENT_MULT = 0.23
BASE_EMISSIVE_K = 0.2
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.679, 0.496, 0.022, 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.638
DIRECTION = 0.0345781, -0.0552225, 0.997899
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.51
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.00500001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.892102, -0.449807, -0.0426653
MIRROR_POS = -1.13453, 0.621996, -2.25978
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = -0.534691, 0.612902, -2.19628
RADIUS = 0.2541
REFLECTIVENESS_DIFFUSE_MULT = 0
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.75
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0



[REFRACTING_HEADLIGHT_5]
SURFACE = R33_L_headlight_S2_inner,R33_R_headlight_S2_inner
INSIDE =R33_L_headlight_S2_inner,R33_R_headlight_S2_inner
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.011
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.05
BOUNCED_BACK_MULT = 0.36
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.745, 0.489, 0.277, 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 = 1
DIRECTION = 2.86102e-06, 7.77654e-08, -0.999999
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.02
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.23
GLASS_EXTRA_THICKNESS = 0.0111
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.999998, 4.45172e-07, 1.95205e-06
MIRROR_POS = 0.000656128, 0.5235, 2.16014
NM_SHARE_EXT = 0.46
NM_SHARE_INT = 0.46
ORIGIN = 0.523132, 0.523489, 2.19552
RADIUS = 0.1728
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1.1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 1.7
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 1







[REFRACTING_HEADLIGHT_6]
SURFACE = R33_F_bumper_VSpec_indicator_glass_CUT
INSIDE =R33_F_bumper_VSpec_indicator_under_CUT
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0.031
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 = 1
DIRECTION = 5.51343e-07, 3.21772e-07, -1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.99
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.00500001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = 1.1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, -9.68575e-08, 2.98023e-07
MIRROR_POS = -1.0289, 0.247828, 2.11784
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = -0.683136, 0.239031, 2.20337
RADIUS = 0.0482627
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.7
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0




[REFRACTING_HEADLIGHT_7]
SURFACE = headlightlbulbs_a_SUB3,headlightl_a_SUB4,headlightlbulbs_a_SUB2,headlightl_a_SUB1,headlightl_a_SUB6
INSIDE = headlightlbulbs_a_SUB3,headlightl_a_SUB4,headlightlbulbs_a_SUB2,headlightl_a_SUB1,headlightl_a_SUB6

ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 0.04
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.13
CUSTOM_BULB_0 = 0.411, 0.58, 0.009, 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 = 0.87
DIFFUSE_MAP_MULT = 0.368
DIRECTION = -0.0062094, 0.0226748, -0.999795
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT =  20.46
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.32
GLASS_EXTRA_THICKNESS = 0
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.6
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 0.999973, 1.35624e-08, -7.7486e-07
MIRROR_POS = -0.0062027, 0.662354, 2.11511
NM_SHARE_EXT = 0
NM_SHARE_INT = 0.6
ORIGIN = 0.71946, 0.652618, 1.89156
RADIUS = 0.2394
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 1
REFRACTION_MASKING = 1
SIDE_FALLOFF = 0
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 0





[REFRACTING_HEADLIGHT_8]
SURFACE = headlightr_a_SUB0,headlightl_a_SUB0
INSIDE = headlightr_a_SUB0,headlightl_a_SUB0
SYNC_EMISSIVE_AUTO = 1

ABSORPTION = 0.005
AMBIENT_MULT = 0.26
BASE_EMISSIVE_K = 0.02
BOUNCED_BACK_MULT = 0.57
BULB_BLUR_K = 4
BULB_REFLECTION_K = -0.74
CUSTOM_BULB_0 = 0.83, 0.473, 0.196, 0.174
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 = 0.11
DIFFUSE_MAP_MULT = 0.431
DIRECTION = 0, 0, -1
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.08
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.32
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.37
GLASS_EXTRA_THICKNESS = 0.04
INNER_SPECULAR = 7.2
INNER_SPECULAR_EXP = 232
IOR = 1
IOR_FLYOUT_FLAT = 0.09
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 1
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1, 0, 0
MIRROR_POS = -4.17233e-07, 0.632935, 1.99594
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = 0.607013, 0.632935, 2.1844
RADIUS = 0.198455
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 2.4
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.97
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0



[REFRACTING_HEADLIGHT_9]
SURFACE =glassctl_a_SUB0
INSIDE = taillightc_a__slod_SUB1_002,taillightc_a__slod_SUB4_002
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0
AMBIENT_MULT = 0.34
BASE_EMISSIVE_K = 0
BOUNCED_BACK_MULT = 0.38
BULB_BLUR_K = 2.3
BULB_REFLECTION_K = 1
CUSTOM_BULB_0 = 0.143, 0.571, 0.241, 1
CUSTOM_BULB_1 = 0.518, 0.58, 0, 0
CUSTOM_BULB_2 = 0.5, 0.5, 0, 0
CUSTOM_BULB_3 = 0, 0.571, 0, 0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 1
DIRECTION = -0.073206, -0.00896236, 0.99729
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 0.19
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.8
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.69
GLASS_EXTRA_THICKNESS = 0
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.1
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.00001, -5.27129e-07, -2.65986e-06
MIRROR_POS = -0.0179596, 0.658779, -1.96547
NM_SHARE_EXT = 0
NM_SHARE_INT = 0
ORIGIN = 0.188019, 0.654029, -1.99923
RADIUS = 0.224213
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 10
REFLECTIVE_GAMMA = 3
REFRACTION_MASKING = 0
SIDE_FALLOFF = 4
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0





[REFRACTING_HEADLIGHT_10]
SURFACE = OUT_GLASS_REAR_LEFT_REFRACTION_TRANSPARENT
INSIDE = OUT_REAR_REFLECTOR, OUT_EMESSIVE_LEFT_RIGHT_TRANSPARENT, OUT_BULB_REAR_LEFT
SYNC_EMISSIVE_AUTO = 1
ABSORPTION = 0
AMBIENT_MULT = 0.25
BASE_EMISSIVE_K = 1
BOUNCED_BACK_MULT = 0.4
BULB_BLUR_K = 2
BULB_REFLECTION_K = 0.2
CUSTOM_BULB_0 = 0.565, 0.417, 0.056, 0
CUSTOM_BULB_1 = 0.593, 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.86
DIFFUSE_MAP_MULT = 1
DIRECTION = 1.54972e-06, -4.99189e-07, 1
DYNAMIC_EMISSIVE_MAP = 1
EMISSIVE_MULT = 0.3
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0
F0 = 0.75
GLASS_COLOR = 0.25, 0.25, 0.25
GLASS_EMISSIVE_MULT = 0.25
GLASS_EXTRA_THICKNESS = 0.00730001
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 2.24
IOR_FLYOUT_FLAT = 0
LOD_BIAS = -0.5
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.00017, 5.28991e-07, -1.93715e-06
MIRROR_POS = 0.00113297, 0.748459, -2.00153
NM_SHARE_EXT = 1
NM_SHARE_INT = 1
ORIGIN = 0.670582, 0.74865, -2.05979
RADIUS = 0.0843501
REFLECTIVENESS_DIFFUSE_MULT = 60
REFLECTIVENESS_MULT = 7
REFLECTIVE_GAMMA = 0.5
REFRACTION_MASKING = 0
SIDE_FALLOFF = 3.2
USE_COLORED_BULBS = 0
USE_CUSTOM_BULBS = 0
USE_NORMAL_ALPHA = 1





[WIPERS_TRACE_...]
SURFACE= R33_F_windshield, R33_F_windshield_blackglass
WIPERS = wip1, wip11, wip2, wip22, EXT_RearWipers



[ANIMATED_WIPER_...]
MESHES = wip1, wip11, wip2, wip22, EXT_RearWipers
UNDERLYING_SURFACE = R33_F_windshield, R33_F_windshield_blackglass 
DEBUG = 0 ; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES = wip1, wip11, wip2, wip22, EXT_RearWipers
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1

[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = wip1, wip11, wip2, wip22, EXT_RearWipers
UNDERLYING_SURFACE = R33_F_windshield, R33_F_windshield_blackglass
GROUP_0 = 'wip22@A=*', 'wip2@A=*'
GROUP_0_ANGLE_TO = -77.300003
GROUP_0_AXIS = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_0_END = 0.090040, 0.831795, 0.995489
GROUP_0_PIVOT = -0.651173, 0.769246, 0.957088
GROUP_0_RUBBER_FROM = -0.392038, 0.823127, 0.941554
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.009233
GROUP_0_RUBBER_OFFSET_POS = 0.782481
GROUP_0_RUBBER_TO = 0.085180, 0.825958, 0.992296
GROUP_0_SCALE_LUT = '(|0.000=1.000|0.998=0.928|1.027=0.911|)'
GROUP_0_SCALE_LUT_CUBIC = 1
GROUP_1 = 'wip11@A=*', 'wip1@A=*'
GROUP_1_ANGLE_TO = -93.400002
GROUP_1_AXIS = 0.000000, 0.707107, 0.707107
GROUP_1_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_1_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_1_END = 0.675756, 0.816247, 0.836893
GROUP_1_PIVOT = -0.012909, 0.778271, 1.081544
GROUP_1_RUBBER_FROM = 0.210105, 0.831928, 0.961740
GROUP_1_RUBBER_OFFSET_AMOUNT = 0.017316
GROUP_1_RUBBER_OFFSET_POS = 0.374522
GROUP_1_RUBBER_TO = 0.674933, 0.811131, 0.834085
GROUP_2 = 'EXT_RearWipers@A=*'
GROUP_2_ANGLE_TO = -156.899994
GROUP_2_AXIS = 0.000000, 0.707107, -0.707107
GROUP_2_AXIS_OFFSET_0 = 0.000000, 0.707107, -0.707107
GROUP_2_AXIS_OFFSET_1 = 0.000000, 0.707107, -0.707107
GROUP_2_END = -0.579867, 0.913408, -1.355040
GROUP_2_PIVOT = -0.024623, 0.905641, -1.555132
GROUP_2_RUBBER_FROM = -0.210943, 0.912952, -1.509026
GROUP_2_RUBBER_OFFSET_AMOUNT = 0.005902
GROUP_2_RUBBER_OFFSET_POS = 0.780624
GROUP_2_RUBBER_TO = -0.580889, 0.914467, -1.359627
GROUP_2_SCALE_LUT = '(|0.000=1.000|0.516=1.008|1.000=1.000|)'
GROUP_2_SCALE_LUT_CUBIC = 1




[LIGHT_BRAKEDISCS]
COLOR=0.5, 0.1, 0, 2

[BRAKEDISC_FX]
ACTIVE = 0             ; set to 0 to disable the whole thing if car uses ksBrakeDisc shader for something else





[EXHAUST_FLAMES]
ANTILAG=1 ; turbó antilag, ezt még nem teszteltem
ANTILAG_DELAY=0 ; mennyi idővel az antilag trigger után indulnak el a lángok, másodpercek alatt
ANTILAG_INTENSITY=3 ; flame size
ANTILAG_INTERVAL_MAX=0.25
ANTILAG_INTERVAL_MIN=0
ANTILAG_TURBO_THRESHOLD=0 
DAMAGE=1 ; engine damage? idk
DAMAGE_DURATION=10.00
DAMAGE_INTENSITY=5
DAMAGE_PROBABILITY=1
DISCHARGE=1 ; leemelve a gázkart
DISCHARGE_CHARGE_TIME=2 ; mennyi ideig kell nyomni a gázkart a lángok "feltöltéséhez".
DISCHARGE_DELAY=0.02 ; késleltetés a gázemelés után
DISCHARGE_DURATION=3 ; a lánglövés hossza, másodpercben
DISCHARGE_PROBABILITY=0.8; a láng kilövése esélye emelésre, 1 garantált, 0 soha
DISCHARGE_INTENSITY=5; flame size
DISCHARGE_RPM_THRESHOLD_MAX=4100 ; self explanatory
DISCHARGE_RPM_THRESHOLD_MIN=4000 ; self explanatory
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=60
FLAT_SHIFT=1 ; felfelé váltáskor
FLAT_SHIFT_COOLDOWN=0.2 ; felfelé váltás után
FLAT_SHIFT_DURATION=0.1 ; a lánglövés hossza, másodpercben
FLAT_SHIFT_GAS_THRESHOLD=50 ; mennyi gázt kell nyomni a felfelé kapcsolásnál a lánghoz, a 100-as teljesen nyitva van
FLAT_SHIFT_INTENSITY=3 ; flame size
FLAT_SHIFT_PROBABILITY=1 ; felfelé váltáskor láng keletkezik
FLAT_SHIFT_RPM_THRESHOLD=6000
LIMITER=7700 ; a limiter eltalálásakor
LIMITER_DELAY=0.0 ; késleltetés, másodpercben
LIMITER_INTENSITY=0.5 ; flame size
LIMITER_RPM_THRESHOLD=8600 ; A korlátozó lángok nem lőnek ki ezen fordulatszám alatt




EMISSIVE_WATER_TEMP_0_EXHAUST_GLOW]
MESHES = R33_exhaust_SUB0
COLOR = 5, 1.2, 0, 2
USE_SMOOTH_TRANSITION = 1
INPUT_MIN = 50
INPUT_MAX = 200
INPUT_LUT = (| 84 = 0 | 110 = 1 |)
AFFECTS_TRACK = 1
SPECULAR_MULT = 3
ExhaustPoint = 15.05, 20.77, -344.56
ExhaustLightPoint = 15.05, 20.77, -344.56
ExhaustMeshes_MultiMap = R33_exhaust_SUB0
ExhaustMeshes_PerPixel = R33_exhaust_SUB0




[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = carpaint

[Material_CarPaint_Metallic]
FresnelMax = 1
FresnelC = 0.1
BrightnessAdjustment = 1 
ColoredSpecular = 1.9
AmbientSpecular = 0.6
AmbientSpecularEXP = 2.5
ClearCoatThickness = 0.06


[Material_PhotoelasticGlass]
Meshes= R33_F_windshield

[Material_PhotoelasticGlass]
Meshes= R33_FL_window

[Material_PhotoelasticGlass]
Meshes= R33_FR_window






;--------------------------------------------------------------------------------------------------
Interior
;--------------------------------------------------------------------------------------------------


[LIGHT_EXTRA_...]                               ;(INTERIOR BACK SEAT GLOW) {Visible from outside only}
LINE_FROM=-0.2, 1.01, 0.21
LINE_TO=0.2, 1.01, 0.21
BIND_TO_EXTRA_C=1
COLOR=5,4,4 
DIFFUSE_CONCENTRATION=0.95
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.1
SPOT=250
SPOT_SHARPNESS=0.0
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0

[LIGHT_EXTRA_...]                               ;(INTERIOR BACK SEAT GLOW) {Visible from outside only}
LINE_FROM=-0.2, 0.99, -0.24
LINE_TO=0.2, 0.99, -0.24
BIND_TO_EXTRA_C=1 
COLOR=5,4,4 
DIFFUSE_CONCENTRATION=0.95
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.1
SPOT=250
SPOT_SHARPNESS=0.0
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=0
INTERIOR_ONLY=0






[EMISSIVE_EXTRA_C_0]
NAME=R33_interior_lights
BIND_TO_EXTRA_C=1
COLOR=5,4,4,1
LAG=0.6
SIMULATE_HEATING=0
CAST_LIGHT=1





[LIGHT_BRAKE_0]
AFFECTS_TRACK=1
BOUND_EMISSIVE_MAX=500
BOUND_EXP=1
COLOR=10, 0, 0, 0.7
DIFFUSE_CONCENTRATION=1
DIRECTION=0, 0, -1
EXTERIOR_ONLY=0
FADE_AT=1000
FADE_SMOOTH=1
INTERIOR_ONLY=0
MIRROR=0.50
MIRROR_DIRECTION=0
NO_SELF_SPECULAR=1
OFF_COLOR=10, 0, 0, 0.2
OFF_FADE_MULT=0.0
OFF_MIRROR=0.50
OFF_MULT=0.1
OFF_POSITION=0, 0.597426, -2.45
OFF_RANGE_MULT=0.0
POSITION=0, 0.597426, -2
PREFER_FRONT=1
RANGE=4
RANGE_GRADIENT_OFFSET=0
SINGLE_FREQUENCY=0
SPECULAR_MULT=0
SPOT=160
SPOT_EDGE=0.296, 0.296, 0.296
SPOT_EDGE_SHARPNESS=0
SPOT_SHARPNESS=0




[EMISSIVE_LIGHT_...]
NAME = PLATELIGHT
COLOR=4,2,1,3
OFF_COLOR = 0, 0, 0         
LAG = 0.4                   
SIMULATE_HEATING = 0.8     
LOCATION = FRONT
BIND_TO_HEADLIGHTS=1

[EMISSIVE_LIGHT_...]
NAME = geo_racelogic_display1
COLOR=1,1,1,0.5
OFF_COLOR = 0, 0, 0         
LAG = 0.4                   
SIMULATE_HEATING = 0.8     
LOCATION = FRONT
BIND_TO_HEADLIGHTS=1


[EMISSIVE_HAZARD_...]
NAME=HAZARD
TOGGLE_VISIBILITY = 0
COLOR=20,0.2,0, 4
LAG=0.2







