EvilEngine/DYNA/game object:flame emitter: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
m (Seil moved page DYNA/game object:flame emitter to EvilEngine/DYNA/game object:flame emitter) |
EnergyDrink (talk | contribs) 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
|-
|
|-
| 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''' ||
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|}
|
Latest revision as of 15:10, 19 September 2023
game_object:flame_emitter | |
---|---|
Version | 4-5 |
Hash | 0xE6120704 |
Games used | The SpongeBob SquarePants Movie The Incredibles |
Format
Version 4 (TSSM - The Incredibles)
class asset_type : public xDynAsset
{
public:
unsigned int flags;
xVec3 loc;
xVec3 dir;
xVec3 scale;
float heat_random;
float damage;
float knockback;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x10 | u32 | 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)
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;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x10 | u32 | flags | 2 = Visible |
0x14 | Vector3 | loc | |
0x20 | Vector3 | dir | |
0x2C | Vector3 | scale | |
0x38 | f32 | heat_random | |
0x3C | f32 | damage | |
0x40 | f32 | damageBoxHeightRatio | |
0x44 | f32 | knockback | |
0x48 | AssetID | soundID | |
0x4C | AssetID | driverID |