Thing type 111, Pop-up Turret , is a stationary enemy that periodically shoots at the player. It is used in Egg Rock Zone Act 2 . Upon spawning, it is retracted into the ground, but it pops up when the player approaches it, shoots once, and moves down, popping up again periodically so long as the player is near it. The Angle of the Thing sets the delay between shots, in tics. An Angle of 0 or less will set it to the default value, which is 69 tics (slightly less than two seconds).
Object type info – MT_POPUPTURRET
Thing type number
111
TURRD1
Object type
MT_POPUPTURRET
SpawnState
S_TURRETLOOK
SeeState
S_TURRETSEE
SeeSound
sfx_None
AttackSound
sfx_trfire
PainState
S_NULL
PainSound
sfx_s3k64
MeleeState
S_NULL
MissileState
S_NULL
DeathState
S_XPLD_FLICKY
XDeathState
S_NULL
DeathSound
sfx_pop
ActiveSound
sfx_None
RaiseState
MT_JETTBULLET
SpawnHealth
1
ReactionTime
0
PainChance
1024
Speed
0
Radius
12*FRACUNIT
Height
64*FRACUNIT
Display offset
0
Mass
100
Damage
0
Flags
MF_ENEMY|MF_SPECIAL|MF_SHOOTABLE
States – MT_POPUPTURRET
State
Sprite prefix
Frame
Frame flags
Duration (tics)
Action
Var1
Var2
Next state
S_TURRETLOOK
SPR_TURR
A
1
A_Look
1
0
S_TURRETPOPDOWN8
S_TURRETSEE
SPR_TURR
A
0
A_FaceTarget
0
0
S_TURRETPOPUP1
S_TURRETPOPUP1
SPR_TURR
B
2
A_Pain
0
0
S_TURRETPOPUP2
S_TURRETPOPUP2
SPR_TURR
C
2
none
0
0
S_TURRETPOPUP3
S_TURRETPOPUP3
SPR_TURR
D
2
none
0
0
S_TURRETPOPUP4
S_TURRETPOPUP4
SPR_TURR
E
2
none
0
0
S_TURRETPOPUP5
S_TURRETPOPUP5
SPR_TURR
F
2
none
0
0
S_TURRETPOPUP6
S_TURRETPOPUP6
SPR_TURR
G
2
none
0
0
S_TURRETPOPUP7
S_TURRETPOPUP7
SPR_TURR
H
2
none
0
0
S_TURRETPOPUP8
S_TURRETPOPUP8
SPR_TURR
I
14
none
0
0
S_TURRETSHOOT
S_TURRETSHOOT
SPR_TURR
I
14
A_JetgShoot
0
0
S_TURRETPOPDOWN1
S_TURRETPOPDOWN1
SPR_TURR
H
2
A_Pain
0
0
S_TURRETPOPDOWN2
S_TURRETPOPDOWN2
SPR_TURR
G
2
none
0
0
S_TURRETPOPDOWN3
S_TURRETPOPDOWN3
SPR_TURR
F
2
none
0
0
S_TURRETPOPDOWN4
S_TURRETPOPDOWN4
SPR_TURR
E
2
none
0
0
S_TURRETPOPDOWN5
S_TURRETPOPDOWN5
SPR_TURR
D
2
none
0
0
S_TURRETPOPDOWN6
S_TURRETPOPDOWN6
SPR_TURR
C
2
none
0
0
S_TURRETPOPDOWN7
S_TURRETPOPDOWN7
SPR_TURR
B
2
none
0
0
S_TURRETPOPDOWN8
S_TURRETPOPDOWN8
SPR_TURR
A
69
A_SetTics
0
1
S_TURRETLOOK
Object type info – MT_JETTBULLET
Thing type number
none
JBULA3A7
Object type
MT_JETTBULLET
SpawnState
S_JETBULLET1
SeeState
S_NULL
SeeSound
sfx_None
AttackSound
sfx_None
PainState
S_NULL
PainSound
sfx_None
MeleeState
S_NULL
MissileState
S_NULL
DeathState
S_XPLD1
XDeathState
S_NULL
DeathSound
sfx_None
ActiveSound
sfx_None
RaiseState
S_NULL
SpawnHealth
1
ReactionTime
32
PainChance
200
Speed
20*FRACUNIT
Radius
4*FRACUNIT
Height
8*FRACUNIT
Display offset
0
Mass
0
Damage
1
Flags
MF_NOBLOCKMAP|MF_MISSILE|MF_NOGRAVITY
States – MT_JETTBULLET
State
Sprite prefix
Frame
Frame flags
Duration (tics)
Action
Var1
Var2
Next state
S_JETBULLET1
SPR_JBUL
A
FF_FULLBRIGHT
1
none
0
0
S_JETBULLET2
S_JETBULLET2
SPR_JBUL
B
FF_FULLBRIGHT
1
none
0
0
S_JETBULLET1