[AUDIO_VOLUME]
ENGINE_EXT = 2.0
ENGINE_INT = 2.0
GEAR_EXT = 2.0
GEAR_INT = 2.0
BODYWORK = 1.0
WIND = 1.0
DIRT = 1.0
DOWN_SHIFT = 1.0
HORN = 1.0
GEAR_GRIND = 1.0
BACKFIRE_EXT = 2.0
BACKFIRE_INT = 2.0
TRACTION_CONTROL_EXT = 1.0
TRACTION_CONTROL_INT = 2.0
TRANSMISSION = 2.0
LIMITER = 1
TURBO = 2.0

; New options added in 0.1.67:
HIT = 1.0
SCRAPE = 1.0
WHEEL = 1.0
SKID_EXT = 0.2
SKID_INT = 0.2

[PARTICLES_FX_EXHAUST_0]
POSITION=0.5502682,0.1243958,-2.152803
DIRECTION=-0.04150045,-0.7623482,-0.6458352
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 0.5			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_1]
POSITION=0.5548801,0.1262368,-2.151102
DIRECTION=-0.0263734,-0.7672563,-0.6407981
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 0.5			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_2]
POSITION=0.5502684,0.1243959,-2.153857
DIRECTION=-0.04150045,-0.7623482,-0.6458352
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 0.5			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears

[PARTICLES_FX_EXHAUST_3]
POSITION=0.5502683,0.1243958,-2.152651
DIRECTION=-0.04150045,-0.7623482,-0.6458352
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 1, 2 				; how long particles last in the air before disappearing
SPEED = 0.5, 1 				; how fast smoke particles fly from the exhaust
SPREAD = 0.25				; initial spread of particles
STARTING_SIZE = 0.04			; initial size of particles
SPAWN_OFFSET = 0.02			; initial spawn point offset (length-wise)
INTENSITY = 0.3, 0.5			; smoke intensity
TEMPERATURE_LAG = 1 			; engine heating up (1 to disable)
SPEED_THRESHOLD = 15, 100 		; speed at which the smoke disappears

[EXHAUST_FLAMES]
ANTILAG=1
ANTILAG_DELAY=0.3
ANTILAG_INTENSITY=1000
ANTILAG_INTERVAL_MAX=10.1
ANTILAG_INTERVAL_MIN=1.01
ANTILAG_TURBO_THRESHOLD=0.001
DAMAGE=1
DAMAGE_DURATION=0.04
DAMAGE_INTENSITY=1
DAMAGE_PROBABILITY=1
DISCHARGE=0.5
DISCHARGE_CHARGE_TIME=3
DISCHARGE_DELAY=1.0
DISCHARGE_DURATION=2.4
DISCHARGE_INTENSITY=0.01
DISCHARGE_PROBABILITY=0
DISCHARGE_RPM_THRESHOLD_MAX=9100
DISCHARGE_RPM_THRESHOLD_MIN=1200
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=90
FLAT_SHIFT=1
FLAT_SHIFT_COOLDOWN=1
FLAT_SHIFT_DURATION=0.1
FLAT_SHIFT_GAS_THRESHOLD=0.5
FLAT_SHIFT_INTENSITY=10000000
FLAT_SHIFT_PROBABILITY=1
FLAT_SHIFT_RPM_THRESHOLD=6000
LIMITER=1
LIMITER_DELAY=0.0
LIMITER_INTENSITY=2.0
LIMITER_RPM_THRESHOLD=8200


[LIGHT_EXTRA_1] ;underglowleft
LINE_FROM=0.55, 0.07, -1.5
LINE_TO=0.55, 0.07, 1.5
BIND_TO_EXTRA_C=1
COLOR=300,20,700
DIFFUSE_CONCENTRATION=0.9
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.1
SPOT=210
SPOT_SHARPNESS=0.75
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
SIMULATE_HEATING=1.5

[LIGHT_EXTRA_2] ;underglow right
LINE_FROM=-0.55, 0.07, -1.5
LINE_TO=-0.55, 0.07, 1.5
BIND_TO_EXTRA_C=1
COLOR=300,20,700
DIFFUSE_CONCENTRATION=0.9
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.1
SPOT=210
SPOT_SHARPNESS=0.75
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
SIMULATE_HEATING=1.5

[LIGHT_EXTRA_3] ;underglowrear
LINE_FROM=-0.40, 0.05, -1.8
LINE_TO=0.40, 0.05, -1.8
BIND_TO_EXTRA_C=1
COLOR=300,20,700
DIFFUSE_CONCENTRATION=0.9
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.1
SPOT=210
SPOT_SHARPNESS=0.75
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
SIMULATE_HEATING=1.5

[LIGHT_EXTRA_4] ;underglowfront
LINE_FROM=-0.45, 0.05, 1.9
LINE_TO=0.45, 0.05, 1.9
BIND_TO_EXTRA_C=1
COLOR=300,20,700
DIFFUSE_CONCENTRATION=0.9
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.7
RANGE_GRADIENT_OFFSET=0.1
SPOT=210
SPOT_SHARPNESS=0.75
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SIMULATE_HEATING=1.5




[LIGHT_EXTRA_6]                                 ;(INTERIOR GLOW) {Visible from inside only}
LINE_FROM=-0.9, 0.5, 0.5
LINE_TO=0.9, 0.5, 0.5
BIND_TO_EXTRA_C=1
COLOR=300,20,700
DIFFUSE_CONCENTRATION=0.95
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.35
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=1

[LIGHT_EXTRA_7]
LINE_FROM=-0.2, 0.2, 0.4                       ;(INTERIOR FOOT WELL GLOW) {Visible from outside only}
LINE_TO=0.2, 0.2, 0.4
BIND_TO_EXTRA_C=1
COLOR=300,20,700
DIFFUSE_CONCENTRATION=0.95
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.8
RANGE_GRADIENT_OFFSET=0.1
SPOT=250
SPOT_SHARPNESS=0.0
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0


[LIGHT_EXTRA_8]                               ;(INTERIOR BACK SEAT GLOW) {Visible from outside only}
LINE_FROM=-0.2, 0.4, 0.2
LINE_TO=0.2, 0.4, 0.2
BIND_TO_EXTRA_C=1
COLOR=300,20,700
DIFFUSE_CONCENTRATION=0.95
FADE_AT=150
FADE_SMOOTH=10
RANGE=0.8
RANGE_GRADIENT_OFFSET=0.1
SPOT=250
SPOT_SHARPNESS=0.0
SPECULAR_MULT=0
DIRECTION=0, -1, 0
SELF_LIGHTNING=1
EXTERIOR_ONLY=1
INTERIOR_ONLY=0



;---------------------///materials///---------------------

[INCLUDE: common/materials_interior.ini]
DisableDev = 1


[Material_Metal_v2] ; exhaust
Materials= S13TB_ROLLCAGETBS, RIM_57X.004,RIM_57X.003,black.004,RIM_57X_INGRAVE.004,s13_body_paint, Material #561,
Brightness = 1
Smoothness = 0
DetailScale = 5
Metalness = 0.5
Reflectance = -0.2
LocalReflectionsSharpness = 1
CubemapReflectionBlur= 0.5
ApplyTilingFix = 1
DetailTexture = 1


 
[INCLUDE: common/materials_carpaint.ini]
CarPaintMaterial = skin_body
CarPaintVersionAware = 2

[Material_CarPaint_Metallic]
FresnelMax = 1.6
FresnelC = 0.15
FlakesK = 0.5
UseMetallicReflections = 0.5
BrightnessAdjustment = 0.8
SpecularMult = 0.2
AmbientSpecular = 1.5       
AmbientSpecularEXP = 3.5
PearlescentSpecular = 0.2
SpecularBase = 1, 50
SpecularSun = 2, 3000
ColoredSpecular = 0.9
PROP_0=extMetallicK, 0.4
NormalsMode = BASIC


[SHADER_REPLACEMENT_...]
MATERIALS = s13_body_paint
CAST_SHADOWS = 1
DOUBLE_FACE_SHADOW_BIASED = 1

-------SHAKING--------

[SHAKING_EXHAUST_0]
MESHES = zorst
POINT_0 = 1, 2, 3
POINT_0_RADIUS = 1
POINT_0_EXP = 1
POINT_0_SCALE = 0.225, 0.4, 0.13

[SHAKING_EXHAUST_1]
MESHES = muffler
POINT_0 = 1, 2, 3
POINT_0_RADIUS = 1
POINT_0_EXP = 1
POINT_0_SCALE = 0.225, 0.4, 0.13


[WOBBLY_BIT_0]
NAME = anthswobblin
CONNECTED_TO = 0, 0, 0
MAX_RANGE = 1.55
DAMPENING_LAG = 0.93
G_GAIN = 5
GRAVITY_GAIN = 3
OFFSET_GAIN = 100
STIFF_AXIS = 0, 0, 1
STIFF_AXIS_STIFFNESS = 0.7
G_FILTER = 0
DEFAULT_GRAVITY_INCLUDED_ALREADY = 1



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

[ANIMATION_...]
FILE=scissor_door_right.ksanim
TIME=2
BIND_TO_EXTRA_B=1
TICK_TOCK_MODE=0
LOOP_KEEP_UNTIL_DONE=1
LOOP_WHILE_ACTIVE=0

[ANIMATION_...]
FILE=scissor_door_left.ksanim
TIME=2
BIND_TO_EXTRA_B=1
TICK_TOCK_MODE=0
LOOP_KEEP_UNTIL_DONE=1
LOOP_WHILE_ACTIVE=0



[EMISSIVE_EXTRA_D_...]
NAME = Headlights_GlassCornerL,Headlights_GlassCornerR,Taillights_BlinkersR,Taillights_BlinkersL,PlateLight_Glass
COLOR = 80,80,120, 50
LAG = 0.1
SIMULATE_HEATING = 0.0
BLINKING_PATTERN = (|0 = 0|0.5 = 0|0.542 = 0|0.583 = 1|0.625 = 0|0.667 = 0|0.708 = 0|0.75 = 1|0.792 = 0|0.833 = 0|0.875 = 0|0.917 = 0|0.958 = 0|1 = 0|)
BLINKING_DURATION = 0.70
CAST_LIGHT = 1
BIND_TO_EXTRA_D=1
LOCATION = FRONT

[EMISSIVE_EXTRA_D_...]
NAME = HlightTurn_GlassR,HlightTurn_GlassL,Taillights_Reverse
COLOR = 20,20,220, 50
LAG = 0.05
SIMULATE_HEATING = 0.0
BLINKING_PATTERN = (|0 = 0|0.5 = 0|0.542 = 0|0.583 = 1|0.625 = 0|0.667 = 0|0.708 = 0|0.75 = 1|0.792 = 0|0.833 = 0|0.875 = 0|0.917 = 0|0.958 = 0|1 = 0|)
BLINKING_DURATION = 0.70
CAST_LIGHT = 1
BIND_TO_EXTRA_D=1
LOCATION = REAR

[EMISSIVE_EXTRA_D_...]
NAME = Lights_Effect2,Taillights_Reflector
COLOR = 20,20,220, 10
LAG = 0.05
SIMULATE_HEATING = 0
BLINKING_PATTERN = (|0 = 0|0.5 = 0|0.542 = 0|0.583 = 1|0.625 = 0|0.667 = 0|0.708 = 0|0.75 = 1|0.792 = 0|0.833 = 0|0.875 = 0|0.917 = 0|0.958 = 0|1 = 0|)
BLINKING_DURATION = 1
CAST_LIGHT = 1
BIND_TO_EXTRA_D=1
LOCATION = REAR



[EMISSIVE_EXTRA_D_...]
NAME = Taillights_BlinkersR,Taillights_BlinkersL,PlateLight_Glass
COLOR = 80,80,120, 20
LAG = 0
SIMULATE_HEATING = 0.0
BLINKING_PATTERN = (|0 = 0|0.5 = 0|0.542 = 0|0.583 = 1|0.625 = 0|0.667 = 0|0.708 = 0|0.75 = 1|0.792 = 0|0.833 = 0|0.875 = 0|0.917 = 0|0.958 = 0|1 = 0|)
BLINKING_DURATION = 0.70
CAST_LIGHT = 1
BIND_TO_EXTRA_D=1
LOCATION = FRONT



[LIGHT_LICENSEPLATE]
MESHES=Plate_Rear
OFFSET=-0.1, 0.00, -0.09
RANGE=0.5
RANGE_GRADIENT_OFFSET=0.0
SPOT=150
SPOT_SHARPNESS=0.8
COLOR=1,1,2,1
LAYOUT=TWO_ON_TOP


