EvilEngine/DYNA/effect:grass: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
No edit summary |
EnergyDrink (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
==Format== |
==Format== |
||
<source lang=cpp> |
|||
struct asset_type : xDynAsset |
|||
{ |
|||
uint8 orient; |
|||
uint8 pad1; |
|||
uint16 flags; |
|||
uint32 mesh; |
|||
uint32 model; |
|||
float32 width_scale; |
|||
float32 height_scale; |
|||
float32 density_scale; |
|||
float32 width_min; |
|||
float32 height_min; |
|||
float32 animate; |
|||
}; |
|||
</source> |
|||
{| class="wikitable" |
{| class="wikitable" |
||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| 0x00 || |
| 0x00 || byte || '''orient''' || |
||
|- |
|- |
||
| 0x01 || |
| 0x01 || byte || '''pad1''' || |
||
|- |
|- |
||
| 0x02 || |
| 0x02 || ushort || '''flags''' || |
||
|- |
|- |
||
| 0x04 || [[ |
| 0x04 || [[AssetID]] || '''mesh''' || [[GRSM]] |
||
|- |
|- |
||
| 0x08 || [[ |
| 0x08 || [[AssetID]] || '''model''' || [[MODL]] |
||
|- |
|- |
||
| 0x0C || |
| 0x0C || float || '''width_scale''' || |
||
|- |
|- |
||
| 0x10 || |
| 0x10 || float || '''height_scale''' || |
||
|- |
|- |
||
| 0x14 || |
| 0x14 || float || '''density_scale''' || |
||
|- |
|- |
||
| 0x18 || |
| 0x18 || float || '''width_min''' || |
||
|- |
|- |
||
| 0x1C || |
| 0x1C || float || '''height_min''' || |
||
|- |
|- |
||
| 0x20 || |
| 0x20 || float || '''animate''' || |
||
|} |
|} |
||
Revision as of 17:18, 7 September 2022
effect:grass | |
---|---|
Hash | 0x081A3629 |
Games used | The Incredibles |
Format
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | byte | orient | |
0x01 | byte | pad1 | |
0x02 | ushort | flags | |
0x04 | AssetID | mesh | GRSM |
0x08 | AssetID | model | MODL |
0x0C | float | width_scale | |
0x10 | float | height_scale | |
0x14 | float | density_scale | |
0x18 | float | width_min | |
0x1C | float | height_min | |
0x20 | float | animate |