EvilEngine/DYNA/effect:Rumble: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
(Created page with "<onlyinclude> {{#vardefine:name|effect:Rumble}}<nowiki/> {{#vardefine:version|3}}<nowiki/> {{#vardefine:hash|0x2A59443A}}<nowiki/> {{#vardefine:games|TSSM Incredibles ROTU}}<n...") |
No edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
{{#vardefine:version|3}}<nowiki/> |
{{#vardefine:version|3}}<nowiki/> |
||
{{#vardefine:hash|0x2A59443A}}<nowiki/> |
{{#vardefine:hash|0x2A59443A}}<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/> |
||
</onlyinclude> |
</onlyinclude> |
||
{{AutoDynaInfobox}} |
{{AutoDynaInfobox}} |
||
==Format== |
|||
<source lang=cpp> |
|||
class effectAsset : public xDynAsset |
|||
{ |
|||
public: |
|||
float time; |
|||
float intensity; |
|||
unsigned int id; |
|||
unsigned char priority; |
|||
unsigned char type; |
|||
unsigned char rumbleInPause; |
|||
unsigned char pad; |
|||
float param1; |
|||
float param2; |
|||
float shakeMagnitude; |
|||
float shakeCycleMax; |
|||
float shakeRotationalMagnitude; |
|||
unsigned char shakeY; |
|||
}; |
|||
</source> |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x10 || f32 || '''time''' || |
|||
|- |
|||
| 0x14 || f32 || '''intensity''' || |
|||
|- |
|||
| 0x18 || u32 || '''id''' || |
|||
|- |
|||
| 0x1C || u8 || '''priority''' || |
|||
|- |
|||
| 0x1D || u8 || '''type''' || |
|||
|- |
|||
| 0x1E || u8 || '''rumbleInPause''' || |
|||
|- |
|||
| 0x1F || u8 || '''pad''' || |
|||
|- |
|||
| 0x20 || f32 || '''param1''' || |
|||
|- |
|||
| 0x24 || f32 || '''param2''' || |
|||
|- |
|||
| 0x28 || f32 || '''shakeMagnitude''' || |
|||
|- |
|||
| 0x2C || f32 || '''shakeCycleMax''' || |
|||
|- |
|||
| 0x30 || f32 || '''shakeRotationalMagnitude''' || |
|||
|- |
|||
| 0x34 || u8 || '''shakeY''' || |
|||
|- |
|||
| 0x35 || u8[3] || null || padding |
|||
|} |
|||
{{DynaAssets}} |
{{DynaAssets}} |
Latest revision as of 01:51, 24 March 2024
effect:Rumble | |
---|---|
Version | 3 |
Hash | 0x2A59443A |
Games used | The SpongeBob SquarePants Movie The Incredibles |
Format
class effectAsset : public xDynAsset
{
public:
float time;
float intensity;
unsigned int id;
unsigned char priority;
unsigned char type;
unsigned char rumbleInPause;
unsigned char pad;
float param1;
float param2;
float shakeMagnitude;
float shakeCycleMax;
float shakeRotationalMagnitude;
unsigned char shakeY;
};
Offset | Type | Variable | Description |
---|---|---|---|
0x10 | f32 | time | |
0x14 | f32 | intensity | |
0x18 | u32 | id | |
0x1C | u8 | priority | |
0x1D | u8 | type | |
0x1E | u8 | rumbleInPause | |
0x1F | u8 | pad | |
0x20 | f32 | param1 | |
0x24 | f32 | param2 | |
0x28 | f32 | shakeMagnitude | |
0x2C | f32 | shakeCycleMax | |
0x30 | f32 | shakeRotationalMagnitude | |
0x34 | u8 | shakeY | |
0x35 | u8[3] | null | padding |