Fractal Softworks Forum

Starsector => Mods => Modding => Topic started by: Silver Silence on June 07, 2013, 11:33:38 PM

Title: Low/High action music
Post by: Silver Silence on June 07, 2013, 11:33:38 PM
Have any modders thought to make custom music for starfarer, one low and one high action?

Tha hell do I mean by that?
Ever played Borderlands, or Borderlands 2? Ever noticed how the music kicks it into high gear when you get into a serious fight?

Low (http://www.youtube.com/watch?v=bsp1YVPWcmw)
High (http://www.youtube.com/watch?v=SVpYZnSiXa0)

Anyone enough of a composer as to make music for their mods that's essentially a calm track for when cruising in the campaign, and then a more tense one for when in a fight?

At the moment, I'm tempted to go open up Ascendancy and hijack re-appropriate borrow the code from there to implement some borderlands music into my own starfarer.
Title: Re: Low/High action music
Post by: Pelly on June 08, 2013, 02:00:27 AM
The Music code is not hard, you just add songs into the category "campaign", "battle", "title". Then you can have multiple songs for different situations.

directory: data/config/sounds.json

Code
"music":{

"music_title":[
{"file":"title1.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.3},
{"file":"title2.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.3},
{"file":"title3.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.3}
],
"music_campaign":[
{"file":"campaign1.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.3},
{"file":"campaign2.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.3},
{"file":"campaign3.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.3},
{"file":"campaign4.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.3}
],
"music_combat":[
{"file":"combat1.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.01},
{"file":"combat2.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.01},
{"file":"combat3.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.01},
{"file":"combat4.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.01},
{"file":"combat5.ogg","source":"sounds/BFG/music","pitch":1,"volume":0.01}
],

},
Title: Re: Low/High action music
Post by: Psiyon on June 08, 2013, 09:23:58 AM
Yeah, Alex added in support for this a while back :P

I actually composed the battle tracks for Ascendency for the lulz before he added that in, but I just got incredibly lucky when he mentioned that combat music would be supported in the next version... which I think was like, .52 or something at the time.

However, what you can't do is change the intensity of the combat music based on battle size. The same stuff will play whether you're in a 1v1 with a frigate, or a 69vs393 with massive fleets.
Title: Re: Low/High action music
Post by: Silver Silence on June 08, 2013, 10:24:25 AM
Yeah, Alex added in support for this a while back :P

I actually composed the battle tracks for Ascendency for the lulz before he added that in, but I just got incredibly lucky when he mentioned that combat music would be supported in the next version... which I think was like, .52 or something at the time.

However, what you can't do is change the intensity of the combat music based on battle size. The same stuff will play whether you're in a 1v1 with a frigate, or a 69vs393 with massive fleets.

Then you'll just have to have your music so epic that it sounds right no matter what battle you're in.  :D
Except when it plays when you're in a simulation and just flying your ship around a bit to tweak the weapon groups and such....