CSP/Cars/Setup controllers
Setup controllers allow to hide a certain setup item and instead control it live with a dynamic controller. With new inputs it means you can now tie certain setup items to extra buttons, things like headlights state or even values set live by physics script written in Lua.
To configure a setup item for this purpose, simply add “EXT_CONTROLLER” value like so:
[ROD_LENGTH_LR]
TAB=SUSPENSIONS
SHOW_CLICKS=2
…
HELP=HELP_LR_RODLENGTH
EXT_CONTROLLER=ctrl_setup_rod_length.ini
And prepare a new controller as usual (same as used by AC physics):
[CONTROLLER_0]
COMBINATOR=ADD
INPUT=BRAKE
LUT=(| 0=400 | 1=4000 |)
FILTER=0
UP_LIMIT=1000000
DOWN_LIMIT=0
(In this particular example I tied suspension height to brake button so car would jump when brakes are pressed like so.)
Note: currently the system doesn’t work with new setup items added by CSP, fix is coming with 0.1.80.
Pro tip: if you’re tying things to extra A/B/C/D/E/F switches, you can get them to work in toggle or hold-to-activate mode, or block them from changing in some conditions (for example, if car is moving). Something like this could be used to recreate top speed switch of a Bugatti, for example.
- 🔼 ..
- 📝 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