Env xen portal effect: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{ent not in fgd|nolink=1|because=used by other entity and wasn't supposed to be used via {{hammer|4}}. Available in [https://github.com/MyGamepedia/Enhanced-Black-Mesa-FGD Enhanced Black Mesa FGD]}}
{{ent not in fgd|nolink=1|because=used by other entity and wasn't supposed to be used via {{hammer|4}}. Available in [https://github.com/MyGamepedia/Enhanced-Black-Mesa-FGD Enhanced Black Mesa FGD]}}
{{this is a|point entity|name=env_xen_portal_effect|game=Black Mesa}} This entity used by {{ent|env_xen_portal}} to create the sound and push player away. Also can be used with [[I/O]] system.
{{this is a|point entity|name=env_xen_portal_effect|game=Black Mesa}} This entity used by {{ent|env_xen_portal}} to create the sound and push player away. Also can be used with [[I/O]] system.
Represented by class <code>CEnv_XenPortalEffect</code>.
{{important|This entity fires all the [[I/O]] when spawned. Keep in mind this factor if you will use this entity.}}
{{important|This entity fires all the [[I/O]] when spawned. Keep in mind this factor if you will use this entity.}}
{{note|It doesn't create any sound if spawned with {{ent|player}}. Can be fixed if spawned via {{ent|point_template}}.}}
{{note|It doesn't create any sound if spawned with {{ent|player}}. Can be fixed if spawned via {{ent|point_template}}.}}

Revision as of 00:16, 21 September 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because used by other entity and wasn't supposed to be used via Hammer Hammer. Available in Enhanced Black Mesa FGD.

env_xen_portal_effect is a point entity available in Black Mesa Black Mesa. This entity used by env_xen_portal to create the sound and push player away. Also can be used with I/O system.

Represented by class CEnv_XenPortalEffect.

Icon-Important.pngImportant:This entity fires all the I/O when spawned. Keep in mind this factor if you will use this entity.
Note.pngNote:It doesn't create any sound if spawned with player. Can be fixed if spawned via point_template.

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

Size (size) <float>
Size. Affects the push away distance. The max push distance is distance increased by ~95 percent of specified value.

Inputs

PushAway <void>
Will push player once when fired. Doesn't play any sound.
Burst <void>
Copy of PushAway, but will also fire OnBurst output.

Outputs

OnBurst <void>
Fires via Burst input.
Note.pngNote:The input is fired on entity spawn, so it will cause this output to fire as well.

See also