EvilEngine/DYNA/effect:smoke emitter: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
{{#vardefine:version|1}}<nowiki/>
{{#vardefine:version|1}}<nowiki/>
{{#vardefine:hash|0x0903FBB9}}<nowiki/>
{{#vardefine:hash|0x0903FBB9}}<nowiki/>
{{#vardefine:games|TSSM Incredibles ROTU}}<nowiki/>
{{#vardefine:games|TSSM Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
Line 10: Line 10:


==Format==
==Format==

<source lang=cpp>
struct asset_type : xDynAsset
{
uint32 flags;
_class_5 region;
uint32 texture;
uint16 texture_rows;
uint16 texture_columns;
float32 rate;
float32 life_min;
float32 life_max;
float32 size_min;
float32 size_max;
float32 vel_min;
float32 vel_max;
float32 growth;
xVec3 vel_dir;
float32 vel_dir_vary;
float32 wind;
xColor_tag color_birth;
xColor_tag color_death;
};
</source>

{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x00 || int || '''flags''' ||
| 0x00 || uint || '''flags''' ||
|-
|-
| 0x04 || int || '''attach_to''' ||
| 0x04 || [[AssetID]] || '''attach_to''' ||
|-
|-
| 0x08 || [[Vector3]] || '''position''' ||
| 0x08 || [[Vector3]] || '''loc''' ||
|-
|-
| 0x14 || [[Vector3]] || '''direction''' ||
| 0x14 || [[Vector3]] || '''dir''' ||
|-
|-
| 0x20 || [[Vector3]] || '''scale''' ||
| 0x20 || [[Vector3]] || '''scale''' ||
|-
|-
| 0x2C || [[Asset ID]] || [[RWTX]] ||
| 0x2C || [[AssetID]] || '''texture''' ||
|-
|-
| 0x30 || short || '''texture_rows''' ||
| 0x30 || ushort || '''texture_rows''' ||
|-
|-
| 0x32 || short || '''texture_columns''' ||
| 0x32 || ushort || '''texture_columns''' ||
|-
|-
| 0x34 || float || '''rate''' ||
| 0x34 || float || '''rate''' ||
Line 76: Line 51:
| 0x64 || float || '''wind''' ||
| 0x64 || float || '''wind''' ||
|-
|-
| 0x68 || short || '''unknown''' ||
| 0x68 || [[Color]] || '''color_birth''' ||
|-
| 0x6A || short || '''unknown''' ||
|-
| 0x6C || short || '''unknown''' ||
|-
|-
| 0x6E || short || '''unknown''' ||
| 0x6C || [[Color]] || '''color_death''' ||
|}
|}



Latest revision as of 22:39, 15 September 2022

effect:smoke_emitter
Version1
Hash0x0903FBB9
Games usedThe SpongeBob SquarePants Movie

The Incredibles
Rise of the Underminer

Ratatouille Prototype

Format

Offset Type Variable Description
0x00 uint flags
0x04 AssetID attach_to
0x08 Vector3 loc
0x14 Vector3 dir
0x20 Vector3 scale
0x2C AssetID texture
0x30 ushort texture_rows
0x32 ushort texture_columns
0x34 float rate
0x38 float life_min
0x3C float life_max
0x40 float size_min
0x44 float size_max
0x48 float vel_min
0x4C float vel_max
0x50 float growth
0x54 Vector3 vel_dir Velocity Direction?
0x60 float vel_dir_vary
0x64 float wind
0x68 Color color_birth
0x6C Color color_death