[INCLUDE: materials_base.ini]
[INCLUDE: common/materials_glass.ini]
[INCLUDE: common/materials_interior.ini]
[INCLUDE: common/materials_carpaint.ini]
[INCLUDE: common/custom_emissive.ini]
[INCLUDE: common/selflighting.ini]
[INCLUDE: common/no_popup_lights.ini]
DisableDev = 1
DISABLE_LIGHTSINI = 0
OPEN_WHEELER=1

[AUDIO_VOLUME]
ENGINE_EXT = 1
ENGINE_INT = 1
GEAR_EXT = 1
GEAR_INT = 1
BODYWORK = 0.5
WIND = 1
DIRT = 0.5
DOWN_SHIFT = 1.05
HORN = 1
GEAR_GRIND = 1.1
BACKFIRE_EXT = 1
BACKFIRE_INT = 1
TRACTION_CONTROL_EXT = 0
TRACTION_CONTROL_INT = 0
TRANSMISSION = 1.1
LIMITER = 0
TURBO = 1.2

[AUDIO_PITCH]
ENGINE_EXT = 0.95
ENGINE_INT = 0.95
GEAR_EXT = 0.9
GEAR_INT = 0.9
BODYWORK = 1
WIND = 1
DIRT = 1
DOWN_SHIFT = 1
HORN = 1
GEAR_GRIND = 0.9
BACKFIRE_EXT = 0.8
BACKFIRE_INT = 0.8
TRACTION_CONTROL_EXT = 1
TRACTION_CONTROL_INT = 1
TRANSMISSION = 1
LIMITER = 1
TURBO = 0.95
HIT = 1
SCRAPE = 1
WHEEL = 1
SKID_EXT = 1
SKID_INT = 1

[SHADER_REPLACEMENT_...]
ACTIVE = 1
MATERIALS = ?
DOUBLE_FACE_SHADOW_BIASED = 1 

[SHADER_REPLACEMENT_...]
MATERIALS = mesh
PROP_... = ksAmbient, 0
PROP_... = ksDiffuse, .13

[SHADER_REPLACEMENT_...]
MATERIALS = gauges
PROP_... = ksAmbient, 0.3
PROP_... = ksDiffuse, 0.7

[SHADER_REPLACEMENT_...]
MATERIALS = glass_int
PROP_... = ksAmbient, 0.9
PROP_... = ksDiffuse, 0.1



-----CARPAINT-----
[Material_CarPaint_Solid]
CarPaintMaterial = paint
BrightnessAdjustment = 1.1
FresnelMax = 0.7
FresnelC = 0.1
AmbientSpecular = 0.5
SpecularBase = 0.3, 100

[Material_PhotoelasticGlass]
Materials = glass
SHADER = smGlass_phel
ThicknessMult = 0.2
PhotoelasticityBaseScale = 8      ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.04  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.1   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.1  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 4   ; how many stripes are there
FilmIOR = 2.5             ; looks better like this
PhotoelasticityMult = 0.1  ; doesn’t look good if too high
ProfileFix = 0.02          ; a bit thicker edge
Refraction = 0
FresnelC = 0.15
FresnelMax = 1

[Material_PhotoelasticGlass]
Meshes = Object035
SHADER = smGlass_phel
ThicknessMult = 0.05
PhotoelasticityBaseScale = 8      ; this parameter alters scale in general
PhotoelasticityNoiseScale = 0.04  ; deeply affects randomization process, careful with it
PhotoelasticitySpotsScale = 0.1   ; spots for limiting effect to some areas
PhotoelasticitySpotsOffset = 0.1  ; offset for spots, to try and fit effect nice on existing meshes
PhotoelasticityStripesScale = 4   ; how many stripes are there
FilmIOR = 2             ; looks better like this
PhotoelasticityMult = 0.1  ; doesn’t look good if too high
ProfileFix = 0.02          ; a bit thicker edge
Refraction = 0
FresnelC = 0.02
FresnelMax = 1


[Material_Velvet_v2]
Materials = rubber
BrightnessAdjustment = 0.02
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Smoothness = 0
Reflectance = 0.75
DetailScale = 40
ClothSheenColor = 1, 1, 1

[Material_Velvet_v2]
Materials = needles
BrightnessAdjustment = 0.02
DetailNormalTexture = common/pbr_carpet.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0
UseClothShading = 1
Smoothness = 0
Reflectance = 0.75
DetailScale = 40
ClothSheenColor = 1, 1, 1

[Material_MetalOld_v2]
Materials = metal
DetailScale = 30
DetailNormalBlend = 1
Metalness = 0.5
Reflectance = 0.5
Brightness = 0.65
DetailNormalPBRSmoothnessGamma = 0.2
LocalReflectionsSharpness = 0.1

[Material_MetalOld_v2]
Meshes = 1steeringw .001
DetailScale = 50
DetailNormalBlend = 1
Metalness = 0.5
Reflectance = 0.5
Brightness = 0.5
DetailNormalPBRSmoothnessGamma = 0.5
LocalReflectionsSharpness = 0

[Material_MetalOld_v2]
Meshes = Cube.005, Plane.023
DetailScale = 8
DetailNormalBlend = 1
Metalness = 0.5
Reflectance = 0.3
Brightness = 0.65
DetailNormalPBRSmoothnessGamma = 0.1
LocalReflectionsSharpness = 0

[Material_MetalOld_v2]
Materials = blackmetal
DetailScale = 8
DetailNormalBlend = 1
Metalness = 0.75
Reflectance = 0.5
Brightness = 0.2
DetailNormalPBRSmoothnessGamma = 0.2
LocalReflectionsSharpness = 0.2

[Material_Chrome]
Materials = chrome
Smoothness = 0.95
Metalness = 0.5
Reflectance = .5
BrightnessAdjustment = 1
CubemapReflectionBlur = 0

[Material_Plastic_v2]
Materials = rim
BrightnessAdjustment = 0.3
Smoothness = 0.7
Reflectance = 0.1
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.5
DetailNormalBlend = 0
DetailNormalTexture = common/pbr_plastic.dds
DetailNormalPBRSmoothnessGamma = 2
DetailTextureBlur = 1

[Material_InteriorPBR]
Materials = tire
Smoothness = 0.75
Reflectance = 0.05



[Material_CarPaint_Metal]
CarPaintMaterial = copper
UseMetallicReflections = 1
FresnelMax = 1
FresnelC = 0.3
FlakesK = 2
ClearCoatThickness = 0.35
ColoredSpecular = 1.0
AmbientSpecular = 0.5
BrightnessAdjustment = 0.3

[Material_InteriorPBR]
Materials = wood
Smoothness = 0.9
Reflectance = 0.05
BrightnessAdjustment = 0.4
CubemapReflectionBlur = 1

[Material_MetalOld_v2]
Materials = dashmetal
HasDetailNormals = 1
DetailTexture = /platedetail.dds
DetailNormalTexture = /platedetailNM.dds
DetailScale = 3.8
DetailNormalBlend = 3
Metalness = 1
Reflectance = 0.3
Brightness = 1.1
DetailNormalPBRSmoothnessGamma = 0.5
LocalReflectionsSharpness = 0

[Material_Fabric_v2]
Materials = fabric
BrightnessAdjustment = 0.35
Smoothness = 0.8
Reflectance = 0.5
DetailNormalTexture = common/pbr_fabric.dds
DetailNormalPBRSecondaryColor = 0, 0, 0, 0.3
DetailScale = 4
UseClothShading = 1
Reflectance = 0.3
ClothSheenColor = 1, 1, 1





[ANALOG_INDICATOR_...]
INPUT = SPEED
INPUT_MAX = 200
NAME = ARROW_SPEED
ZERO = 0
STEP = 1.34

[ANALOG_INDICATOR_...]
INPUT = RPM
INPUT_MAX = 7000
NAME = ARROW_RPM
ZERO = -800
STEP = 0.06

[ANALOG_INDICATOR_...]
INPUT = OIL_TEMPERATURE
INPUT_MAX = 50
NAME = ARROW_OIL_TEMP
ZERO = -48
STEP = 5




-----EXTRAFX-----

[EXTRA_FX]
AUTOFIX = 1   ; 1 is a default value

[BASIC]
DIESEL_ENGINE = 0 		; or 1

[PARTICLES_FX_EXHAUST_0]
POSITION=0.33,0.66,-1.65
DIRECTION=-0.1,0.01,-1 			; self explanatory
COLOR = 0.75,0.8,1 			; RGB blend - 0,0,0 is black, 1,1,1 is white
LIFE = 0.2, 1 				; how long particles last in the air before disappearing
SPEED = 0.1, 0.7 				
SPREAD = 0.1				
STARTING_SIZE = 0.01			
SPAWN_OFFSET = 0.02			
INTENSITY = 0.3, 0.5			
TEMPERATURE_LAG = 1		
SPEED_THRESHOLD = 140, 150 

[EXHAUST_FLAMES]
ANTILAG=0
ANTILAG_DELAY=1.15
ANTILAG_INTENSITY=2
ANTILAG_INTERVAL_MAX=1.0
ANTILAG_INTERVAL_MIN=0.5
ANTILAG_TURBO_THRESHOLD=0.9
DISCHARGE=0
DISCHARGE_CHARGE_TIME=0
DISCHARGE_DELAY=0
DISCHARGE_DURATION=0.05
DISCHARGE_INTENSITY=18
DISCHARGE_PROBABILITY=1
DISCHARGE_RPM_THRESHOLD_MAX=6750
DISCHARGE_RPM_THRESHOLD_MIN=6650
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=0
FLAT_SHIFT=1
FLAT_SHIFT_COOLDOWN=0
FLAT_SHIFT_DURATION=0.03
FLAT_SHIFT_GAS_THRESHOLD=0
FLAT_SHIFT_INTENSITY=18
FLAT_SHIFT_PROBABILITY=1
FLAT_SHIFT_RPM_THRESHOLD=6600
LIMITER=0
LIMITER_DELAY=0
LIMITER_INTENSITY=18
LIMITER_RPM_THRESHOLD=1100

[FLAMES]
; New flames
ENABLED=1 ; Active; 1 or 0
DEBUG_MODE=0 ; Debug mode (show trigger type with color: blue for antilag, red for limiter, green for flat shift, white for the rest); 1 or 0
USE_DYNAMIC_SHADOWS=1 ; Cast shadows for flame light (requires Extra FX and TAA); 1 or 0
LIMIT=2000 ; Limit for particles; hidden
FLAMING_WHEELS=0 ;; hidden

[PARTICLES_FX]
SPARKS_AS = STEEL

[TYRES_FX]
ENABLED = 1               
NOFX_DISTANCE_SWITCH = 48   
VISIBLE_IN_INTERIOR_CAM = 1
; Visual damage:
WEAR_MAX_VIRTUAL_VM = 25    
DAMAGE_FLAT_SPOT_GAIN = 5  
DAMAGE_FLAT_SPOT_FADE = 0.1 
DAMAGE_GRAIN_GAIN = 5        
DAMAGE_GRAIN_MAX = 0.8     
DAMAGE_WIDTH_K = 1.2        
DAMAGE_OFFSET_K = 0         
DAMAGE_FLAT_SPOT_DEBUG = 0   
DAMAGE_GRAIN_DEBUG = 0      
; Material parameters for visual damage:
DAMAGE_SPEC_MULT = 0.6      
DAMAGE_SPEC_EXP_MULT = 0.2   
DAMAGE_REFL_MULT = 0.8      
DAMAGE_OCCLUSION_MULT = 0.2  
DAMAGE_NORMALS_MULT = 2     
; Visual dirt:
DIRT_ACCUMULATION = 600     
DIRT_FADE = 20              
DIRT_OFFSET_K = 0.0         
DIRT_WIDTH_K = 1.0          
DIRT_GRASS_DEBUG = 0         
DIRT_DIRT_DEBUG = 0        
; Shape deformation:
FLEX_MULT = 1.0                                      
FLEX_PROFILE_MULT = 0.45    
FLEX_SQUASH_SMOOTHING = 0.1  
FLEX_SKEW_RANGE_MULT = 3    
FLEX_SKEW_SMOOTHING = 0.1    
FLEX_MAX_SKEW_MULT = 0.8     
; Blown tyres:
BROKEN_TYRES_DYNAMIC = 1      
BROKEN_TYRES_BASE_BRIGHTNESS = 1


