| AddAmbientSoundHook | Hooks all played ambient sounds. |
| AddNormalSoundHook | Hooks all played normal sounds. |
| ATTN_TO_SNDLEVEL | Converts an attenuation value to a sound level.
This function is from the HL2SDK. |
| EmitAmbientGameSound | Emits an ambient game sound.
Game sounds are found in a game's scripts/game_sound.txt or other files
referenced from it
Note that if a game sound has a rndwave section, one of them will be returned
at random. |
| EmitAmbientSound | Emits an ambient sound. |
| EmitGameSound | Emits a game sound to a list of clients.
Game sounds are found in a game's scripts/game_sound.txt or other files
referenced from it
Note that if a game sound has a rndwave section, one of them will be returned
at random. |
| EmitGameSoundToAll | Wrapper to emit game sound to all clients.
Game sounds are found in a game's scripts/game_sound.txt or other files
referenced from it
Note that if a game sound has a rndwave section, one of them will be returned
at random. |
| EmitGameSoundToClient | Wrapper to emit a game sound to one client.
Game sounds are found in a game's scripts/game_sound.txt or other files
referenced from it
Note that if a game sound has a rndwave section, one of them will be returned
at random. |
| EmitSentence | Emits a sentence to a list of clients. |
| EmitSound | Emits a sound to a list of clients. |
| EmitSoundEntry | Emits a sound or game sound to a list of clients using the latest version of the engine sound interface.
This native is only available in engines that are greater than or equal to Portal 2. |
| EmitSoundToAll | Wrapper to emit sound to all clients. |
| EmitSoundToClient | Wrapper to emit sound to one client. |
| FadeClientVolume | Fades a client's volume level toward silence or a given percentage. |
| GetDistGainFromSoundLevel | Calculates gain of sound on given distance with given sound level in decibel |
| GetGameSoundParams | Retrieves the parameters for a game sound.
Game sounds are found in a game's scripts/game_sound.txt or other files
referenced from it
Note that if a game sound has a rndwave section, one of them will be returned
at random. |
| GetSoundDuration | |
| PrecacheScriptSound | Precache a game sound.
Most games will precache all game sounds on map start, but this is not guaranteed...
Team Fortress 2 is known to not pre-cache MvM game mode sounds on non-MvM maps.
Due to the above, this native should be called before any calls to GetGameSoundParams,
EmitGameSound*, or EmitAmbientGameSound.
It should be safe to pass already precached game sounds to this function.
Note: It precaches all files for a game sound. |
| PrefetchSound | Prefetches a sound. |
| RemoveAmbientSoundHook | Unhooks all played ambient sounds. |
| RemoveNormalSoundHook | Unhooks all played normal sounds. |
| StopSound | Stops a sound. |