This page is located on the SimsWiki. To view it in it's original form, click here.
54505250
Short name: TPRP
Long name: Edith SimAntics behavior labels

This resource contains labels for BHAV parameters and locals.

Format

64 bytes
File name (always null?)
DWORD
Type code/handler (PRPT)
DWORD
Class/Version (78 or 75)
DWORD
Null (Never used in Sims 1 or 2 formats)
DWORD
Number of Param labels (description of Paramters passed into this tree)
DWORD
Number of Local labels (description of Local Variables used by this tree)
for each Param/Local label (params first)
Byte
Label length
X
Label
DOWRD
Null (Reserved)
Variable
Group of 1 byte param flags - appears to be one byte per Param label (eg. a file with no Param labels would not add anything, 1 Param label would insert a 0x01 here, 3 Param labels would insert 0x010101, etc.)(01 denotes turned on/used. otherwise 00)
DWORD
Display Code (always 0x00000005) (05 is standard, no highlighting etc. From TREE)
DWORD
Null (Reserved)

Notes

Must have the same instance number as the BHAV it describes.

See also

This article is one of several on this topic imported from the old MTS2 wiki. It's original pages, with comments, can be found at http://old_wiki.modthesims2.com/54505250 and http://old_wiki.modthesims2.com/TPRP