Core Chat (IRC)
IRC-based in-game chat system connecting to `irc.beamng.com`. **Currently disabled** - the entire module is wrapped in a block comment.
IRC-based in-game chat system connecting to irc.beamng.com. Currently disabled - the entire module is wrapped in a block comment.
Overview
This module was an IRC chat client that connected players to #beamng on irc.beamng.com. It used the irc Lua library and socket for networking. The module is entirely commented out (--[[ ... ]]) and non-functional.
Commented-Out Public Interface
| Function | Signature | Description |
|---|---|---|
onInit | M.onInit() | Send initial chat state to UI |
onUpdate | M.onUpdate() | Process IRC messages (think loop) |
send | M.send(target, message) | Send chat message to channel/user |
requestState | M.requestState() | Push current state to UI |
activate | M.activate() | Connect to IRC (requires online features) |
deactivate | M.deactivate() | Reference-count deactivation |
Configuration (Historical)
| Option | Value | Description |
|---|---|---|
reconnect | true | Auto-reconnect on disconnect |
ircServer | irc.beamng.com | IRC server address |
startChannel | #beamng | Default channel |
wishedNickName | ingame_XXXXXX | Random 6-char ASCII suffix |
Key Notes
- Module is completely disabled - all code inside
--[[ ]] - Required
settings.getValue('onlineFeatures') == 'enable' - Used Steam player name if Steam was available
- Supported IRC events: OnChat, OnConnect, OnBan, OnKick, OnDisconnect, OnJoin
- Triggered
ChatState,ChatMessageUI hooks - Reference-counted activation (multiple UI panels could share one connection)
Camera System
Central camera management system. Handles camera mode switching, per-vehicle camera configuration, global cameras, input routing, collision detection, shadow quality, serialization, and all camera-rel
Core Checkpoints
Manages vehicle checkpoint saving and restoration for scenario races. Tracks waypoint progress, saves vehicle position/direction at each checkpoint, and handles automated AI vehicle resets when stuck.