EvilEngine/SDFX: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
m (Seil moved page SDFX to EvilEngine/SDFX)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>
{{AssetInfobox
{{#vardefine:typeid|SDFX}}<nowiki/>
|subtitle=Sound FX
{{#vardefine:name|Sound FX}}<nowiki/>
|type=[[Base]]
{{#vardefine:type|[[Base]]}}<nowiki/>
|objectid=0x4B
{{#vardefine:basetype|0x4B}}<nowiki/>
|games=The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}
{{#vardefine:games|TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}


This asset defines an entry for a sound effect, an asset which is able to play a sound from a specific location. The sound is chosen from a [[SGRP]] and can be played through an [[events|event]].
This asset defines an entry for a sound effect, an asset which is able to play a sound from a specific location. The sound is chosen from a [[SGRP]] and can be played through an [[events|event]].
Line 27: Line 32:


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


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

Latest revision as of 22:52, 15 September 2022

SDFX
Sound FX
TypeBase
Base Type0x4B
Games usedThe SpongeBob SquarePants Movie

The Incredibles
Rise of the Underminer

Ratatouille Prototype

This asset defines an entry for a sound effect, an asset which is able to play a sound from a specific location. The sound is chosen from a SGRP and can be played through an event.

Format

SDFX are base assets, so they start with their 0x8 byte header, then are followed by:

Offset Type Variable Description
0x08 AssetID soundGroupAssetID SGRP reference.
0x0C AssetID attachID Entity reference.
0x10 Vector3 pos Position
0x1C int flags 0 - Normal
4 - Play from entity
Events
0x20 Event[numberOfEvents] Events