Func liquidportal: Difference between revisions
Jump to navigation
Jump to search

Bug:This entity is incomplete and does not function very well.
Bug:This entity requires mat_queue_mode to be set to 2 in order to render properly. Without this, it will display a missing texture.
m (Robot: fixing template case.) |
No edit summary |
||
(15 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{CD|CFunc_LiquidPortal|file1=func_liquidportal.cpp}} | |||
== | {{This is a|brush entity|name=func_liquidportal|game=Portal}} It marks the space filled with portal liquid and teleports entities when done. | ||
{{bug|hidetested=1|This entity is incomplete and does not function very well.}} | |||
{{bug|hidetested=1|This entity requires mat_queue_mode to be set to 2 in order to render properly. Without this, it will display a missing texture.}} | |||
= | |||
This | |||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | |||
{{KV|Linked liquid portal.|intn=InitialLinkedPortal|string}} | |||
{{KV|Fill Time (sec)|intn=FillTime|float|How long the volume takes to fill in seconds.}} | |||
{{KV Origin}} | |||
{{KV Angles}} | |||
== Inputs == | == Inputs == | ||
{{I|SetLinkedLiquidPortal|The liquid portal this should link to. Will update linked portal to point back.|param=string}} | |||
{{I|SetFillTime|How long the area takes to fill.|param=float}} | |||
{{I|StartFilling|Start filling NOW. Entities teleport when finished.}} | |||
{{I|AddActivatorToTeleportList|Add the activator entity to the list of entities to teleport when filling is finished.}} | |||
{{I|RemoveActivatorFromTeleportList|Remove the activator entity from the list of entities to teleport when filling is finished.}} | |||
Latest revision as of 12:46, 8 April 2025


![]() |
---|
CFunc_LiquidPortal |
![]() |
func_liquidportal
is a brush entity available in Portal. It marks the space filled with portal liquid and teleports entities when done.


Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Linked liquid portal. (InitialLinkedPortal) <string>
- Fill Time (sec) (FillTime) <float>
- How long the volume takes to fill in seconds.
Origin:
- Origin (X Y Z) (origin) <origin>
- The position of this entity's center in the world. Rotating entities typically rotate around their origin.
- 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.
Inputs
- SetLinkedLiquidPortal <string >
- The liquid portal this should link to. Will update linked portal to point back.
- SetFillTime <float >
- How long the area takes to fill.
- StartFilling
- Start filling NOW. Entities teleport when finished.
- AddActivatorToTeleportList
- Add the activator entity to the list of entities to teleport when filling is finished.
- RemoveActivatorFromTeleportList
- Remove the activator entity from the list of entities to teleport when filling is finished.