blackmesa_crossbow_tracer

From Valve Developer Community
Jump to: navigation, search
Crossbowtracerimage.jpg
Info.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.

blackmesa_crossbow_tracer is a point entity available in Black Mesa Black Mesa. This is the beam that appears after zoomed shot from crossbow in multiplayer game. It was added to make it easier for players to determine where a crossbow zoomed shot came from, because players with crossbow are very dangerous. This beam also has a wind effect that always moves the beam to the left side of player's view (env_wind does not affect this). This entity can't be configured in Hammer Hammer and doesn't provide any unique inputs and outputs.

Represented by class CEnvCrossbowTracerEffect.

Dedicated Console Variables

Cvar/CommandParameters or default valueDescriptorEffect
bm_crossbow_tracer_alpha400Float valueTransparency of the beam. You can use values from 0 to 255.
bm_crossbow_tracer_end_width2.0Float valueWidth of the beam.
bm_crossbow_tracer_fade_duration0.66Float valueFade duration of the beam, or how long it takes before the beam disappears completely.
bm_crossbow_tracer_start_width0.75Float valueStart width of the beam. Doesn't work.
bm_crossbow_tracer_wind_scalar1.5Float valueWind push scale.
Note.pngNote:Don't use huge values here, because such beams can go through walls.