Env funnel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Fixed the page, this page has been in such a horrendous state for a long time, also "tagetname_funnel")
(updates)
Line 1: Line 1:
[[File:Funnel_animation.gif‎|right|thumb|250px|Animation of the funnel effect.]]
{{lang|Env funnel}}
[[File:Funnel_animation.gif‎|right]]
{{base point|env_funnel}} It creates many sprites which move toward a point (or from a point). This effect is used in {{ent|c1a0e}}{{hl1}}. The sprite is hardcoded to be <code>sprites/flare6.vmt</code>, but some games are missing this texture.


{{base point|env_funnel}}
This entity must be activated with the {{ent|Use}} input. After it's <code>Use</code>d, it is deleted from the map.


==Entity description==
{{code class|CEnvFunnel|effects.cpp}}
It is an [[Half-Life]] legacy entity: the large portal funnel, which is created during the Resonance Cascade.


This entity creates an effect of glowing particles or sprites that slowly appear then come together at the entity center point creating a glowing center and then slowly disappearing. The sprite is hardcoded to use sprites/flare6.vmt, some games are missing this texture.
==Flags==
*1: Reverse - Funnel repels sprites instead of attracting them.
This entity can only be triggered using the "Use" input, although it is not recognized by Hammer it still works.


{{note|This entity can only be used ''once''. After it's used, it is deleted.}}
==Keyvalues==
{{KV BaseEntity|css=1}}


== Keyvalues ==
==Inputs==
{{KV Targetname}}
{{I BaseEntity|prel4d=1}}
{{KV Parentname}}


== Flags ==
==Outputs==
:* 1 : Reverse
{{O BaseEntity|l4d=1}}
 
== Inputs ==
{{I Targetname}}
{{I Parentname}}
 
== Outputs ==
{{O Targetname}}

Revision as of 13:31, 25 September 2018

English (en)中文 (zh)Translate (Translate)
Funnel animation.gif

Template:Base point It creates many sprites which move toward a point (or from a point). This effect is used in c1a0eHalf-Life. The sprite is hardcoded to be sprites/flare6.vmt, but some games are missing this texture.

This entity must be activated with the Use input. After it's Used, it is deleted from the map.

C++ In code, it is represented by theCEnvFunnelclass, defined in theeffects.cppfile.

Flags

  • 1: Reverse - Funnel repels sprites instead of attracting them.

Keyvalues

Inputs

Outputs