Func footstep control: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{CD|CFootstepControl|file1=cs_player_shared.cpp}}
{{ent not in fgd}}
{{ent not in fgd}}
{{this is a|brush entity|game1=Counter-Strike: Global Offensive|name=func_footstep_control|game=Counter-Strike: Source}}
{{this is a|brush entity|game1=Counter-Strike: Global Offensive|name=func_footstep_control|game=Counter-Strike: Source}}


Line 14: Line 14:
== See also ==
== See also ==
[[Material_surface_properties|Material Surface Properties]]
[[Material_surface_properties|Material Surface Properties]]
== FGD Code ==
<syntaxhighlight lang=js>
@SolidClass base(trigger) = func_footstep_control : "Changes the targeted surface property inside of the brushes volume."
[
Source(string) : "Surface property to change"
Destination(string) : "New surface property"
]
</syntaxhighlight>


[[Category:Counter-Strike: Source Entities]]
[[Category:Counter-Strike: Source Entities]]

Revision as of 23:20, 10 May 2025

C++ Class hierarchy
CFootstepControl
CBaseTrigger
CBaseToggle
CBaseEntity
C++ cs_player_shared.cpp
Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

func_footstep_control is a brush entity available in Counter-Strike: Source Counter-Strike: Source and Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

Entity description

Changes the targeted surface property inside of the brushes volume.

Tip.pngTip:Can be used to change ladder sound.
Icon-Bug.pngBug:Non-functional in Counter-Strike: Global Offensive.  [todo tested in ?]

Keyvalues

Source (Source) <string>
Surface property to change.
Destination (Destination) <string>
New surface property.

See also

Material Surface Properties

FGD Code

@SolidClass base(trigger) = func_footstep_control : "Changes the targeted surface property inside of the brushes volume."
[
	Source(string) : "Surface property to change"
	Destination(string) : "New surface property"
]