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

Thing elevation in zDoom

Recommended Posts

Hello all!

Again, I need a little bit of help, as I'm too dumb to figure this out for myself! I have a sector (a teleport to be precise) in a zDoom map which gets elevated 24 units by a script. There's a particle fountain in this sector. However it doesn't follow the sector, instead it stays in its old position. Which action special should I use in the script to make it follow the sector?

Thanks,
Chris

Share this post


Link to post

Give the particle fountain a TID and change its Z height as well when the sector raises.

Share this post


Link to post
Chris Hansen said:

Hello all!

Again, I need a little bit of help, as I'm too dumb to figure this out for myself! I have a sector (a teleport to be precise) in a zDoom map which gets elevated 24 units by a script. There's a particle fountain in this sector. However it doesn't follow the sector, instead it stays in its old position. Which action special should I use in the script to make it follow the sector?

Thanks,
Chris


Particle have the NOBLOCKMAP flag set. If you want the fountain to move with the sector you have to clear this flag through a new DECORATE definition.

For example, for the red particle fountain, define:

ACTOR NewRedParticleFountain : RedParticleFountain 10000
{
	-NOBLOCKMAP
}
If you need a fountain to move down with a sector as well and the fountain is always supposed to be on the ground, add -NOGRAVITY as well.

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
×