Trigger physics trap: Difference between revisions
Jump to navigation
Jump to search
In code, it is represented by the
(cleanup) |
(Expanded description and added an image presenting visual effects of the entity.) |
||
Line 1: | Line 1: | ||
[[File:trigger_physics_trap.jpg|thumb|300px|Visualization of disintegration effects, from left to right: Energy, Light electrical, Heavy Electrical]] | |||
{{hl2 brush|trigger_physics_trap}} | {{hl2 brush|trigger_physics_trap}} | ||
{{sensor brush}} | {{sensor brush}} | ||
==Entity description== | ==Entity description== | ||
A [[brush entity|volumetric]] [[trigger]] that disintegrates enemies. | A [[brush entity|volumetric]] [[trigger]] that disintegrates entities. It is used extensively in Citadel levels of Half-Life 2 within Combine generators and ball spawners. It disintegrates physics objects and enemies that enter it's volume with a selected visual effect. | ||
{{code class|CTriggerPhysicsTrap|hl2_dll\hl2_triggers.cpp}} | {{code class|CTriggerPhysicsTrap|hl2_dll\hl2_triggers.cpp}} |
Revision as of 09:48, 27 May 2019
Entity description
A volumetric trigger that disintegrates entities. It is used extensively in Citadel levels of Half-Life 2 within Combine generators and ball spawners. It disintegrates physics objects and enemies that enter it's volume with a selected visual effect.

CTriggerPhysicsTrap
class, defined in thehl2_dll\hl2_triggers.cpp
file.
Keyvalues
- Dissolve Type ([todo internal name (i)]) <choices>
- Dissolve effect type.
- 0 : Energy
- 1 : Heavy electrical
- 2 : Light electrical
|
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Flags
|
Inputs
|
Outputs
|