This article's documentation is for anything that uses the Source engine. Click here for more information.

beam

From Valve Developer Community
Revision as of 22:51, 8 August 2024 by MyGamepedia (talk | contribs)
Jump to navigation Jump to search
English (en)Translate (Translate)
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it can only be configured through code.

beam is a point entity available in all Source Source games.

When Dog holds objects, his hand creates four beams.

It is a base entity used by other entities to make beams or other effects, such as bubbles. The entities which use this one offer greater control over the effect.

Inputs

Width <floatRedirectInput/float>
Sets the beam width.
Noise <floatRedirectInput/float>
Sets the scale of noise effect.
ScrollSpeed <floatRedirectInput/float>
Sets the scroll speed.
ColorRedValue <floatRedirectInput/float>
Change the intensity of the red channel (0-255).
ColorGreenValue <floatRedirectInput/float>
Change the intensity of the green channel (0-255).
ColorBlueValue <floatRedirectInput/float>
Change the intensity of the blue channel (0-255).
SetDamageFilter <targetnameRedirectInput/string>
Sets a filter for this entity for when it receives damage.
EnableDamageForces
Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
DisableDamageForces
Prevents the entity from being pushed by damage done to it.

Shadow:

DisableShadow
Turn dynamic shadows off for this entity. Identical to applying  EF_NOSHADOW.
EnableShadow
Turn dynamic shadows on for this entity.

RenderFields:

Alpha <integer 0–255>
Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its rendermode set to a number other than 0.
Color <color255RedirectInput/color32>
Sets an RGB color for the entity.


Outputs