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

Ambient sound?


Is there a limit for how many questions one can ask? ;-D

1. I wonder how to make a sound that is played periodically on a mapspot?

2. How do i make the sound play periodically that can be heard over the whole map?

Thank you!

Share this post

Link to post

4 answers to this question

Recommended Posts

  • 0

Another option: Design an actor that plays the sound at different instances using state jumps rather than a script.

Share this post

Link to post
  • 0
21 hours ago, Nevander said:

No limit as far as I know.


1. You need to set up a MapSpot and use a script to do PlaySound with the loop parameter set. https://zdoom.org/wiki/PlaySound

2. You need to set up a MapSpot and use a script to do AmbientSound in an actual loop (like while(TRUE)) with a delay of the length of the sound so that it loops. https://zdoom.org/wiki/AmbientSound

Remember to add the SNDINFO lump in the map for the AmbientSound :p

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