VAR file format

Applies to:
PST

General Description
This file format is used to declare variables for use in scripting - it is the only way new variables can be added. Variables should be alphabetically ordered (within their appropriate scope section). Globals and Locals work as with other engines, the KAPUTZ scope acts as the SPRITE_ID_DEAD scope of the BG series. The var.var file is located the root folder of the game directory.

Detailed Description

Dead entry

Offset Size (data type) Description
0x0000 8 (char array) Dead entry ('902     ')
0x0008 32 (char array) Dead entry ('No_Anarchy ')
0x00028 4 (dword) Variable value (0x00000000)

Variable definition sections

Offset Size (data type) Description>
0x0000 8 (char array) Variable scope (Global, Locals, etc.)
0x0008 32 (char array) Variable name
0x0028 4 (dword) Variable value