[REAL_MIRROR_0]
FOV=15
ROTATION=0.280000,0.000000

[REAL_MIRROR_1]
ROTATION=0.000000,0.070000

[REAL_MIRROR_2]
FOV=15
ROTATION=-0.22,0

[DATA]
DISABLE_LIGHTSINI = 1

[INCLUDE: analog_dash.ini]
[INCLUDE: digital.ini]
[INCLUDE: trd.ini]
[INCLUDE: materials.ini]
[INCLUDE: lights.ini]
[INCLUDE: refraction.ini]
[INCLUDE: tail_lights.ini]
[INCLUDE: turn_signals.ini]
[INCLUDE: tyre_textures.ini]
[INCLUDE: common/selflighting.ini]

[INCLUDE: common/custom_emissive.ini]
[INCLUDE: audio.ini]

[EXTRA_SWITCHES]
SWITCH_F = Starter   ; Role of a switch shown during loading (optional)
SWITCH_F_FLAGS = HOLD_MODE ; Switch flags (optional)

[ANALOG_INDICATOR_...]
BIND_TO=CPHYS_SCRIPT_5
NAME=ARROW_WATER_TEMP
ZERO=0
STEP=0
MIN_VALUE=54
LUT=(54=0|92=30|130=63)

[BASIC]
IS_LOW_BEAM_AVAILABLE = 1
HEADLIGHTS_ARE_HEADLIGHTS = 1 
DIESEL_ENGINE = 0
OPEN_WHEELER = 0            
RALLY_CAR = 0 

[LIGHTING]
EMISSIVE_MULT=1
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=-0.20
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.1
INTERIOR_FAKE_SHADOW_OPACITY=1.4
INTERIOR_FAKE_SHADOW_HEIGHT=0.1
INTERIOR_FAKE_SHADOW_FAGE=0.2

------------------------------   

------------------------------------------------------------------ BODY PARTS -----------------------------------------------------------

--------------------------------------------------------------------REMOVE TOP WINDOW TINT -------------------------------------------

[MODEL_REPLACEMENT_...]
ACTIVE = 1
FILE = mazda_rx7.kn5, mazda_rx7_lod_B.kn5, mazda_rx7_lod_C.kn5, mazda_rx7_lod_D.kn5
SKINS = ?01_pure_white?, ?03_competition_yellow?, ?05_brilliant_black?, ?06_blaze_red?, ?08_titanium_grey?, ?10_blue_mica?
HIDE = EXT_TINT, INT_TINT
INSERT = 
INSERT_AFTER = ARROW_TURBO

--------------------------------------------------------------- WINDOW TINT -------------------------------------------------------------

[MODEL_REPLACEMENT_...]
ACTIVE = 1
FILE = mazda_rx7.kn5, mazda_rx7_lod_B.kn5, mazda_rx7_lod_C.kn5, mazda_rx7_lod_D.kn5
SKINS = ?01_pure_white?, ?03_competition_yellow?, ?05_brilliant_black?, ?06_blaze_red?, ?08_titanium_grey?, ?10_blue_mica?
HIDE = 
INSERT = WIndow_tint.kn5
INSERT_AFTER = ARROW_TURBO

--------------------------------------------------- FD SPOILER 2 ----------------------------------------------------------------------

[MODEL_REPLACEMENT_...]
ACTIVE = 1
FILE = mazda_rx7.kn5, mazda_rx7_lod_B.kn5, mazda_rx7_lod_C.kn5, mazda_rx7_lod_D.kn5
SKINS = ?01_pure_white?
HIDE = 25_T, EXT_RUBBER.003, 309_T, 25_T.001
INSERT = FD_spoiler2.kn5
INSERT_AFTER = ARROW_TURBO


-------------------------------------------------- BIG TUNER EXHAUST ----------------------------------------------------------------

[MODEL_REPLACEMENT_...]
ACTIVE = 1
FILE = mazda_rx7.kn5, mazda_rx7_lod_B.kn5, mazda_rx7_lod_C.kn5, mazda_rx7_lod_D.kn5
SKINS = ?01_pure_white?, ?03_competition_yellow?, ?05_brilliant_black?, ?06_blaze_red?, ?08_titanium_grey?, ?10_blue_mica?
HIDE = EXT_METAL.002
INSERT = Tuner_exhaust1.kn5
INSERT_AFTER = ARROW_TURBO



--------------------------------------------- DUCK TAIL --------------------------------------------------------------------------

[MODEL_REPLACEMENT_...]
ACTIVE = 1
FILE = mazda_rx7.kn5, mazda_rx7_lod_B.kn5, mazda_rx7_lod_C.kn5, mazda_rx7_lod_D.kn5
SKINS = ?10_blue_mica?
HIDE = 25_T, EXT_RUBBER.003, 309_T, 25_T.001
INSERT = Duck_tail.kn5
INSERT_AFTER = ARROW_TURBO

------------------------------------------------ STEERING WHEEL -----------------------------------------------------------

[MODEL_REPLACEMENT_...]
ACTIVE = 1
FILE = mazda_rx7.kn5, mazda_rx7_lod_B.kn5, mazda_rx7_lod_C.kn5, mazda_rx7_lod_D.kn5
SKINS = ?01_pure_white?, ?03_competition_yellow?, ?05_brilliant_black?, ?06_blaze_red?, ?08_titanium_grey?, ?10_blue_mica?
HIDE = STEER_HR
INSERT = Aftermarket_wheel.kn5
INSERT_AFTER = ARROW_TURBO

 
 
 
 
[TYRES_FX]
BROKEN_TYRES_DYNAMIC=1

[SHADOWED_WHEELS_FRONT]
AFFECT_SUSP_NODES=1
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.01
WIDTH=0.075

[SHADOWED_WHEELS_REAR]
AFFECT_SUSP_NODES=1
DISTANCE=3
EXTRA_AMBIENT_BRIGHTNESS=0.12
OFFSET=0.01
WIDTH=0.075

[BRAKEDISC_FX]
ACTIVE=1
CERAMIC=0
CARVED=1
CARVED_FREQUENCY=15
GLOW_MULT=0.25
GLOW_OFFSET = 1.1



[FAKE_SHADOWS_FX]
DISALLOW_REBAKING = 0 ; set to 1 to prevent CSP from generating new fake shadows (not recommended)
CUSTOM_SKIN_SHADOWS = 0 ; change to 1 to make CSP cache shadows for different skins separately (could be
                        ; used in single skin’s extension config), for skins with custom geometry
EXCLUDE_FROM_BAKING = material:EXT_GLASS ; list of nodes and meshes to exclude from baking




-----------------------------------------------------------------------------------------------------




{Digital Instruments}

;odometer
[ODOMETER_MAIN]
DIGITAL_ITEM=0
DIGITAL_ITEM_NUMBER_FORMAT=06.
UPPER_BOUND=999999

[ODOMETER_TRIP]
DIGITAL_ITEM=1

-----------------------

[CAR_STEREO_...]
MESHES = GEO_KENWOOD_RADIO.001
RESOLUTION = 2048, 1024
DISPLAY_POS = 668, 437
DISPLAY_SIZE = 720, 79
COLOR = '#00000'
BACKGROUND = 1, 1, 1, 0.3
FONT = digital_big

TEXT_0 = "{Artist} - {Track}"
TEXT_0_NOALBUM = "{Artist} - {Track}"
TEXT_0_NOARTIST = "{Track}"
TEXT_0_FALLBACK = "HD / USB / IPod"
TEXT_0_ALIGN = CENTER
TEXT_0_START = 4, 16
TEXT_0_LETTER = 26, 60
TEXT_0_LETTERS_LIMIT = $" floor((460 - 4 * 2) / 26) "

TEXT_1 = "{Time:%H:%M}"
TEXT_1_ALIGN = CENTER
TEXT_1_START = 460, 16
TEXT_1_LETTER = 10, 22
TEXT_1_LETTERS_LIMIT = 5

ANIMATION_0 = 6, 4
ANIMATION_0_START = 460, 44
ANIMATION_0_BLOCK = 5, 2
ANIMATION_0_MARGIN = 4, 3
ANIMATION_0_BASE_ROW = BOTTOM

[EMISSIVE_LIGHT_...]
NAME= GEO_KENWOOD_RADIO.001
OFF_COLOR=3,3,3.4, 2.3
COLOR=3,3,3.4, 0.3
LAG=0.4
SIMULATE_HEATING=0
LOCATION=FRONT
CAST_LIGHT=1
CLUSTER_THRESHOLD=0.5








[BOUNCED_INTERIOR_LIGHT]
ACTIVE=1
DIRECTION=0, 1, 0
OFFSET=0, -1, 3
RANGE=3
RANGE_GRADIENT_OFFSET=0.45
SPOT=25
SPOT_SHARPNESS=0.9

[LIGHTING]
FULLY_SHADOWED_INTERIOR = 1
INTERIOR_DARKEN_LIGHT= 1
INTERIOR_DARKEN_SPECULAR=0.25
INTERIOR_FAKE_SHADOW_FADE=0.25
INTERIOR_FAKE_SHADOW_HEIGHT=0.5
INTERIOR_FAKE_SHADOW_OPACITY=0.5
INTERIOR_FAKE_UPPER_SHADOW_FADE=0.25
INTERIOR_FAKE_UPPER_SHADOW_HEIGHT=1.0

;Extra
[LIGHT_EXTRA_...]
BOUND_TO = INT_Parts_SUB06, INT_Parts_SUB08
COLOR=1, 1, 1, 500
------------------------------------------------

[WIPERS_TRACE_...]
SURFACE =EXT_WINDSHIELD
WIPERS= EXT_METAL_WIPER04.001, EXT_RUBBER_WIPER01, EXT_METAL_WIPER06, EXT_METAL_WIPER05, EXT_METAL_WIPER02, EXT_METAL_WIPER03, EXT_METAL_WIPER01.001, EXT_RUBBER_WIPER00, 6_T.002, EXT_WIPER_REAR_1, EXT_WIPER_REAR_2.001, EXT_RUBBER_WIPER02

[ANIMATED_WIPER_...]
MESHES = EXT_METAL_WIPER04.001, EXT_RUBBER_WIPER01, EXT_METAL_WIPER06, EXT_METAL_WIPER05, EXT_METAL_WIPER02, EXT_METAL_WIPER03, EXT_METAL_WIPER01.001, EXT_RUBBER_WIPER00, 6_T.002, EXT_WIPER_REAR_1, EXT_WIPER_REAR_2.001, EXT_RUBBER_WIPER02
UNDERLYING_SURFACE = EXT_WINDSHIELD
DEBUG = 0 ; remove when everything is ready

[MESH_ADJUSTMENT_...]
MESHES =EXT_METAL_WIPER04.001, EXT_RUBBER_WIPER01, EXT_METAL_WIPER06, EXT_METAL_WIPER05, EXT_METAL_WIPER02, EXT_METAL_WIPER03, EXT_METAL_WIPER01.001, EXT_RUBBER_WIPER00, 6_T.002, EXT_WIPER_REAR_1, EXT_WIPER_REAR_2.001, EXT_RUBBER_WIPER02
MOVE_TO = modelRoot:y

[BASIC]
DISABLE_WIPER_KSANIM = 1

[ANIMATED_WIPER_0]
DEBUG = 1
MESHES = EXT_METAL_WIPER04.001, EXT_RUBBER_WIPER01, EXT_METAL_WIPER06, EXT_METAL_WIPER05, EXT_METAL_WIPER02, EXT_METAL_WIPER03, EXT_METAL_WIPER01.001, EXT_RUBBER_WIPER00, 6_T.002, EXT_WIPER_REAR_1, EXT_WIPER_REAR_2.001, EXT_RUBBER_WIPER02
UNDERLYING_SURFACE = EXT_WINDSHIELD
GROUP_0 = 'EXT_METAL_WIPER05@A=*', 'EXT_RUBBER_WIPER01@A=*', 'EXT_METAL_WIPER06@A=*', 'EXT_METAL_WIPER04.001@A=*'
GROUP_0_ANGLE_TO = -79.699997
GROUP_0_AXIS = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_0_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_0_END = 0.113399, 0.826782, 0.757667
GROUP_0_PIVOT = -0.605901, 0.755710, 0.705965
GROUP_0_RUBBER_FROM = -0.552202, 0.758058, 0.710268
GROUP_0_RUBBER_OFFSET_AMOUNT = 0.020500
GROUP_0_RUBBER_OFFSET_EXP = 2.051000
GROUP_0_RUBBER_OFFSET_POS = 0.394225
GROUP_0_RUBBER_TO = 0.113099, 0.817075, 0.753279
GROUP_1 = 'EXT_METAL_WIPER01.001@A=*', 'EXT_METAL_WIPER03@A=*', 'EXT_METAL_WIPER02@A=*', 'EXT_RUBBER_WIPER00@A=*'
GROUP_1_ANGLE_FROM = 1.400000
GROUP_1_ANGLE_TO = -79.699997
GROUP_1_AXIS = 0.000000, 0.707107, 0.707107
GROUP_1_AXIS_OFFSET_0 = 0.000000, 0.707107, 0.707107
GROUP_1_AXIS_OFFSET_1 = 0.000000, 0.707107, 0.707107
GROUP_1_END = 0.661900, 0.830872, 0.534460
GROUP_1_PIVOT = -0.048300, 0.765135, 0.869252
GROUP_2 = 'EXT_WIPER_REAR_1@A=*', 'EXT_RUBBER_WIPER02@A=*', 'EXT_WIPER_REAR_2.001@A=*', '6_T.002@A=*'
GROUP_2_ANGLE_TO = 77.500000
GROUP_2_AXIS = 0.000000, 0.707107, -0.707107
GROUP_2_AXIS_OFFSET_0 = 0.000000, 0.707107, -0.707107
GROUP_2_AXIS_OFFSET_1 = 0.000000, 0.707107, -0.707107
GROUP_2_END = 0.373002, 1.117123, -0.946826
GROUP_2_PIVOT = 0.354601, 0.847706, -1.707586














---------------------------------



      




--------------------------------------------



--- WING ---

[ADJUSTABLE_WING_0]
NAME=Adj_Wing  ; name of wing root node to rotate
WING=3          ; index of section in aero.ini
ANGLE_BASE=0    ; base offset for angle
ANGLE_MULT=1  ; angle multiplier
DEBUG_MODE=0    ; set to 1 to adjust PIVOT easier
ROTATION_PIVOT=0, 0.0, -0.0  ; rotation pivot relative to wing root node, should be at the center of wing mesh
ROTATION_AXIS=-1, 0, 0         ; I’m pretty sure in most cases, this value wouldn’t be changed, but just in case

[INCLUDE]


;;;;;Exhaust Shake;;;;;
[SHAKING_EXHAUST_...]
MESHES =exhaust_chrome_SUB1,exhaust_chrome_SUB0
POINT_0 = -0.06,2.86,0.0
POINT_0_RADIUS = 1
POINT_0_EXP = 1
POINT_0_SCALE = 0.3, 0.3, 0.2

[PARTICLES_FX_EXHAUST_...]
POSITION=-0.59,0.26,-1.98
DIRECTION=-0.3,0.03,-0.75
SPREAD = 0.7
GROW = 0.9
LIFE = 1.0,0.7
SPEED = 1.0, 1.0
INTENSITY = 0.6, 2.9
TEMPERATURE_THRESHOLD = 1
SPEED_THRESHOLD = 10, 40
STARTING_SIZE = 0.06

[EXHAUST_FLAMES]
ANTILAG=1
ANTILAG_DELAY=0.1
ANTILAG_INTENSITY=1.5
ANTILAG_INTERVAL_MAX=0.2
ANTILAG_INTERVAL_MIN=0.01
ANTILAG_TURBO_THRESHOLD=0.3
DAMAGE=0
DAMAGE_DURATION=0.00
DAMAGE_INTENSITY=0
DAMAGE_PROBABILITY=0
DISCHARGE=1
DISCHARGE_CHARGE_TIME=0
DISCHARGE_DELAY=0.01
DISCHARGE_DURATION=0.6
DISCHARGE_PROBABILITY=0.45
DISCHARGE_INTENSITY=1.3
DISCHARGE_RPM_THRESHOLD_MAX=7800
DISCHARGE_RPM_THRESHOLD_MIN=4000
DISCHARGE_WATER_TEMPERATURE_THRESHOLD=70
FLAT_SHIFT=0
FLAT_SHIFT_COOLDOWN=0.5
FLAT_SHIFT_DURATION=0.01
FLAT_SHIFT_GAS_THRESHOLD=50
FLAT_SHIFT_INTENSITY=0.25
FLAT_SHIFT_PROBABILITY=1
FLAT_SHIFT_RPM_THRESHOLD=6300
LIMITER=1
LIMITER_DELAY=0.1
LIMITER_INTENSITY=1
LIMITER_RPM_THRESHOLD=7700

[SHADER_REPLACEMENT_...]
chrome
MESHES= TC105N_MISC, TC105N_MISC001, TC105N_MISC002, TC105N_MISC003
PROP_...=isAdditive,2
PROP_...=fresnelC,0.7
PROP_...=fresnelEXP,2.2
PROP_...=fresnelMaxLevel,1
PROP_...=ksAmbient,0.1
PROP_...=ksDiffuse,0.1

[INCLUDE: common/materials_carpaint.ini]
[Material_CarPaint_Metal]
CarPaintMaterial = tc105rims
UseMetallicReflections = 0
FresnelMax = 1
FresnelC = 0.13
FlakesK = 3.5
ClearCoatThickness = 0.03
ColoredSpecular = 1.0
AmbientSpecular = 0.9
BrightnessAdjustment = 0.32