EvilEngine/DYNA/effect:grass: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
No edit summary |
EnergyDrink (talk | contribs) No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
==Format== |
==Format== |
||
<source lang=cpp> |
<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> |
</source> |
||
Line 31: | Line 30: | ||
! Offset !! Type !! Variable !! Description |
! 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''' || |
||
|} |
|} |
||
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 |