EvilEngine/PEND: Difference between revisions
Content added Content deleted
Igorseabra4 (talk | contribs) No edit summary |
m (Seil moved page PEND to EvilEngine/PEND) |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
{{#vardefine:type|[[Entity]]}}<nowiki/> |
{{#vardefine:type|[[Entity]]}}<nowiki/> |
||
{{#vardefine:basetype|0x12}}<nowiki/> |
{{#vardefine:basetype|0x12}}<nowiki/> |
||
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU}}<nowiki/> |
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU RatProto}}<nowiki/> |
||
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zPendulum.h zPendulum.h]}}<nowiki/> |
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zPendulum.h zPendulum.h]}}<nowiki/> |
||
{{#vardefine:image|}}<nowiki/> |
{{#vardefine:image|}}<nowiki/> |
||
Line 10: | Line 10: | ||
{{AutoAssetInfobox}} |
{{AutoAssetInfobox}} |
||
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 |
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 [[PLAT]]s), custom pendulums do function properly in these games. |
||
==Format== |
==Format== |
Latest revision as of 22:47, 15 September 2022
PEND | |
---|---|
Pendulum | |
Type | Entity |
Base Type | 0x12 |
Games used | Night of 100 Frights Battle for Bikini Bottom |
Source code | zPendulum.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
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 |