The OBJD tab panel

OBJD tab panel

Example of an OBJD tab panel listing (IFFSnooper 1.2.4, MacOS X 10.6.8).
File SculpturesDeluxe2.iff by Maxis

A multi-tile object has one OBJD resource for each tile, plus a master OBJD resource which stores settings which apply to the whole object rather than a single tile, such as the price. The Master navigation button on the OBJD TabPanel is enabled for component tiles of multitile objects, and will take you to the master OBJD resource.

Editing OBJD resources

OBJD EditWindow

OBJD EditWindow (IFFSnooper 1.2.4, MacOS X 10.6.8).

This window is divided into two sections, for Base Parameters and Catalog Parameters.


The Base Parameters section contains the following non-catalog settings which form part of the object base:

The GUID (global unique ID number) allows the game to keep track of individual object tiles. The GUID is shown in hexadecimal format in the upper left hand corner of the OBJD resource tab panel as well as in the OBJD edit window. The Cookie number corresponds to the mid portion of the GUID.

The master ID identifies the tile as part of an object. This allows several objects within a multi-object IFF file to share the same BHAV code. The position of the tile within a multi-tile object is determined by its subindex. The master OBJD resource has a subindex of -1. Other tiles have a two-byte subindex number which defines the X and Y position of the object tile.

The CTSS, DGRP, dynamic sprite, SLOT, STR#, TTAs and wall SPR# fields define which resources are used by the current object. For the DGRP and dynamic sprites there a second field which defines how many resources are used.

The wall style field is used by doors and windows.

The init, main and load references identify the BHAV code resources needed to place the object (or object tile) into the game and make it work. Depending on the object, these BHAV references may be part of the OBJD resource or part of the matching OBJf resource. In most cases they are part of the OBJf resource. BHAV reference values of 8192 or greater must be resolved by referring to a GLOB resource, which identifies the global IFF file to use in this circumstance. This situation is much more frequent in Hot Date and subsequent expansions.


The Catalog Parameters section contains the following catalog settings which can be edited via the master OBJD resource:

These flags determine where an object can be placed, and which section of the catalog they show up in. The neighborhood catalog flags can be accessed from the pop-up menu.

OBJD HexEditPanel

OBJD Hex Edit Panel (new in version 1.2.4)

If you hold down the option-key when clicking the Edit button, you will bring up the OBJD Hex Edit panel, which lets you edit all 106 fields of the OBJD.

TSO format OBJD resources, version greater than 138, cannot be edited.



Navigation

introduction

What are these resources?

Making new IFF files

Making Floor Tiles

Making Walls

Editing OBJD resources

Editing the GUID

Editing text strings

Editing draw groups

Editing sprites

Editing menu resources

Editing other resources