EvilEngine/DYNA/effect:water body: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
(Created page with "<onlyinclude> {{#vardefine:name|effect:water_body}}<nowiki/> {{#vardefine:version|}}<nowiki/> {{#vardefine:hash|0x90D4BA5B}}<nowiki/> {{#vardefine:games|Incredibles ROTU}}<now...") |
(Add format) |
||
Line 8: | Line 8: | ||
</onlyinclude> |
</onlyinclude> |
||
{{AutoDynaInfobox}} |
{{AutoDynaInfobox}} |
||
==Format== |
|||
<source lang=cpp> |
|||
struct zWaterBody : xBase |
|||
{ |
|||
struct asset_type : xDynAsset |
|||
{ |
|||
uint32 flags; |
|||
uint32 motion_type; |
|||
uint32 body; |
|||
uint32 facade_refract; |
|||
uint32 facade_reflect; |
|||
uint32 light_dir; |
|||
}; |
|||
</source> |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x00 || uint32 || '''flags''' || |
|||
|- |
|||
| 0x04 || uint32 || '''motion_type''' || |
|||
|- |
|||
| 0x08 || uint32 || '''body''' || |
|||
|- |
|||
| 0x0C || uint32 || '''facade_refract''' || |
|||
|- |
|||
| 0x10 || uint32 || '''facade_reflect''' || |
|||
|- |
|||
| 0x14 || uint32 || '''light_dir''' || |
|||
|} |
|||
{{DynaAssets}} |
{{DynaAssets}} |
Revision as of 00:56, 2 August 2021
effect:water_body | |
---|---|
Hash | 0x90D4BA5B |
Games used | The Incredibles Rise of the Underminer |
Format
struct zWaterBody : xBase
{
struct asset_type : xDynAsset
{
uint32 flags;
uint32 motion_type;
uint32 body;
uint32 facade_refract;
uint32 facade_reflect;
uint32 light_dir;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | uint32 | flags | |
0x04 | uint32 | motion_type | |
0x08 | uint32 | body | |
0x0C | uint32 | facade_refract | |
0x10 | uint32 | facade_reflect | |
0x14 | uint32 | light_dir |