EvilEngine/CSNM: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
m (add ROTU)
 
(5 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=[[Base]]
{{#vardefine:type|[[Base]]}}<nowiki/>
|objectid=0x28
{{#vardefine:basetype|0x28}}<nowiki/>
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU}}<nowiki/>
|sourcecode=[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xCutsceneMgr.h xCutsceneMgr.h]}}
{{#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 [[Base|base assets]], so they start with their 0x8 byte header, then are followed by:
Cutscene managers are [[Base|base assets]], so they start with their 0x8 byte header, then are followed by:


Line 14: Line 18:
| 0x08 || [[AssetID]] ([[CSN|Cutscene]]) || '''cutsceneAssetID''' ||
| 0x08 || [[AssetID]] ([[CSN|Cutscene]]) || '''cutsceneAssetID''' ||
|-
|-
| 0x0C || int || '''flags''' || Always 16 or 28
| 0x0C || unsigned int || '''flags''' ||
|-
|-
| 0x10 || ? || '''interpSpeed''' || null
| 0x10 || float || '''interpSpeed''' ||
|-
|-
| 0x14 || ?[15] || '''startTime''' || null
| 0x14 || float[15] || '''startTime''' ||
|-
|-
| 0x50 || ?[15] || '''endTime''' || null
| 0x50 || float[15] || '''endTime''' ||
|-
|-
| 0x8C || ?[15] || '''emitID''' || null
| 0x8C || [[AssetID]][15] || '''emitID''' ||
|-
|-
! colspan="4" | Events
! colspan="4" | Events
Line 29: Line 33:
|}
|}


==Format: The SpongeBob SquarePants Movie and The Incredibles==

{| 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
TypeBase
Base Type0x28
Games usedNight of 100 Frights

Battle for Bikini Bottom
The SpongeBob SquarePants Movie
The Incredibles

Rise of the Underminer
Source codexCutsceneMgr.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