SBSPSS/source/enemy/npcdata.cpp

967 lines
16 KiB
C++
Raw Normal View History

2001-02-01 21:23:18 +01:00
/*=========================================================================
npcdata.cpp
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __ENEMY_NPC_H__
#include "enemy\npc.h"
#endif
2001-03-08 21:12:47 +01:00
#ifndef __ENEMY_NPLATFRM_H__
#include "enemy\nplatfrm.h"
#endif
2001-02-07 17:42:13 +01:00
#ifndef __PLAYER_PLAYER_H__
#include "player\player.h"
#endif
2001-02-28 22:05:39 +01:00
#ifndef __ANIM_CLAM_HEADER__
#include <ACTOR_CLAM_ANIM.h>
#endif
2001-04-02 17:52:09 +02:00
#ifndef __ANIM_ANENOMELVL1_HEADER__
#include <ACTOR_ANENOMELVL1_ANIM.h>
#endif
#ifndef __ANIM_BABYOCTOPUS_HEADER__
#include <ACTOR_BABYOCTOPUS_ANIM.h>
#endif
#ifndef __ANIM_CATERPILLAR_HEADER__
#include <ACTOR_CATERPILLAR_ANIM.h>
#endif
#ifndef __ANIM_DUSTDEVIL_HEADER__
#include <ACTOR_DUSTDEVIL_ANIM.h>
#endif
#ifndef __ANIM_EYEBALL_HEADER__
#include <ACTOR_EYEBALL_ANIM.h>
#endif
#ifndef __ANIM_FLAMINGSKULL_HEADER__
#include <ACTOR_FLAMINGSKULL_ANIM.h>
#endif
#ifndef __ANIM_FLYINGDUTCHMAN_HEADER__
#include <ACTOR_FLYINGDUTCHMAN_ANIM.h>
#endif
#ifndef __ANIM_GHOST_HEADER__
#include <ACTOR_GHOST_ANIM.h>
#endif
#ifndef __ANIM_HERMITCRAB_HEADER__
#include <ACTOR_HERMITCRAB_ANIM.h>
#endif
#ifndef __ANIM_IRONDOGFISH_HEADER__
#include <ACTOR_IRONDOGFISH_ANIM.h>
#endif
#ifndef __ANIM_JELLYFISH1_HEADER__
#include <ACTOR_JELLYFISH1_ANIM.h>
#endif
#ifndef __ANIM_PUFFAFISH_HEADER__
#include <ACTOR_PUFFAFISH_ANIM.h>
#endif
#ifndef __ANIM_SHARKMAN_HEADER__
#include <ACTOR_SHARKMAN_ANIM.h>
#endif
#ifndef __ANIM_SKELETALFISH_HEADER__
#include <ACTOR_SKELETALFISH_ANIM.h>
#endif
#ifndef __ANIM_SPIDERCRAB_HEADER__
#include <ACTOR_SPIDERCRAB_ANIM.h>
#endif
#ifndef __ANIM_SQUIDDART_HEADER__
#include <ACTOR_SQUIDDART_ANIM.h>
#endif
#ifndef __ANIM_STOMPER_HEADER__
#include <ACTOR_STOMPER_ANIM.h>
#endif
#ifndef __ANIM_SPIKEYANENOME_HEADER__
#include <ACTOR_SPIKEYANENOME_ANIM.h>
#endif
2001-04-03 17:27:09 +02:00
#ifndef __ANIM_BALLBLOB_HEADER__
#include <ACTOR_BALLBLOB_ANIM.h>
#endif
2001-04-01 22:22:49 +02:00
//#ifndef __ANIM_SHARKSUB_HEADER__
//#include <ACTOR_SHARKSUB_ANIM.h>
//#endif
2001-02-28 22:05:39 +01:00
2001-02-01 21:23:18 +01:00
2001-02-27 22:25:22 +01:00
CNpcFriend::NPC_FRIEND_DATA CNpcFriend::m_data[NPC_FRIEND_UNIT_TYPE_MAX] =
2001-02-01 21:23:18 +01:00
{
{ // NPC_SANDY_CHEEKS
2001-02-27 22:25:22 +01:00
//NPC_FRIEND_INIT_DEFAULT,
//NPC_FRIEND_SENSOR_NONE,
NPC_FRIEND_MOVEMENT_STATIC,
//NPC_FRIEND_MOVEMENT_MODIFIER_NONE,
//NPC_FRIEND_CLOSE_NONE,
//NPC_FRIEND_TIMER_NONE,
2001-02-01 21:23:18 +01:00
true,
3,
128,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-02-01 21:23:18 +01:00
},
2001-02-12 18:46:49 +01:00
{ // NPC_GARY
2001-02-27 22:25:22 +01:00
//NPC_FRIEND_INIT_DEFAULT,
//NPC_FRIEND_SENSOR_NONE,
NPC_FRIEND_MOVEMENT_GARY,
//NPC_FRIEND_MOVEMENT_MODIFIER_NONE,
//NPC_FRIEND_CLOSE_NONE,
//NPC_FRIEND_TIMER_NONE,
2001-02-12 18:46:49 +01:00
false,
3,
2048,
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-02-12 18:46:49 +01:00
},
2001-02-27 22:25:22 +01:00
};
2001-02-12 18:46:49 +01:00
2001-03-08 21:12:47 +01:00
CNpcPlatform::NPC_PLATFORM_DATA CNpcPlatform::m_data[NPC_PLATFORM_TYPE_MAX] =
{
{ // NPC_LINEAR_PLATFORM
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-03-08 21:12:47 +01:00
NPC_PLATFORM_MOVEMENT_FIXED_PATH,
3,
//512,
2048,
true,
DAMAGE__NONE,
0,
2001-03-31 00:43:35 +02:00
NPC_PLATFORM_INFINITE_LIFE,
2001-03-08 21:12:47 +01:00
},
{ // NPC_CIRCULAR_PLATFORM
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-03-08 21:12:47 +01:00
NPC_PLATFORM_MOVEMENT_FIXED_CIRCULAR,
3,
128,
2001-03-31 00:43:35 +02:00
true,
DAMAGE__NONE,
0,
NPC_PLATFORM_INFINITE_LIFE,
},
{ // NPC_BUBBLE_PLATFORM
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-03-31 00:43:35 +02:00
NPC_PLATFORM_MOVEMENT_BUBBLE,
3,
128,
true,
2001-03-08 21:12:47 +01:00
DAMAGE__NONE,
0,
2001-03-31 00:43:35 +02:00
NPC_PLATFORM_FINITE_LIFE,
2001-03-08 21:12:47 +01:00
},
};
2001-02-27 22:25:22 +01:00
CNpcEnemy::NPC_DATA CNpcEnemy::m_data[NPC_UNIT_TYPE_MAX] =
{
2001-02-01 21:23:18 +01:00
{ // NPC_FALLING_ITEM
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-14 17:28:57 +01:00
NPC_INIT_DEFAULT,
2001-02-01 21:23:18 +01:00
NPC_SENSOR_FALLING_ITEM_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_FALLING_ITEM_FALL,
NPC_TIMER_NONE,
false,
2001-02-14 17:23:54 +01:00
8,
2001-02-01 21:23:18 +01:00
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__SQUASH_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_FISH_HOOK
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_FISH_HOOK,
NPC_SENSOR_FISH_HOOK_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_FISH_HOOK_RISE,
NPC_TIMER_NONE,
false,
3,
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__NONE,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_DUST_DEVIL
2001-04-02 17:52:09 +02:00
ACTORS_DUSTDEVIL_SBK,
ANIM_DUSTDEVIL_TWIST,
2001-02-01 21:23:18 +01:00
NPC_INIT_RETURNING_HAZARD,
NPC_SENSOR_NONE,
NPC_MOVEMENT_RETURNING_HAZARD,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
3,
2048,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__NONE,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
ANIM_DUSTDEVIL_TWIST,
2001-02-01 21:23:18 +01:00
},
{ // NPC_PENDULUM
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_PENDULUM,
NPC_SENSOR_NONE,
NPC_MOVEMENT_PENDULUM,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
3,
2048,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_FIREBALL
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_FIREBALL,
NPC_SENSOR_NONE,
NPC_MOVEMENT_FIREBALL,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
40,
2048,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__BURN_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_SAW_BLADE
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_RETURNING_HAZARD,
NPC_SENSOR_NONE,
NPC_MOVEMENT_RETURNING_HAZARD,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
3,
2048,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
2001-02-23 22:35:11 +01:00
{ // NPC_SMALL_JELLYFISH_1
2001-04-02 17:52:09 +02:00
ACTORS_JELLYFISH1_SBK,
ANIM_JELLYFISH1_IDLE,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_JELLYFISH_USER_CLOSE,
NPC_MOVEMENT_FIXED_PATH,
NPC_MOVEMENT_MODIFIER_JELLYFISH,
NPC_CLOSE_JELLYFISH_EVADE,
NPC_TIMER_NONE,
false,
3,
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__SHOCK_ENEMY,
2001-03-05 22:29:44 +01:00
16,
2001-04-02 17:52:09 +02:00
ANIM_JELLYFISH1_SWIM,
2001-02-01 21:23:18 +01:00
},
2001-02-23 22:35:11 +01:00
{ // NPC_SMALL_JELLYFISH_2
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
2001-02-23 22:35:11 +01:00
NPC_SENSOR_JELLYFISH_USER_CLOSE,
2001-02-01 21:23:18 +01:00
NPC_MOVEMENT_FIXED_PATH,
2001-02-23 22:35:11 +01:00
NPC_MOVEMENT_MODIFIER_JELLYFISH,
NPC_CLOSE_JELLYFISH_EVADE,
2001-02-01 21:23:18 +01:00
NPC_TIMER_NONE,
false,
3,
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__SHOCK_ENEMY,
2001-03-05 22:29:44 +01:00
32,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_ANEMONE_1
2001-04-02 17:52:09 +02:00
ACTORS_ANENOMELVL1_SBK,
ANIM_ANENOMELVL1_BEND,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_ANEMONE_USER_CLOSE,
2001-04-02 17:52:09 +02:00
NPC_MOVEMENT_STATIC_CYCLE_ANIM,
2001-02-01 21:23:18 +01:00
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_ANEMONE_1_ATTACK,
NPC_TIMER_NONE,
false,
0,
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__NONE,
2001-03-05 22:29:44 +01:00
16,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_ANEMONE_2
2001-04-02 17:52:09 +02:00
ACTORS_SPIKEYANENOME_SBK,
ANIM_SPIKEYANENOME_BODY,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_ANEMONE_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_ANEMONE_2_ATTACK,
NPC_TIMER_NONE,
false,
0,
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__NONE,
2001-03-05 22:29:44 +01:00
32,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
2001-02-08 16:34:18 +01:00
{ // NPC_ANEMONE_3
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-08 16:34:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_ANEMONE_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_ANEMONE_3_ATTACK,
NPC_TIMER_NONE,
false,
0,
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__NONE,
2001-03-05 22:29:44 +01:00
48,
2001-04-02 17:52:09 +02:00
0,
2001-02-08 16:34:18 +01:00
},
2001-02-12 16:37:31 +01:00
{ // NPC_SKELETAL_FISH
2001-04-02 17:52:09 +02:00
ACTORS_SKELETALFISH_SBK,
ANIM_SKELETALFISH_IDLE,
2001-02-12 16:37:31 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_GENERIC_USER_VISIBLE,
NPC_MOVEMENT_FIXED_PATH,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_SKELETAL_FISH_ATTACK,
NPC_TIMER_NONE,
false,
3,
2048,
false,
2001-03-05 22:11:51 +01:00
DAMAGE__BITE_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
ANIM_SKELETALFISH_SWIM,
2001-02-12 16:37:31 +01:00
},
2001-03-01 17:48:45 +01:00
{ // NPC_CLAM_JUMP
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-03-01 17:48:45 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_CLAM_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_CLAM_JUMP_ATTACK,
NPC_TIMER_NONE,
false,
0,
128,
false,
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-03-01 17:48:45 +01:00
},
{ // NPC_CLAM_STATIC
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_CLAM_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
2001-03-01 17:48:45 +01:00
NPC_CLOSE_CLAM_SNAP_ATTACK,
2001-02-01 21:23:18 +01:00
NPC_TIMER_NONE,
2001-02-28 18:34:45 +01:00
false,
2001-02-01 21:23:18 +01:00
0,
128,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_SQUID_DART
2001-04-02 17:52:09 +02:00
ACTORS_SQUIDDART_SBK,
ANIM_SQUIDDART_SWIM,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_NONE,
NPC_MOVEMENT_FIXED_PATH,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
5,
256,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
16,
2001-04-02 17:52:09 +02:00
ANIM_SQUIDDART_SWIM,
2001-02-01 21:23:18 +01:00
},
{ // NPC_FISH_FOLK
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-05 15:55:11 +01:00
NPC_INIT_FISH_FOLK,
2001-02-01 21:23:18 +01:00
NPC_SENSOR_NONE,
2001-02-22 16:39:38 +01:00
NPC_MOVEMENT_FIXED_PATH_WALK,
2001-02-05 15:55:11 +01:00
NPC_MOVEMENT_MODIFIER_FISH_FOLK,
2001-02-01 21:23:18 +01:00
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
2,
2001-02-05 15:55:11 +01:00
2048,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__NONE,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_PRICKLY_BUG
2001-04-02 17:52:09 +02:00
ACTORS_CATERPILLAR_SBK,
ANIM_CATERPILLAR_CRAWL,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_NONE,
2001-02-22 17:56:27 +01:00
NPC_MOVEMENT_FIXED_PATH_WALK,
2001-02-01 21:23:18 +01:00
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
1,
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__POISON_ENEMY,
2001-03-05 22:29:44 +01:00
48,
2001-04-02 17:52:09 +02:00
ANIM_CATERPILLAR_CRAWL,
2001-02-01 21:23:18 +01:00
},
2001-03-26 18:44:45 +02:00
{ // NPC_SEA_SNAKE
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_NONE,
NPC_MOVEMENT_FIXED_PATH,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
3,
256,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__SHOCK_ENEMY,
2001-03-05 22:29:44 +01:00
56,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_PUFFA_FISH
2001-04-02 17:52:09 +02:00
ACTORS_PUFFAFISH_SBK,
ANIM_PUFFAFISH_PUFFUPIDLE,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_NONE,
NPC_MOVEMENT_FIXED_PATH,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
2,
128,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
64,
2001-04-02 17:52:09 +02:00
ANIM_PUFFAFISH_SWIM,
2001-02-01 21:23:18 +01:00
},
{ // NPC_ANGLER_FISH
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_NONE,
NPC_MOVEMENT_FIXED_PATH,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
1,
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__NONE,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_HERMIT_CRAB
2001-04-02 17:52:09 +02:00
ACTORS_HERMITCRAB_SBK,
ANIM_HERMITCRAB_IDLE,
NPC_INIT_HERMIT_CRAB,
NPC_SENSOR_HERMIT_CRAB_USER_CLOSE,
2001-02-22 17:56:27 +01:00
NPC_MOVEMENT_FIXED_PATH_WALK,
2001-02-01 21:23:18 +01:00
NPC_MOVEMENT_MODIFIER_NONE,
2001-04-02 17:52:09 +02:00
NPC_CLOSE_HERMIT_CRAB_ATTACK,
2001-02-01 21:23:18 +01:00
NPC_TIMER_NONE,
false,
2,
128,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
ANIM_HERMITCRAB_SCUTTLE,
2001-02-01 21:23:18 +01:00
},
{ // NPC_MINE
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_NONE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
0,
128,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_BOOGER_MONSTER
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_BOOGER_MONSTER_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_BOOGER_MONSTER_ATTACK,
NPC_TIMER_NONE,
false,
0,
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__BITE_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_SPIDER_CRAB
2001-04-02 17:52:09 +02:00
ACTORS_SPIDERCRAB_SBK,
ANIM_SPIDERCRAB_IDLE,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_SPIDER_CRAB_USER_CLOSE,
2001-02-22 17:56:27 +01:00
NPC_MOVEMENT_FIXED_PATH_WALK,
2001-02-01 21:23:18 +01:00
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_SPIDER_CRAB_ATTACK,
NPC_TIMER_NONE,
false,
3,
2048,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__PINCH_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
ANIM_SPIDERCRAB_RUN,
2001-02-01 21:23:18 +01:00
},
{ // NPC_EYEBALL
2001-04-02 17:52:09 +02:00
ACTORS_EYEBALL_SBK,
ANIM_EYEBALL_STALK,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_EYEBALL_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_EYEBALL_ATTACK,
NPC_TIMER_NONE,
false,
0,
128,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
32,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_BABY_OCTOPUS
2001-04-02 17:52:09 +02:00
ACTORS_BABYOCTOPUS_SBK,
ANIM_BABYOCTOPUS_IDLE,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
2001-04-03 17:14:53 +02:00
NPC_SENSOR_OCTOPUS_USER_CLOSE,
2001-02-01 21:23:18 +01:00
NPC_MOVEMENT_FIXED_PATH,
2001-02-06 17:14:16 +01:00
NPC_MOVEMENT_MODIFIER_OCTOPUS,
2001-04-03 17:14:53 +02:00
NPC_CLOSE_OCTOPUS_ATTACK,
2001-02-01 21:23:18 +01:00
NPC_TIMER_NONE,
false,
2,
2001-02-06 17:14:16 +01:00
512,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
ANIM_BABYOCTOPUS_SWIM,
2001-02-01 21:23:18 +01:00
},
{ // NPC_ZOMBIE_FISH_FOLK
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-05 17:20:38 +01:00
NPC_INIT_FISH_FOLK,
2001-02-01 21:23:18 +01:00
NPC_SENSOR_NONE,
2001-02-22 17:56:27 +01:00
NPC_MOVEMENT_FIXED_PATH_WALK,
2001-02-05 17:20:38 +01:00
NPC_MOVEMENT_MODIFIER_FISH_FOLK,
2001-02-01 21:23:18 +01:00
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
2,
2001-02-05 17:20:38 +01:00
2048,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
16,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_NINJA_STARFISH
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_NINJA_STARFISH_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_GENERIC_USER_SEEK,
NPC_TIMER_NONE,
false,
3,
64,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
16,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_GHOST
2001-04-02 17:52:09 +02:00
ACTORS_GHOST_SBK,
ANIM_GHOST_IDLE,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_NONE,
NPC_MOVEMENT_FIXED_PATH,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
2,
128,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
ANIM_GHOST_MOVE,
2001-02-01 21:23:18 +01:00
},
{ // NPC_GHOST_PIRATE
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_GHOST_PIRATE,
NPC_SENSOR_GHOST_PIRATE_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_GHOST_PIRATE_ATTACK,
NPC_TIMER_NONE,
false,
0,
128,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
160,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_FLAMING_SKULL
2001-04-02 17:52:09 +02:00
ACTORS_FLAMINGSKULL_SBK,
ANIM_FLAMINGSKULL_MOVE,
2001-02-06 20:29:35 +01:00
NPC_INIT_FLAMING_SKULL,
NPC_SENSOR_FLAMING_SKULL_USER_CLOSE,
2001-04-02 17:52:09 +02:00
NPC_MOVEMENT_STATIC_CYCLE_ANIM,
2001-02-01 21:23:18 +01:00
NPC_MOVEMENT_MODIFIER_NONE,
2001-02-06 20:29:35 +01:00
NPC_CLOSE_FLAMING_SKULL_ATTACK,
2001-02-01 21:23:18 +01:00
NPC_TIMER_NONE,
false,
2001-02-06 20:29:35 +01:00
3,
2001-02-01 21:23:18 +01:00
128,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__BURN_ENEMY,
2001-03-05 22:29:44 +01:00
16,
2001-04-02 17:52:09 +02:00
ANIM_FLAMINGSKULL_MOVE,
2001-02-01 21:23:18 +01:00
},
{ // NPC_SHARK_MAN
2001-04-02 17:52:09 +02:00
ACTORS_SHARKMAN_SBK,
ANIM_SHARKMAN_IDLE1_,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
2001-02-12 16:37:31 +01:00
NPC_SENSOR_GENERIC_USER_VISIBLE,
2001-04-02 22:35:43 +02:00
NPC_MOVEMENT_SHARK_MAN,
2001-02-01 21:23:18 +01:00
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_SHARK_MAN_ATTACK,
NPC_TIMER_NONE,
false,
3,
2048,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__BITE_ENEMY,
2001-03-05 22:29:44 +01:00
16,
2001-04-02 17:52:09 +02:00
ANIM_SHARKMAN_RUN,
2001-02-01 21:23:18 +01:00
},
{ // NPC_OIL_BLOB
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_DEFAULT,
NPC_SENSOR_OIL_BLOB_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_GENERIC_USER_SEEK,
NPC_TIMER_NONE,
false,
3,
64,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_SKULL_STOMPER
2001-04-02 17:52:09 +02:00
ACTORS_STOMPER_SBK,
ANIM_STOMPER_CRUSH,
2001-02-01 21:23:18 +01:00
NPC_INIT_SKULL_STOMPER,
NPC_SENSOR_SKULL_STOMPER_USER_CLOSE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_SKULL_STOMPER_ATTACK,
NPC_TIMER_NONE,
false,
2001-02-14 17:04:41 +01:00
5,
2001-02-01 21:23:18 +01:00
2048,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__SQUASH_ENEMY,
2001-03-05 22:29:44 +01:00
0,
2001-04-02 17:52:09 +02:00
ANIM_STOMPER_CRUSH,
2001-02-01 21:23:18 +01:00
},
{ // NPC_MOTHER_JELLYFISH
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_MOTHER_JELLYFISH,
NPC_SENSOR_NONE,
NPC_MOVEMENT_MOTHER_JELLYFISH,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_MOTHER_JELLYFISH_ATTACK,
NPC_TIMER_NONE,
false,
3,
256,
2001-02-09 20:44:36 +01:00
false,
2001-03-05 22:11:51 +01:00
DAMAGE__SHOCK_ENEMY,
2001-03-05 22:29:44 +01:00
256,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
{ // NPC_SUB_SHARK
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-02-01 21:23:18 +01:00
NPC_INIT_SUB_SHARK,
NPC_SENSOR_NONE,
NPC_MOVEMENT_SUB_SHARK,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_SUB_SHARK_ATTACK,
NPC_TIMER_NONE,
false,
3,
2001-03-13 18:01:35 +01:00
2048,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
256,
2001-04-02 17:52:09 +02:00
0,
2001-02-01 21:23:18 +01:00
},
2001-03-26 18:44:45 +02:00
{ // NPC_PARASITIC_WORM
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-03-26 18:44:45 +02:00
NPC_INIT_PARASITIC_WORM,
NPC_SENSOR_NONE,
NPC_MOVEMENT_PARASITIC_WORM,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
3,
128,
false,
DAMAGE__HIT_ENEMY,
256,
2001-04-02 17:52:09 +02:00
0,
2001-03-26 18:44:45 +02:00
},
2001-02-01 21:23:18 +01:00
{ // NPC_FLYING_DUTCHMAN
2001-04-02 17:52:09 +02:00
ACTORS_FLYINGDUTCHMAN_SBK,
ANIM_FLYINGDUTCHMAN_FLY,
2001-02-01 21:23:18 +01:00
NPC_INIT_FLYING_DUTCHMAN,
NPC_SENSOR_NONE,
NPC_MOVEMENT_FLYING_DUTCHMAN,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_FLYING_DUTCHMAN_ATTACK,
NPC_TIMER_NONE,
false,
3,
2001-03-13 21:45:51 +01:00
2048,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
256,
2001-04-02 17:52:09 +02:00
ANIM_FLYINGDUTCHMAN_FLY,
2001-02-01 21:23:18 +01:00
},
{ // NPC_IRON_DOGFISH
2001-04-02 17:52:09 +02:00
ACTORS_IRONDOGFISH_SBK,
ANIM_IRONDOGFISH_IDLE,
2001-02-01 21:23:18 +01:00
NPC_INIT_IRON_DOGFISH,
NPC_SENSOR_IRON_DOGFISH_USER_CLOSE,
NPC_MOVEMENT_IRON_DOGFISH,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_IRON_DOGFISH_ATTACK,
NPC_TIMER_NONE,
false,
3,
2048,
2001-02-09 20:44:36 +01:00
false,
2001-02-27 17:59:50 +01:00
DAMAGE__HIT_ENEMY,
2001-03-05 22:29:44 +01:00
256,
2001-04-02 17:52:09 +02:00
ANIM_IRONDOGFISH_WALK,
2001-02-01 21:23:18 +01:00
},
2001-03-26 18:44:45 +02:00
{ // NPC_PARASITIC_WORM_SEGMENT
2001-04-01 22:22:49 +02:00
ACTORS_CLAM_SBK,
ANIM_CLAM_SIDESNAP,
2001-03-26 18:44:45 +02:00
NPC_INIT_PARASITIC_WORM_SEGMENT,
NPC_SENSOR_NONE,
NPC_MOVEMENT_STATIC,
NPC_MOVEMENT_MODIFIER_NONE,
NPC_CLOSE_NONE,
NPC_TIMER_NONE,
false,
3,
2048,
false,
DAMAGE__HIT_ENEMY,
256,
2001-04-02 17:52:09 +02:00
0,
2001-03-26 18:44:45 +02:00
},
2001-04-02 21:21:46 +02:00
{ // NPC_BALL_BLOB
2001-04-03 17:27:09 +02:00
ACTORS_BALLBLOB_SBK,
ANIM_BALLBLOB_WOBBLE,
NPC_INIT_DEFAULT,
NPC_SENSOR_NONE,
2001-04-03 20:32:24 +02:00
NPC_MOVEMENT_BALL_BLOB,
2001-04-02 21:21:46 +02:00
NPC_MOVEMENT_MODIFIER_NONE,
2001-04-03 17:27:09 +02:00
NPC_CLOSE_NONE,
2001-04-02 21:21:46 +02:00
NPC_TIMER_NONE,
false,
3,
128,
false,
DAMAGE__BURN_ENEMY,
16,
2001-04-03 17:27:09 +02:00
ANIM_BALLBLOB_WOBBLE,
2001-04-02 21:21:46 +02:00
},
};
CNpcEnemy::NPC_UNIT_TYPE CNpcEnemy::mapEditConvertTable[NPC_UNIT_TYPE_MAX] =
{
NPC_SMALL_JELLYFISH_1,
NPC_SMALL_JELLYFISH_2,
NPC_MOTHER_JELLYFISH,
NPC_ANEMONE_1,
NPC_ANEMONE_2,
NPC_ANEMONE_3,
NPC_BABY_OCTOPUS,
NPC_BALL_BLOB,
NPC_BOOGER_MONSTER,
NPC_PRICKLY_BUG,
NPC_CLAM_JUMP,
NPC_CLAM_STATIC,
NPC_EYEBALL,
NPC_FLAMING_SKULL,
NPC_FLYING_DUTCHMAN,
NPC_GHOST,
NPC_PARASITIC_WORM,
NPC_HERMIT_CRAB,
NPC_IRON_DOGFISH,
NPC_PUFFA_FISH,
NPC_SEA_SNAKE,
NPC_SHARK_MAN,
NPC_SUB_SHARK,
NPC_SKELETAL_FISH,
NPC_SPIDER_CRAB,
NPC_SQUID_DART,
NPC_SKULL_STOMPER,
NPC_DUST_DEVIL,
NPC_FALLING_ITEM,
NPC_FISH_HOOK,
NPC_PENDULUM,
NPC_FIREBALL,
NPC_SAW_BLADE,
NPC_FISH_FOLK,
NPC_ANGLER_FISH,
NPC_MINE,
NPC_ZOMBIE_FISH_FOLK,
NPC_NINJA_STARFISH,
NPC_GHOST_PIRATE,
NPC_OIL_BLOB,
NPC_PARASITIC_WORM_SEGMENT,
};