EvilEngine/DYNA/camera:preset: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
m (Seil moved page DYNA/camera:preset to EvilEngine/DYNA/camera:preset) |
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 |
||
|- |
|- |
||
| |
| 0x10 || u32 || '''flags''' || |
||
|- |
|- |
||
| |
| 0x14 || u32 || '''checkpoint''' || |
||
|- |
|- |
||
| |
| 0x18 || [[Vector3]] || '''loc''' || |
||
|- |
|- |
||
| |
| 0x24 || f32 || '''dir.yaw''' || |
||
|- |
|- |
||
| |
| 0x28 || f32 || '''dir.pitch''' || |
||
|- |
|- |
||
| |
| 0x2C || f32 || '''dir.roll''' || |
||
|} |
|} |
||
Latest revision as of 13:54, 19 September 2023
camera:preset | |
---|---|
Hash | 0xCDAB9190 |
Games used | The Incredibles 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 |