[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.05
DIRT = 0.5
DOWN_SHIFT = 0.95
HORN = 1.0
GEAR_GRIND = 1.1
BACKFIRE_EXT = 1.1
BACKFIRE_INT = 1.1
TRACTION_CONTROL_EXT = 0.0
TRACTION_CONTROL_INT = 0.0
TRANSMISSION = 1.1
LIMITER = 0.0
TURBO = 1.0

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

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




-----PBR-----

/////EXT

[Material_InteriorPBR]
Materials = tire
Brightness = 0.9
Smoothness = 0.7
Reflectance = 0.04

[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_Velvet_v2]
Materials = belt
BrightnessAdjustment = 0.2
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 = 8
DetailNormalBlend = 1
Metalness = 0.5
Reflectance = 0.5
Brightness = 0.65
DetailNormalPBRSmoothnessGamma = 0.8
LocalReflectionsSharpness = 0.5

[Material_MetalOld_v2]
Materials = darkmetal
DetailScale = 8
DetailNormalBlend = 1
Metalness = 0.9
Reflectance = 0.3
Brightness = 0.1
DetailNormalPBRSmoothnessGamma = 0.15
LocalReflectionsSharpness = 0.1

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

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

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

[Material_InteriorPBR]
Materials = wood
Smoothness = 1
Reflectance = 0.03
BrightnessAdjustment = 0.65
CubemapReflectionBlur = 1

[Material_MetalOld_v2]
Materials = dashmetal
DetailScale = 8
DetailNormalBlend = 1.5
Metalness = 0.5
Reflectance = 0.0
Brightness = 0.8
DetailNormalPBRSmoothnessGamma = 0.2
LocalReflectionsSharpness = 0.0

[Material_Fabric_v2]
Materials = seat
BrightnessAdjustment = 0.35
Smoothness = 0.5
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



-----GAUGES-----

[ANALOG_INDICATOR_...]
INPUT = RPM
INPUT_MAX = 7000
NAME = ARROW_RPM
LUT = (| 0=0| 3500=157.5 | 5500=247.5 | 7000=315 |)

[ANALOG_INDICATOR_...]
INPUT = FUEL
INPUT_MAX = 7000
NAME = ARROW_VOLTAGE
LUT = (| 0=0| 220=110 |)

[ANALOG_INDICATOR_...]
INPUT = OIL_PRESSURE
INPUT_MAX = 3500
NAME = ARROW_OIL
LUT = (| 0=0| 5=100 |)

[ANALOG_INDICATOR_...]
INPUT = FUEL
INPUT_MAX = 3500
NAME = ARROW_FUEL
ZERO = -0
STEP = 0.275

[ANALOG_INDICATOR_...]
INPUT = TIME_HOURS               ; any of supported inputs
NAME = ARROW_TIME          ; name of mesh to move
LUT = (| 0=0| 6=180 | 12=360 | 18=540 | 24=720 |)


-----EXTRAFX-----

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

[BASIC]
DIESEL_ENGINE = 0 		; or 1

[PARTICLES_FX_EXHAUST_0]
POSITION=0.2449493,0.1681547,-1.302099
DIRECTION=-0.01591225,-0.00383827,-0.9998661 			; 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









