Difference between revisions of "CObject"

From SimsWiki
Jump to: navigation, search
(Auto-inserted from WakkaWikki)
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{OldWikiEntry}} ==""cObject"" (objt) Data Block==
+
{{OldWikiEntry}} {{lowercase|title=cObject}}
 +
 
 +
==cObject ([[OBJT]]) Data Block==
  
 
''Header (as specified in [[WDB]])''
 
''Header (as specified in [[WDB]])''
Line 37: Line 39:
  
 
if (Block Version == 0x11)
 
if (Block Version == 0x11)
   DWORD : NameType (appears to effect how the Name is treated)
+
   DWORD : NameType (appears to affect how the Name is treated)
  
 
DWORD : Count n
 
DWORD : Count n
Line 60: Line 62:
  
  
Back to [[FA1C39F7 Singular Lot Object]] [[Category:Modding]]
+
Back to [[FA1C39F7|Singular Lot Object]]
 +
 
 +
[[Category:Sims 2 Modding]][[Category:Article_titles_with_lowercase_initial_letters]]

Latest revision as of 20:08, 17 September 2012

This article is imported from the old MTS2 wiki. You can help Sims2Wiki by cleaning it up. It's original page with comments can be found at http://old_wiki.modthesims2.com/CObject
The title of this article should be cObject. The initial letter is capitalized due to technical restrictions.

[edit] cObject (OBJT) Data Block

Header (as specified in WDB)

DWORD   : Block ID
DWORD   : Block Version
7BITSTR : Block name

Data Section

7BITSTR : Name

DWORD : Count a
Repeat a
  --> Entry
End Repeat

DWORD : Count b
Repeat b
  7BITSTR : Name
  --> Item
End Repeat

if (Block Version >= 0x10)
  DWORD : Count n
  Repeat n
	7BITSTR : LongName
	7BITSTR : ShortName
	DWORD   : unknown
  End Repeat

[edit] Entry

7BITSTR : Name

if (Block Version == 0x11)
  DWORD : NameType (appears to affect how the Name is treated)

DWORD : Count n
Repeat n
  7BITSTR : LongName
  7BITSTR : ShortName
End Repeat

--> Item

[edit] Item

FLOAT : unknown
FLOAT : unknown
FLOAT : unknown
FLOAT : unknown
FLOAT : unknown
FLOAT : unknown
FLOAT : unknown


Back to Singular Lot Object

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox