CheySecondLife

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, February 6, 2011

That Stumping Sound

Posted on 10:32 PM by Unknown
Written 7 February, 2011

That Stumping Sound

Don't you hate that stumping sound when steps have too much rise? Don't you just love going Bump! on every step of a 100-meter-tall Aztec Pyramid, or bump bump bump as you walk up the stairs to your bedroom?

Well, guess what? You can turn that bumping sound down, replace it with a more pleasing sound, or turn the bumping sound off altogether!

There's a scripting command called llCollisionSound. It's easy to slip it into an existing script in your prims or into the default "Hello, Avatar!" script.

Here's a simple script that will turn the sound off. Just copy it and paste it into a new script in your noisy prim:

//-----

// Simple Collision Sound stopper by Cheyenne Palisades

default
{
        state_entry()
    {
        llCollisionSound("", 0.1);
    }
    
    touch_start (integer x)
    {
        // Here you can make the script do stuff when it's touched, if that's your inclination
    }
}

//-----

By experimenting, I discovered the script must remain in the prim in a running state to suppress the sound, so keep in mind it's not like a cleaner script that rids your prim of particles and looping sounds. If you take the script out, the bumping collision sound will come back to haunt you.

To substitute another sound, simply drop it in the prim with the script and type its name (or better, the sound's UUID) inside the quotation marks. Best to copy and paste the name, as any error will make for difficulties. 

The number that follows the name sets the loudness; you can change it from 0.0 (silent) to 1.0 (maximum loudness).

The wiki notes that setting the volume to 0.0 will disable collision particles. I didn't even know there WERE collision particles! I left the volume set to 0.1, which is very low.

You can see the script in action at the Whimsy Sungate. When you step up onto the round viewing platform or from the platform down to the walkway there's no sound-- even though there's a rise of more than .5 meters.

No stump, stump, stump! Imagine that!

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Glitch and Happenstance: Part II: Problems with Rendering
    Written 25 January, 2011 Glitch and Happenstance Part II: Problems with Rendering Full frontal Sweetie Sweetie arrives at Mouse World in a B...
  • My This-Is-Not-A-Fashion-Blog Parade of Styles from the 2013 Hair Fair Will Shortly Commence
    The title says it all.
  • Changing the Mandelbrot Set
    Mac Kanashimi was kind enough to rez several of his fractal sets for me. All span the sim, and all use sim's allotment of prims. You can...
  • Off On a Secret Mission
    Written 15 October, 2010 Off On a Secret Mission I fly out of Atlanta tomorrow on a secret mission (visiting friends, spending a month with ...
  • Sweetie's Rez Day Party Disrupted by Linden Bear Collective
    Sweetie's 7th Rez Day celebration was going without a hitch-- until the Linden Bear Collective showed up. It had to do with my present t...
  • Whimsy Kaboom View
  • Okay, Maybe Not This One
    "Hair emergency! Hair emergency!" "What is it now?" asked Sweetie. "Look at this hot mess!" I cried. "Oh,...
  • Farewell, SLB10
    The Second Life 10th Birthday Celebration closed today. Featuring 22 sims crammed with citizen-based art, performances of all types, and, be...
  • Glitch and Happenstance: Part I: Capturing the Moment
    Written 25 January, 2011 Glitch and Happenstance Part I: Capturing the Moment Here's a collection of photos I've taken over the year...
  • Chey Flies Up
    Written 5 June, 2011 Chey Flies Up Sometimes I like to set midnight and just fly as high as I can into the sky. My Mystitool makes little co...

Categories

  • Marnix (1)
  • Second Life (1)

Blog Archive

  • ►  2013 (74)
    • ►  September (2)
    • ►  August (6)
    • ►  July (7)
    • ►  June (15)
    • ►  May (7)
    • ►  April (4)
    • ►  March (25)
    • ►  February (3)
    • ►  January (5)
  • ►  2012 (101)
    • ►  December (3)
    • ►  November (14)
    • ►  October (23)
    • ►  September (10)
    • ►  August (17)
    • ►  July (2)
    • ►  June (3)
    • ►  May (7)
    • ►  March (9)
    • ►  February (7)
    • ►  January (6)
  • ▼  2011 (198)
    • ►  December (20)
    • ►  November (15)
    • ►  October (9)
    • ►  September (31)
    • ►  August (12)
    • ►  July (15)
    • ►  June (9)
    • ►  May (12)
    • ►  April (20)
    • ►  March (15)
    • ▼  February (17)
      • Chey Encounters the Copybot
      • Turtles
      • Gone is Gone!
      • By Dawn the Bull is Exhausted and Chey's Textures ...
      • Chey Rides the Bull Late into the Night Trying to ...
      • The Rocket Flies!
      • Happy Valentine's Day
      • Rosie on Her Rounds
      • Lucky Photo
      • Whimsical Times No. 12
      • Riddle Solved!
      • Can You Find This Spot on Whimsy?
      • That Stumping Sound
      • Concurrency Up?
      • Things Quietly Get Better
      • Don't Sit in the Geyser!
      • Ride the Leaf
    • ►  January (23)
  • ►  2010 (127)
    • ►  December (26)
    • ►  November (20)
    • ►  October (50)
    • ►  September (18)
    • ►  August (13)
Powered by Blogger.

About Me

Unknown
View my complete profile