Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Prim activated footstep sounds

Adrian Harbinger
Registered User
Join date: 30 Oct 2005
Posts: 29
09-24-2007 16:32
Is it possible to script a prim(s) so that it will activate a specific footstep sound (i.e. hollow thud on wood, clicking on stone)? If so, can anyone point me to an existing (mod) script, free or not, that does this?

Thanks,

Adrian
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
09-25-2007 00:20
This is kinda fun. See . This function sets a prim property, so the script doesn't need to be left running (nor even present) after it's been executed (and really shouldn't be). The "key" hyperlink on that page leads to a handy table that includes the built-in sounds for different object materials:

object collision be582e5d-b123-41a2-a150-454c39e961c8
object collision (rubber) 212b6d1e-8d9c-4986-b3aa-f3c6df8d987d
object collision (plastic) d55c7f3c-e1c3-4ddc-9eff-9ef805d9190e
object collision (flesh) 2d8c6f51-149e-4e23-8413-93a379b42b67
object collision (wood splintering?) 6f00669f-15e0-4793-a63e-c03f62fee43a
object collision (glass break) 85cda060-b393-48e6-81c8-2cfdfb275351
object collision (metal clunk) d1375446-1c4d-470b-9135-30132433b678

Of course, if any of those are suitable, one can just change the object's Material type in the Editor.
Adrian Harbinger
Registered User
Join date: 30 Oct 2005
Posts: 29
09-25-2007 08:27
Wow, great! Thanks so much!