Log inGet started
Package

DesertFootsteps.module

This package holds more than this page lists. See all of its files in its world.

README.md

DesertFootsteps

Desert footsteps on soundstage, for every walker. The footstep class under each step comes from a collider's (or parent's) desertSurface attribute first ("ground" defers to the site), then DesertSite:footstepAt(x, z), with wading where site:waterAt is deeper than 6 cm.

classplays as
sandsoundstage sand
softSanddesertSoftSand (kit recording: foot sinking, sand sliding)
rockdesertRock (kit recording: gritty sandstone scuff)
stonesoundstage stone
gravelsoundstage gravel
muddesertMud (kit recording: squelch)
watersoundstage water
wood / grasssoundstage wood / grass
saltdesertSalt (kit recording: crust crunch)
local F = require("desertKit.DesertFootsteps")
F.install()                                   -- DesertAtmos does this
F.play({ surface = "softSand" })              -- hear one
F.counts()                                    -- steps heard per soundstage surface

install also teaches tropicalKit's Footprints the desert (where no tropical island stands): sand and soft sand print dry, oasis mud prints wet.