IS SCC

From LFS Manual
Revision as of 16:17, 10 February 2026 by Bokujishin (talk | contribs) (Created page with "== Introduction == The '''S'''et '''C'''ar '''C'''amera packet is used to set the standard in-game camera (not the free view one). {| class="wikitable" |+ IS_SCC packet prop...")
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to navigationJump to search

Introduction

The Set Car Camera packet is used to set the standard in-game camera (not the free view one).

IS_SCC packet properties
Type Name Description
byte Size 8
byte Type ISP_SCC
byte ReqI 0
byte Zero
byte ViewPLID Unique ID of player to view
byte InGameCam InGameCam (as reported in StatePack)
byte Sp2
byte Sp3

Packet Details

Size

The size of the packet is always 8 bytes.

Type

The packet type from the ISP_ enumeration, always ISP_SCC.

ReqI

ReqI is always equal to zero.

ViewPLID

The PLID of the player to view. If set to 255, the value is ignored.

InGameCam

The camera view to use, one of the VIEW_ enumeration values:

  • VIEW_FOLLOW: Third person follow camera
  • VIEW_HELI: Overhead camera
  • VIEW_CAM: TV camera
  • VIEW_DRIVER: Cockpit view
  • VIEW_CUSTOM: Custom view

If set to 255, the value is ignored.