[dad864]: varformat.txt  Maximize  Restore  History

Download this file

36 lines (23 with data), 1.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
VAR file format
FileExtension : VAR
Content : Description of VAR (variables definitions format)
History : File broken out by Manveru, var.var file format discovered by Platter and tested. (28.11.2001)
History : Update by Baum and Mary Magus (04.03.2002)
Description
This file is generally declaration of variables used for scripting purposes in Planescape Torment. Without it one may not introduce new variables.
Alphabetical order of entering variables sections in these files is required for the variable type to use variable defined in such a way in PS:T.
Name of variable should be put in appropriate section to work ( Global in Globals section , Kaputz variable in Kaputz section and so on ... ) The alphabetic order is not needed.
Comment on Kaputz variables : KAPUTZ Globals are like Sprite_is_Dead globals.
It means that the variables are sorted by type in ascending order.
Files of this type are put in main game folder (var.var file)
The file has the following structure :
Dead entry ( some mistake probably during generating this file)
Offset Size (data type) Description
0x0000 8 (char array) Left dead entry ('902 ')
0x0008 32 (char array) Left dead entry ('No_Anarchy ')
0x0028 4 (dword) Variable value (0x00000000)
Variable definitions sections
Offset Size (data type) Description
0x0000 8 (char array) Variable type (global, locals , etc....)
0x0008 32 (char array) Name of variable
0x0028 4 (dword) Variable value

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks