EvilEngine/DYNA/Enemy:RATS:Swarm:Bug: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
(format)
No edit summary
 
Line 14: Line 14:
struct zNPCAssetSwarm : zNPCAssetRATS
struct zNPCAssetSwarm : zNPCAssetRATS
{
{
int32 memberNumber;
int memberNumber;
float32 spawnRadius;
float spawnRadius;
uint32 attractor;
unsigned int attractor;
uint32 repeller;
unsigned int repeller;
uint32 flags;
unsigned int flags;
uint32 loopSound;
unsigned int loopSound;
uint32 oneShotSound;
unsigned int oneShotSound;
float32 oneShotSoundMinTime;
float oneShotSoundMinTime;
float32 oneShotSoundMaxTime;
float oneShotSoundMaxTime;
};
};
</source>
</source>
Line 29: Line 29:
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x74 || int32 || '''memberNumber''' ||
| 0x74 || s32 || '''memberNumber''' ||
|-
|-
| 0x78 || float32 || '''spawnRadius''' ||
| 0x78 || f32 || '''spawnRadius''' ||
|-
|-
| 0x7C || [[AssetID]] || '''attractor''' ||
| 0x7C || [[AssetID]] || '''attractor''' ||
Line 37: Line 37:
| 0x80 || [[AssetID]] || '''repeller''' ||
| 0x80 || [[AssetID]] || '''repeller''' ||
|-
|-
| 0x84 || float32 || '''flags''' ||
| 0x84 || u32 || '''flags''' ||
|-
|-
| 0x88 || [[AssetID]] || '''loopSound''' ||
| 0x88 || [[AssetID]] || '''loopSound''' ||
Line 43: Line 43:
| 0x8C || [[AssetID]] || '''oneShotSound''' ||
| 0x8C || [[AssetID]] || '''oneShotSound''' ||
|-
|-
| 0x90 || uint32 || '''oneShotSoundMinTime''' ||
| 0x90 || f32 || '''oneShotSoundMinTime''' ||
|-
|-
| 0x94 || uint32 || '''oneShotSoundMaxTime''' ||
| 0x94 || f32 || '''oneShotSoundMaxTime''' ||
|}
|}



Latest revision as of 17:15, 19 September 2023

Enemy:RATS:Swarm:Bug
Hash0x544AA34C
Games usedRatatouille Prototype

Format

struct zNPCAssetSwarm : zNPCAssetRATS
{
    int memberNumber;
    float spawnRadius;
    unsigned int attractor;
    unsigned int repeller;
    unsigned int flags;
    unsigned int loopSound;
    unsigned int oneShotSound;
    float oneShotSoundMinTime;
    float oneShotSoundMaxTime;
};
Offset Type Variable Description
0x74 s32 memberNumber
0x78 f32 spawnRadius
0x7C AssetID attractor
0x80 AssetID repeller
0x84 u32 flags
0x88 AssetID loopSound
0x8C AssetID oneShotSound
0x90 f32 oneShotSoundMinTime
0x94 f32 oneShotSoundMaxTime