EvilEngine/DYNA/Enemy:SB:BucketOTron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 10:
 
==Format==
 
<source lang=cpp>
struct zNMEAssetBucketOTron : zNMEAsset
Line 18 ⟶ 19:
int32 flg_buckass;
int32 maxSpawn;
};
</source>
 
<source lang=cpp>
enum en_spawnmode
{
NME_SPAWNMODE_CONTINUOUS,
NME_SPAWNMODE_WAVES,
NME_SPAWNMODE_AMBUSHWAVE,
NME_SPAWNMODE_AMBUSHCONT,
NME_SPAWNMODE_NOMORE,
NME_SPAWNMODE_FORCE
};
</source>
Line 24 ⟶ 37:
! Offset !! Type !! Variable !! Description
|-
| 0x500x60 || [[AssetID]] || '''aid_spawnGroup''' || [[GRUP]]
|-
| 0x540x64 || int32en_spawnmode || '''spawnMode''' ||
* 0 = CONTINUOUS.
* 1 = WAVES. Enemies won't respawn again until all the enemies are defeated.
Line 32 ⟶ 45:
* 3 = AMBUSHCONT. All enemies spawn at once one time, it continues normally after that
|-
| 0x580x68 || float32f32 || '''spawnDelay''' || Delay before next spawn
|-
| 0x5C0x6C || int32s32 || '''flg_buckass''' || 0 = Resume, 1 = Paused
|-
| 0x600x70 || int32s32 || '''maxSpawn''' || Number of Enemies to spawn before becoming inactive
|}