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

Automatic ambient sound?

Recommended Posts

Iss possible to make automatic ambient sound?
I mean water or nukage sound will play automatically after load map?
Give to water,lava,nukage and atc. texures his own sound only by using a script? I hope you understand what I mean and excuse my english
Thanks

Share this post


Link to post

Yes, it's possible.

How you do it depends on the port you're targeting, though. For vanilla you'll have to sacrifice a monster to dehacked so as to create an actor that will repeatedly call some sound playing codepointer (like A_Pain).

On the other hand, with something like ZDoom, you have better and more powerful ways to create ambient sounds.

Share this post


Link to post
aurelianus said:

Iss possible to make automatic ambient sound?
I mean water or nukage sound will play automatically after load map?
Give to water,lava,nukage and atc. texures his own sound only by using a script? I hope you understand what I mean and excuse my english
Thanks


Well, with ACS you can make an AmbientSound script, but you will need to get a custom sound and put it in your wad, and have it defined in the SNDINFO lump of your wad, (if you want a lava effect you do lava/sndnamehere or whatever you want/ sound name) then you type something like this in your acs script.



script 1 OPEN
{
AmbientSound("prefix/sound name", 127);
}

While that gets it playing, the only problem is that the sound will play everywhere. I do not know any other way to do ambient sounds.

Share this post


Link to post

Or simply create an ACS Script that executes an Ambient sound defined in SNDINFO after player enters the level .

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
×