Garry's Mod Wiki

CHAN

Description

Enumerations used by EmitSound and sound.Add.

Values

CHAN_REPLACE-1Used when playing sounds through console commands.
CHAN_AUTO0Automatic channel
CHAN_WEAPON1Channel for weapon sounds
CHAN_VOICE2Channel for NPC voices
CHAN_ITEM3Channel for items ( Health kits, etc )
CHAN_BODY4Clothing, ragdoll impacts, footsteps, knocking/pounding/punching etc.
CHAN_STREAM5Stream channel from the static or dynamic area
CHAN_STATIC6A constant/background sound that doesn't require any reaction.

This channel allows same sounds files to play multiple times without cutting out.
CHAN_VOICE27TF2s Announcer dialogue channel
CHAN_VOICE_BASE8Channels 8-135 (128 channels) are allocated for player voice chat

This channel allows same sounds files to play multiple times without cutting out.
CHAN_USER_BASE136Channels from this and onwards are allocated to game code

Page Links


Special Pages


Wikis

?

Render Time: 65ms

DB GetPage 40
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 11