########### SHIFTER ##############

[INCLUDE: common/custom_emissive.ini]

[CustomEmissiveMulti] ; SHIFTER LIGHTS
Meshes = GEO_SHIFTER_EMISSIVE
Resolution = 512, 512
UseEmissive0AsFallback = 1
; Debug = 1 ; uncomment me to see the areas nicely

@ = MultiItem, Role = GEAR_D , Start = "00, 45", Size = "300, 380" , Color = "17,4,0", Lag = 0.2
@ = MultiItem, Role = GEAR_N , Start = "250, 300", Size = "300, 300" , Color = "17,4,0", Lag = 0.2
@ = MultiItem, Role = GEAR_P , Start = "0, 0", Size = "0, 0" , Color = "17,4,0", Lag = 0.2
@ = MultiItem, Role = GEAR_R , Start = "0, 0", Size = "80, 80" , Color = "17,4,0", Lag = 0.2


########### PLATE LIGHTS ##############

[EMISSIVE_LIGHT_...]  GEO LIGHT
NAME=platelightus_a
BIND_TO_HEADLIGHTS=1
COLOR=2, 2, 2,0.8
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[LIGHT_LICENSEPLATE]  CAST
; no need to specify meshes names if material is using
; Plate_D.dds and Plate_NM.dds textures
MESHES=27_0, Object157
OFFSET=-0.02, -0.012, -0.04
RANGE=0.15
RANGE_GRADIENT_OFFSET=0.3
SPOT=210
SPOT_SHARPNESS=0.1
COLOR=6,4.5,3,0.45



############################# GEAR LEDs #############################

[EMISSIVE_GEAR_R_0]  GEARS
NAME=R_LED
TOGGLE_VISIBILITY = 1
BIND_TO=GEAR_D
COLOR=20, 10, 7,0.5
CAST_LIGHT=1

[EMISSIVE_GEAR_D_0]  GEARS
NAME=D_LED
TOGGLE_VISIBILITY = 1
BIND_TO=GEAR_D
COLOR=20, 10, 7,0.5
CAST_LIGHT=1

[EMISSIVE_GEAR_N_0]  GEARS
NAME=N_LED
TOGGLE_VISIBILITY = 1
BIND_TO=GEAR_D
COLOR=20, 10, 7,0.5
CAST_LIGHT=1


########### INTERIOR LIGHTS ##############


[EMISSIVE_LIGHT_...] ;  cluster
NAME=nav
BIND_TO_HEADLIGHTS=1
COLOR=2, 2, 2,1.5
OFF_COLOR=1, 1, 1,1.5
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...] ;  cluster
NAME=LIGHTMAP_Cluster, Object169
BIND_TO_HEADLIGHTS=1
COLOR=2, 2, 2,4
OFF_COLOR=1, 1, 1,0
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1


[EMISSIVE_LIGHT_...] ;  cluster
NAME=18_0
BIND_TO_HEADLIGHTS=1
COLOR=2, 2, 2,1.5
OFF_COLOR=1, 1, 1,0
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...] ;  cluster MIDDLE
NAME=Object038
CHANNEL=0
BIND_TO_HEADLIGHTS=1
COLOR=1, 0, 0,1
OFF_COLOR=1, 0, 0,1
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...] ;  cluster MIDDLE
NAME=Object038
CHANNEL=1
BIND_TO_HEADLIGHTS=1
COLOR=0.5, 0, 0,0.5
OFF_COLOR=0.5, 0, 0,0.5
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1



[EMISSIVE_LIGHT_...] ;  cluster
NAME=GEO_ARROW_FUEL, GEO_ARROW_RPM, GEO_ARROW_WT, GEO_ARROW_SPEED
BIND_TO_HEADLIGHTS=1
COLOR=4, 2, 2,0.8
OFF_COLOR=4, 2, 2,0
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1





[EMISSIVE_LIGHT_...] ;  buttons
NAME=GEO_INT_EMISSIVE, Object048
BIND_TO_HEADLIGHTS=1
COLOR=2, 2, 2,0.8
LAG=0
SIMULATE_HEATING=0


[EMISSIVE_EXTRA_B_0]               ;;; Int roof light                
NAME = GEO_INT_LIGHT
COLOR =5,4,3 ,1.2
LAG = 0.5
SIMULATE_HEATING = 0
LOCATION = FRONT
CLUSTER_THRESHOLD = 0.5



#############################  WARNING LIGHTS #############################



[EMISSIVE_HIGHBEAM_2]
NAME=wl_hb
TOGGLE_VISIBILITY = 1
COLOR=0.1,0.1,1.5, 1.0
LAG=0.2
SIMULATE_HEATING=0

[EMISSIVE_LOWBEAM_1]
NAME=
TOGGLE_VISIBILITY = 1
COLOR=0.1,5,0.1, 1.0
LAG=0.2
SIMULATE_HEATING=0


[EMISSIVE_BATTERY_0]
NAME = WL_Battery
TOGGLE_VISIBILITY = 1
COLOR = 5, 1, 0

[EMISSIVE_BRAKE_0]
NAME = WL_Brake
COLOR = 20,3,0,20

[EMISSIVE_TRACTIONCONTROL_0]
NAME=tc_off01
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR= 5, 1, 0
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_1]
NAME=tc_off2
TOGGLE_VISIBILITY = 0
COLOR=3, 3, 3,2
OFF_COLOR= 5, 1, 0
LAG=0.2

[EMISSIVE_TRACTIONCONTROL_INACTION_0]
NAME=WL_MDM
TOGGLE_VISIBILITY = 1
COLOR=5, 1, 0,10
LAG=0.2


[EMISSIVE_...]
NAME=SteeringSuspensionFail
TOGGLE_VISIBILITY = 0
COLOR=60,12,0.2,0.8
BIND_TO=SUSP_DAMAGE
THRESHOLD=10
LAG=0.2

[EMISSIVE_...]
NAME=WL_ENGINE
TOGGLE_VISIBILITY = 1
COLOR=60,12,0.2,0.8
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 700
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2

[EMISSIVE_...]
NAME=TyrePressureHighLow
TOGGLE_VISIBILITY = 0
COLOR=60,12,0.2,0.8
INPUT=TYRE_PRESSURE
INPUT_THRESHOLD = 35
INPUT_SELECTOR=MAX
INPUT_SELECTOR_PIVOT=5
LAG=0.2

[EMISSIVE_ABS_0]
NAME=WL_ABS
TOGGLE_VISIBILITY = 1
COLOR=0
OFF_COLOR=40,20,4,1
LAG=0.0

[EMISSIVE_...]
NAME=Fuel
TOGGLE_VISIBILITY = 0
COLOR=60,20,0.1,0.8
INPUT=FUEL
INPUT_THRESHOLD = 12
INPUT_THRESHOLD_INVERSE = 1
LAG=0.4

[EMISSIVE_...]
NAME=hazzards
TOGGLE_VISIBILITY = 0
COLOR=5,0.1,0.1, 3
OFF_COLOR=5,0.1,0.1, 0.8 
INPUT=HAZARD
LAG=0.4

[EMISSIVE_ABS_INACTION_0]
NAME=WL_Abs
TOGGLE_VISIBILITY = 0
COLOR=60,12,0.2,0.8
LAG=0.2


[EMISSIVE_HANDBRAKE_0]
NAME=2_0
TOGGLE_VISIBILITY = 1
COLOR=60,2,0.2,0.8
LAG=0.2

[EMISSIVE_HANDBRAKE_1]
NAME=handbrake_light01
TOGGLE_VISIBILITY = 0
COLOR=60,2,0.2,0.8
LAG=0.2

[EMISSIVE_...]
NAME=WL_Seatbelt, WL_Airbag
TOGGLE_VISIBILITY = 1
COLOR=60,0,0,0.8
INPUT=STALLED
LAG=0.2


[EMISSIVE_...]
NAME=warning_oil
TOGGLE_VISIBILITY = 0
COLOR=60,0,0,0.8
INPUT=ENGINE_LIFE
INPUT_THRESHOLD = 910
INPUT_THRESHOLD_INVERSE = 1
LAG=0.2


[EMISSIVE_...]                     ;DRL
NAME=GEO_DRL
TOGGLE_VISIBILITY = 0
COLOR=6,6,6,1
INPUT=EXTRA_C
LAG=0.2
CAST_LIGHT=1



[EMISSIVE_...]
NAME=wl_drl
TOGGLE_VISIBILITY = 1
COLOR=0,6,0,2
INPUT=EXTRA_A
LAG=0.2
CAST_LIGHT=1

############################# EXTERIOR LIGHTS #############################


### LIGHTMAPS ###


[EMISSIVE_EXTRA_A_...]      ;;;; DAYLIGHT LIGHTS
BIND_TO_EXTRA_A=1
NAME=GEO_DRL
COLOR=10,6,1.3,3
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0


[DATA] 
DISABLE_LIGHTSINI = 1


[INCLUDE]
INCLUDE=common/no_popup_lights.ini

[EMISSIVE_REVERSE_0]
NAME=GEO_REV_EXT
CHANNEL = 1
COLOR=5,5,4,80
LAG=0.6
SIMULATE_HEATING=0
ACT_AS_HEADLIGHT=0

[EMISSIVE_LOWBEAM_0]      ;; headlights, lowbeams1
NAME=GEO_HEADLIGHTS
AFFECTS_TRACK=1
COLOR=10,8,7,10
FALLBACK_HIGHBEAM_COLOR=10,8,7,80
LAG=0.5
CAST_LIGHT=1
LOCATION=FRONT
SIMULATE_HEATING=0
ACT_AS_HEADLIGHT=1

[EMISSIVE_LIGHT_...]      ;; headlights, lowbeams1
BIND_TO=GEO_HEADLIGHTS
NAME=Object167
AFFECTS_TRACK=1
COLOR=10,8,7,1
FALLBACK_HIGHBEAM_COLOR=10,8,7,80
LAG=0.5
CAST_LIGHT=1
LOCATION=FRONT
SIMULATE_HEATING=0
ACT_AS_HEADLIGHT=0


[EMISSIVE_LIGHT_...]   ;; tailights / brakelights
NAME=Object147
FALLBACK_BRAKES_COLOR = 20, 10, 7,10
FALLBACK_BRAKES_COLOR_HIGHER = 1
COLOR=20, 10, 7,3
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...]   ;; tailights / brakelights
NAME=GEO_TAILLIGHTS_01
FALLBACK_BRAKES_COLOR = 20, 00, 0,10
FALLBACK_BRAKES_COLOR_HIGHER = 1
COLOR=20, 0, 0,3
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...]   ;; tailights / brakelights lightmap
NAME=50_001
TOGGLE_VISIBILITY=1
FALLBACK_BRAKES_COLOR = 20, 00, 0,6
FALLBACK_BRAKES_COLOR_HIGHER = 1
COLOR=20, 0, 0,3
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1

[EMISSIVE_LIGHT_...]   ;; tailights / brakelights lightmap
NAME=LIGHTMAP_TAIL_GLASS
TOGGLE_VISIBILITY=1
FALLBACK_BRAKES_COLOR = 20, 00, 0,1
FALLBACK_BRAKES_COLOR_HIGHER = 1
COLOR=20, 0, 0,0.5
LAG=0
SIMULATE_HEATING=0
CAST_LIGHT=1




[EMISSIVE_BRAKE_1]                ;;breaklights
NAME=GEO_BRAKE_C
COLOR=15, 0, 0,0.5
LAG=0.0
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5


############################# REFRACTION LIGHTS #############################

[REFRACTING_HEADLIGHT_0]   ;;; TS TAIL
SURFACE = GEO_IND_SIDE_EXT
INSIDE = GEO_IND_SIDE_INT_01, GEO_IND_SIDE_INT_02
ABSORPTION = 0.054
AMBIENT_MULT = 0.39
BASE_EMISSIVE_K = 0.21
BOUNCED_BACK_MULT = 0.26
BULB_BLUR_K = 2.1
BULB_REFLECTION_K = 0.16
CUSTOM_BULB_0 = 0.5,0.5,0,0
CUSTOM_BULB_1 = 0.5,0.5,0,0
CUSTOM_BULB_2 = 0.495,0.513,0.017,0
CUSTOM_BULB_3 = 0.5,0.5,0,0
DIFFUSE_MAP_FILTER_MULT = 1
DIFFUSE_MAP_MULT = 0.297
DIRECTION = -0.99452573,0.0051488327,-0.10436562
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 5.49
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 118
F0 = 0.74
GLASS_COLOR = 0.62323385,0.6231715,0.6231715
GLASS_EMISSIVE_MULT = 0.48
GLASS_EXTRA_THICKNESS = 0.0056000054
INNER_SPECULAR = 10
INNER_SPECULAR_EXP = 800
IOR = 1.59
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 = -6.2e-05,0.540766,1.235863
NM_SHARE_EXT = 0.32
NM_SHARE_INT = 0.67
ORIGIN = 0.881165,0.542023,1.234863
RADIUS = 0.053823
REFLECTIVENESS_DIFFUSE_MULT = 58
REFLECTIVENESS_MULT = 6.9
REFLECTIVE_GAMMA = 0.8
REFRACTION_MASKING = 0
SIDE_FALLOFF = 2.19
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0



[REFRACTING_HEADLIGHT_1]   ;;; TS TAIL
SURFACE = GEO_REV_EXT
INSIDE = GEO_REV_INT
SYNC_EMISSIVE_AUTO=1
ABSORPTION = 0.001000
AMBIENT_MULT = 0.250000
BASE_EMISSIVE_K = 0.010000
BOUNCED_BACK_MULT = 0.400000
BULB_BLUR_K = 2.000000
BULB_REFLECTION_K = 0.200000
CUSTOM_BULB_0 = 0.500000,0.530000,0.000000,0.000000
CUSTOM_BULB_1 = 0.513000,0.513000,0.068000,0.051000
CUSTOM_BULB_2 = 0.500000,0.500000,0.000000,0.000000
CUSTOM_BULB_3 = 0.500000,0.500000,0.000000,0.000000
DIFFUSE_MAP_FILTER_MULT = 1.000000
DIFFUSE_MAP_MULT = 1.000000
DIRECTION = 0.000000,0.000000,1.000000
DYNAMIC_EMISSIVE_MAP = 0
EMISSIVE_MULT = 1.000000
EXTRA_GLASS_COLORIZATION = 1
EXTRA_SIDE_THICKNESS = 0.000000
F0 = 0.800000
GLASS_COLOR = 0.250000,0.250000,0.250000
GLASS_EMISSIVE_MULT = 0.250000
GLASS_EXTRA_THICKNESS = 0.005000
INNER_SPECULAR = 10.000000
INNER_SPECULAR_EXP = 800.000000
IOR = 1.500000
IOR_FLYOUT_FLAT = 0.000000
LOD_BIAS = -0.500000
MIRROR_2_AS_5 = 0
MIRROR_3_AS_4 = 1
MIRROR_DIR = 1.000000,0.000000,0.000000
MIRROR_POS = -0.000046,0.669446,-2.120822
NM_SHARE_EXT = 0.000000
NM_SHARE_INT = 0.600000
ORIGIN = 0.366093,0.669446,-2.131995
RADIUS = 0.065524
REFLECTIVENESS_DIFFUSE_MULT = 60.000000
REFLECTIVENESS_MULT = 10.000000
REFLECTIVE_GAMMA = 1.000000
REFRACTION_MASKING = 0
SIDE_FALLOFF = 0.000000
USE_COLORED_BULBS = 1
USE_CUSTOM_BULBS = 1
USE_NORMAL_ALPHA = 0

[REFRACTING_HEADLIGHT_2]   ;;; TAIL 02
SURFACE = 58_0
INSIDE = Object135, Object137
SYNC_EMISSIVE_AUTO=1


############################# INDICATORS #############################




[EMISSIVE_TURNSIGNAL_LEFT_0]
NAME=GEO_IND_F_L
COLOR=20, 6, 0,5
LAG=0
REPEAT_FREQENCY_HZ=2.2
LOCATION=REAR
SIMULATE_HEATING=0
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=2.2


[EMISSIVE_TURNSIGNAL_LEFT_1]
NAME=GEO_IND_SIDE_EXT
CHANNEL=2
COLOR=20, 3, 0,1
LAG=0.5
BLINK_FREQENCY_HZ = 1.1 ; sets frequency for blinking
LOCATION=REAR
SIMULATE_HEATING=0
CAST_LIGHT=1
BLINK_FREQENCY_HAZARDS_HZ = 1.1

[EMISSIVE_TURNSIGNAL_LEFT_2]
NAME=WL_TS_L
COLOR=0, 10, 0,1
LAG=0
BLINK_FREQENCY_HZ = 1.1 ; sets frequency for blinking
BLINK_FREQENCY_HAZARDS_HZ = 1
LOCATION=REAR
SIMULATE_HEATING=0
CAST_LIGHT=1
TOGGLE_VISIBILITY = 0

[EMISSIVE_TURNSIGNAL_LEFT_3]
NAME=TS_TAIL_L_02, 49_0, TS_TAIL_L_01
COLOR=20, 6, 0,2
LAG=0
BLINK_FREQENCY_HZ = 1.1 ; sets frequency for blinking
LOCATION=REAR
SIMULATE_HEATING=0
CAST_LIGHT=1
BLINK_FREQENCY_HAZARDS_HZ = 1.1
REPEAT_FREQUENCY_HAZARDS_HZ



[EMISSIVE_TURNSIGNAL_RIGHT_0]
NAME=GEO_IND_F_R
COLOR=20, 6, 0,5
LAG=0
REPEAT_FREQENCY_HZ=2.2
LOCATION=REAR
SIMULATE_HEATING=0
CAST_LIGHT=1
REPEAT_FREQENCY_HAZARDS_HZ=2.2

[EMISSIVE_TURNSIGNAL_RIGHT_1]
NAME=GEO_IND_SIDE_EXT
CHANNEL=5
COLOR=20, 3, 0,1
LAG=0
BLINK_FREQENCY_HZ = 1. ; sets frequency for blinking
BLINK_FREQENCY_HAZARDS_HZ = 1
LOCATION=REAR
SIMULATE_HEATING=0
CAST_LIGHT=1


[EMISSIVE_TURNSIGNAL_RIGHT_2]
NAME=WL_TS_R
COLOR=0, 10, 0,1
LAG=0
BLINK_FREQENCY_HZ = 1.1 ; sets frequency for blinking
BLINK_FREQENCY_HAZARDS_HZ = 1
LOCATION=REAR
SIMULATE_HEATING=0
CAST_LIGHT=1
TOGGLE_VISIBILITY = 0

[EMISSIVE_TURNSIGNAL_RIGHT_3]
NAME=TS_TAIL_R_02, TS_TAIL_R_01, 49_001
COLOR=20, 6, 0,2
LAG=0
BLINK_FREQENCY_HZ = 1.1 ; sets frequency for blinking
LOCATION=REAR
SIMULATE_HEATING=0
CAST_LIGHT=1
BLINK_FREQENCY_HAZARDS_HZ = 1.1
REPEAT_FREQUENCY_HAZARDS_HZ



############################# SELF-LIGHTING #############################


[INCLUDE: common/selflighting.ini]
[INCLUDE: common/custom_emissive.ini]

