Log inGet started
World

Soundstage: Adaptive Music, Footsteps and Ambience Kit

Branchmain
Branchesmain
Commit0b12f0dbaa

README.md

Footsteps

Gives whatever it is on footsteps that follow the floor under it. Put it on the player's body, or on the player prototype, and pick footwear there: shoe (light), boot (heavy) or barefoot. Every player then hears their own steps up close and other players' steps where those players are. Put it on an NPC and its steps are heard where it walks. volume (default 1) scales these steps. Needs no sibling components. The floor sets the sound: a Surface component, a surface attribute, a name that says it, or else the default surface from Footsteps.setDefault. In code, Footsteps.track(entity, { footwear = "boot" }) does the same thing.