Question for the Devs, regarding music/selection...

I think I've found a way to add new (additional, not just replace) tunes into the game. So far it seems to be working.

My question is this, is there anything we can do, at this time, to further randomize the tracks the game chooses? The way I see it, the way they're listed in the various files, seems more like a playlist, to be played in order.

For instance, whenever you start a game as TEC, the first track you hear is always the same one. I've added a few more to them, and they play (eventually). Is there any way to make it just look at the list and play a random track from it?

What I'm attempting, is to add dozens of songs to it (various BSG, firefly, etc sountracks I've got). While I'm fairly certain adding them in will be no problem (added 4-5 as a test so far and I've heard them all), I'm more curious about the way the game chooses which track to play.

What I'm looking for, is a way to basically turn the track selection into a pseudo-shuffle mode on any given CD player. If that's even possible...

5,946 views 6 replies
Reply #1 Top
could it be the odd numbers in a track description. if a given track has those same
numbers those tracks are randomized else diffenrent numbers one takes priority over
an other like the sounds do...

actionLevel 0.25
actionRange 0.125
emotionLevel 0.0
emotionRange 0.5
Reply #2 Top
If you want a straight shuffle mode, you'll want to set all the hints to the music system to

actionLevel 0.5
actionRange 0.5
emotionLevel 0.0
emotionRange 1.0

then it will always choose between all the tracks.

The reason why you mostly hear the same track at the start(it might be only one if you're TEC, I haven't checked, but I know that Advent has a couple of them) is because the beginning of the game always starts the same; there isn't much action happening and things are pretty neutral in terms of whether the player is doing well or poorly.

If you want to hear a different track at the beginning, find out which track it is and copy the action/emotion hints for your new track.
Reply #3 Top
Ah, cool. I was wondering if those values had some role in it.

Am I correct in assuming that the number emotionRange 1.0 represents 100% (ie full range), whereas 0.5 is 50%?


If that's the case, couldn't you set the two levels to 0, and the ranges to 100 to catch all of them?

This has got me extremely interested now. If it works, and I can write up a coherent-enough how-to, it may prove useful to people wanting to ad their own music to the game, without having to piss around with overwriting the game's default tracks.

I've already discovered that it doesn't care if they're ogg, mp3, or wav, which adds even more ease for folks.

I really believe that you could add 100s of tracks to it for an immense amount of variety. That's what I'm going to dig into a little deeper anyway.
Reply #4 Top
Yah, setting both levels to 0.0 and ranges to 1.0 should do the same thing as what I outlined above, although it's a little less precise as technically, the action goes from 0 to 1, and the emotion goes from -1 to 1.
Reply #5 Top
I'm just playing with some different settings right now. Testing the 0.0-1.0 thing now.
Reply #6 Top
where do you go to change the settings of the music ie the 0.5 thing

nvm found it