CSP/Cars/Extra switches
Cars can define up to four extra switches (or up to six switches since 0.1.76), generally referred to as EXTRA_A, EXTRA_B, etc. Users can set buttons associated with each switch in controls settings, in Patch section of Content Manager. In controls.ini theyβre referred to as __EXT_LIGHT_A
, __EXT_LIGHT_B
, etc., because originally they were mainly meant for extra lights.
Those switches can be used as inputs for analog or digital instruments, emissive entries or animations. Also, they are available to Lua scripts as car.extraA, car.extraB, etc. And you can also use them in dynamic controllers if extended physics is activated as LIGHT_EXTRA_A
, LIGHT_EXTRA_B
, etc.
Since 0.1.76, extra switches can also be configurable:
[EXTRA_SWITCHES]
SWITCH_A = Role ; Role of a switch shown during loading (optional)
SWITCH_A_FLAGS = ; Switch flags (optional)
Available switch flags:
HOLD_MODE
: changes default behaviour from acting like a toggle to being active only when button is pressed;STATIONARY_ONLY
: can be changed only if car is not moving;NEURAL_GEAR_ONLY
: can be changed only in a neutral gear;REQUIRES_BRAKE
: can be changed only if brake pedal is pressed.
- πΌ ..
- π About guessed configs
- π Aerodynamics
- π Analog instruments
- π Animations
- π Audio options
- π Body flex
- π Brake Disc FX
- π Cosmic Suspension
- π Custom suspension joints
- π Deforming bonnets
- π Digital instruments
- π Driver model
- π Driver weight shift
- π Emissive objects
- π Enabling extended physics
- π Exhaust flames
- π Exhaust smoke
- π Extra switches
- π Extra turbo options
- π Fake Shadows FX
- π General options
- π Instruments inputs
- π Instruments options
- π LED panels
- π Local cubemaps
- π Meshes splitting
- π Miscellaneous options
- π More clutch damage
- π Multichannel emissives
- π Neck FX
- π New inputs for dynamic controllers
- π Node adjustments
- π Physics scripts
- π Setup controllers
- π Smart Mirror
- π Sparks
- π Suspension
- π Tips and tricks
- π Tyre Types
- π Tyres FX
- π Vintage tachometers
- π Visually adjustable wings
- π Wheels
- π Wobbly bits
- π Wobbly wipers