Func friction (Source): Difference between revisions
Jump to navigation
Jump to search
Note:Other
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) No edit summary |
||
| Line 4: | Line 4: | ||
{{This is a|brush entity|name=func_friction|game=Half-Life: Source|game1=Black Mesa (mod)|game2=Garry's Mod}} Supposed to allow creating an area of low friction (to simulate an icy area for example). | {{This is a|brush entity|name=func_friction|game=Half-Life: Source|game1=Black Mesa (mod)|game2=Garry's Mod}} Supposed to allow creating an area of low friction (to simulate an icy area for example). | ||
Deprecated in favor of [[material surface properties]] with different friction values. | Deprecated in favor of [[material surface properties#Half-Life: Source]] with different friction values. | ||
{{confirm|Allegedly doesn't work in {{Black Mesa (mod)}}; does it work in {{hls}} and/or {{gmod}}?}} | {{confirm|Allegedly doesn't work in {{Black Mesa (mod)}}; does it work in {{hls}} and/or {{gmod}}?}} | ||
Revision as of 09:22, 9 December 2025
| CFrictionModifier |
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
func_friction is a brush entity available in
Half-Life: Source,
Black Mesa (mod), and
Garry's Mod. Supposed to allow creating an area of low friction (to simulate an icy area for example).
Deprecated in favor of material surface properties#Half-Life: Source with different friction values.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Friction Percent (modifier) <float>
- Set the friction to this percent of the regular friction.
Keyvalues / Inputs / Outputs are same as CBaseTrigger.