env_beam
entity creates a line composed of a loop of sprites with various effects. It is often used to create lasers or electricity.
path/filename.spr
(starting from the root folder). (Example: sprites/laserbeam.spr
).env_beam
to turn it on.info_target
s are often used for stationary start/end points. To make moving beams, use func_train
s.func_train
's.env_beam
entity for a start point and an another one from this point to get the end point. The beam will project between the points. This is totally random but could be used to create some kind of energy storm effect or something.env_beam
itself as a Start Entity or End Entity when both are defined, and another entity is info_target
or other entity that is considered to be point entity by the beam.
env_beam
is set to be its own Start Entity, the beam won't render correctly after save-restore. This happens because after the initialization the env_beam
is not considered as point entity and the behavior changes.env_beam
is set to be its own End Entity, the beam won't appear at all. This happens because the beam changes its own origin to the start entity. As a result both start and end positions become the same and the beam doesn't render.0 0 0
). While easy to avoid for stationary entities, it could also be a transient phenomenon when one or both endpoint entities could move and their path crosses with one another.env_laser
- Slightly less capable beam entity, but the "end decal" does work.info_target
env_beam
entities to implement a randomized target map logic.You must log in to post a comment. You can login or register a new account.