Ancient Era Music: Flutes

Thalassicus

Bytes and Nibblers
Joined
Nov 9, 2005
Messages
11,057
Location
Texas
If you like having music in all the eras, I found these Mp3's on download.com. With the simple XML changes attached you can add some quiet Native American flute music in the Ancient era (which previously had none). I found the lack of music there disconcerting; this also transitions well to the Classical era, where several of the tracks use flutes and percussion. :)

The MP3 files can be downloaded here:
Channel Through (4mb)
Brook (.8mb)
Turquoise Rain (9mb)

(Main page: music.download.com/jimgordon/3600-8829_32-100662975.html)

Place the music under "CustomAssets\sounds\soundtrack\ancient" (create a new folder), and add the XML files to these locations:

CustomAssets\xml\audio
- Audio2DScripts.xml
- AudioDefines.xml

CustomAssets\xml\gameinfo
- CIV4EraInfos.xml
 

Attachments

Okay, I grabbed the songs from the download... and saw a few others that sound really sweet. So my question is, what do I need to do in order to make htem available as well?

Thanks.

Not an XML Genius--EvilE
 
It actually just involves copying some of the existing entries for music and editing it for the new music. Gajes explains it well:

Custom music in different eras
 
It looks like Audio2DScripts.xml and AudioDefines.xml were modified in the 1.52 patch. Can you make this mod compatible with 1.52?
 
No, see, what I'm saying is that the patch made some changes to some other part in the two files. So since your mod uses the 1.09 version of those files, using your mod would overwrite the changes made with the 1.52 patch.

I've found the changes and I'm updating your mod with the changes the 1.52 patch made.

Changes:
AudioDefines.xml
-Line 2322
-Line 2329
-Between Lines 2544 and 2545 there is a 7 line insert
-Lines 8463-8466 (Not counting above insert)

Audio2DScripts.xml
-Between Lines 7533 and 7534 there is a 22 line insert
-Line 11717 (Not counting above insert)
-Line 11737 (Not counting above insert)
 

Attachments

Back
Top Bottom