EvilEngine/PEND: Difference between revisions
Content added Content deleted
Battlepedia>Igorseabra4 (Created page with "{{AssetInfobox |subtitle=Hangable |type=Placeable |objectid=0x17 |games=Night of 100 Frights}} This asset defines an entry for a hangable object in Scooby Doo: Night of 1...") |
m (Seil moved page PEND to EvilEngine/PEND) |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> |
|||
{{AssetInfobox |
|||
{{#vardefine:typeid|PEND}}<nowiki/> |
|||
|subtitle=Hangable |
|||
{{#vardefine:name|Pendulum}}<nowiki/> |
|||
|type=[[Placeable]] |
|||
{{#vardefine:type|[[Entity]]}}<nowiki/> |
|||
|objectid=0x17 |
|||
{{#vardefine:basetype|0x12}}<nowiki/> |
|||
|games=Night of 100 Frights}} |
|||
{{#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:image|}}<nowiki/> |
|||
</onlyinclude> |
|||
{{AutoAssetInfobox}} |
|||
This asset defines an entry for a |
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== |
||
Pendulums are [[ |
Pendulums are [[Entity|entity assets]], so they start with their 0x54 byte header (which is only 0x50 in Scooby), then are followed by: |
||
{| class="wikitable" |
{| class="wikitable" |
||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| 0x54 || |
| 0x54 || [[Motion]] || Motion struct || Always type 05 (Pendulum) |
||
|- |
|- |
||
| |
| 0x78 || int || '''Lt''' || Unknown |
||
|- |
|- |
||
| |
| 0x7C || int || '''Q1t''' || Unknown |
||
|- |
|- |
||
| |
| 0x80 || int || '''Q3t''' || Unknown |
||
|- |
|||
| 0x58 || int || || Unknown |
|||
|- |
|||
| 0x5C || float || || Movement distance |
|||
|- |
|||
| 0x60 || float || || Steepness |
|||
|- |
|||
| 0x64 || float || || Movement time |
|||
|- |
|||
| 0x68 || int || || Unknown |
|||
|- |
|||
| 0x6C || int || || Unknown |
|||
|- |
|||
| 0x70 || int || || Unknown |
|||
|- |
|||
| 0x74 || int || || Unknown |
|||
|- |
|||
| 0x78 || int || || Unknown |
|||
|- |
|||
| 0x7C || int || || Unknown |
|||
|- |
|||
| 0x80 || int || || Unknown |
|||
|- |
|- |
||
! colspan="4" | Events |
! colspan="4" | Events |
||
Line 49: | Line 32: | ||
=== Events === |
=== Events === |
||
{{Assets}} |
|||
{{AutoGameNavs}} |
|||
[[Category:Asset]] |
[[Category:Asset]] |
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 |