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

From Heavy Iron Modding
Content added Content deleted
(format)
Line 8: Line 8:
</onlyinclude>
</onlyinclude>
{{AutoDynaInfobox}}
{{AutoDynaInfobox}}

==Format==

<source lang=cpp>
struct zNPCAssetSwarm : zNPCAssetRATS
{
int32 memberNumber;
float32 spawnRadius;
uint32 attractor;
uint32 repeller;
uint32 flags;
uint32 loopSound;
uint32 oneShotSound;
float32 oneShotSoundMinTime;
float32 oneShotSoundMaxTime;
};
</source>

{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x74 || int32 || '''memberNumber''' ||
|-
| 0x78 || float32 || '''spawnRadius''' ||
|-
| 0x7C || [[AssetID]] || '''attractor''' ||
|-
| 0x80 || [[AssetID]] || '''repeller''' ||
|-
| 0x84 || float32 || '''flags''' ||
|-
| 0x88 || [[AssetID]] || '''loopSound''' ||
|-
| 0x8C || [[AssetID]] || '''oneShotSound''' ||
|-
| 0x90 || uint32 || '''oneShotSoundMinTime''' ||
|-
| 0x94 || uint32 || '''oneShotSoundMaxTime''' ||
|}


{{DynaAssets}}
{{DynaAssets}}

Revision as of 11:57, 19 September 2023

Enemy:RATS:Swarm:Owl
Hash0x544E0BCC
Games usedRatatouille Prototype

Format

struct zNPCAssetSwarm : zNPCAssetRATS
{
    int32 memberNumber;
    float32 spawnRadius;
    uint32 attractor;
    uint32 repeller;
    uint32 flags;
    uint32 loopSound;
    uint32 oneShotSound;
    float32 oneShotSoundMinTime;
    float32 oneShotSoundMaxTime;
};
Offset Type Variable Description
0x74 int32 memberNumber
0x78 float32 spawnRadius
0x7C AssetID attractor
0x80 AssetID repeller
0x84 float32 flags
0x88 AssetID loopSound
0x8C AssetID oneShotSound
0x90 uint32 oneShotSoundMinTime
0x94 uint32 oneShotSoundMaxTime