Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Urthar

Bouncing monsters in ZDoom ports.

Recommended Posts

So I created a merrily bouncing blob of death in MBF dehacked, with the +DROPOFF +FLOAT + BOUNCE flags, and it works fine in PrBoom+ and Eternity.

But in ZDoom derived ports it acts differently. It seems to lose all horizontal momentum once it starts bouncing, it also fails to jump up ledges. In Zdoom's favor, it does use it's alert sound, which it fails to do in the other ports.

I had a go at writing some Decorate code to try to fix it, and it transverses high ledges now, but it doesn't bounce much, if at all:

ACTOR FormlessSpawn replaces CommanderKeen
{
Health 80
Radius 16
Height 80
Mass 200
Speed 12
Monster
MaxStepHeight 256
+FLOORCLIP
+FLOAT
+DROPOFF
+MBFBOUNCER
SeeSound "dog/sight"
Obituary "%o was slimed by a Spawn."
states
{
Spawn:
KEEN AB 12 A_Look
Loop
See:
KEEN C 1 A_Chase
KEEN C 1 A_PlaySound ("dog/active")
KEEN CDDDEEEFFFGGG 1 A_Chase
Loop
Melee:
KEEN CD 3 A_FaceTarget
KEEN E 3 A_CustomMeleeAttack(random(10, 20), "dog/attack")
KEEN FG 3
Goto See
Death:
KEEN H 7
KEEN I 7 BRIGHT A_XScream
KEEN J 7 BRIGHT A_Explode
KEEN K 7 A_NoBlocking
KEEN L 7
KEEN M -1
Stop
}
}


If anyone can help, I'd be grateful.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×