Difference between revisions of "54505250"

From SimsWiki
Jump to: navigation, search
(Auto-inserted from WakkaWikki)
 
m (Cleaned up, etc.)
Line 1: Line 1:
{{OldWikiEntry}} ===TPRP===
+
=54505250 (TPRP)=
 +
This resource contains labels for [[BHAV]] parameters and locals.
  
64 - Filename (always null?)
+
==Format==
4 - Header (PRPT)
+
;64 bytes
4 - Unknown (78 or 75)
+
:File name (always null?)
4 - null
+
;DWORD
4 - number of Param labels (description of Paramters passed into this tree)
+
:Type code/handler (PRPT)
4 - number of Local labels (description of Local Variables used by this tree)
+
;DWORD
var - Param label 1
+
:Class/Version (78 or 75)
...
+
;DWORD
var - Param label n
+
:Null (Never used in Sims 1 or 2 formats)
var - Local label 1
+
;DWORD
...
+
:Number of Param labels (description of Paramters passed into this tree)
var - Local label n
+
;DWORD
4 - null
+
:Number of Local labels (description of Local Variables used by this tree)
var - group of 0x01 byte values - 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.)
+
;for each Param/Local label (params first)
4 - unknown (always 0x00000005)
+
:;Byte
4 - null
+
::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)
  
-- for each Param/Local label --
+
==Notes==
1 - label length
+
Must have the same instance number as the bhav it describes.
x - label
+
 
[[Category:Modding]]
+
=See also=
 +
*[[SimAntics]]
 +
 
 +
{{OldWikiEntryCleanedOther}}
 +
{{OldWikiEntryCleanedOther|TPRP}}
 +
 
 +
[[Category:Modding]]
 +
[[Category:InternalFormats]]
 +
[[Category:FormatsByTGI]]

Revision as of 17:51, 13 July 2006

Contents

54505250 (TPRP)

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

Template:OldWikiEntryCleanedOther Template:OldWikiEntryCleanedOther

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox