Skip to content

SCRIPT.DAT

ProgSys edited this page Jul 13, 2024 · 81 revisions

Contains all the scripts run by the game. Unlike TALK.DAT it handles more of map logic, then dialog.

File structure

Header

Type Size Description
uInt 4 byte Number of scripts
uInt 4 byte Zero

Next there is a list of addresses (4 byte) flowered by a equal length list of Ids (4 byte). Afterwards the binary script data starts.

Commands overview

Each command consists of a op code (byte) flowed by char that indicates the size of the body that contains the arguments.

Name Op Code Arguments Arguments Size Description
LockUser 05 None 0 byte Takes away control from user

Commands detailed overview

LockUser

  • Op Code: 05
  • Construction: 05 00
  • Arguments: None

Disables the control of the camera and game interaction. However the user still can progress throw the dialog.

Clone this wiki locally