EvilEngine/DYNA/game object:NPCSettings: Difference between revisions
< EvilEngine | DYNA
Content added Content deleted
No edit summary |
EnergyDrink (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| 0x00 || |
| 0x00 || uint || '''basisType''' || |
||
* 0 = NPCP_BASIS_NONE |
|||
* 1 = NPCP_BASIS_EVILROBOT |
|||
* 2 = NPCP_BASIS_FRIENDLYROBOT |
|||
* 3 = NPCP_BASIS_LOVINGCITIZEN |
|||
* 4 = NPCP_BASIS_GRUMPYCITIZEN |
|||
|- |
|- |
||
| 0x04 || byte || '''allowDetect''' || |
| 0x04 || byte || '''allowDetect''' || |
||
Line 34: | Line 39: | ||
| 0x0F || byte || '''assumeFOV''' || |
| 0x0F || byte || '''assumeFOV''' || |
||
|- |
|- |
||
| 0x10 || |
| 0x10 || uint || '''duploWaveMode''' || |
||
* 0 |
* 0 = NPCP_DUPOWAVE_CONTINUOUS (Continuously respawn enemies) |
||
* 1 |
* 1 = NPCP_DUPOWAVE_DISCREET (Respawn enemies after all die, also fires Duplotron_WaveComplete event ) |
||
|- |
|- |
||
| 0x14 || float || '''duploSpawnDelay''' || |
| 0x14 || float || '''duploSpawnDelay''' || |
Revision as of 11:35, 29 June 2022
game_object:NPCSettings | |
---|---|
Version | 2 |
Hash | 0x8768334A |
Games used | Battle for Bikini Bottom |
Source code | zNPCTypeCommon.h |
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | uint | basisType |
|
0x04 | byte | allowDetect | |
0x05 | byte | allowPatrol | |
0x06 | byte | allowWander | |
0x07 | byte | reduceCollide | |
0x08 | byte | useNavSplines | |
0x09 | byte[3] | pad | padding |
0x0C | byte | allowChase | |
0x0D | byte | allowAttack | |
0x0E | byte | assumeLOS | |
0x0F | byte | assumeFOV | |
0x10 | uint | duploWaveMode |
|
0x14 | float | duploSpawnDelay |
Delay between spawning |
0x18 | int | duploSpawnLifeMax |