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.

Player sound and their channels

Postby DBThanatos » Mon Oct 30, 2017 3:11 pm

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
DBThanatos
Guns, explosions, gore.
 
Joined: 14 Apr 2006
Location: in "the darkness that lurks in our mind"

Re: Player sound and their channels

Postby comet1337 » Mon Oct 30, 2017 4:59 pm

appears to play on chan_ui, which is a bit unintuitive
User avatar
comet1337
 
Joined: 25 Sep 2015
Location: elsewhere

Re: Player sound and their channels

Postby Blue Shadow » Tue Oct 31, 2017 1:31 am

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

That's not a channel.
User avatar
Blue Shadow
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Player sound and their channels

Postby DBThanatos » Tue Oct 31, 2017 2:00 am

Alrighty! thanks a lot!

Perhaps this could be included in the wiki page for future reference?
User avatar
DBThanatos
Guns, explosions, gore.
 
Joined: 14 Apr 2006
Location: in "the darkness that lurks in our mind"


Return to Scripting

Who is online

Users browsing this forum: No registered users and 1 guest