EvilEngine/DYNA/effect:Rumble: Difference between revisions

no edit summary
No edit summary
 
Line 8:
</onlyinclude>
{{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
|-
| 0x000x10 || floatf32 || '''time''' ||
|-
| 0x040x14 || floatf32 || '''intensity''' ||
|-
| 0x080x18 || floatu32 || '''id''' ||
|-
| 0x0C0x1C || byteu8 || '''priority''' ||
|-
| 0x0D0x1D || byteu8 || '''type''' ||
|-
| 0x0E0x1E || byteu8 || '''rumbleInPause''' ||
|-
| 0x0F0x1F || byteu8 || '''paddingpad''' ||
|-
| 0x100x20 || floatf32 || '''param1''' ||
|-
| 0x140x24 || floatf32 || '''param2''' ||
|-
| 0x180x28 || floatf32 || '''shakeMagnitude''' ||
|-
| 0x1C0x2C || floatf32 || '''shakeCycleMax''' ||
|-
| 0x200x30 || floatf32 || '''shakeRotationalMagnitude''' ||
|-
| 0x240x34 || charu8 || '''shakeY''' ||
|-
| 0x250x35 || charu8[3] || '''padding'''null || padding
|}