EvilEngine/DYNA/effect:grass: Difference between revisions
< EvilEngine | DYNA
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...") |
EnergyDrink (talk | contribs) No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 8: | Line 8: | ||
</onlyinclude> |
</onlyinclude> |
||
{{AutoDynaInfobox}} |
{{AutoDynaInfobox}} |
||
==Format== |
|||
<source lang=cpp> |
|||
class asset_type : xDynAsset |
|||
{ |
|||
unsigned char orient; |
|||
unsigned char pad1; |
|||
unsigned short flags; |
|||
unsigned int mesh; |
|||
unsigned int model; |
|||
float width_scale; |
|||
float height_scale; |
|||
float density_scale; |
|||
float width_min; |
|||
float height_min; |
|||
float animate; |
|||
}; |
|||
</source> |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x10 || u8 || '''orient''' || |
|||
|- |
|||
| 0x11 || u8 || '''pad1''' || |
|||
|- |
|||
| 0x12 || u16 || '''flags''' || |
|||
|- |
|||
| 0x14 || [[AssetID]] || '''mesh''' || [[GRSM]] |
|||
|- |
|||
| 0x18 || [[AssetID]] || '''model''' || [[MODL]] |
|||
|- |
|||
| 0x1C || f32 || '''width_scale''' || |
|||
|- |
|||
| 0x20 || f32 || '''height_scale''' || |
|||
|- |
|||
| 0x24 || f32 || '''density_scale''' || |
|||
|- |
|||
| 0x28 || f32 || '''width_min''' || |
|||
|- |
|||
| 0x2C || f32 || '''height_min''' || |
|||
|- |
|||
| 0x30 || f32 || '''animate''' || |
|||
|} |
|||
{{DynaAssets}} |
{{DynaAssets}} |
Latest revision as of 12:47, 19 September 2023
effect:grass | |
---|---|
Hash | 0x081A3629 |
Games used | The Incredibles |
Format
class asset_type : xDynAsset
{
unsigned char orient;
unsigned char pad1;
unsigned short flags;
unsigned int mesh;
unsigned int model;
float width_scale;
float height_scale;
float density_scale;
float width_min;
float height_min;
float animate;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x10 | u8 | orient | |
0x11 | u8 | pad1 | |
0x12 | u16 | flags | |
0x14 | AssetID | mesh | GRSM |
0x18 | AssetID | model | MODL |
0x1C | f32 | width_scale | |
0x20 | f32 | height_scale | |
0x24 | f32 | density_scale | |
0x28 | f32 | width_min | |
0x2C | f32 | height_min | |
0x30 | f32 | animate |