IS CIM

From LFS Manual
Jump to navigationJump to search
IS_CIM
Connection's interface mode changed
Overview
Size 8
Type ISP_CIM (64)
Usage info
Previous packet
IS_CSC
Next packet
IS_MAL

The Connection Interface Mode packet is sent by LFS when a player changes screens in the game's interface.

Packet details

IS_CIM packet properties
Type Name Description
byte Size 8
byte Type ISP_CIM
byte ReqI 0
byte UCID connection's unique id (0 = local)
byte Mode mode identifier (see below)
byte SubMode submode identifier (see below)
byte SelType selected object type (see below)
byte Sp3

Size

The size of the packet is always 8 bytes.

Type

The packet type from the ISP_ enumeration, always ISP_CIM.

ReqI

ReqI is always equal to zero.

UCID

The connection's unique ID (0 is the local client).

Mode

The mode identifier, a value from the CIM_ enumeration:

  • CIM_NORMAL: Not in a special mode
  • CIM_OPTIONS: Options menu
  • CIM_HOST_OPTIONS: Host options menu
  • CIM_GARAGE: Garage screen
  • CIM_CAR_SELECT: Car select screen (includes mod selection)
  • CIM_TRACK_SELECT: Track select screen
  • CIM_SHIFTU: Free view mode

SubMode

The sub-mode identifier, which gives additional details about the Mode. It can be a value from one of the 3 sub-mode enumerations.

NRM_:

  • NRM_NORMAL: Normal view
  • NRM_WHEEL_TEMPS: F9 (tyres)
  • NRM_WHEEL_DAMAGE: F10 (suspension damage)
  • NRM_LIVE_SETTINGS: F11 (live settings)
  • NRM_PIT_INSTRUCTIONS: F12 (pit instructions)

GRG_:

  • GRG_INFO: Garage Info tab
  • GRG_COLOURS: Garage Colours tab
  • GRG_BRAKE_TC: Garage Brakes tab
  • GRG_SUSP: Garage Suspensions tab
  • GRG_STEER: Garage Steering tab
  • GRG_DRIVE: Garage Final Drive tab
  • GRG_TYRES: Garage Tyres tab
  • GRG_AERO: Garage Downforce tab
  • GRG_PASS: Garage Passengers tab
  • 255 (undocumented): Garage Mod Rating tab

FVM_:

  • FVM_PLAIN: No buttons displayed
  • FVM_BUTTONS: Buttons displayed (not editing)
  • FVM_EDIT: Layout edit mode

SelType

Selected object type, which is either a value from the AXO_ enumeration in the LYT format, or one of the following:

  • MARSH_IS_CP = 252: InSim Checkpoint
  • MARSH_IS_AREA = 253: InSim circle
  • MARSH_MARSHAL = 254: Restricted area
  • MARSH_ROUTE = 255: Route checker


Initialisation IS_ISI
Version Information IS_VER
General Purpose IS_TINY · IS_SMALL · IS_TTC
State Reporting and Requests IS_STA · IS_SFP · IS_ISM
Text Messages and Key Presses IS_SCH · IS_MSO · IS_III · IS_MST · IS_MTC · IS_MSX · IS_MSL
Voting IS_VTN
Race Tracking IS_RST · IS_REO
Autocross IS_AXI · IS_AXO · IS_UCO · IS_OCO · IS_AXM
Connection Tracking IS_NCN · IS_CNL · IS_CPR · IS_ACR · IS_NCI · IS_SLC · IS_CIM
Car Tracking IS_NPL · IS_PLP · IS_PLL · IS_LAP · IS_SPX · IS_PIT · IS_PSF · IS_PLA · IS_PEN · IS_TOC · IS_FLG · IS_PFL · IS_FIN · IS_RES · IS_NLP · IS_MCI · IS_CRS · IS_CON · IS_OBH · IS_HLV · IS_CSC
Camera Control IS_SCC · IS_CPP
Replay Control IS_RIP
Screenshots IS_SSH
InSim Buttons IS_BFN · IS_BTN · IS_BTC · IS_BTT
AI Control IS_AIC · IS_AII
Other packets IS_MOD · IS_CCH · IS_PLC · IS_HCP · IS_JRR · IS_MAL · IS_PLH · IS_IPB