sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Sketchyphysics 3RC1 Sound

    Scheduled Pinned Locked Moved SketchyPhysics
    3 Posts 2 Posters 1.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      GoldenFrog
      last edited by

      Hello fellows:

      I am making a turret, and want to put sound whenever it fires. I have downloaded several models, and looked at the UI and found this near the emmitter setting: playsound("filename.wav"), and have tried it for myself. However, I can't get it to play my file.

      What am I doing wrong?

      Remember, great minds think alike, and fools never differ.

      1 Reply Last reply Reply Quote 0
      • H Offline
        hpnisse
        last edited by

        Hey!
        You have to put your own .wav file in:
        ...Program Files\Google\Google SketchUp 7\Plugins\SketchyPhysics3\Sounds
        or if you have installed GoogleSketchup in other directinary.

        Then just use - playsound("filename.wav") - in your script.

        simple example:
        when you press "W" the sound woodSound1.wav that come with the installation of SP3.

        
        if key("W")==1
          playsound("woodSound1.wav")
        end
        
        

        Hope this help!

        ` /hpnisse`
        ` Windows 7 U -Sketchup 8 -SketchyPhysics 3.2-Dec2 - from Sweden`

        1 Reply Last reply Reply Quote 0
        • G Offline
          GoldenFrog
          last edited by

          Ah-ha!! Problem solved! Thanks alot! 😍

          Remember, great minds think alike, and fools never differ.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement