EvilEngine/SIMP

Revision as of 01:12, 31 March 2021 by Seil (talk | contribs) (10 revisions imported)

This asset usually defines an entry for a simple, stationary object which may or may not be visible and collidable.

SIMP
Simple Object
TypeEntity
Games usedThe Incredibles
Source codezEntSimpleObj.h

Format

SIMPs are entity assets, so they start with their 0x54 byte header, then are followed by:

Offset Type Variable Description
0x54 float animSpeed
0x58 int initAnimState
0x5C byte collType Collision type. Set to None to disable collision and Static to enable collision.

The other types listed here do not affect SIMPs in any way, and are only used internally by a variety of entity types. Interestingly, this value is used as a bitmask during initialization, so it is possible to set multiple types at once, with Static (0x2) being the only functional type.

0x5D byte flags Always 0
0x5E - - padding
Events
0x60 Event[numberOfEvents] Events

Events