node-insim
    Preparing search index...

    Class OutGaugePack

    OutGauge - EXTERNAL DASHBOARD SUPPORT

    The user's car in multiplayer or the viewed car in single player or single player replay can output information to a dashboard system while viewed from an internal view.

    This can be controlled by 5 lines in the cfg.txt file:

    • OutGauge Mode 0 : 0-off 1-driving 2-driving+replay
    • OutGauge Delay 1 : minimum delay between packets (100ths of a sec)
    • OutGauge IP 0.0.0.0 : IP address to send the UDP packet
    • OutGauge Port 0 : IP port
    • OutGauge ID 0 : if not zero, adds an identifier to the packet

    Each update sends the following UDP packet.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _raw: RawProperties<OutGaugePack> = ...

    All string properties in a raw format as it was received from LFS

    Brake: number = 0

    0 to 1

    Car: string = ''

    Car name

    Clutch: number = 0

    0 to 1

    DashLights: 0 | DashLights = 0

    Dash lights available

    Display1: string = ''

    Usually Fuel

    Display2: string = ''

    Usually Settings

    EngTemp: number = 0

    C

    Flags: 0 | OutGaugeFlags = 0
    Fuel: number = 0

    0 to 1

    Gear: number = 0

    Reverse: 0, Neutral: 1, First: 2,...

    ID: number = 0

    Optional - only if OutGauge ID is specified

    OilPressure: number = 0

    bar

    OilTemp: number = 0

    C

    PLID: number = 0

    Unique ID of viewed player (0 = none)

    RPM: number = 0

    RPM

    ShowLights: 0 | DashLights = 0

    Dash lights currently switched on

    Speed: number = 0

    m/s

    Throttle: number = 0

    0 to 1

    Time: number = 0

    Time in milliseconds (to check order)

    Turbo: number = 0

    bar

    MAX_SIZE: 96
    MIN_SIZE: 92

    Methods