-
Notifications
You must be signed in to change notification settings - Fork 3
Home
This wiki is designed to familiarize you with this addon elements and how to use them
I cannot use some of these option for specific various reasons and are given here below:
-
env_laser
Does damage and cannot start in anything solid. When starts inside solid will not do damage as requested. This leaves refraction out of the equation. -
env_beam
Is limited between two entities point in space. Parenting does not work and needs a workaround that is not preferred with awire-able
entity. Reflection and refraction must create a new dedicated entity and this will hog memory and performance. -
env_portal_laser
This is the most preferred functionality for the laser emitter and it is as close as possible but available only in Portal2. Currently do not know if it is limited to onlylaser_emitter_center.mdl
andlaser_emitter.mdl
models. Damage boolean is not preferred and can be lethal that kills the player in one go or non-lethal which pushes them to the side.
The dedicated entities are located in Entities
tab then select Laser
from the list on the left.
I know this must enter the glass medium then travel across the air gap inside, but I cannot update the exit location accurately because the game does not fill up fraction left solid value of the trace for regular props, so currently this is the close it can get. From performance point of view this implementation is chosen as it requires only one trace to update entity exit or internal reflection point using entity's bounding radius as offset.
Just clone this repository in your addons folder or subscribe to it in the workshop here.