Difference between revisions of "CObject"

From SimsWiki
Jump to: navigation, search
Line 62: Line 62:
  
  
Back to [[FA1C39F7 Singular Lot Object]]
+
Back to [[FA1C39F7|Singular Lot Object]]
  
 
  [[Category:Modding]]
 
  [[Category:Modding]]

Revision as of 02:54, 13 June 2006

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.

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

Entry

7BITSTR : Name

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

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

--> Item

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