Classes:CeilingTurret

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
Ceiling turret
Actor type Monster Game MiniStrifeLogoIcon.png
DoomEd Number 27 Class Name CeilingTurret
Conversation ID 122 Puzzle Item ID N/A


Classes: CeilingTurret
A turret... on the ceiling. Can be tricky to fight early on in the game due to its respectable amount of health and being relatively tricky to aim at, but they'll only bother you if the alarm has been sounded. They can't hit you if you are directly under them, and it is possible to take them out with the punch dagger in many cases without taking a hit.

DECORATE definition

ACTOR CeilingTurret
{
  Health 125
  Speed 0
  PainChance 0
  Mass 10000000
  Monster
  -SOLID
  -CANPASS
  +AMBUSH
  +SPAWNCEILING
  +NOGRAVITY
  +NOBLOOD
  +NOSPLASHALERT
  +DONTFALL
  MinMissileChance 150
  DeathSound "turret/death"
  States
  {
  Spawn:
    TURT A 5 A_TurretLook
    Loop
  See:
    TURT A 2 A_Chase
    Loop
  Missile:
  Pain:
    TURT B 4 Slow A_ShootGun
    TURT D 3 Slow A_SentinelRefire
    TURT A 4 A_SentinelRefire
    Loop
  Death:
    BALL A 6 Bright A_Scream
    BALL BCDE 6 Bright
    TURT C -1
    Stop
  }
}