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

From Heavy Iron Modding
Content added Content deleted
No edit summary
(New info)
Line 8: Line 8:
</onlyinclude>
</onlyinclude>
{{AutoDynaInfobox}}
{{AutoDynaInfobox}}

==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 || '''unknown''' ||
| 0x00 || int || '''flags''' ||
|-
|-
| 0x04 || int || '''unknown''' ||
| 0x04 || int || '''attach_to''' ||
|-
|-
| 0x08 || [[Vector3]] || '''position''' ||
| 0x08 || [[Vector3]] || '''position''' ||
|-
|-
| 0x14 || float || '''unknown''' ||
| 0x14 || [[Vector3]] || '''direction''' ||
|-
|-
| 0x18 || float || '''unknown''' ||
| 0x18 || [[Vector3]] || '''scale''' ||
|-
|-
| 0x1C || float || '''unknown''' ||
| 0x1C || float || '''unknown''' ||
Line 32: Line 58:
| 0x2C || [[Asset ID]] || [[RWTX]] ||
| 0x2C || [[Asset ID]] || [[RWTX]] ||
|-
|-
| 0x30 || short || '''unknown''' ||
| 0x30 || short || '''texture_rows''' ||
|-
|-
| 0x32 || short || '''unknown''' ||
| 0x32 || short || '''texture_columns''' ||
|-
|-
| 0x34 || float || '''unknown''' ||
| 0x34 || float || '''rate''' ||
|-
|-
| 0x38 || float || '''unknown''' ||
| 0x38 || float || '''life_min''' ||
|-
|-
| 0x3C || float || '''unknown''' ||
| 0x3C || float || '''life_max''' ||
|-
|-
| 0x40 || float || '''unknown''' ||
| 0x40 || float || '''size_min''' ||
|-
|-
| 0x44 || float || '''unknown''' ||
| 0x44 || float || '''size_max''' ||
|-
|-
| 0x48 || float || '''unknown''' ||
| 0x48 || float || '''vel_min''' ||
|-
|-
| 0x4C || float || '''unknown''' ||
| 0x4C || float || '''vel_max''' ||
|-
|-
| 0x50 || float || '''unknown''' ||
| 0x50 || float || '''growth''' ||
|-
|-
| 0x54 || float || '''unknown''' ||
| 0x54 || [[Vector3]] || '''vel_dir''' || Velocity Direction?
|-
|-
| 0x58 || float || '''unknown''' ||
| 0x60 || float || '''vel_dir_vary''' ||
|-
|-
| 0x5C || float || '''unknown''' ||
| 0x64 || float || '''wind''' ||
|-
| 0x60 || float || '''unknown''' ||
|-
| 0x64 || float || '''unknown''' ||
|-
|-
| 0x68 || short || '''unknown''' ||
| 0x68 || short || '''unknown''' ||

Revision as of 04:55, 16 July 2021

effect:smoke_emitter
Version1
Hash0x0903FBB9
Games usedThe SpongeBob SquarePants Movie

The Incredibles

Rise of the Underminer

Format

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;
};
Offset Type Variable Description
0x00 int flags
0x04 int attach_to
0x08 Vector3 position
0x14 Vector3 direction
0x18 Vector3 scale
0x1C float unknown
0x20 float unknown
0x24 float unknown
0x28 float unknown
0x2C Asset ID RWTX
0x30 short texture_rows
0x32 short 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 short unknown
0x6A short unknown
0x6C short unknown
0x6E short unknown