desertKit.package
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.
| class | plays as |
|---|---|
sand | soundstage sand |
softSand | desertSoftSand (kit recording: foot sinking, sand sliding) |
rock | desertRock (kit recording: gritty sandstone scuff) |
stone | soundstage stone |
gravel | soundstage gravel |
mud | desertMud (kit recording: squelch) |
water | soundstage water |
wood / grass | soundstage wood / grass |
salt | desertSalt (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.