Thing type 126, Crushstacean, is a red crab enemy used in Deep Sea Zone, both underwater and on land. It slowly walks from side to side within a small territory, and stops walking when a player is nearby. This enemy has a spiked claw that extends quickly to punch nearby players. It can also punch mines that are in its path, sending them toward its target.
The Crushstacean's claw pivots to face an approaching player, functioning like a damaging shield, though the punch attack can be strafed around to dodge, leaving the enemy open to attack while it reels its claw back in. The claw can also be jumped over, as it has no vertical movement at all.
Adding the Ambush flag will reverse the direction it starts to patrol in, going left then right, instead of right then left.
Object type info – MT_CRUSHSTACEAN
|
|
Thing type number
|
126
|
CRABA0
|
|
Object type
|
MT_CRUSHSTACEAN
|
|
Sprite name prefix
|
CRAB
|
|
SpawnState
|
S_CRUSHSTACEAN_ROAM1
|
|
SeeState
|
S_NULL
|
|
SeeSound
|
sfx_None
|
|
AttackSound
|
sfx_s3k6b
|
|
PainState
|
S_NULL
|
|
PainSound
|
sfx_None
|
|
MeleeState
|
S_NULL
|
|
MissileState
|
S_CRUSHSTACEAN_PUNCH1
|
|
DeathState
|
S_XPLD_FLICKY
|
|
XDeathState
|
S_NULL
|
|
DeathSound
|
sfx_pop
|
|
ActiveSound
|
sfx_None
|
|
RaiseState
|
S_NULL
|
|
SpawnHealth
|
1
|
|
ReactionTime
|
32
|
|
PainChance
|
0
|
|
Speed
|
8
|
|
Radius
|
24*FRACUNIT
|
|
Height
|
32*FRACUNIT
|
|
Display offset
|
0
|
|
Mass
|
0
|
|
Damage
|
0
|
|
Flags
|
MF_ENEMY|MF_SPECIAL|MF_SHOOTABLE
|
|
States – MT_CRUSHSTACEAN
|
State
|
Sprite prefix
|
Frame
|
Duration (tics)
|
Action
|
Var 1
|
Var 2
|
Next state
|
Full brightness?
|
Translucency
|
S_CRUSHSTACEAN_ROAM1
|
CRAB
|
A
|
3
|
A_CrushstaceanWalk
|
0
|
S_CRUSHSTACEAN_ROAMPAUSE
|
S_CRUSHSTACEAN_ROAM2
|
No
|
0%
|
S_CRUSHSTACEAN_ROAM2
|
CRAB
|
B
|
3
|
A_CrushstaceanWalk
|
0
|
S_CRUSHSTACEAN_ROAMPAUSE
|
S_CRUSHSTACEAN_ROAM3
|
No
|
0%
|
S_CRUSHSTACEAN_ROAM3
|
CRAB
|
A
|
3
|
A_CrushstaceanWalk
|
0
|
S_CRUSHSTACEAN_ROAMPAUSE
|
S_CRUSHSTACEAN_ROAM4
|
No
|
0%
|
S_CRUSHSTACEAN_ROAM4
|
CRAB
|
C
|
3
|
A_CrushstaceanWalk
|
0
|
S_CRUSHSTACEAN_ROAMPAUSE
|
S_CRUSHSTACEAN_ROAM1
|
No
|
0%
|
S_CRUSHSTACEAN_ROAMPAUSE
|
CRAB
|
A
|
40
|
none
|
0
|
0
|
S_CRUSHSTACEAN_ROAM1
|
No
|
0%
|
S_CRUSHSTACEAN_PUNCH1
|
CRAB
|
A
|
10
|
none
|
0
|
0
|
S_CRUSHSTACEAN_PUNCH2
|
No
|
0%
|
S_CRUSHSTACEAN_PUNCH2
|
CRAB
|
A
|
-1
|
A_CrushstaceanPunch
|
0
|
0
|
S_CRUSHSTACEAN_ROAMPAUSE
|
No
|
0%
|
Object type info – MT_CRUSHCLAW
|
|
Thing type number
|
None
|
CRABD3D7
|
|
Object type
|
MT_CRUSHCLAW
|
|
Sprite name prefix
|
CRAB
|
|
SpawnState
|
S_CRUSHCLAW_AIM
|
|
SeeState
|
S_NULL
|
|
SeeSound
|
sfx_None
|
|
AttackSound
|
sfx_s3k6b
|
|
PainState
|
S_NULL
|
|
PainSound
|
sfx_None
|
|
MeleeState
|
S_NULL
|
|
MissileState
|
S_CRUSHCLAW_OUT
|
|
DeathState
|
S_XPLD1
|
|
XDeathState
|
S_NULL
|
|
DeathSound
|
sfx_pop
|
|
ActiveSound
|
sfx_s3kd2l
|
|
RaiseState
|
(statenum_t)MT_CRUSHCHAIN
|
|
SpawnHealth
|
1
|
|
ReactionTime
|
16
|
|
PainChance
|
0
|
|
Speed
|
600
|
|
Radius
|
22*FRACUNIT
|
|
Height
|
24*FRACUNIT
|
|
Display offset
|
0
|
|
Mass
|
(sfx_s3k49<<8)
|
|
Damage
|
0
|
|
Flags
|
MF_PAIN|MF_NOGRAVITY|MF_NOCLIPHEIGHT
|
|
States – MT_CRUSHCLAW
|
State
|
Sprite prefix
|
Frame
|
Duration (tics)
|
Action
|
Var 1
|
Var 2
|
Next state
|
Full brightness?
|
Translucency
|
S_CRUSHCLAW_AIM
|
CRAB
|
D
|
1
|
A_CrushclawAim
|
40
|
20
|
S_CRUSHCLAW_AIM
|
No
|
0%
|
S_CRUSHCLAW_OUT
|
CRAB
|
D
|
1
|
A_CrushclawLaunch
|
0
|
S_CRUSHCLAW_STAY
|
S_CRUSHCLAW_OUT
|
No
|
0%
|
S_CRUSHCLAW_STAY
|
CRAB
|
D
|
10
|
none
|
0
|
0
|
S_CRUSHCLAW_IN
|
No
|
0%
|
S_CRUSHCLAW_IN
|
CRAB
|
D
|
1
|
A_CrushclawLaunch
|
1
|
S_CRUSHCLAW_WAIT
|
S_CRUSHCLAW_IN
|
No
|
0%
|
S_CRUSHCLAW_WAIT
|
CRAB
|
D
|
37
|
none
|
0
|
0
|
S_CRUSHCLAW_AIM
|
No
|
0%
|
Object type info – MT_CRUSHCHAIN
|
|
Thing type number
|
None
|
CRABE0
|
|
Object type
|
MT_CRUSHCHAIN
|
|
Sprite name prefix
|
CRAB
|
|
SpawnState
|
S_CRUSHCHAIN
|
|
SeeState
|
S_NULL
|
|
SeeSound
|
sfx_None
|
|
AttackSound
|
sfx_None
|
|
PainState
|
S_NULL
|
|
PainSound
|
sfx_None
|
|
MeleeState
|
S_NULL
|
|
MissileState
|
S_NULL
|
|
DeathState
|
S_NULL
|
|
XDeathState
|
S_NULL
|
|
DeathSound
|
sfx_None
|
|
ActiveSound
|
sfx_None
|
|
RaiseState
|
S_NULL
|
|
SpawnHealth
|
1
|
|
ReactionTime
|
0
|
|
PainChance
|
0
|
|
Speed
|
0
|
|
Radius
|
0
|
|
Height
|
0
|
|
Display offset
|
0
|
|
Mass
|
0
|
|
Damage
|
0
|
|
Flags
|
MF_NOTHINK|MF_NOBLOCKMAP|MF_NOCLIP|MF_NOCLIPHEIGHT|MF_NOGRAVITY
|
|
States – MT_CRUSHCHAIN
|
State
|
Sprite prefix
|
Frame
|
Duration (tics)
|
Action
|
Var 1
|
Var 2
|
Next state
|
Full brightness?
|
Translucency
|
S_CRUSHCHAIN
|
CRAB
|
E
|
-1
|
none
|
0
|
0
|
S_NULL
|
No
|
0%
|