effects
The effects library allows you to manually add scripted effects.
Methods
effects.BeamRingPoint( Vector pos, number lifetime, number startRad, number endRad, number width, number amplitude, table color, table extra )
Creates a "beam ring point" effect.
effects.Bubbles( Vector mins, Vector maxs, number count, number height, number speed = 0, number delay = 0 )
Creates a bunch of bubbles inside a defined box.
effects.BubbleTrail( Vector startPos, Vector endPos, number count, number height, number speed = 0, number delay = 0 )
Creates a bubble trail effect, the very same you get when shooting underwater.
Internal: This is used internally - although you're able to use it you probably shouldn't.
You are looking for util.Effect.
Returns the table of the effect specified.
Internal: This is used internally - although you're able to use it you probably shouldn't.
Returns a list of all Lua-defined effects.
Internal: This is used internally - although you're able to use it you probably shouldn't.
Registers a new effect.
effects.TracerSound( Vector start, Vector endpos, number tracerType = 1, string soundOverride = nil )
Imitates the "near miss" tracer sound, with the ability to override the sound played.
The frequency of the sound is limited internally, as to not overwhelm the player. (same as normal tracers)