Env pinch: Difference between revisions
Jump to navigation
Jump to search
Important:You need to put material of the texture into
Black Mesa (mod) (the mod version).
Note:If fired after
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
[[File:envpinchfx.jpg|550px|right]] | [[File:envpinchfx.jpg|550px|right]] | ||
{{this is a|point entity|name=env_pinch|game=Black Mesa}} This entity creates pinch with scaling effect, the pinch is sprite with refraction that uses {{code|effects/strider_pinch_dudv}} texture. | {{this is a|point entity|name=env_pinch|game=Black Mesa}} This entity creates pinch with scaling effect, the pinch is sprite with refraction that uses {{code|effects/strider_pinch_dudv}} texture. | ||
Represented by class <code>CPropXenPushPad</code>. | |||
{{bug|The sprite disappear when player don't see [[origin]] of this entity.}} | {{bug|The sprite disappear when player don't see [[origin]] of this entity.}} | ||
{{important|You need to put material of the texture into {{code|custom}} folder (can be found in {{code|hl2_misc_dir.vpk}}), otherwise you will see the chessboard texture, also, the console will spam {{code|Material effects/strider_pinch_dudv has bad reference count 0 when being bound}} error message. Not in {{bms12|4}} (the mod version). | {{important|You need to put material of the texture into {{code|custom}} folder (can be found in {{code|hl2_misc_dir.vpk}}), otherwise you will see the chessboard texture, also, the console will spam {{code|Material effects/strider_pinch_dudv has bad reference count 0 when being bound}} error message. Not in {{bms12|4}} (the mod version). | ||
Revision as of 09:11, 3 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 CPropXenPushPad.
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 Keyvalues
- Life Time (timer) <float>
- Amount of time before
Finishinput afterStartinput.
- 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
Finishinput.
Inputs
- Start <void>
- Start the pinch effect.
Stop input, this input will give restart effect.- Stop <void>
- Stop
Life Timeand make the pinch effect infinite.
- Finish <void> !FGD
- Finish the pinch effect and fire
OnFinishoutput (also removes entity if the flag is checked).
Outputs
- OnFinish
- Fires when pinch effect is finished.