SDFX

From Battlepedia
Jump to navigationJump to search
SDFX
Sound FX
Type Object
Object ID 0x4B
Games used The SpongeBob SquarePants Movie
The Incredibles
Rise of the Underminer

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 object 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