Player sound and their channels

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
DBThanatos
Posts: 3101
Joined: Fri Apr 14, 2006 3:17 pm
Location: in "the darkness that lurks in our mind"

Player sound and their channels

Post by DBThanatos »

I found this list for the player sounds and when they play (https://zdoom.org/wiki/Player_sounds) however, it doesnt say in which channels they play.

Im doing some trickery with the land and grunt sounds, but i cant figure out in which channel they play, they dont seem to be either in VOICE or BODY. Any idea here?
User avatar
comet1337
Posts: 876
Joined: Fri Sep 25, 2015 3:48 am
Location: elsewhere

Re: Player sound and their channels

Post by comet1337 »

appears to play on chan_ui, which is a bit unintuitive
Blue Shadow
Posts: 5032
Joined: Sun Nov 14, 2010 12:59 am

Re: Player sound and their channels

Post by Blue Shadow »

According to the source code, *grunt is played on CHAN_VOICE while *land is played on CHAN_AUTO.
comet1337 wrote:appears to play on chan_ui, which is a bit unintuitive
[wiki=Sound_channels]That's not a channel[/wiki].
User avatar
DBThanatos
Posts: 3101
Joined: Fri Apr 14, 2006 3:17 pm
Location: in "the darkness that lurks in our mind"

Re: Player sound and their channels

Post by DBThanatos »

Alrighty! thanks a lot!

Perhaps this could be included in the wiki page for future reference?

Return to “Scripting”