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

From Heavy Iron Modding
Content added Content deleted
(Created page with "<onlyinclude> {{#vardefine:name|game_object:NPCSettings}}<nowiki/> {{#vardefine:version|2}}<nowiki/> {{#vardefine:hash|0x8768334A}}<nowiki/> {{#vardefine:games|BFBB}}<nowiki/>...")
 
No edit summary
Line 4: Line 4:
{{#vardefine:hash|0x8768334A}}<nowiki/>
{{#vardefine:hash|0x8768334A}}<nowiki/>
{{#vardefine:games|BFBB}}<nowiki/>
{{#vardefine:games|BFBB}}<nowiki/>
{{#vardefine:sourcecode|}}<nowiki/>
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zNPCTypeCommon.h zNPCTypeCommon.h]}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
</onlyinclude>
{{AutoDynaInfobox}}
{{AutoDynaInfobox}}

{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 || int (enum?) || '''basisType''' || null
|-
| 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 || enum (en_dupowavmod) || '''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''' ||
|}


{{DynaAssets}}
{{DynaAssets}}

Revision as of 05:21, 28 May 2021

game_object:NPCSettings
Version2
Hash0x8768334A
Games usedBattle for Bikini Bottom
Source codezNPCTypeCommon.h
Offset Type Variable Description
0x00 int (enum?) basisType null
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 enum (en_dupowavmod) 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