Skip to content

Beam portal

Deyan Dobromirov edited this page Oct 19, 2021 · 2 revisions

Description

This scripted entity is designed to portal the beam trough itself when a unique exit entity ID is provided and its model is the same as the one the beam enters.

divider

Turning the entity ON / OFF

The entity will be turned on whenever the input beam hits it. If there is no beam present, this means the input beam is not in sync with the surface normal vector of the portal. If the vectors are in sync when the input beam hits the proper surface of the portal entity.

Calculating output beam

The output beam behavior and visuals ( texture, sounds, color, flags etc. ) will be taken from the beam source entity from the current hit report. The portal can process recursively many beams at the same time.

Wire behavior

This entity has only one input that is the normal local surface vector and some outputs for information.

Clone this wiki locally