Mask center (Sound shader keyword)

From modwiki

Jump to: navigation, search
Image:D3square_bg.png The information on this page is specific to Doom 3.

Contents

Description

The mask_center keywork only allows sound from the shader to be outbut through the center surround sound speaker in a 5.1 setup.

Usage

mask_center

Example

ship_engine_rumble
{
	mindistance 100
	maxdistance 1000
	volume 10
	looping
	mask_center
	shakes .1
	sound/last_stand/loop_rumble_center_b.wav
}

Notes

When this is in use, sound only comes from that channel when 5.1 surround is used. If you use 2 channel (stereo) sound the channel will be muted and this sound will not be played.

Image:Q4square_25.png Note: Quake 4 only:
Quake 4 uses center to do the same thing.
Personal tools
Main
id Tech 5