Env funnel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Fixed the page, this page has been in such a horrendous state for a long time, also "tagetname_funnel")
Line 4: Line 4:


==Entity description==
==Entity description==
It is an [[Half-Life]] legacy entity: the large portal funnel {{clarify}}
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.  
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.
 
This is most likely used in half life when the portal to XEN the alien planet opens. (verify)
   
   
The input value "use" is not recognized as a valid input inside hammer but it will function ingame using the targetname of the env_funnel entity and providing "use" as the target input value, you don't need to fill in the parameter override field.
This entity can only be triggered using the "Use" input, although it is not recognized by Hammer it still works.
 
Another way of activating this entity is ingame by using the following command in the developers console: "ent_fire <tagetname_funnel> use"
This entity has no other function than showing these particles/sprites. A similar effect can be created by creating a new particle effect yourself.


{{note|This entity can only be used ''once''. After it's used, it will be removed and cannot be used again.}}
{{note|This entity can only be used ''once''. After it's used, it is deleted.}}


== Keyvalues ==
== Keyvalues ==

Revision as of 13:43, 23 July 2018

Animation of the funnel effect.

Template:Base point

Entity description

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.

This entity can only be triggered using the "Use" input, although it is not recognized by Hammer it still works.

Note.pngNote:This entity can only be used once. After it's used, it is deleted.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

Flags

  • 1 : Reverse

Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/string>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <stringRedirectInput/string>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

Outputs