func_footstep_control

From Source Entities
Jump to navigation Jump to search
Info.png

This entity is not in the stock FGD files by default.
See below for instructions on making it available.

Code classes:

Trigger.png

func_footstep_control is a brush entity present in both Css.pngCsgo-small.pngCounter-Strike games. If a player in this volume is moving on a ladder, this entity modifies their footstep sound to better fit the ladder's appearance. Note: In Css.png ladders usually don't make sounds except when strafing on them.

Bug: Does not work in Csgo-small.png.

FGD Code[edit | edit source]

@SolidClass base(Targetname, Parentname, Trigger) = func_footstep_control : "It changes the footstep sounds used on ladders from metal to whatever is wanted."

[ source(string) readonly : "Surfaceprop to change" : "ladder" : "The surfaceprop of the ladder to change (this will always be 'ladder', obviously)." destination(string) : "New surfaceprop" : : "How to make the ladders within this trigger sound. See here for options: https://developer.valvesoftware.com/wiki/Material_surface_properties" ]

Keyvalues[edit | edit source]

Surfaceprop to change (source) <string>
The surfaceprop of the ladder to change (this should always be ladder).
New surfaceprop (destination) <string>
How to make the ladders within this trigger sound. See here for options.