Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
marky

DECORATE: Flying Monsters

Recommended Posts

Hi, all!

I have a question again, concerning flying monsters.
I made a new Monster for ZDoom with the DECORATE lump. Everything is ok.
I set the following flags:

MONSTER
+SPAWNFLOAT
+FLOAT

Now, the monster flies, but it only flies at the same height. Is it possible to give it the ability to freely change the flying height like a bird?

And another question:
Is it possible to determine the probability or frequency of an attack? Til now, the monsters flies at you and attacks and attacks until you or the monster is dead. I would like to have it attack and then fly around and come back and attack again.

Thanks for any help.

Marky.

Edit: To delay the attacks you can use
+JUSTATTACKED, i found out. That's really cool!
Any ideas to my other problem? +NOGRAVITY does not change much in the flying height.

Share this post


Link to post

For a flying monster you need +FLOAT and +NOGRAVITY. But the monster only will change height if it has to adjust to its target. If the target is at the same height as the monster it won't float up or down.

Share this post


Link to post
marky said:

Edit: To delay the attacks you can use
+JUSTATTACKED, i found out. That's really cool!
Any ideas to my other problem? +NOGRAVITY does not change much in the flying height.


You could use A_Script to thrust it up and down at random intervals (ThrustThingZ) but you'll have to wait for 64...

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
×