Custom Music

JBearIt

Ard Ri
Joined
Sep 3, 2001
Messages
336
Location
Indianapolis, IN
When you change the music folder from the default to one of your own folders, how does the game select which song to play first and the order of songs from there? So far, I've just pointed the selection to my computer's general music folder, which contains all my .mp3s. The first 4 times, I played Civ4 with that folder selected, it always started with the very same song. I didn't see any rhyme or reason to it. The song was not the first alphabetically nor was it the first chronologically. Although I can't be positive, I think the other songs also always played in the same order. In between my fourth and fifth playing sessions, I deleted a few songs from my music folder - although I didn't touch the song that had been always playing first. When I started my fifth playing session, a different song played first and that song played first again in my sixth session. I'd rather just have random play always. Anyway of achieving this?
 
ok, i'm not good enough with script so that i know how to randomize your playlist, but you can definitely customize it.

there is an XML file that defines the order of all the audio clips. it's fairly straightforward, there's a filename under <SONG_ANCIENT_SOUNDTRACK_1>, another file under <SONG_ANCIENT_SOUNDTRACK_2>, etc., which evidently determines the order of playback.

civ4\assets\XML\audio\audiodefines.xml


have fun. make some relevant music for all of us.
 
niffweed17 said:
ok, i'm not good enough with script so that i know how to randomize your playlist, but you can definitely customize it.

there is an XML file that defines the order of all the audio clips. it's fairly straightforward, there's a filename under <SONG_ANCIENT_SOUNDTRACK_1>, another file under <SONG_ANCIENT_SOUNDTRACK_2>, etc., which evidently determines the order of playback.

civ4\assets\XML\audio\audiodefines.xml

But I'm just using the options screen to select custom music and then pointing to my music file. I haven't messed around with the XML to define anything as ancient, classical, industrial, etc. Somehow the game is selecting a song to play without apparent reference to the XML audiodefines file.
 
Back
Top Bottom