EvilEngine/PEND: Difference between revisions
Content added Content deleted
m (2 revisions imported) |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> |
|||
{{AssetInfobox |
|||
{{#vardefine:typeid|PEND}}<nowiki/> |
|||
|subtitle=Pendulum |
|||
{{#vardefine:name|Pendulum}}<nowiki/> |
|||
|type=[[Entity]] |
|||
{{#vardefine:type|[[Entity]]}}<nowiki/> |
|||
|objectid=0x17 |
|||
{{#vardefine:basetype|0x12}}<nowiki/> |
|||
|games=Night of 100 Frights |
|||
{{#vardefine:games|Scooby}}<nowiki/> |
|||
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zPendulum.h zPendulum.h]}}<nowiki/> |
|||
{{#vardefine:image|}}<nowiki/> |
|||
</onlyinclude> |
|||
{{AutoAssetInfobox}} |
|||
This asset defines an entry for a hangable object in Scooby Doo: Night of 100 Frights. Although not present originally in Battle For Bikini Bottom (similar objects are usually [[PLAT]]s), custom pendulums do function properly in that game. |
This asset defines an entry for a hangable object in Scooby Doo: Night of 100 Frights. Although not present originally in Battle For Bikini Bottom (similar objects are usually [[PLAT]]s), custom pendulums do function properly in that game. |
||
Line 52: | Line 56: | ||
{{Assets}} |
{{Assets}} |
||
{{AutoGameNavs}} |
|||
[[Category:Asset]] |
[[Category:Asset]] |
Revision as of 23:24, 25 May 2021
PEND | |
---|---|
Pendulum | |
Type | Entity |
Base Type | 0x12 |
Games used | Night of 100 Frights |
Source code | zPendulum.h |
This asset defines an entry for a hangable object in Scooby Doo: Night of 100 Frights. Although not present originally in Battle For Bikini Bottom (similar objects are usually PLATs), custom pendulums do function properly in that game.
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 | byte | Unknown | |
0x55 | byte | Unknown | |
0x56 | byte | Unknown | |
0x57 | byte | Unknown | |
0x58 | int | Unknown | |
0x5C | float | Movement distance | |
0x60 | float | Steepness | |
0x64 | float | Movement time | |
0x68 | float | Unknown | |
0x6C | int | Unknown | |
0x70 | int | Unknown | |
0x74 | int | Unknown | |
0x78 | int | Unknown | |
0x7C | int | Unknown | |
0x80 | int | Unknown | |
Events | |||
0x84 | Event[numberOfEvents] | Events |