EvilEngine/DYNA/effect:water body: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
(Add format)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{#vardefine:version|}}<nowiki/>
{{#vardefine:version|}}<nowiki/>
{{#vardefine:hash|0x90D4BA5B}}<nowiki/>
{{#vardefine:hash|0x90D4BA5B}}<nowiki/>
{{#vardefine:games|Incredibles ROTU}}<nowiki/>
{{#vardefine:games|TSSM Incredibles ROTU}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
Line 12: Line 12:


<source lang=cpp>
<source lang=cpp>
class asset_type : public xDynAsset
struct zWaterBody : xBase
{
{
public:
struct asset_type : xDynAsset
unsigned int flags;
{
uint32 flags;
unsigned int motion_type;
unsigned int body;
uint32 motion_type;
uint32 body;
unsigned int facade_refract;
unsigned int facade_reflect;
uint32 facade_refract;
unsigned int light_dir;
uint32 facade_reflect;
};
uint32 light_dir;
};
</source>
</source>


Line 28: Line 27:
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x00 || uint32 || '''flags''' ||
| 0x10 || u32 || '''flags''' ||
|-
|-
| 0x04 || uint32 || '''motion_type''' ||
| 0x14 || [[AssetID]] || '''motion_type''' ||
|-
|-
| 0x08 || uint32 || '''body''' ||
| 0x18 || [[AssetID]] || '''body''' ||
|-
|-
| 0x0C || uint32 || '''facade_refract''' ||
| 0x1C || [[AssetID]] || '''facade_refract''' ||
|-
|-
| 0x10 || uint32 || '''facade_reflect''' ||
| 0x20 || [[AssetID]] || '''facade_reflect''' ||
|-
|-
| 0x14 || uint32 || '''light_dir''' ||
| 0x24 || [[AssetID]] || '''light_dir''' ||
|}
|}



Latest revision as of 00:54, 24 March 2024

effect:water_body
Hash0x90D4BA5B
Games usedThe SpongeBob SquarePants Movie

The Incredibles

Rise of the Underminer

Format

class asset_type : public xDynAsset
{
public:
    unsigned int flags;
    unsigned int motion_type;
    unsigned int body;
    unsigned int facade_refract;
    unsigned int facade_reflect;
    unsigned int light_dir;
};
Offset Type Variable Description
0x10 u32 flags
0x14 AssetID motion_type
0x18 AssetID body
0x1C AssetID facade_refract
0x20 AssetID facade_reflect
0x24 AssetID light_dir