[ABOUT]
AUTHOR = CrisT86 & M.T.K.
VERSION = 1.1
DATE_RELEASE = 30 January 2023

[INCLUDE]
INCLUDE = common/conditions.ini, common/materials_track.ini, common/custom_emissive.ini, common\grass_fx.ini, common/Benner900conditions.ini, common/materials_base.ini, common/conditions_blm.ini, common/all_conditions.ini,

[LIGHTING]
LIT_MULT = 1
CAR_LIGHTS_LIT_MULT = 1
SPECULAR_MULT = 1
BOUNCED_LIGHT_MULT=1,1,1,1
TRACK_AMBIENT_GROUND_MULT=1
TERRAIN_SHADOWS_THRESHOLD=1
ENABLE_TREES_LIGHTING=1

[LIGHT_POLLUTION]
ACTIVE = 1
COLOR = 1, 1, 1
DENSITY = 0.2
RADIUS_KM = 2

[BOUNCED_LIGHT]
SUPPORTED=1
SURFACE_MATERIALS=?

[DISTANT_GLOW]
THRESHOLD = 25
SHARED_THRESHOLD = 25

[SOL]
HORIZON_OFFSET = 0.0
DOME_SIZE = 24000
SUN_DAWN = 1
SUN_DUSK = 1
FOG_LEVEL = 0.90
FOG_BLEND = 1.15
FOG_DISTANCE = 0.9
SMOG_MORNING = 0.05
SMOG_NOON = 0.1
SMOG_EVENING = 0.15
; EXPOSURE_FIX = 1.0

[SOL2]
HORIZON_OFFSET = 0.0
DOME_SIZE = 24000
SUN_DAWN = 1
SUN_DUSK = 1
FOG_LEVEL = 0.90
FOG_BLEND = 1.15
FOG_DISTANCE = 0.9
SMOG_MORNING = 0.05
SMOG_NOON = 0.1
SMOG_EVENING = 0.15
; EXPOSURE_FIX = 1.0
; HUMIDITY_OFFSET = 0.85
;Preset a humidity value for a track, e.g. 0.85 for tracks near the sea or 0.0 for deserts

[PURE]
ACTIVE= 1
SUN_DAWN = 1
SUN_DUSK = 1
FOG_LEVEL = 0.05
FOG_BLEND = 1.15
FOG_DISTANCE = 0.9
SMOG_MORNING = 0.05
SMOG_NOON = 0.1
SMOG_EVENING = 0.15

[BASIC]
IGNORE_OTHER_CONFIGS = 1
SUPPORTS_WIND=1

[WIND]
DYNAMIC_FLAGS = AUTO
DYNAMIC_FLAGS_TESSELLATION = 0
IGNORE=marshals

[HEATING_SURFACES]
MATERIALS = ROAD?, NEWROAD, STRP_LINE?, CONC_CONCRETEB_WET, tyres_add1, bitumen,

[SPECTATORS]
MESHES = ?public?, ?crowd?, ?people?, Crow?

;;;;;;;;;;;;;; CONDITION ;;;;;;;;;;;;;;;

[CONDITION_...]
; use it for lights which should always stay on
; thanks to racinjoe013 for this solution
NAME = NIGHT_SMOOTH_RAIN
INPUT = 'NIGHT_SMOOTH + RAIN'

;;;;;;;;;;;;;; SHADER REPLACEMENT ;;;;;;;;;;;;;;;

[SHADER_REPLACEMENT_...]
ACTIVE=1
DESCRIPTION= missing double sided
MATERIALS = VT_TENTD, B_PITSGLASSNOTX, F_CHAIN, B_PITSMAIN, B_CONTROLTOWER
CULL_MODE= OFF

[SHADER_REPLACEMENT_...]
DESCRIPTION=
ACTIVE = 1   
MATERIALS = sandy
SHADER = ksPerPixel

[SHADER_REPLACEMENT_...]
ACTIVE = 1  
MATERIALS =  sandtrans
BLEND_MODE = ALPHA_BLEND
IS_TRANSPARENT = 1

;;;;;;;;;;;;;; SMOKEFX ;;;;;;;;;;;;;;;

[CONDITION_...]
DESCRIPTION = Smoke start later and end earlier
NAME = CHIMNEYSMOKE
INPUT = YEAR_DAY
LUT = (1=0.45 | 15=0.43 | 30=0.42 | 46=0.40 | 61=0.37 | 68=0.34 | 75=0.31 | 90=0.28 | 98=0.25 | 106=0.22 | 121=0.18 | 128=0.15 | 136=0.05 | 151=0.0 | 167=0 | 182=0 | 197=0 | 250=0 | 258=0.05 | 274=0.10 | 289=0.13 | 296=0.15 | 304=0.17 | 312=0.18 | 320=0.21 | 327=0.27 | 335=0.32 | 342=0.36 | 350=0.41 | 365=0.45)

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 461.09, -56.49, -589.4
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.05
COLOR = 1, 1, 1, 0.2
SPREAD = 0.1

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 505.37, -59.7, -622.15
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.05
COLOR = 1, 1, 1, 0.2
SPREAD = 0.1

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 516.22, -59.25, -591.48
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 558.38, -57.25, -673.97
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 612.15, -57.27, -660.97
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 629.58, -59.07, -679.83
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 636.06, -56.82, -726.45
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 662.42, -58.36, -701.08
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 697.73, -57.69, -742.57
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 709.82, -57.13, -759.52
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = 472.06, -51.9, -799.65
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = -391.83, -69.23, 711.31
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = -391.8, -69.23, 719.65
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

[SMOKE_...]
INTENSITY=CHIMNEYSMOKE
POSITION = -228.49, -73.2, 1093.08
DIRECTION = 0, 0.5, 0
SPEED = 1
SIZE = 0.25
COLOR = 1, 1, 1, 0.18
SPREAD = 0.25

;;;;;;;;;;;;;; RAINFX ;;;;;;;;;;;;;;;

[RAIN_FX]
PUDDLES_MATERIALS = ROAD?, NEWROAD?, bitumen, transition, groove, CONC_CONCRETEB_WET, STRP_LINE?, sandy, sandtrans, B_GSTNDTERRACE_CONC,
PUDDLES_MESHES = 
SOAKING_MATERIALS = ROAD?, NEWROAD?, bitumen, transition, groove, CONC_CONCRETEB_WET, STRP_LINE?, sandy, sandtrans, B_GSTNDTERRACE_CONC, P_HAYBALE, SAFER_A_F_EARTH, bgstbn, F_CONC, F_WOODTX, F_CONCSML, VT_FENCEW,
SOAKING_MESHES = 
SMOOTH_MATERIALS =  ?CONTROLTOWER?, ?SHEDPADDOCK?, ?PITSMAIN?, VT_BLDWALLA, ?SPON?, ?PITSDETAIL?, ?TENT?, CITROEN?, Material.004, S_GSTND01_B, b_g, ?TOWERPADDOCK?, ?SCAFSCORE?, ?BRIDGE?, ?LOGOMETR?, pfeil, ?PITSGLASSNOTX?, mat_0.001, F_CHAIN, Material.001, B_HOUSESA, P_FIREEXT, B_PITSLIGHTSNOTX, F_BOUNDARY, VT_FENCEDG, P_TOWERCLOCKREDGLOW, P_TOWERCLOCKRED,
SMOOTH_MESHES =  
ROUGH_MATERIALS = terrain, sandy, sandtrans, P_HAYBALE,
ROUGH_MESHES = 
LINES_MATERIALS = STRP_LINE?,
LINES_MESHES = 
RELIEF_MATERIALS = '{ dynamic:no & !Bx? }'

;Stream edge
STREAM_EDGE_... = -94.62, -35.87, -427.6, -94.48, -35.87, -427.33
STREAM_EDGE_... = -89.25, -35.87, -416.96, -89.04, -35.87, -416.54
STREAM_EDGE_... = -82.44, -35.87, -419.86, -82.52, -35.87, -420.01
STREAM_EDGE_... = -87.97, -35.88, -430.84, -88.04, -35.88, -430.96

STREAM_EDGE_... = -17.1, -47.79, -307.97, -17.33, -47.79, -308.32
STREAM_EDGE_... = -30.82, -47.46, -328.16, -30.88, -47.46, -328.26
STREAM_EDGE_... = -33.65, -47.46, -326.18, -33.57, -47.46, -326.06
STREAM_EDGE_... = -19.96, -47.81, -306.03, -19.84, -47.82, -305.87


STREAM_EDGE_... = -503.24, -45.36, 274.74, -503.24, -45.36, 274.7
STREAM_EDGE_... = -502.2, -45.36, 239.83, -502.2, -45.36, 239.74

STREAM_EDGE_... = -503.51, -57.21, 236.01, -503.52, -57.21, 235.85
STREAM_EDGE_... = -504.48, -57.21, 172.65, -548.65, -67.33, 161.94

STREAM_EDGE_... = -502.32, -55.66, 161.98, -502.3, -55.66, 161.73
STREAM_EDGE_... = -496.2, -55.66, 86.21, -512.4, -58.85, 78.67

;;;;;;;;;;;;;; GRASSFX ;;;;;;;;;;;;;;;

[GRASS_FX]
GRASS_MATERIALS = terrain
OCCLUDING_MATERIALS = NEWROAD, groove, 

[GRASS_FX_CONFIGURATION_A]
SHAPE_SIZE = 3.5  ; general size
SHAPE_TIDY = 0.0   ; how tidy grass is (untidy grass in uneven, tilted more)
SHAPE_CUT = 0.0    ; how cut grass is
SHAPE_WIDTH = 0.8  ; grass width relative to its height

MASK_MAIN_THRESHOLD=-1
MASK_RED_THRESHOLD=0
MASK_MIN_LUMINANCE=-1
MASK_MAX_LUMINANCE=1

[GRASS_FX_CONFIGURATION_B]
SHAPE_SIZE = 0
SHAPE_WIDTH = 0
SHAPE_TIDY = 0

[GRASS_FX_ADJUSTMENT_...]
MATERIALS = terrain
USE_MULTILAYER_MASK = 1 ; use multilayer mask for adjustment
MASK_R = B
MASK_G = A
MASK_B = B
MASK_A = A

;;;;;;;;;;;;;; GLASS LIGHT ;;;;;;;;;;;;;;;

[MATERIAL_ADJUSTMENT_...]
DESCRIPTION = Windows glow
MATERIALS = VT_BLDWINA, B_CONTROLTOWER_LIGHTS, B_PITSGLASS,
CONDITION = NIGHT_SMOOTH_RAIN
KEY_0 = ksEmissive
VALUE_0 = 255,210,150,0.025
VALUE_0_OFF = 0, 0, 0
ACTIVE = 1
 
[Material_RoomWindows]
Materials = VT_BLDWINA, B_CONTROLTOWER_LIGHTS, B_PITSGLASS,
EmissiveMode = ONE
SnapToTexCoords = 1
TexCoordsSnapOffset = 1.0
NormalsFactor = 0
RoomCeilingScale = 0.5
RoomCeilingRotation = 73.0
RoomDepth = 12
ShapeChance = 1
Shape1_X_W = 0.01
Shape1_Y_W = 0.01
ShapeSmoothness = 0.85
InteriorBaseBrightness = 1.5
InteriorMult = 0.5
InteriorGlowBrightness = 0.5
InteriorVolumeBrightness = 2.5
InteriorLightsBrightness = 2.25

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION= Glass lights
VISIBILITY_LEVEL=0
MATERIALS = VT_BLDWINA, B_CONTROLTOWER_LIGHTS, B_PITSGLASS,
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,0,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=10
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=255,210,75,0.015

;;;;;;;;;;;;;; BOX LIGHTS ;;;;;;;;;;;;;;;

[CustomEmissive]
ACTIVE = 1
DESCRIPTION = Box lights 
MESHES = NightLight002Glow
Resolution = 1024,1024 
SHADER=ksPerPixelMultiMap_emissive
@ = CustomEmissive_Rect, Channel = 0, Start = "6, 350", Size = "155, 157", CornerRadius=1.0

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION= Box lights
VISIBILITY_LEVEL=0
MESHES=NightLight002Glow
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,0,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=75
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=255,210,75,0.025

[MATERIAL_ADJUSTMENT_...]
ACTIVE=1
DESCRIPTION = Box lights
MESHES=NightLight002Glow
KEY_...=ksEmissive
VALUE_0=255,210,75,0.25
VALUE_0_OFF=0, 0, 0
CONDITION=NIGHT_SMOOTH_RAIN
KEY_... = ksAlphaRef
VALUE_... = -193

;;;;;;;;;;;;;; TRACK LIGHTS ;;;;;;;;;;;;;;;

[CustomEmissive]
ACTIVE = 1
DESCRIPTION = Track lights 
MESHES=LAMP18_SUB7
Resolution =128,128
SHADER=ksPerPixelMultiMap_emissive
@ = CustomEmissive_Rect, Channel = 1, Start = "17, 19", Size = "95, 90", CornerRadius=1.0

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION= Track lights
VISIBILITY_LEVEL=0
MESHES=LAMP18_SUB7
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,0,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=50
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=255,210,75,0.025

[MATERIAL_ADJUSTMENT_...]
ACTIVE=1
DESCRIPTION = Track lights
MESHES=LAMP18_SUB7
KEY_...=ksEmissive1
VALUE_0=255,210,75,0.50
VALUE_0_OFF=0, 0, 0
CONDITION=NIGHT_SMOOTH_RAIN
KEY_... = ksAlphaRef
VALUE_... = -193

[CustomEmissive]
ACTIVE = 1
DESCRIPTION = Track lights 
MESHES=LAMP22_SUB2
Resolution =128,128
SHADER=ksPerPixelMultiMap_emissive
@ = CustomEmissive_Rect, Channel = 1, Start = "17, 19", Size = "95, 90", CornerRadius=1.0

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION= Track lights
VISIBILITY_LEVEL=0
MESHES=LAMP22_SUB2
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,0,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=25
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=225,150,125,0.025

[MATERIAL_ADJUSTMENT_...]
ACTIVE=1
DESCRIPTION = Track lights
MESHES=LAMP22_SUB2
KEY_...=ksEmissive1
VALUE_0=225,150,125,0.50
VALUE_0_OFF=0, 0, 0
CONDITION=NIGHT_SMOOTH_RAIN
KEY_... = ksAlphaRef
VALUE_... = -193

[CustomEmissive]
ACTIVE = 1
DESCRIPTION = Track lights 
MESHES=ENERGIE03_SUB4, ENERGIE09b_SUB4, ENERGIE09b_SUB4, ENERGIE09_SUB6,
Resolution =128,128
SHADER=ksPerPixelMultiMap_emissive
@ = CustomEmissive_Rect, Channel = 1, Start = "17, 19", Size = "95, 90", CornerRadius=1.0

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION= Track lights
VISIBILITY_LEVEL=0
MESHES=ENERGIE03_SUB4, ENERGIE09b_SUB4, ENERGIE09b_SUB4, ENERGIE09_SUB6,
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,0,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=25
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=225,150,125,0.025

[MATERIAL_ADJUSTMENT_...]
ACTIVE=1
DESCRIPTION = Track lights
MESHES=ENERGIE03_SUB4, ENERGIE09b_SUB4, ENERGIE09b_SUB4, ENERGIE09_SUB6,
KEY_...=ksEmissive1
VALUE_0=225,150,125,0.50
VALUE_0_OFF=0, 0, 0
CONDITION=NIGHT_SMOOTH_RAIN
KEY_... = ksAlphaRef
VALUE_... = -193

;;;;;;;;;;;;;; GRANDSTANDS LIGHTS ;;;;;;;;;;;;;;;

[CustomEmissive]
ACTIVE = 1
DESCRIPTION = Grandstands lights 
MESHES=NightLight033Glow
Resolution =2048,2048
SHADER=ksPerPixelMultiMap_emissive
@ = CustomEmissive_Rect, Channel = 0, Start = "0,0", Size = "2048,2048", CornerRadius=0.0

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION= Grandstands lights
VISIBILITY_LEVEL=0
MESHES=NightLight033Glow
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,0,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=20
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=225,150,125,0.025

[MATERIAL_ADJUSTMENT_...]
ACTIVE=1
DESCRIPTION = Grandstands lights
MESHES=NightLight033Glow
KEY_...=ksEmissive
VALUE_0=225,150,125,0.50
VALUE_0_OFF=0, 0, 0
CONDITION=NIGHT_SMOOTH_RAIN
KEY_... = ksAlphaRef
VALUE_... = -193

;;;;;;;;;;;;;; SMALL BUILDINGS LIGHTS ;;;;;;;;;;;;;;;

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION= Small buildings lights
VISIBILITY_LEVEL=0
MATERIALS=VT_BUILDC
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,0,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=15
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=225,150,125,0.10

[MATERIAL_ADJUSTMENT_...]
ACTIVE=1
DESCRIPTION = Small buildings lights
MESHES=BUILD01_SUB1
KEY_...=ksEmissive
VALUE_0=225,150,125,0.0050
VALUE_0_OFF=0, 0, 0
CONDITION=NIGHT_SMOOTH_RAIN
KEY_... = ksAlphaRef
VALUE_... = -193

;;;;;;;;;;;;;; TENTS LIGHTS ;;;;;;;;;;;;;;;

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION= Tents lights
VISIBILITY_LEVEL=0
MATERIALS=VT_TENTD
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,1.75,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=20
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=225,150,125,0.025

[MATERIAL_ADJUSTMENT_...]
ACTIVE=1
DESCRIPTION = Tents lights
MESHES=BUILD01_SUB1
KEY_...=ksEmissive
VALUE_0=225,150,125,0.0050
VALUE_0_OFF=0, 0, 0
CONDITION=NIGHT_SMOOTH_RAIN
KEY_... = ksAlphaRef
VALUE_... = -193

;;;;;;;;;;;;;; TOWER BLINKIN RED LIGHTS ;;;;;;;;;;;;;;;

[CustomEmissive]
ACTIVE = 1
DESCRIPTION = Ambulance lights
MESHES = p_TowerPaddockB_SUB1
Resolution = 512,512
@ = CustomEmissive_Rect, Channel = 0, Start = "334, 480", Size = "53, 29", CornerRadius=0.0

[MATERIAL_ADJUSTMENT_...]
ACTIVE=1
DESCRIPTION= Tower blinkin red light
VISIBILITY_LEVEL = 0
MESHES = p_TowerPaddockB_SUB1
CONDITION = TOWERBLINK
KEY_... = ksEmissive
VALUE_... = 255,25,0,0.25
KEY_... = ksAlphaRef
VALUE_... = -193

[CONDITION_...]
NAME = TOWERBLINK
INPUT = ONE
FLASHING_FREQUENCY = 4
FLASHING_SMOOTHNESS = 0
FLASHING_SKIP_OFF_STATE = 0
FLASHING_NOISE_AMPLITUDE = 0
FLASHING_MIN_VALUE = 0.0
FLASHING_SYNCED = 1

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION= Tower blinkin red light
VISIBILITY_LEVEL=0
MESHES = p_TowerPaddockB_SUB1
CONDITION=TOWERBLINK
OFFSET=0,5,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=150
RANGE=5
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=15
DIFFUSE_CONCENTRATION=0.50
COLOR=255,25,0,0.015

;;;;;;;;;;;;;; BRIDGE & BANNERS LIGHTS ;;;;;;;;;;;;;;;

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION=Bridge lights
VISIBILITY_LEVEL=0
MESHES = b_PitsSponsorBanner001
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,1.5,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=15
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=200,175,150,0.015

[MATERIAL_ADJUSTMENT_...]
DESCRIPTION=Bridge lights
CONDITION = NIGHT_SMOOTH_RAIN
MESHES = b_PitsSponsorBanner001
KEY_0 = ksEmissive
VALUE_0 = 200,175,150,0.050
OFF_VALUE_0 = 0.15
ACTIVE = 1

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION=Bridge lights
VISIBILITY_LEVEL=0
MESHES = b_Pits_G001_SUB3, b_Pits_C001_SUB3, b_Pits_B001_SUB3, b_Pits_O001_SUB3, b_Pits_N001_SUB3, b_Pits_L001_SUB3,
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,1.5,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=7.5
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=255,210,75,0.015

[MATERIAL_ADJUSTMENT_...]
DESCRIPTION=Bridge lights
CONDITION = NIGHT_SMOOTH_RAIN
MESHES = b_Pits_G001_SUB3, b_Pits_C001_SUB3, b_Pits_B001_SUB3, b_Pits_O001_SUB3, b_Pits_N001_SUB3, b_Pits_L001_SUB3,
KEY_0 = ksEmissive
VALUE_0 = 255,210,75,0.0050
OFF_VALUE_0 = 0.15
ACTIVE = 1

[LIGHT_SERIES_...]
ACTIVE=1
DESCRIPTION=Bridge lights
VISIBILITY_LEVEL=0
MESHES = b_ScafScoreMain_SUB1,
CONDITION=NIGHT_SMOOTH_RAIN
OFFSET=0,1.5,0
DIRECTION=NORMAL
DIRECTION=0,-2,0
SPOT=180
RANGE=7.5
RANGE_GRADIENT_OFFSET=0.4
FADE_AT=700
FADE_SMOOTH=25
CLUSTER_THRESHOLD=16
DIFFUSE_CONCENTRATION=0.50
COLOR=255,15,6,0.015

[MATERIAL_ADJUSTMENT_...]
DESCRIPTION=Bridge lights
CONDITION = NIGHT_SMOOTH_RAIN
MESHES = b_ScafScoreMain_SUB1,
KEY_0 = ksEmissive
VALUE_0 = 255,210,75,0.0050
OFF_VALUE_0 = 0.15
ACTIVE = 1

;;;;;;;;;;;;;; SEASONS ;;;;;;;;;;;;;;;

[DEFAULTS]
NORTH_HEMISPHERE = 1
SOUTH_HEMISPHERE = 0
SUMMER_LATITUDE_FACTOR = 0.75
AUTUMN_LATITUDE_FACTOR = 0.75
WINTER_LATITUDE_FACTOR = 1.50

;-------------------------------------------------------------

[CONDITION_...]
NAME=SEASON_SUMMER_NORTH
INPUT=YEAR_PROGRESS
LUT=(|0=0|0.4=0|0.55=1.0|0.7=0|1=0|)
LAG=0

[CONDITION_...]
NAME=SEASON_AUTUMN_NORTH
INPUT=YEAR_PROGRESS
LUT=(|0=0|0.6=0|0.75=1.0|0.9=0|1=0|)
LAG=0

[CONDITION_...]
NAME=SEASON_WINTER_NORTH
INPUT=YEAR_PROGRESS
LUT=(|0=0.6|0.05=1|0.2=0.0|0.85=0|1=0.6|)
LAG=0

;-------------------------------------------------------------

[MATERIAL_ADJUSTMENT_...]
ACTIVE=$NORTH_HEMISPHERE
DESCRIPTION=Summer Settings
MESHES=A, B, C, D, F, H, 
KEY_0=seasonSummer
VALUE_0=$SUMMER_LATITUDE_FACTOR
OFF_VALUE_0=ORIGINAL
CONDITION=SEASON_SUMMER_NORTH

[MATERIAL_ADJUSTMENT_...]
ACTIVE=$NORTH_HEMISPHERE
DESCRIPTION=Autumn Settings
MESHES=B, C, D, H, 
KEY_0=seasonAutumn
VALUE_0=$AUTUMN_LATITUDE_FACTOR
OFF_VALUE_0=ORIGINAL
CONDITION=SEASON_AUTUMN_NORTH

[MATERIAL_ADJUSTMENT_...]
ACTIVE=$NORTH_HEMISPHERE
DESCRIPTION=Winter Settings
MATERIALS=?
KEY_0=seasonWinter
VALUE_0=$WINTER_LATITUDE_FACTOR
OFF_VALUE_0=0
CONDITION=SEASON_WINTER_NORTH
