EvilEngine/DYNA/effect:grass: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
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 || uint8 || '''orient''' ||
| 0x00 || byte || '''orient''' ||
|-
|-
| 0x01 || uint8 || '''pad1''' ||
| 0x01 || byte || '''pad1''' ||
|-
|-
| 0x02 || uint16 || '''flags''' ||
| 0x02 || ushort || '''flags''' ||
|-
|-
| 0x04 || [[GRSM]] || '''GRSM_AssetID''' ||
| 0x04 || [[AssetID]] || '''mesh''' || [[GRSM]]
|-
|-
| 0x08 || [[MODL]] || '''MODL_AssetID''' ||
| 0x08 || [[AssetID]] || '''model''' || [[MODL]]
|-
|-
| 0x0C || float32 || '''width_scale''' ||
| 0x0C || float || '''width_scale''' ||
|-
|-
| 0x10 || float32 || '''height_scale''' ||
| 0x10 || float || '''height_scale''' ||
|-
|-
| 0x14 || float32 || '''density_scale''' ||
| 0x14 || float || '''density_scale''' ||
|-
|-
| 0x18 || float32 || '''width_min''' ||
| 0x18 || float || '''width_min''' ||
|-
|-
| 0x1C || float32 || '''height_min''' ||
| 0x1C || float || '''height_min''' ||
|-
|-
| 0x20 || float32 || '''animate''' ||
| 0x20 || float || '''animate''' ||
|}
|}



Revision as of 17:18, 7 September 2022

effect:grass
Hash0x081A3629
Games usedThe 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