EvilEngine/ALST: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>
{{AssetInfobox
{{#vardefine:typeid|ALST}}<nowiki/>
|subtitle=AnimList
{{#vardefine:name|AnimList}}<nowiki/>
|type=[[Binary]]
{{#vardefine:type|[[Binary]]}}<nowiki/>
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}
{{#vardefine:basetype|}}<nowiki/>
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zAnimList.h zAnimList.h]}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}


Animation list. This asset contains a list of asset IDs all belonging to [[ANIM|animations]].
Animation list. This asset contains a list of asset IDs all belonging to [[ANIM|animations]].
Line 11: Line 17:
struct zAnimListAsset
struct zAnimListAsset
{
{
unsigned int ids[10];
U32 ids[10];
};
};
</source>
</source>


* '''ids''' is an array of 10 [[ANIM|Animation]] IDs.

===Rise of the Underminer===
{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Description
! Offset !! Type !! Name !! Description
|-
|-
| 0x00 || [[AssetID]][10] || '''[[ANIM|Animations]]'''
| 0x00 || U32[10] || ids || [[ANIM]] [[AssetID|asset ID]]s
|}

===Rise of the Underminer — Ratatouille Prototype===
<source lang=cpp>
struct zAnimListAsset
{
U32 ids[10];
U32 stateHashes[10];
bool hasPhysics[10];
};
</source>

{| class="wikitable"
! Offset !! Type !! Name !! Description
|-
|-
| 0x28 || int[10] || Unknown string hashes
| 0x00 || U32[10] || ids || [[ANIM]] [[AssetID|asset ID]]s
|-
|-
| 0x50 || byte[4] || Flags?
| 0x28 || U32[10] || stateHashes ||
|-
|-
| 0x54 || int[2] || null
| 0x50 || bool[10] || hasPhysics ||
|}
|}


{{Assets}}
{{Assets}}
{{AutoGameNavs}}


[[Category:Asset]]
[[Category:Asset]]

Latest revision as of 03:54, 16 September 2022

ALST
AnimList
TypeBinary
Games usedNight of 100 Frights

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

Ratatouille Prototype
Source codezAnimList.h

Animation list. This asset contains a list of asset IDs all belonging to animations.

Format

Night of 100 Frights — The Incredibles

struct zAnimListAsset
{
    U32 ids[10];
};
Offset Type Name Description
0x00 U32[10] ids ANIM asset IDs

Rise of the Underminer — Ratatouille Prototype

struct zAnimListAsset
{
    U32 ids[10];
    U32 stateHashes[10];
    bool hasPhysics[10];
};
Offset Type Name Description
0x00 U32[10] ids ANIM asset IDs
0x28 U32[10] stateHashes
0x50 bool[10] hasPhysics