Avorion

Avorion

XSF: Sector Music System
3 Comments
Adalbert 22 Sep @ 4:53am 
Thanks, I'll look into it whenever I'll play Avorion with some bros again.

Also some suggestions:
Combat - non-combat selection
- in addition ability to have pairs of tracks with the same length, that it could switch between seamlessly, like the cool dynamic music some games have.
LM13  [author] 22 Sep @ 4:45am 
@Adalbert

In theory yes, music can change based on any information or callback available on the client.
It does require some modding experience, but shouldn't be that hard to make.

The lazy way would be to just check volume number, then assign a track with player name instead of sector property string.

-- 0,0 to use same music regardless of galaxy map coordinates
.GetPredefinedInt(0, 0, _PlayerName, _Min, _Max)

It would still need a callback route for when player appears and leaves.
Adalbert 22 Sep @ 4:13am 
When I played the game in multiplayer, I wished for a mod kinda like this, but for when a specific ship enters a sector, would that be possible?

(I was imagining the flagship of a player having its own theme music that starts playing when the ship shows up.)