Difference between revisions of "54505250"

From SimsWiki
Jump to: navigation, search
(Auto-inserted from WakkaWikki)
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{OldWikiEntry}} ===TPRP===
+
{{Resource tgi
 +
|short = [[TPRP]]
 +
|long = Edith SimAntics behavior labels
 +
}}
  
64 - Filename (always null?)
+
This resource contains labels for [[BHAV]] parameters and locals.
4 - Header (PRPT)
+
4 - Unknown (78 or 75)
+
4 - null
+
4 - number of Param labels (description of Paramters passed into this tree)
+
4 - number of Local labels (description of Local Variables used by this tree)
+
var - Param label 1
+
...
+
var - Param label n
+
var - Local label 1
+
...
+
var - Local label n
+
4 - null
+
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.)
+
4 - unknown (always 0x00000005)
+
4 - null
+
  
-- for each Param/Local label --
+
==Format==
1 - label length
+
;64 bytes
x - label
+
:File name (always null?)
[[Category:Modding]]
+
;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 [[SimPE_Resource_Editing#Instance|instance]] number as the [[BHAV]] it describes.
 +
 
 +
=See also=
 +
*[[SimAntics]]
 +
 
 +
{{OldWikiEntryCleaned|54505250|TPRP}}
 +
 
 +
[[Category:Sims 2 Modding]]
 +
[[Category:InternalFormats]]
 +
[[Category:FormatsByTGI]]

Latest revision as of 12:55, 17 September 2012

54505250
Short name: TPRP
Long name: Edith SimAntics behavior labels

This resource contains labels for BHAV parameters and locals.

[edit] 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)

[edit] Notes

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

[edit] 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

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox