Like the topic says, is there a way to change the music volume via scripting? To be clear, I mean the music tracks, not the ambient sounds.
Music volume changable via scripting?
#1
Posté 17 mars 2015 - 07:19
#2
Posté 17 mars 2015 - 07:32
I don't think it's feasible with vanilla libraries, although near every other sound function is there(changing/starting/stopping tracks, ambient volume day/night etc). Maybe with nwnx2...
Kato
#3
Posté 17 mars 2015 - 07:32
this would be huge!
#4
Posté 17 mars 2015 - 10:05
- Proleric et Kato - aiment ceci
#5
Posté 17 mars 2015 - 11:55
Audacity is a must have editor, but I was looking for someway to do it in game.
#6
Posté 18 mars 2015 - 12:52
The only way for music, is to rip them to .wav format, and include them as ambient sounds placed in the area. Then, use SoundObjectSetVolume to define its level of volume.
// Set the volume of oSound.
// - oSound
// - nVolume: 0-127
void SoundObjectSetVolume(object oSound, int nVolume)
This way will require a .hak download or an ambient download to dump to /ambient.
Either way, it's a download. There are no in-game script commands to adjust music level.
FP!
- Squatting Monk, CaveGnome et 3RavensMore aiment ceci
#7
Posté 18 mars 2015 - 02:52
Oy, I can't believe I didn't think of that.
Thanks FP.





Retour en haut







