EvilEngine/DYNA/effect:Flamethrower: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
(Created page with "<onlyinclude> {{#vardefine:name|effect:Flamethrower}}<nowiki/> {{#vardefine:version|}}<nowiki/> {{#vardefine:hash|0xFB1179F5}}<nowiki/> {{#vardefine:games|Incredibles}}<nowiki...")
 
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 8: Line 8:
</onlyinclude>
</onlyinclude>
{{AutoDynaInfobox}}
{{AutoDynaInfobox}}

<source lang=cpp>
struct zFlameThrowerAsset : xDynAsset
{
xVec3 position;
union
{
xVec3 rotation;
xVec3 direction;
};
unsigned char visible;
float on_length;
float off_length;
xColor_tag color;
signed int damage;
float knockback;
float damage_radius;
};
</source>

{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x10 || [[Vector3]] || '''position''' ||
|-
| 0x1C || [[Vector3]] || '''rotation''' ||
|-
| 0x28 || u8 || '''visible''' ||
|-
| 0x29 || u8[3] || - || Padding
|-
| 0x2C || f32|| '''on_length''' ||
|-
| 0x30 || f32 || '''off_length''' ||
|-
| 0x34 || [[Color]] || '''color''' ||
|-
| 0x38 || s32 || '''damage''' ||
|-
| 0x3C || f32 || '''knockback''' ||
|-
| 0x40 || f32 || '''damage_radius''' ||
|}


{{DynaAssets}}
{{DynaAssets}}

Latest revision as of 12:27, 19 September 2023

effect:Flamethrower
Hash0xFB1179F5
Games usedThe Incredibles
struct zFlameThrowerAsset : xDynAsset
{
    xVec3 position;
    union
    {
        xVec3 rotation;
        xVec3 direction;
    };
    unsigned char visible;
    float on_length;
    float off_length;
    xColor_tag color;
    signed int damage;
    float knockback;
    float damage_radius;
};
Offset Type Variable Description
0x10 Vector3 position
0x1C Vector3 rotation
0x28 u8 visible
0x29 u8[3] - Padding
0x2C f32 on_length
0x30 f32 off_length
0x34 Color color
0x38 s32 damage
0x3C f32 knockback
0x40 f32 damage_radius