EvilEngine/DYNA/game object:flame emitter: Difference between revisions

no edit summary
No edit summary
 
Line 1:
<onlyinclude>
{{#vardefine:name|game_object:flame_emitter}}<nowiki/>
{{#vardefine:version|4-5}}<nowiki/>
{{#vardefine:hash|0xE6120704}}<nowiki/>
{{#vardefine:games|TSSM Incredibles ROTU RatProto}}<nowiki/>
Line 8:
</onlyinclude>
{{AutoDynaInfobox}}
 
==Format==
===Version 4 (TSSM - The Incredibles)===
<source lang=cpp>
class asset_type : public xDynAsset
{
public:
unsigned int flags;
xVec3 loc;
xVec3 dir;
xVec3 scale;
float heat_random;
float damage;
float knockback;
};
</source>
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x000x10 || intu32 || '''flags''' || 2 = Visible
|-
| 0x14 || [[Vector3]] || '''loc''' ||
|-
| 0x20 || [[Vector3]] || '''dir''' ||
|-
| 0x2C || [[Vector3]] || '''scale''' ||
|-
| 0x38 || f32 || '''heat_random''' ||
|-
| 0x3C || f32 || '''damage''' ||
|-
| 0x40 || f32 || '''knockback''' ||
|}
 
===Version 5 (ROTU - Ratatouille Prototype)===
<source lang=cpp>
struct asset_type : xDynAsset
{
unsigned int flags;
xVec3 loc;
xVec3 dir;
xVec3 scale;
float heat_random;
float damage;
float damageBoxHeightRatio;
float knockback;
unsigned int soundID;
unsigned int driverID;
};
</source>
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x10 || u32 || '''flags''' || 2 = Visible
|-
| 0x14 || [[Vector3]] || '''loc''' ||
|-
| 0x20 || [[Vector3]] || '''dir''' ||
|-
| 0x2C || [[Vector3]] || '''scale''' ||
|-
| 0x040x38 || [[Vector3]]f32 || '''positionheat_random''' ||
|-
| 0x100x3C || [[Vector3]]f32 || '''directiondamage''' ||
|-
| 0x1C0x40 || [[Vector3]]f32 || '''scaledamageBoxHeightRatio''' ||
|-
| 0x280x44 || floatf32 || heat_random'''knockback''' ||
|-
| 0x1C0x48 || float[[AssetID]] || damage'''soundID''' ||
|-
| 0x200x4C || float[[AssetID]] || knockback'''driverID''' ||
|}
 
2,079

edits