EvilEngine/DYNA/game object:NPCSettings: Difference between revisions
< EvilEngine | DYNA
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/>...") |
m (Seil moved page DYNA/game object:NPCSettings to EvilEngine/DYNA/game object:NPCSettings) |
||
(2 intermediate revisions by 2 users not shown) | |||
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 || 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''' || |
|||
|} |
|||
{{DynaAssets}} |
{{DynaAssets}} |
Latest revision as of 22:39, 15 September 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 |