Func friction (Source): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{tabs|Func_friction|main=GoldSrc|source=1|goldsrc=Func_friction (GoldSrc)}}
{{tabs|Func_friction|main=GoldSrc|source=1|goldsrc=Func_friction (GoldSrc)}}
{{obsolete|entity=1|}}
{{obsolete|entity=1|}}
{{code|func_friction}} is a [[point entity]] available in {{bms12|4|nt=5}} (the mod version). Initially, this entity should allow you to create an area of low friction (to simulate an icy area for example). However, this entity doesn't work at all, it is also unused and removed in [[Steam]] versions of the game. There are many other ways to have areas with low friction, [[$surfaceprop]] parameter for example.
{{This is a|point entity|name=func_friction|game=Black Mesa (mod)|game1=Garry's Mod}} Initially, this entity should allow you to create an area of low friction (to simulate an icy area for example). However, this entity doesn't work at all, it is also unused and removed in [[Steam]] versions of {{bms|4}}. There are many other ways to have areas with low friction, [[$surfaceprop]] parameter for example.
{{back |Black Mesa Level Creation}}


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV|intn=modifier|Friction Percent|float|Set the friction to this percent of the regular friction.}}
{{KV|intn=modifier|Friction Percent|float|Set the friction to this percent of the regular friction.}}
{{KV Targetname}}
{{KV|intn=parentname|Parent|target_destination|The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.}}
{{KV BaseTrigger}}
==Flags==
{{Fl BaseTrigger}}
==Inputs==
{{I BaseTrigger}}
{{I BaseEntity|base=1}}
==Outputs==
{{O BaseTrigger}}
{{O BaseEntity}}

Latest revision as of 08:23, 16 May 2025

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

func_friction is a point entity available in Black Mesa (mod) Black Mesa (mod) and Garry's Mod Garry's Mod. Initially, this entity should allow you to create an area of low friction (to simulate an icy area for example). However, this entity doesn't work at all, it is also unused and removed in Steam versions of Black Mesa Black Mesa. There are many other ways to have areas with low friction, $surfaceprop parameter for example.

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

Friction Percent (modifier) <float>
Set the friction to this percent of the regular friction.