EvilEngine/SHRP: Difference between revisions
Content added Content deleted
Battlepedia>Igorseabra4 mNo edit summary |
Battlepedia>Igorseabra4 mNo edit summary |
||
Line 16: | Line 16: | ||
After that, there's an array of shrapnel entries, as defined in the header. Each entry is of variable size: |
After that, there's an array of shrapnel entries, as defined in the header. Each entry is of variable size: |
||
* Type 3 - 0x1D4 |
* Type 3 (particle) - 0x1D4 |
||
* Type 4 - 0x90 |
* Type 4 (model) - 0x90 |
||
* Type 6 - 0x4C |
* Type 6 (sound) - 0x4C |
||
The entries have the following structure: |
The entries have the following structure: |
||
Line 35: | Line 35: | ||
| 0x10 || float || Unknown |
| 0x10 || float || Unknown |
||
|- |
|- |
||
| 0x14 || |
| 0x14 || float || Unknown |
||
|- |
|- |
||
! colspan="3" | Type 3 |
! colspan="3" | Type 3 |
||
Line 61: | Line 61: | ||
| 0x50 || byte[0x17C] || Padding? (all bytes are 0xCD) |
| 0x50 || byte[0x17C] || Padding? (all bytes are 0xCD) |
||
|- |
|- |
||
| 0x1CC || [[AssetID]] || |
| 0x1CC || [[AssetID]] || [[PARE]] |
||
|- |
|- |
||
| 0x1D0 || int || Unknown |
| 0x1D0 || int || Unknown |
||
Line 67: | Line 67: | ||
! colspan="3" | Type 4 |
! colspan="3" | Type 4 |
||
|- |
|- |
||
| 0x18 || [[AssetID]] || |
| 0x18 || [[AssetID]] || [[MODL]] |
||
|- |
|- |
||
| 0x1C || int || Unknown |
| 0x1C || int || Unknown |
||
Line 101: | Line 101: | ||
! colspan="3" | Type 6 |
! colspan="3" | Type 6 |
||
|- |
|- |
||
| 0x18 || [[AssetID]] || |
| 0x18 || [[AssetID]] || [[SND]]/[[SNDS]] |
||
|- |
|- |
||
| 0x1C || int || Unknown |
| 0x1C || int || Unknown |
Revision as of 05:33, 28 November 2018
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 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 |
0x20 | int | Unknown |
0x24 | int | Unknown |
0x28 | int | Unknown |
0x2C | byte[0x10] | Padding? (all bytes are 0xCD) |
0x3C | int | Unknown |
0x40 | int | Unknown |
0x44 | int | Unknown |
0x48 | int | Unknown |
0x4C | int | 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 | Vector3 | Unknown |
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 | Unknown |
0x80 | float | Unknown |
0x84 | float | Unknown |
0x88 | float | Unknown |
0x8C | float | Unknown |
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 |