AUTHOR=Simrac3r
VERSION=1.0
DATE_RELEASE=19/12/2022
LIGHTS_COUNT=200
NOTES=Release

[INCLUDE]
INCLUDE=common\conditions.ini
INCLUDE= common/grass_fx.ini
INCLUDE= common\materials_base.ini
INCLUDE= common\materials_track.ini

[LIGHTING]
SPECULAR_MULT=0.7
CAR_LIGHTS_LIT_MULT = 1
LIT_MULT=1

[CONDITION_0]
NAME=BLINK
INPUT=ONE
DELAY=0
FLASHING_FREQUENCY=5
FLASHING_SMOOTHNESS=0
FLASHING_SKIP_OFF_STATE=0
FLASHING_NOISE_AMPLITUDE=0
FLASHING_MIN_VALUE=0.0
FLASHING_SYNCED=1

[CONDITION_1]
NAME=SEMAFOR_GREEN
INPUT=ONE
DELAY=0
FLASHING_FREQUENCY=0.2
FLASHING_SMOOTHNESS=0
FLASHING_SKIP_OFF_STATE=0
FLASHING_NOISE_AMPLITUDE=0
FLASHING_MIN_VALUE=0.0
FLASHING_SYNCED=1

[CONDITION_2]
NAME=SEMAFOR_RED
INPUT=ONE
DELAY=0
FLASHING_FREQUENCY=-0.2
FLASHING_SMOOTHNESS=0
FLASHING_SKIP_OFF_STATE=0
FLASHING_NOISE_AMPLITUDE=0
FLASHING_MIN_VALUE=0.0
FLASHING_SYNCED=1

[CONDITION_3]
NAME=SEMAFOR_GREEN2
INPUT=ONE
DELAY=0
FLASHING_FREQUENCY=-0.2
FLASHING_SMOOTHNESS=0
FLASHING_SKIP_OFF_STATE=0
FLASHING_NOISE_AMPLITUDE=0
FLASHING_MIN_VALUE=0.0
FLASHING_SYNCED=1

[CONDITION_4]
NAME=SEMAFOR_RED2
INPUT=ONE
DELAY=0
FLASHING_FREQUENCY=0.2
FLASHING_SMOOTHNESS=0
FLASHING_SKIP_OFF_STATE=0
FLASHING_NOISE_AMPLITUDE=0
FLASHING_MIN_VALUE=0.0
FLASHING_SYNCED=1
;DENEONIZING CONFIG

[GRASS_FX]
GRASS_MATERIALS = grass, roca
GRASS_MESHES = 
OCCLUDING_MESHES = terrain
OCCLUDING_MATERIALS_ALPHA = 
ORIGINAL_GRASS_MATERIALS=
TEXTURE = arrabassadagrass.dds
TEXTURE_GRID = 8, 4
; blurring for mask
MASK_BLUR = 0 ; from 0 to 3, 0 to disable blur

[GRASS_FX_TEXTURE_GROUP_0]
PIECE_0 = 5, 2, 1, 2
PIECE_1 = 8, 1
PIECE_1_CHANCE = 0

[GRASS_FX_TEXTURE_GROUP_1]
PIECE_0 = 5, 2, 22, 2
PIECE_0_SIZE_MULT = 4, 5
PIECE_1 = 8, 1
PIECE_1_SIZE_MULT = 4, 5

; configuration A for tidy often cut grass
[GRASS_FX_CONFIGURATION_A]
SHAPE_SIZE = 1, 4
SHAPE_CUT = 1, 0.5
SHAPE_TIDY = 1, 0.5
TRIM_PERIOD = THURSDAY ; grass will be cut each thursday (or, set a number in days to set a period)

[GRASS_FX_CONFIGURATION_B]
MASK_MAIN_THRESHOLD = 1
MASK_RED_THRESHOLD = 2
MASK_MIN_LUMINANCE = 0
MASK_MAX_LUMINANCE = 0.75
SHAPE_SIZE = 3
SHAPE_WIDTH = 1
SHAPE_TIDY = 3
TEXTURE_BASE_CHANCE = 3   ; chance of regular grass to spawn
TEXTURE_GROUP_0_CHANCE = 5.0  ; chance of first group to spawn

[GRASS_FX_CONFIGURATION_C]
MASK_MAIN_THRESHOLD = -1
MASK_RED_THRESHOLD = 3
MASK_MIN_LUMINANCE = 0
MASK_MAX_LUMINANCE = 0.075
SHAPE_SIZE = 15
SHAPE_WIDTH = 2.5
SHAPE_TIDY = -0.9
TEXTURE_BASE_CHANCE = 0.0     ; chance of regular grass to spawn
TEXTURE_GROUP_0_CHANCE = 0.2  ; chance of first group to spawn
TEXTURE_GROUP_1_CHANCE = 0.8  

[GRASS_FX_ADJUSTMENT_...]
MATERIALS = grass, roca
MAP = B

[INCLUDE: common/grass_fx.ini]

[RAIN_FX]
PUDDLES_MATERIALS =tarma, tarma_long, cuneta, grass, roadmarks,fine_concrete,gasolinera_lineas,concrete_damaged,fine_concrete_orange,sostre_benzinera,sand,brick_concrete,mur_mirador,separador_carril,stone_wall,roca,terracota, leaves, acera, bordillo
SOAKING_MATERIALS =tarma, tarma_long, cuneta, grass, roadmarks,fine_concrete,gasolinera_lineas,concrete_damaged,fine_concrete_orange,sostre_benzinera,sand,brick_concrete,mur_mirador,separador_carril,stone_wall,roca, terracota, leaves, acera, bordillo
SMOOTH_MATERIALS = barrier,fences_2,container,gasolinera,greymetal,blackmetal,glass,bolardos,gasolinera_reflect,builds_2,emissive_gasolinera,signs,alcantarillas,wood_planks,metal_fence,metal_galvan,fences_1,builds_1,wall,wood,grunge_wall,white_wall, orange_trafficlight, builds_4, cartells, builds_3                        
ROUGH_MATERIALS =
LINES_MATERIALS =
STREAM_EDGE_... = -172.2, -109.12, -383.28, -172.2, -109.12, -372.41
STREAM_EDGE_... = -141.36, -109.13, -383.28, -172.2, -109.12, -383.28
STREAM_EDGE_... = -141.36, -109.12, -372.41, -141.36, -109.13, -383.28
STREAM_EDGE_... = -146.91, -109.12, -372.39, -141.36, -109.12, -372.4
STREAM_EDGE_... = -146.91, -109.12, -372.39, -146.92, -109.14, -365.68
STREAM_EDGE_... = -172.2, -109.13, -372.4, -167.65, -109.11, -372.4
STREAM_EDGE_... = -167.65, -109.11, -372.4, -167.65, -109.12, -365.68
STREAM_EDGE_... = -112.58, -111.79, -377.4, -110.08, -111.79, -357.06
STREAM_EDGE_... = -110.08, -111.79, -357.06, -102.07, -111.79, -358.05
STREAM_EDGE_... = -102.07, -111.79, -358.05, -104.59, -111.78, -378.38
STREAM_EDGE_... = -104.59, -111.78, -378.38, -112.58, -111.79, -377.4
STREAM_POINT_... = 
RELIEF_MATERIALS = '{ dynamic:no & !Bx? }'

[LIGHT_SERIES_0]
ACTIVE=1
DESCRIPTION=farolas calle
MATERIALS=farola
OFFSET=0,0,0
DIRECTION=0,-1,0
SPOT=200
SPOT_SHARPNESS=0.45
RANGE=42
RANGE_GRADIENT_OFFSET=0.25
FADE_AT=2000
FADE_SMOOTH=25
CLUSTER_THRESHOLD=8
COLOR=4, 2, 0.2, 1.2
COLOR_OFF=0
CONDITION=NIGHT_SMOOTH

[LIGHT_SERIES_1]
ACTIVE=1
DESCRIPTION=flourescentes
MATERIALS=flourescent, flourescent2, emissive_gasolinera
OFFSET=0,0,0
DIRECTION=0,-1,0
SPOT=250
SPOT_SHARPNESS=0.45
RANGE=17
RANGE_GRADIENT_OFFSET=0.25
FADE_AT=2000
FADE_SMOOTH=25
CLUSTER_THRESHOLD=8
COLOR=1, 1, 1, 12
COLOR_OFF=0
CONDITION=NIGHT_SMOOTH

[LIGHT_SERIES_2]
ACTIVE=1
DESCRIPTION=carteles gasolinera
MATERIALS=emissive_gasolinera
OFFSET=0,0,0
DIRECTION=0,-1,0
SPOT=20
SPOT_SHARPNESS=0.45
RANGE=5
RANGE_GRADIENT_OFFSET=0.25
FADE_AT=200
FADE_SMOOTH=25
CLUSTER_THRESHOLD=8
COLOR=0.2, 0.2, 0.2, 2
COLOR_OFF=0
CONDITION=NIGHT_SMOOTH

[LIGHT_SERIES_3]
ACTIVE=1
DESCRIPTION=warning
MATERIALS=warning
OFFSET=0,0,0
DIRECTION=0,-1,0
SPOT=200
SPOT_SHARPNESS=5
RANGE=7
RANGE_GRADIENT_OFFSET=0
FADE_AT=100
FADE_SMOOTH=10
CLUSTER_THRESHOLD=2
COLOR=2, 1, 0, 5
COLOR_OFF=0
CONDITION=BLINK

[LIGHT_SERIES_4]
ACTIVE=1
DESCRIPTION=green light
MATERIALS=greenlight
OFFSET=0,0,0
DIRECTION=0,-1,0
SPOT=200
SPOT_SHARPNESS=5
RANGE=7
RANGE_GRADIENT_OFFSET=0
FADE_AT=100
FADE_SMOOTH=10
CLUSTER_THRESHOLD=2
COLOR=0, 1, 0, 5
COLOR_OFF=0
CONDITION=SEMAFOR_GREEN

[LIGHT_SERIES_5]
ACTIVE=1
DESCRIPTION=red light
MATERIALS=redlight
OFFSET=0,0,0
DIRECTION=0,-1,0
SPOT=200
SPOT_SHARPNESS=5
RANGE=7
RANGE_GRADIENT_OFFSET=0
FADE_AT=100
FADE_SMOOTH=10
CLUSTER_THRESHOLD=2
COLOR=1.5, 0, 0, 5
COLOR_OFF=0
CONDITION=SEMAFOR_RED

[LIGHT_SERIES_6]
ACTIVE=1
DESCRIPTION=green light2
MATERIALS=greenlight2, peaton_greenlight
OFFSET=0,0,0
DIRECTION=0,-1,0
SPOT=200
SPOT_SHARPNESS=5
RANGE=7
RANGE_GRADIENT_OFFSET=0
FADE_AT=100
FADE_SMOOTH=10
CLUSTER_THRESHOLD=2
COLOR=0, 1, 0, 5
COLOR_OFF=0
CONDITION=SEMAFOR_GREEN2

[LIGHT_SERIES_7]
ACTIVE=1
DESCRIPTION=red light2
MATERIALS=redlight2, peaton_redlight
OFFSET=0,0,0
DIRECTION=0,-1,0
SPOT=200
SPOT_SHARPNESS=5
RANGE=7
RANGE_GRADIENT_OFFSET=0
FADE_AT=100
FADE_SMOOTH=10
CLUSTER_THRESHOLD=2
COLOR=1.5, 0, 0, 5
COLOR_OFF=0
CONDITION=SEMAFOR_RED2

[LIGHT_SERIES_8]
ACTIVE=1
DESCRIPTION=led lila
MATERIALS=led
OFFSET=0,0,0
DIRECTION=0,-1,0
SPOT=310
SPOT_SHARPNESS=1
RANGE=5
RANGE_GRADIENT_OFFSET=0
FADE_AT=100
FADE_SMOOTH=10
CLUSTER_THRESHOLD=50
COLOR=1, 0, 1, 20
COLOR_OFF=0

[MATERIAL_ADJUSTMENT_0]
ACTIVE=1
DESCRIPTION=Street Lights
MATERIALS=farola,
KEY_0=ksEmissive
VALUE_0= 4, 2, 0, 15     ; slightly blue
VALUE_0_OFF=0
KEY_1=ksAlphaRef
VALUE_1=-193
VALUE_1_OFF=0
CONDITION=NIGHT_SMOOTH

[MATERIAL_ADJUSTMENT_1]
ACTIVE=1
DESCRIPTION=flourescents
MATERIALS=flourescent, flourescent2
KEY_0=ksEmissive
VALUE_0=1, 1, 1, 10     ; slightly blue
VALUE_0_OFF=0
KEY_1=ksAlphaRef
VALUE_1=-193
VALUE_1_OFF=0
CONDITION=NIGHT_SMOOTH

[MATERIAL_ADJUSTMENT_2]
ACTIVE=1
DESCRIPTION=carteles
MATERIALS=emissive_gasolinera
KEY_0=ksEmissive
VALUE_0=1.5, 1, 1, 1.5 
VALUE_0_OFF=0
KEY_1=ksAlphaRef
VALUE_1=-193
VALUE_1_OFF=0
CONDITION=NIGHT_SMOOTH

[MATERIAL_ADJUSTMENT_3]
ACTIVE=1
DESCRIPTION=BCN_night
MATERIALS=bcn1_night, bcn2_night, bcn3_night, bcn4_night,
KEY_0=ksEmissive
VALUE_0=255, 170, 25, 0.1
VALUE_0_OFF=0
KEY_1=ksAlphaRef
VALUE_1=-193
VALUE_1_OFF=0
CONDITION=NIGHT_SMOOTH

[MATERIAL_ADJUSTMENT_4]
ACTIVE=1
DESCRIPTION=esglesia
MESHES=CURCH
KEY_0=ksEmissive
VALUE_0=2.3, 1.5, 0, 0.7
VALUE_0_OFF=0
KEY_1=ksAlphaRef
VALUE_1=-193
VALUE_1_OFF=0
CONDITION=NIGHT_SMOOTH

[MATERIAL_ADJUSTMENT_5]
MESHES = interdeliz001, interdeldr001, intertrasiz, intertrasdr
KEY_0 = ksEmissive
VALUE_0 = 4, 4, 0, 0.5
VALUE_0_OFF = 0, 0, 0
DESCRIPTION = Light Letterboxes
ACTIVE = 1

[MATERIAL_ADJUSTMENT_6]
MESHES = GASOLINERA_SUB16
CONDITION =
KEY_0 = ksEmissive
VALUE_0 = 1, 1 , 1, 2.5
VALUE_0_OFF = 0, 0, 0
DESCRIPTION = banners
ACTIVE = 1
CONDITION=NIGHT_SMOOTH

[MATERIAL_ADJUSTMENT_7]
MATERIALS=warning
KEY_0 = ksEmissive
VALUE_0 = 7, 7, 0, 10
VALUE_1_OFF= 0, 0, 0
ACTIVE = 1
CONDITION= BLINK

[MATERIAL_ADJUSTMENT_8]
MATERIALS=greenlight, peaton_greenlight2
KEY_0 = ksEmissive
VALUE_0 = 0, 10 , 0, 10
VALUE_0_OFF = 0, 0, 0
ACTIVE = 1
CONDITION=SEMAFOR_GREEN

[MATERIAL_ADJUSTMENT_9]
MATERIALS=redlight, peaton_redlight2
CONDITION =
KEY_0 = ksEmissive
VALUE_0 = 10, 0 , 0, 10
VALUE_0_OFF = 0, 0, 0
ACTIVE = 1
CONDITION=SEMAFOR_RED

[MATERIAL_ADJUSTMENT_10]
MATERIALS=greenlight2, peaton_greenlight
CONDITION =
KEY_0 = ksEmissive
VALUE_0 = 0, 10 , 0, 10
VALUE_0_OFF = 0, 0, 0
ACTIVE = 1
CONDITION=SEMAFOR_GREEN2

[MATERIAL_ADJUSTMENT_11]
MATERIALS=redlight2, peaton_redlight
CONDITION =
KEY_0 = ksEmissive
VALUE_0 = 10, 0 , 0, 10
VALUE_0_OFF = 0, 0, 0
ACTIVE = 1
CONDITION=SEMAFOR_RED2

[MATERIAL_ADJUSTMENT_12]
MATERIALS=led
KEY_0 = ksEmissive
VALUE_0 = 1.5, 1 , 1.5, 5
VALUE_0_OFF = 0, 0, 0
ACTIVE = 1
CONDITION=SEMAFOR_RED2

[MATERIAL_ADJUSTMENT_13]
ACTIVE=1
DESCRIPTION=RIDE
MESHES=RIDE
KEY_0=ksEmissive
VALUE_0=2.3, 1.5, 0, 0.7
VALUE_0_OFF=0
KEY_1=ksAlphaRef
VALUE_1=-193
VALUE_1_OFF=0
CONDITION=NIGHT_SMOOTH

[MATERIAL_ADJUSTMENT_14]
ACTIVE=1
DESCRIPTION=WHEEL
MESHES=WHEEL
KEY_0=ksEmissive
VALUE_0= 0, 2, 5, 1
VALUE_0_OFF=0
KEY_1=ksAlphaRef
VALUE_1=-193
VALUE_1_OFF=0
CONDITION=NIGHT_SMOOTH

[MATERIAL_ADJUSTMENT_15]
ACTIVE=1
DESCRIPTION=window lights
MATERIALS=builds_1_light, builds_4_light, builds_5_light
KEY_0=ksEmissive
VALUE_0= 1.1, 1, 0.6, 2
VALUE_0_OFF=0
KEY_1=ksAlphaRef
VALUE_1=-193
VALUE_1_OFF=0
CONDITION=NIGHT_SMOOTH

;LIGHTS
