EvilEngine/CSNM: Difference between revisions
Content added Content deleted
No edit summary |
EnergyDrink (talk | contribs) m (add ROTU) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> |
|||
{{AssetInfobox |
|||
{{#vardefine:typeid|CSNM}}<nowiki/> |
|||
|subtitle=Cutscene Mgr |
|||
{{#vardefine:name|Cutscene Mgr}}<nowiki/> |
|||
|type=[[Object]] |
|||
{{#vardefine:type|[[Base]]}}<nowiki/> |
|||
|objectid=0x28 |
|||
{{#vardefine:basetype|0x28}}<nowiki/> |
|||
⚫ | |||
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU}}<nowiki/> |
|||
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xCutsceneMgr.h xCutsceneMgr.h]}}<nowiki/> |
|||
{{#vardefine:image|}}<nowiki/> |
|||
</onlyinclude> |
|||
{{AutoAssetInfobox}} |
|||
==Format: Night of 100 Frights and Battle for Bikini Bottom== |
|||
==Format== |
|||
Cutscene managers are [[ |
Cutscene managers are [[Base|base assets]], so they start with their 0x8 byte header, then are followed by: |
||
{| class="wikitable" |
{| class="wikitable" |
||
Line 13: | Line 18: | ||
| 0x08 || [[AssetID]] ([[CSN|Cutscene]]) || '''cutsceneAssetID''' || |
| 0x08 || [[AssetID]] ([[CSN|Cutscene]]) || '''cutsceneAssetID''' || |
||
|- |
|- |
||
| 0x0C || int || '''flags''' || |
| 0x0C || unsigned int || '''flags''' || |
||
|- |
|- |
||
| 0x10 || |
| 0x10 || float || '''interpSpeed''' || |
||
|- |
|- |
||
| 0x14 || |
| 0x14 || float[15] || '''startTime''' || |
||
|- |
|- |
||
| 0x50 || |
| 0x50 || float[15] || '''endTime''' || |
||
|- |
|- |
||
| 0x8C || |
| 0x8C || [[AssetID]][15] || '''emitID''' || |
||
|- |
|- |
||
! colspan="4" | Events |
! colspan="4" | Events |
||
Line 28: | Line 33: | ||
|} |
|} |
||
⚫ | |||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x08 || [[AssetID]] ([[CSN|Cutscene]]) || '''cutsceneAssetID''' || |
|||
|- |
|||
| 0x0C || unsigned int || '''flags''' || Usually 1C |
|||
|- |
|||
| 0x10 || float || '''interpSpeed''' || |
|||
|- |
|||
| 0x14 || [[SUBT]] || '''uSubtitlesID''' || Subtitles_AssetID |
|||
|- |
|||
| 0x18 || float[15] || '''startTime''' || |
|||
|- |
|||
| 0x54 || float[15] || '''endTime''' || |
|||
|- |
|||
| 0x90 || unsigned int[15] || '''emitID''' || |
|||
|- |
|||
! colspan="4" | Events |
|||
|- |
|||
| 0xCC || Event[numberOfEvents] || '''[[Events]]''' || |
|||
|} |
|||
{{Assets}} |
{{Assets}} |
||
{{AutoGameNavs}} |
|||
[[Category:Asset]] |
[[Category:Asset]] |
Latest revision as of 08:07, 3 November 2022
CSNM | |
---|---|
Cutscene Mgr | |
Type | Base |
Base Type | 0x28 |
Games used | Night of 100 Frights Battle for Bikini Bottom |
Source code | xCutsceneMgr.h |
Format: Night of 100 Frights and Battle for Bikini Bottom
Cutscene managers are base assets, so they start with their 0x8 byte header, then are followed by:
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | AssetID (Cutscene) | cutsceneAssetID | |
0x0C | unsigned int | flags | |
0x10 | float | interpSpeed | |
0x14 | float[15] | startTime | |
0x50 | float[15] | endTime | |
0x8C | AssetID[15] | emitID | |
Events | |||
0xC8 | Event[numberOfEvents] | Events |
Format: The SpongeBob SquarePants Movie and The Incredibles
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | AssetID (Cutscene) | cutsceneAssetID | |
0x0C | unsigned int | flags | Usually 1C |
0x10 | float | interpSpeed | |
0x14 | SUBT | uSubtitlesID | Subtitles_AssetID |
0x18 | float[15] | startTime | |
0x54 | float[15] | endTime | |
0x90 | unsigned int[15] | emitID | |
Events | |||
0xCC | Event[numberOfEvents] | Events |