Func friction (Source): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
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) and {{gmod|4|nt=5}}. 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=bms12|game1=gmod}} 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.
{{back |Black Mesa Level Creation}}
{{back |Black Mesa Level Creation}}



Revision as of 10:08, 26 September 2024

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.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{bms12}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Black Mesa (mod).
  • The {{{game1}}} parameter is inconsistent with the name defined by the {{gmod}} template. This can most likely be fixed by setting the value of the {{{game1}}} parameter to Garry's Mod.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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.

Black Mesa Level Creation

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.