Jump to content

Recommended Posts

Posted

Hello, I would like to know more on how to exactly add sound into Leadwerks. As far as I know there is a lot of vague information when it comes to loading sound into a game in Leadwerks and I would like to know how to do so.

 

What I want to know is how exactly do you load sounds into a map? Is there a way in which I can create say a pivot, attach a script that plays a sound for things such as music or ambience?

Posted

There is an inherent basic script for loading a sound located under Scripts/Objects/Sound named noise.lua. Attach that script to a pivot and then pick the sound file you wish to play.

  • Upvote 2

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Posted

There is an inherent basic script for loading a sound located under Scripts/Objects/Sound named noise.lua. Attach that script to a pivot and then pick the sound file you wish to play.

 

Awsome! thank you so much for the help, that's one thing learned for today!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...