EvilEngine/DYNA/game object:NPCSettings: Difference between revisions

From Heavy Iron Modding
Content added Content deleted
No edit summary
No edit summary
Line 12: Line 12:
! Offset !! Type !! Variable !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x00 || int (enum?) || '''basisType''' || null
| 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 || enum (en_dupowavmod) || '''duploWaveMode''' ||
| 0x10 || uint || '''duploWaveMode''' ||
* 0 - NPCP_DUPOWAVE_CONTINUOUS (Continuously respawn enemies)
* 0 = NPCP_DUPOWAVE_CONTINUOUS (Continuously respawn enemies)
* 1 - NPCP_DUPOWAVE_DISCREET (Respawn enemies after all die, also fires Duplotron_WaveComplete event )
* 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
Version2
Hash0x8768334A
Games usedBattle for Bikini Bottom
Source codezNPCTypeCommon.h
Offset Type Variable Description
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
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
  • 0 = NPCP_DUPOWAVE_CONTINUOUS (Continuously respawn enemies)
  • 1 = NPCP_DUPOWAVE_DISCREET (Respawn enemies after all die, also fires Duplotron_WaveComplete event )
0x14 float duploSpawnDelay

Delay between spawning

0x18 int duploSpawnLifeMax