EvilEngine/SHRP

From Heavy Iron Modding
Revision as of 20:03, 6 April 2019 by Battlepedia>WiseWoodrow (→‎Format)
SHRP
Shrapnel
TypeBinary
Games usedThe Incredibles

This asset defines data for shrapnel.

Format

The asset data starts with a 0xC byte header:

Offset Type Description
0x00 int Amount of SHRP entries
0x04 AssetID This asset
0x08 int Unknown, always 0

After that, there's an array of shrapnel entries, as defined in the header. Each entry is of variable size:

  • Type 3 (particle) - 0x1D4
  • Type 4 (model) - 0x90
  • Type 5 (?) - 0x68
  • Type 6 (sound) - 0x4C

The entries have the following structure:

Offset Type Description
0x00 int Type
0x04 AssetID Unknown
0x08 int Unknown
0x0C int Unknown
0x10 float Unknown
0x14 float Unknown
Type 3
0x18 int Unknown
0x1C int Unknown
0x20 float Unknown
0x24 float Unknown
0x28 float Unknown
0x2C byte[0x10] Padding? (all bytes are 0xCD)
0x3C int Unknown
0x40 int Unknown
0x44 int Unknown
0x48 float Unknown
0x4C float Unknown
0x50 byte[0x17C] Padding? (all bytes are 0xCD)
0x1CC AssetID PARE
0x1D0 int Unknown
Type 4
0x18 AssetID MODL
0x1C int Unknown
0x20 int Unknown
0x24 int Unknown
0x28 float Offset X - Offset the Shrapnel spawns at
0x2C float Offset Y
0x30 float Offset Z
0x34 byte[0x34] Padding? (all bytes are 0xCD)
0x68 float Unknown
0x6C int Unknown
0x70 int Unknown
0x74 AssetID Unknown
0x78 float Unknown
0x7C float Scale?
0x80 float Scale also?
0x84 float Unknown
0x88 float Unknown
0x8C float Gravity
Type 5
0x18 int Unknown
0x1C int Unknown
0x20 float Unknown
0x24 int Unknown
0x28 int Unknown
0x34 byte[0x10] Padding? (all bytes are 0xCD)
0x3C int Unknown
0x40 int Unknown
0x44 float Unknown
0x48 int Unknown
0x4C int Unknown
0x50 byte[0x18] Padding? (all bytes are 0xCD)
Type 6
0x18 AssetID SND/SNDS
0x1C int Unknown
0x20 int Unknown
0x24 int Unknown
0x2C int Unknown
0x30 byte[0x10] Padding? (all bytes are 0xCD)
0x40 float Unknown
0x44 float Unknown
0x48 float Unknown