I'm trying to imitate the Maulotaur's stream of fire across the ground. Tell me if I'm headed in the right direction:
Code: Select all
ACTOR Yakotaur : Minotaur 7004
{
MONSTER
HEALTH 1000
DROPITEM ""
SEESOUND "MaulotaurSight"
ATTACKSOUND "MaulotaurHamswing"
PAINSOUND "MaulotaurPain"
DEATHSOUND "MaulotaurDeath"
ACTIVESOUND "MaulotaurActive"
MELEEDAMAGE 75
+FLOORCLIP
+CANBLAST
+ACTIVATEMCROSS
OBITUARY "%o was iced by Paul Bunyan's blue ox!"
states
{
spawn:
YKTR A 5 A_Look
loop
see:
YKTR ABCD 5 A_Chase
Loop
Missile:
YKTR A 0 A_Jump (125,5)
YKTR A 5 A_FaceTarget
YKTR U 0 A_SkullAttack
YKTR U 20 A_MeleeAttack
goto see
YKTR A 0 A_Jump (125,16)
YKTR Y 10 A_FaceTarget
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, -24, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, -20, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, -16, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, -12, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, -8, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, -4, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, 0, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, 4, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, 8, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, 12, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, 16, 1)
YKTR Z 0 A_CustomMissile("IceShard", 52, 0, 20, 1)
YKTR Z 10 A_CustomMissile("IceShard", 52, 0, 24, 1)
Goto See
YKTR V 5 A_FaceTarget
YKTR W 5 A_FaceTarget
YKTR X 2 A_CustomMissile("Icicle", 0, 10, 0, 1)
YKTR X 2 A_CustomMissile("Icicle", 0, 20, 0, 1)
YKTR X 2 A_CustomMissile("Icicle", 0, 30, 0, 1)
YKTR X 2 A_CustomMissile("Icicle", 0, 40, 0, 1)
YKTR X 2 A_CustomMissile("Icicle", 0, 50, 0, 1)
YKTR X 2 A_CustomMissile("Icicle", 0, 60, 0, 1)
YKTR X 2 A_CustomMissile("Icicle", 0, 70, 0, 1)
YKTR X 2 A_CustomMissile("Icicle", 0, 80, 0, 1)
YKTR X 2 A_CustomMissile("Icicle", 0, 90, 0, 1)
YKTR X 2 A_CustomMissile("Icicle", 0, 100, 0, 1)
goto see
Melee:
YKTR V 5 A_FaceTarget
YKTR W 5 A_FaceTarget
YKTR X 5 A_MeleeAttack
Pain:
YKTR E 10 A_Pain
goto see
Death:
YKTR F 5 A_Scream
YKTR G 5
YKTR H 5
YKTR I 5 A_Fall
YKTR J 5
YKTR K 5
YKTR L 5
YKTR M 5
YKTR N 5
YKTR O 5
YKTR P 5
YKTR Q 5
YKTR R 5
YKTR S 5
YKTR T -1
stop
}
}
projectile Icicle 7005
{
Sprite ICIC
Frames "A"
Radius 18
Height 0
+FLOORHUGGER
Speed 0
Damage 30
NoBlockmap
NoGravity
ActivatePCross
ActivateImpact
NoTeleport
DamageType Ice
DoNotHurtShooter
}
I only made one frame for the icicle graphic so far. I know this won't work so far but I don't know how to make the yak just shoot the line of ice and continue on his way while the ice is still forming like the maulotaur can.