EvilEngine/DYNA/effect:grass: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
(Created page with "<onlyinclude> {{#vardefine:name|effect:grass}}<nowiki/> {{#vardefine:version|}}<nowiki/> {{#vardefine:hash|0x081A3629}}<nowiki/> {{#vardefine:games|Incredibles}}<nowiki/> {{#v...")
 
No edit summary
Line 8: Line 8:
</onlyinclude>
</onlyinclude>
{{AutoDynaInfobox}}
{{AutoDynaInfobox}}

==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"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || uint8 || '''orient''' ||
|-
| 0x01 || uint8 || '''pad1''' ||
|-
| 0x02 || uint16 || '''flags''' ||
|-
| 0x04 || [[GRSM]] || '''GRSM_AssetID''' ||
|-
| 0x08 || [[MODL]] || '''MODL_AssetID''' ||
|-
| 0x0C || float32 || '''width_scale''' ||
|-
| 0x10 || float32 || '''height_scale''' ||
|-
| 0x14 || float32 || '''density_scale''' ||
|-
| 0x18 || float32 || '''width_min''' ||
|-
| 0x1C || float32 || '''height_min''' ||
|-
| 0x20 || float32 || '''animate''' ||
|}


{{DynaAssets}}
{{DynaAssets}}

Revision as of 07:16, 21 November 2021

effect:grass
Hash0x081A3629
Games usedThe Incredibles

Format

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;
};
Offset Type Variable Description
0x00 uint8 orient
0x01 uint8 pad1
0x02 uint16 flags
0x04 GRSM GRSM_AssetID
0x08 MODL MODL_AssetID
0x0C float32 width_scale
0x10 float32 height_scale
0x14 float32 density_scale
0x18 float32 width_min
0x1C float32 height_min
0x20 float32 animate