env_laser_dot

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CLaserDot
CBaseEntity
weapon_rpg.cpp
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.

env_laser_dot is a point entity available in Half-Life 2 series Half-Life 2 series, Portal Portal, and Black Mesa Black Mesa.

This is the laser guide endpoint that steer rocket grenades. Used by RPG to change the flying direction for the rockets. It is also used by TOW, however, it doesn't change the flying direction for the missiles. Entity kill will cause immediate respawn.

Note.pngNote:Doesn't use Glow render in Half-Life 2: Deathmatch Half-Life 2: Deathmatch, because glows can be shined through world for a short time when appears (this bug can be found in deathmatch from Black Mesa Black Mesa).
Icon-Bug.pngBug:In Black Mesa (mod) Black Mesa (mod) this entity appears automatically at map center. This happens if all these conditions match:
  • You reload save.
  • RPG's laser enabled.
  • You don't hold/use RPG.
PlacementTip.pngWorkaround:Add a logic_auto that will fire this output.
My output Target entity Target input Parameter Delay Only once Comments
Entity-output-icon.png OnLoadGame env_laser_dot Addoutput origin 42000 42000 42000 0.00 No Used 42 thousand, because it's bigger than possible map size.