EvilEngine/DYNA/effect:Rumble: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
m (Seil moved page DYNA/effect:Rumble to EvilEngine/DYNA/effect:Rumble) |
No edit summary |
||
Line 8: | Line 8: | ||
</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" |
{| class="wikitable" |
||
! Offset !! Type !! Variable !! Description |
! 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 |
||
|} |
|} |
||
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 |