Unlimited sound range
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- Dat wad noob
- Posts: 16
- Joined: Sun Sep 16, 2012 11:21 am
- Location: That one house in Canada
Unlimited sound range
What i mean by this is that i want a specific sound to be heard across the map, kinda like the cyberdemon's sounds.
Re: Unlimited sound range
Three ways to do this.
From [wiki]ACS[/wiki], use [wiki]AmbientSound[/wiki]:
From [wiki]DECORATE[/wiki], use ATTN_NONE in [wiki]A_PlaySound[/wiki]:
From [wiki]DECORATE[/wiki], you can also set the [wiki=Actor_flags#BOSS]BOSS[/wiki] flag, but be aware that this flag also changes other properties about the monster as well.
From [wiki]ACS[/wiki], use [wiki]AmbientSound[/wiki]:
Code: Select all
AmbientSound ("misc/mysound", 127);
Code: Select all
A_PlaySound ("misc/mysound", CHAN_AUTO, 1.0, 0, ATTN_NONE)
- Dat wad noob
- Posts: 16
- Joined: Sun Sep 16, 2012 11:21 am
- Location: That one house in Canada
Re: Unlimited sound range
Thanks alot, man......i dont really understand the wiki all that well....
- Boingo_the_Clown
- Posts: 139
- Joined: Mon Sep 17, 2012 7:25 am
- Location: Canada
- Contact:
Re: Unlimited sound range
Is it possible to set a sound to unlimited range in SNDINFO?
Re: Unlimited sound range
[wiki]SNDINFO#attenuation[/wiki]
- Boingo_the_Clown
- Posts: 139
- Joined: Mon Sep 17, 2012 7:25 am
- Location: Canada
- Contact:
Re: Unlimited sound range
Can you give me an example?
Looking at the wiki page does not help me much.
Looking at the wiki page does not help me much.
Re: Unlimited sound range
fullvolumesound DSVOLUME
$attenuation fullvolumesound 0
$attenuation fullvolumesound 0