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

no edit summary
No edit summary
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 8:
</onlyinclude>
{{AutoDynaInfobox}}
 
==Format==
 
<source lang=cpp>
struct zNMEAssetBucketOTron : zNMEAsset
{
uint32 aid_spawnGroup;
en_spawnmode spawnMode;
float32 spawnDelay;
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>
 
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x500x60 || [[AssetID]] || '''grupIDaid_spawnGroup''' || [[GRUP]]
|-
| 0x64 || en_spawnmode || '''spawnMode''' ||
| 0x54 || int || '''WaveFlags''' ||1 = Enemies won't respawn again until all the enemies are defeated. 2 = the buckotron spawns all enemies at once and doesn't spawn anymore until all enemies are defeated. 3 = All enemies spawn at once one time, it continues normally after that
* 0 = CONTINUOUS.
* 1 = WAVES. Enemies won't respawn again until all the enemies are defeated.
* 2 = AMBUSHWAVE. The bucketotron spawns all enemies at once and doesn't spawn anymore until all enemies are defeated.
* 3 = AMBUSHCONT. All enemies spawn at once one time, it continues normally after that
|-
| 0x580x68 || floatf32 || '''SpawnDelayspawnDelay''' || Delay before next spawn
|-
| 0x5C0x6C || ints32 || '''Pausedflg_buckass''' || 0 = Resume, <br>1 = Paused
|-
| 0x600x70 || ints32 || '''MaxEnemySpawnsmaxSpawn''' || Number of Enemies to spawn before becoming inactive
|}