Jump to content

Changing GC music


Lune

Recommended Posts

So apparently the GC music entries are right at the top of sounds_gc.xml, which is pretty handy. Are there any specific requirements as to the format of the music file, other than they have to be (?) in .ogg format?

I swapped in several other songs and while they work fine, there's a distinct pause before the music loops. And it doesn't seem to loop the same track, it'll pick up any other track in the respective day/night list. Any way of getting it to stay on the same track?

Also, are the tracks loaded into memory? Because if not I figure I'd just loop the tracks myself to something like 20 minutes so the pause when it ends isn't so noticeable, which means the files will be rather large. Still, at ~1mb-ish for approx 2 mins of .ogg audio I suppose there's no reason to worry about this (after all the original tracks are like 10-20mb).

There doesn't appear to be any numbering scheme, I presume we can just add additional tracks by inserting more <wave></wave> entries? In the Soldier Sounds mod thread the author said he had to cap the number of sounds he added because the game would crash after too many.

Link to comment
Share on other sites

On a related note, is it possible to set a map to pick from certain background music tracks instead of all of them from the day/night list?

I'm thinking since the maps use specific tilesets then why not tag the background music as well. That way if I have something like

I could tag it for Industrial tileset only so it doesn't play in deserts, etc. Similarly I'd like to confine a nice electric sax piece to desert nights, because it'd be out of place at farms, etc.

So instead of just:

<Sound name="GC Music Night" volume="1.0" group="2" comment="Music played during the GC night missions">

<Wave> ... </Wave>

</Sound>

...can we also add <tileset> parameters, or however tilesets/maps are identified?

<Wave tileset=""> ... </Wave>

(What is that group="2" thing btw?) It gets stale hearing the same three day/night tracks everywhere, but simply adding tracks to a generic day/night pool may not always be appropriate. For example iirc SimCity2k's music was released to the public domain, and some of the tracks would make for sweet GC music, although only for certain environments.

Edit:

Anyone else bit by that Crusader: No Remorse nostalgia bug when you heard that track? :P If so, check this out:

Edited by Lune
Because sick remix
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...