Actor OttoWS : QCDE_MonsterBig
{   Tag "Otto Giftmacher"
	
    Health 600
    Radius 20
    Height 64
    Speed 12
    Mass 1000
    PainChance 25
    Monster 
    +FLOORCLIP
	+DONTHURTSPECIES
	+THRUSPECIES
	DropItem "Hourglass" 50
	Species "Nazi"
    SeeSound "Otto/See"
    PainSound "Trans/Pain"
    DeathSound "Otto/Death"
    Obituary "%o rode Otto's rocket."
    HitObituary "%o rode Otto's rocket."
    States
    {
    Idle:
        OTTO AB 8 A_Look
        Loop
    See:
        OTTO ABCD 6 A_Chase
        Loop
    Missile:
        OTTO E 8 A_FaceTarget
        OTTO F 2 Bright A_CustomMissile ("WolfRocket", 32, 10, 0, 0, 0)
        OTTO E 8 A_FaceTarget
        OTTO F 2 Bright A_CustomMissile ("WolfRocket", 32, 10, 0, 0, 0)
        OTTO F 6 A_CPosRefire
        Goto See
    Pain:
        OTTO H 6 A_Pain
        Goto See
    DeathChecksDone:
        OTTO I 8 A_Scream
        OTTO J 8
        OTTO K 6 A_Fall
	Death.Corpse:
        OTTO L -1
        Stop
	XDeathChecksDone:
	    TNT1 A 0 A_PlaySound("quake2/Misc/GibExplosion")
        TNT1 A 0 A_SpawnItemEx("GibDropperMediumBig",0,0,28,0,0,0,0,SXF_NOCHECKPOSITION|SXF_USEBLOODCOLOR)
        Goto DeathChecksDone
    Raise:
	    TNT1 A 0 ACS_NamedExecuteAlways("QCDE_DamageTracker",0,1)
        OTTO LKJI 6
        Goto See
    }
}

Actor WolfRocket 
{
  Radius 6
  Height 16
  Speed 15
  FastSpeed 20
  Damage 12
  SeeSound "Missile/Fire"
  DeathSound "Missile/Explo"
  DamageType "RocketDamage"
  Projectile
  +Randomize
  States
  {
  Spawn:
    WRCK A 1 Bright A_SpawnItem ("WolfRocketSmoke", 0, 0, 0, 0)
    loop
  Death:
    WEXP A 8 
    WEXP B 6
    WEXP C 4
    stop
  }
}

ACTOR WolfRocketSmoke
{
  RenderStyle Translucent
  Alpha 0.4
  VSpeed 1
  +NOBLOCKMAP 
  +NOCLIP 
  +NOGRAVITY 
  +DONTSPLASH
  +NOTELEPORT
  States
  {
  Spawn:
    WSMK ABCD 5
    Stop
  }
}