EvilEngine/DYNA/effect:Flamethrower: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
 
Line 8:
</onlyinclude>
{{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
|-
| 0x000x10 || [[Vector3]] || '''position''' ||
|-
| 0x0C0x1C || [[Vector3]] || '''rotation''' ||
|-
| 0x180x28 || charu8 || '''visible''' ||
|-
| 0x190x29 || charu8[3] || '''padding'''- || Padding
|-
| 0x1C0x2C || float f32|| '''on_length''' ||
|-
| 0x200x30 || floatf32 || '''off_length''' ||
|-
| 0x240x34 || [[Color]] || '''color''' ||
|-
| 0x280x38 || ints32 || '''damage''' ||
|-
| 0x2C0x3C || floatf32 || '''knockback''' ||
|-
| 0x300x40 || floatf32 || '''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