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

Temporary soundblocking

Recommended Posts

I'm having a brain fart. How can I have monsters blocked from sound in a location, and have the monsters able to be awoken by sound from the same location later?

Share this post


Link to post

If you're developing for something that doesn't share ZDoom's behavior in this regard, about the only thing you can do is teleport monsters into sectors where the player most likely already fired. As soon as they enter the sector (which is permanently tagged as having been fired in by the player), they'll wake up. Obviously, you'd need a conveyor belt or some other method of externally moving the monsters.

Share this post


Link to post

It could be done quite easily with a simple closed door connecting two dummy sectors and opening at a certain moment later on.

Let's say your monsters are in sector A and the player is in sector B somewhere else, and both sectors would be separated by sound-blocking lines.

First thing to do would be to create a dummy sector somewhere and join it with sector A. Then draw another dummy sector next to the first one and connect the two of them with a closed door. Have the second dummy sector joined with sector B.
Now the monsters in sector A can't be awakened because of the sound-blocking lines and the closed door ( which prevents the sound from going through, as you already know ).
Have that hidden door open whenever you feel like it, and tadaa, the monsters should react to gunfire sound from sector A.

( If this isn't clear enough, I could provide an example wad, but I don't think it's necessary )

Share this post


Link to post

Yep, that's what I was looking for! thank you [WH]-Wilou84!

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  
×