Scripts / Volume script ?

Author
Message
bluemeenie195
6
Years of Service
User Offline
Joined: 28th Oct 2018
Location:
Posted: 28th Nov 2018 17:56
Hey Guys,
Is there a script to raise or lower the volume of a sound ?

I have a couple of music zones from different areas of my game and one of the songs is extremely loud compared to the others.

Didn't know if there was a simple way to adjust the volume.

Thanks
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 29th Nov 2018 15:28
There are several commands in the global.lua file.
Open the file in notepad and search for volume.

Then you can alter the script you use and add the command in and set your volume.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

bluemeenie195
6
Years of Service
User Offline
Joined: 28th Oct 2018
Location:
Posted: 29th Nov 2018 16:18
Great, I'll give it a try.
PM
Honkeyboy
3D Media Maker
9
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 29th Nov 2018 16:38


Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
bluemeenie195
6
Years of Service
User Offline
Joined: 28th Oct 2018
Location:
Posted: 29th Nov 2018 17:26
Thanks Honkeyboy .
I'm still new to scripting, so I appreciate all the help from everyone on the forum.
PM
Avenging Eagle
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: UK
Posted: 29th Nov 2018 19:19
Quote: "I have a couple of music zones from different areas of my game and one of the songs is extremely loud compared to the others."

You're probably better off doing this in an audio editing package like Audacity or Wavepad (both free), and playing around with amplitude to either raise or lower the volume. It's very easy, and you wouldn't have to get your hands dirty with scripting.

AE
bluemeenie195
6
Years of Service
User Offline
Joined: 28th Oct 2018
Location:
Posted: 29th Nov 2018 20:20
Thank you for the advice.
PM

Login to post a reply

Server time is: 2024-12-22 14:23:42
Your offset time is: 2024-12-22 14:23:42