EvilEngine/DYNA/effect:Flamethrower: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
mNo edit summary
No edit summary
 
(One intermediate revision by one other user 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"
{| class="wikitable"
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x00 || [[Vector3]] || '''position''' ||
| 0x10 || [[Vector3]] || '''position''' ||
|-
|-
| 0x0C || [[Vector3]] || '''rotation''' ||
| 0x1C || [[Vector3]] || '''rotation''' ||
|-
|-
| 0x18 || char || '''visible''' ||
| 0x28 || u8 || '''visible''' ||
|-
|-
| 0x19 || char[3] || '''padding''' ||
| 0x29 || u8[3] || - || Padding
|-
|-
| 0x1C || float || '''on_length''' ||
| 0x2C || f32|| '''on_length''' ||
|-
|-
| 0x20 || float || '''off_length''' ||
| 0x30 || f32 || '''off_length''' ||
|-
|-
| 0x24 || [[Color]] || '''color''' ||
| 0x34 || [[Color]] || '''color''' ||
|-
|-
| 0x28 || int || '''damage''' ||
| 0x38 || s32 || '''damage''' ||
|-
|-
| 0x2C || float || '''knockback''' ||
| 0x3C || f32 || '''knockback''' ||
|-
|-
| 0x30 || float || '''damage_radius''' ||
| 0x40 || f32 || '''damage_radius''' ||
|}
|}



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