EvilEngine/PEND

From Heavy Iron Modding
< EvilEngine(Redirected from PEND)

PEND
Pendulum
TypeEntity
Base Type0x12
Games usedNight of 100 Frights

Battle for Bikini Bottom
The SpongeBob SquarePants Movie
The Incredibles
Rise of the Underminer

Ratatouille Prototype
Source codezPendulum.h

This asset defines an entry for a pendulum object in Scooby Doo: Night of 100 Frights. Pendulums are objects which rotate back and forth in place. Although not present originally in any game other than Scooby (similar objects are usually PLATs), custom pendulums do function properly in these games.

Format[edit]

Pendulums are entity assets, so they start with their 0x54 byte header (which is only 0x50 in Scooby), then are followed by:

Offset Type Variable Description
0x54 Motion Motion struct Always type 05 (Pendulum)
0x78 int Lt Unknown
0x7C int Q1t Unknown
0x80 int Q3t Unknown
Events
0x84 Event[numberOfEvents] Events

Events[edit]