Classes:BossBrain

From ZDoom Wiki

Jump to: navigation, search
Boss brain
Actor type Monster Game
DoomEd Number 88 Class Name BossBrain

Classes: BossBrain

This actor is used to represent the exposed brain behind the hole in the Icon of Sin's skull. As an easter-egg from id Software, its sprites represent the severed head of John Romero on a pike.

DECORATE definition

ACTOR BossBrain 88
{
  Game Doom
  Health 250
  Mass 10000000
  PainChance 255
  +SOLID +SHOOTABLE
  +NOICEDEATH
  +OLDRADIUSDMG
  PainSound "brain/pain"
  DeathSound "brain/death"
  States
  {
  BrainExplode:
    MISL BC 10 Bright
    MISL D 10 A_BrainExplode
    Stop
  Spawn:
    BBRN A -1
    Stop
  Pain:
    BBRN B 36 A_BrainPain
    Goto Spawn
  Death:
    BBRN A 100 A_BrainScream
    BBRN AA 10
    BBRN A -1 A_BrainDie
    Stop
  }
}

note: A_BrainScream and A_BrainExplode spawn a Rocket and modify it so it results in a projectile like this:

actor BossRocket : Rocket
{
  states
  {
  Spawn:
    MISL BC 10 bright
    MISL D 10 bright A_BrainExplode
    stop
  }
}
Personal tools