func_friction

From Valve Developer Community
Revision as of 09:22, 9 December 2025 by SirYodaJedi (talk | contribs)
Jump to navigation Jump to search
C++ Class hierarchy
CFrictionModifier
CBaseTrigger
CBaseToggle
CBaseEntity
C++ triggers.cpp
Obsolete-notext.png
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 Half-Life: Source, Black Mesa (mod) Black Mesa (mod), and Garry's Mod 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.

Confirm:Allegedly doesn't work in Black Mesa (mod); does it work in Half-Life: Source and/or Garry's Mod?

Keyvalues

Name (targetname) <string>
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
Friction Percent (modifier) <float>
Set the friction to this percent of the regular friction.
Note.pngNote:Other Keyvalues / Inputs / Outputs are same as CBaseTrigger.