Controller

Controllers are sub-modules that are used to control various functions of a vehicle using lua.

They are divided into 2 categories. Main controllers, which handles the primary inputs and functions of your vehicle, and auxilliary controllers, which allow to add various special features to your vehicle, including things like electronic driving assists, additional powertrain control functions, different dashboard systems, etc.

Controllers are defined within the controller section of jbeam, where each controller is called and their settings defined.

In some cases, with controllers that have a lot of parameters, the use of a list outside of the controller section is often prefered. Examples are included in the controllers where they would most often be used.

Main

These controllers handle the primary inputs and functions of any vehicle. Every single vehicle needs to refer to at least one of these, usually the vehicle controller

Name
Description
Description
Main controller used for vehicles
Name
Description
Fall back controller used if no controller is defined. Used mostly for props.

Audio Visual Systems

Audio Visual Systems handle sound and light effects.

Name
Description
Name
Description
Controls braking sound effects on vehicles with pneumatic brakes.
Description
System that flashes the brake lights during very hard braking.
Description
Generates a spin function for rotating beacon lights.
Name
Description
Controls a set of flashing lights with various patterns
Description
Plays a sound, usually a repeating beeping sound, when the vehicle is in reverse gear.

Driver Safety & Electronics

Drive Safety & Electronics, or DSE for short, includes all the controllers related to driving assists.

Name
Description
Description
Applies the brakes when a crash is detected.
Description
Simulates the effects of powersteering on force feedback.

Gauges and Interior displays

This set of controllers handles displays and indicators used inside vehicles like various electronic dashboards, and indicator lights.

Name
Description
Description
Adds a navigation screen inside the vehicle.
Description
Allows to control one or multiple lights that indicates when to shift.

Physical Controls

Physical controls includes all controllers which control physical jbeam, usually in the form of hydros.

Name
Description
Description
Adds a navigation screen inside the vehicle.


Powertrain Controls

Powertrain controls includes controllers which handle additional powertrain function.

Name
Description
Name
Description
Allows the control of a rangebox and disconnectable shaft.
Name
Description
Used to lock a set of brakes for burnouts.

Last modified: 18/12/2021 14:51

Any further questions?

Join our discord