EvilEngine/DYNA/camera:preset: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
 
Line 3: Line 3:
{{#vardefine:version|}}<nowiki/>
{{#vardefine:version|}}<nowiki/>
{{#vardefine:hash|0xCDAB9190}}<nowiki/>
{{#vardefine:hash|0xCDAB9190}}<nowiki/>
{{#vardefine:games|Incredibles}}<nowiki/>
{{#vardefine:games|Incredibles ROTU RatProto}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
Line 10: Line 10:


==Format==
==Format==
Unused in Rise of the Underminer and Ratatouille but is still supported.

<source lang=cpp>
<source lang=cpp>
struct asset_type : xDynAsset
struct asset_type : xDynAsset
Line 29: Line 29:
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x00 || uint32 || '''flags''' ||
| 0x10 || u32 || '''flags''' ||
|-
|-
| 0x04 || uint32 || '''checkpoint''' ||
| 0x14 || u32 || '''checkpoint''' ||
|-
|-
| 0x08 || [[Vector3]] || '''loc''' ||
| 0x18 || [[Vector3]] || '''loc''' ||
|-
|-
| 0x14 || float32 || '''dir.yaw''' ||
| 0x24 || f32 || '''dir.yaw''' ||
|-
|-
| 0x18 || float32 || '''dir.pitch''' ||
| 0x28 || f32 || '''dir.pitch''' ||
|-
|-
| 0x1C || float32 || '''dir.roll''' ||
| 0x2C || f32 || '''dir.roll''' ||
|}
|}



Latest revision as of 13:54, 19 September 2023

camera:preset
Hash0xCDAB9190
Games usedThe Incredibles

Rise of the Underminer

Ratatouille Prototype

Format

Unused in Rise of the Underminer and Ratatouille but is still supported.

struct asset_type : xDynAsset
{
	uint32 flags;
	uint32 checkpoint;
	xVec3 loc;
	struct
	{
		float32 yaw;
		float32 pitch;
		float32 roll;
	} dir;
};
Offset Type Variable Description
0x10 u32 flags
0x14 u32 checkpoint
0x18 Vector3 loc
0x24 f32 dir.yaw
0x28 f32 dir.pitch
0x2C f32 dir.roll