IS SCC
From LFS Manual
Jump to navigationJump to searchIntroduction
The Set Car Camera packet is used to set the standard in-game camera (not the free view one).
| 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.