CObject

From SimsWiki
Revision as of 02:54, 13 June 2006 by Delphy (Talk | contribs)

Jump to: navigation, search
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 FA1C39F7 Singular Lot Object

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox