sound effects

to play sound effects use sfx command.

sound effects are stored on separate repositories:

      'PAC3-Server/chatsounds-valve-games',
      'Metastruct/garrysmod-chatsounds',
      'PAC3-Server/chatsounds',
      'LitterbinCollective/foxtrot-chatsounds',

syntax

the syntax of a sound effect script is based off newchatsounds syntax. it should be also mentioned that it also supports modifiers, including legacy ones.

to use a modifier on a sound effect, type colon after the sound effect, the name of the modifier and, if necessary, the arguments separated by a comma wrapped in parentheses.

to use a legacy modifier, type it after the sound effect and then specify an argument.

available modifiers

modifierlegacy aliasdescription
:cutoff([percent])++[percent]stop after the given percentage, relative to the duration.
:duration([seconds])=[seconds]play for specified amount without cutting off.
:echo([delay], [decay])echo effect. no further description needed.
:highpass([factor])high-pass filter.
:lfopitch([frequency], [depth])vibrato effect.
:lfovolume([frequency], [depth])tremolo effect.
:lowpass([factor])low-pass filter.
:pitch([factor])%[factor * 100]pitch modifier (playback speed). no further description needed.
:realm([realm])select sound effect from a given realm. if no such realm exists, the sound does not play.
:repeat([times])*[times]repeat sound effect specified amount of times.
:select([number])#[number]select specific sound effect from all realms, or from the given realm if :realm modifier was specified.
:skip([percent])
:startpos([percent])
++[percent]start playing sound effect from the given percentage, relative to the duration.
:volume([factor])^[factor * 100]volume modifier. no further description needed.

examples

helloooo:lfopitch - adds LFO pitch modifier (vibrato) to the helloooo sound effect.
helloooo:pitch(0.7) - lowers the pitch of helloooo sound effect to 70%.
helloooo=0.5 overused thud - plays helloooo sound effect, then after 0.5 seconds overlays overused thud.