Env pinch: Difference between revisions
Jump to navigation
Jump to search
Important:You need to put material of the texture into custom folder (can be found in hl2_misc_dir.vpk), otherwise you will see the chessboard texture, also, the console will spam Material effects/strider_pinch_dudv has bad reference count 0 when being bound error message. Not in
Black Mesa (mod) (the mod version).
Note:If fired after Stop input, this input will give restart effect.
MyGamepedia (talk | contribs) No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | |||
{{KV|Life Time|intn=timer|float|Amount of time before {{code|Finish}} input after {{code|Start}} input.}} | {{KV|Life Time|intn=timer|float|Amount of time before {{code|Finish}} input after {{code|Start}} input.}} | ||
{{KV|Start Size|intn=startsize|float|Start size.}} | {{KV|Start Size|intn=startsize|float|Start size.}} | ||
{{KV|End Size|intn=endsize|float|End size.}} | {{KV|End Size|intn=endsize|float|End size.}} | ||
==Flags== | ==Flags== | ||
Line 25: | Line 25: | ||
==Inputs== | ==Inputs== | ||
{{ | {{I|Start|param=void|Start the pinch effect. | ||
{{note|If fired after {{code|Stop}} input, this input will give restart effect.}} | {{note|If fired after {{code|Stop}} input, this input will give restart effect.}} | ||
}} | }} | ||
{{ | {{I|Stop|param=void|Stop {{code|Life Time}} and make the pinch effect infinite.}} | ||
{{ | {{I|Finish|param=void|Finish the pinch effect and fire {{code|OnFinish}} output (also removes entity if the flag is checked).|nofgd=1}} | ||
==Outputs== | ==Outputs== | ||
{{ | {{O|OnFinish|Fires when pinch effect is finished.}} | ||
Revision as of 18:06, 25 September 2024
env_pinch
is a point entity available in Black Mesa. This entity creates pinch with scaling effect, the pinch is sprite with refraction that uses effects/strider_pinch_dudv texture.
Represented by class CEnv_Pinch
.


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
- Life Time (timer) <float>
- Amount of time before Finish input after Start input.
- Start Size (startsize) <float>
- Start size.
- End Size (endsize) <float>
- End size.
Flags
- Remove after pinch fx is finished : [65536]
- If this flag is unchecked - this entity will not be removed after Finish input.
Inputs
- Start <void>
- Start the pinch effect.

- Stop <void>
- Stop Life Time and make the pinch effect infinite.
- Finish <void> !FGD
- Finish the pinch effect and fire OnFinish output (also removes entity if the flag is checked).
Outputs
- OnFinish
- Fires when pinch effect is finished.