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

no edit summary
No edit summary
No edit summary
 
(4 intermediate revisions by 3 users not shown)
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/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</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 || '''unknownflags''' || 2 = Visible
|-
| 0x040x14 || [[Vector3]] || '''positionloc''' ||
|-
| 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 || floatu32 || Unknown'''flags''' || 2 = Visible
|-
| 0x14 || float[[Vector3]] || Unknown'''loc''' ||
|-
| 0x180x20 || float[[Vector3]] || Unknown'''dir''' ||
|-
| 0x1C0x2C || float[[Vector3]] || Unknown'''scale''' ||
|-
| 0x200x38 || floatf32 || Unknown'''heat_random''' ||
|-
| 0x240x3C || floatf32 || Unknown'''damage''' ||
|-
| 0x280x40 || floatf32 || Unknown'''damageBoxHeightRatio''' ||
|-
| 0x2C0x44 || floatf32 || Unknown'''knockback''' ||
|-
| 0x300x48 || float[[AssetID]] || Unknown'''soundID''' ||
|-
| 0x340x4C || float[[AssetID]] || Unknown'''driverID''' ||
|}
 
2,079

edits