Footsteps

From ZDoom Wiki
Jump to navigation Jump to search

(development version 12d1afc only)

Footsteps are a player feature that allows players' to make footstep sounds on TERRAIN flats, and to also spawn terrain splashes, if any are defined, based on the players' mass. The frequency of steps and splashes are also affected based on if the player is walking or running, Allowing for SFX like players making metal stepping sounds when moving over a metal texture, or making water splashes when going over water. Players need to have the MAKEFOOTSTEPS flag set for footsteps to play. It can be modified through ZScript with the MakeFootsteps virtual method.

The sound of footsteps can also be controlled by the snd_footstepvolume console variable, which functions as a multiplier. i.e if it is 0.5, footsteps will play at half volume.

See also