Playlist.xml:游戏背景音乐
Playlist.xml需要用AOE3ED在sound文件夹的soundxml2.bar里面提取。
打开Playlist.xml会见到以下语句。
<?xml version="1.0" encoding="utf-8"?>
<playlists>
<playlist name="Primary">游戏开始时播放的音乐
<musicset name="Muptop">播放的音乐
<file volume="1.0" mood="normal">Music\Standard\Muptop.mp3</file>路径
</musicset>
下面的语句同上。
<musicset name="HappyToYou">
<file volume="1.0" mood="normal">Music\Standard\HappyToYou.mp3</file>
</musicset>
<musicset name="GetOffMyBand">
<file volume="1.0" mood="normal">Music\Standard\GetOffMyBand.mp3</file>
</musicset>
<musicset name="GetYeSum">
<file volume="1.0" mood="normal">Music\Standard\GetYeSum.mp3</file>
</musicset>
<musicset name="MajorRewriteGeneralChunks">
<file volume="1.0" mood="normal">Music\Standard\MajorRewriteGeneralChunks.mp3</file>
</musicset>
<musicset name="FeloniousJunk">
<file volume="1.0" mood="normal">Music\Standard\FeloniousJunk.mp3</file>
</musicset>
<musicset name="IMenevero">
<file volume="1.0" mood="normal">Music\Standard\IMenevero.mp3</file>
</musicset>
<musicset name="LeisurelyBrows">
<file volume="1.0" mood="normal">Music\Standard\LeisurelyBrows.mp3</file>
</musicset>
<musicset name="OfLicious">
<file volume="1.0" mood="normal">Music\Standard\OfLicious.mp3</file>
</musicset>
</playlist>
<playlist name="battle">攻击敌人城镇中心播放的音乐
<file volume="1.0">Music\Battle\BubbleChum.mp3</file>
<file volume="1.0">Music\Battle\Ruinion.mp3</file>
<file volume="1.0">Music\Battle\CamelsStrawsAndBacks.mp3</file>
</playlist>
<playlist name="WonGame">获胜后播放的音乐
<file volume="1.0" mood="normal">Music\Interface\Niceterium.mp3</file>
</playlist>
<playlist name="WonGameRevOrTrade">革命胜利或贸易垄断胜利播放的音乐
<file volume="1.0" mood="normal">Music\Interface\GeluAustrinum.mp3</file>
</playlist>
<playlist name="LostGame">失败时放的音乐
<file volume="1.0" mood="normal">Music\Interface\LudusPerditus.mp3</file>
</playlist>
</playlists>
可以自己仿照,添加新音乐
|
Playlist.xml - 记事本 |
____ |
□ |
X |
|
|
文件(F) 编辑(E) 格式(O) 查看(V) 帮助(H) |
|
|
|
|
|
<!-- converted from XMB to XML -->
<playlists> <playlist name="Primary"> <musicset name="123456"> <file volume="1.0" mood="normal">Music\Standard\123456.mp3</file> </musicset> <musicset name="Muptop"> <file volume="1.0" mood="normal">Music\Standard\Muptop.mp3</file> </musicset> <musicset name="HappyToYou"> <file volume="1.0" mood="normal">Music\Standard\HappyToYou.mp3</file> </musicset> <musicset name="GetOffMyBand"> <file volume="1.0" mood="normal">Music\Standard\GetOffMyBand.mp3</file> </musicset> <musicset name="GetYeSum"> <file volume="1.0" mood="normal">Music\Standard\GetYeSum.mp3</file> </musicset> <musicset name="ffffff"> <file volume="1.0" mood="normal">Music\Standard\ffffff.mp3</file> </musicset> <musicset name="16777215"> <file volume="1.0" mood="normal">Music\Standard\16777215.mp3</file> </musicset> <musicset name="2147483628"> <file volume="1.0" mood="normal">Music\Standard\2147483628.mp3</file> </musicset> <musicset name="MajorRewriteGeneralChunks"> <file volume="1.0" mood="normal">Music\Standard\MajorRewriteGeneralChunks.mp3</file> </musicset> <musicset name="FeloniousJunk"> <file volume="1.0" mood="normal">Music\Standard\FeloniousJunk.mp3</file> </musicset> <musicset name="IMenevero"> <file volume="1.0" mood="normal">Music\Standard\IMenevero.mp3</file> </musicset> <musicset name="LeisurelyBrows"> <file volume="1.0" mood="normal">Music\Standard\LeisurelyBrows.mp3</file> </musicset> <musicset name="OfLicious"> <file volume="1.0" mood="normal">Music\Standard\OfLicious.mp3</file> </musicset> <musicset name="LastNameCraneIchabod"> <file volume="1.0" mood="normal">Music\Standard\LastNameCraneIchabod.mp3</file> </musicset> <musicset name="ABCDEDG"> <file volume="1.0" mood="normal">Music\Standard\ABCDEDG.mp3</file> </musicset> </playlist> <playlist name="battle"><!-- 如果不喜欢攻击当然贸易站或城镇中心改变音乐,可以删掉这几句--> <file volume="1.0">Music\Battle\BubbleChum.mp3</file> <file volume="1.0">Music\Battle\Ruinion.mp3</file> <file volume="1.0">Music\Battle\CamelsStrawsAndBacks.mp3</file> </playlist> <playlist name="WonGame"> <file volume="1.0" mood="normal">Music\Interface\Niceterium.mp3</file> </playlist> <playlist name="WonGameRevOrTrade"> <file volume="1.0" mood="normal">Xpack\Music\Interface\GeluAustrinum.mp3</file> </playlist> <playlist name="LostGame"> <file volume="1.0" mood="normal">Music\Interface\LudusPerditus.mp3</file> </playlist> </playlists>
|
|
|
PS:全部音乐都是按照顺序播放的,不是随机的
3.5版本补充
在musicset标签里面添加一个元素 culture="文化调用名",就可以使该音乐只对属于某个文化的国家生效,其他国家则不会出现这个音乐。
culture="此处填文化调用名(自行参考data3.bar的civs.xml或者cultures.xml)"
这是例子(Muptop.mp3只对属于西欧的文化的英国与法国生效):
<musicset name="Muptop" culture="WesternEurope">
<file volume="1.0" mood="normal">Music\Standard\Muptop.mp3</file>
</musicset>
经过测试,只有在musicset标签有效,在特殊音乐(胜利、失败、贸易站胜利那)设定无法使用。
|
Playlist.xml - 记事本 |
____ |
□ |
X |
|
|
文件(F) 编辑(E) 格式(O) 查看(V) 帮助(H) |
|
|
|
|
|
<!-- converted from XMB to XML -->
<playlists> <playlist name="Primary"> <musicset name="123456" culture="EasternEurope"> <file volume="1.0" mood="normal">Music\Standard\123456.mp3</file> </musicset> <musicset name="Muptop" culture="WesternEurope"> <file volume="1.0" mood="normal">Music\Standard\Muptop.mp3</file> </musicset> <musicset name="HappyToYou"> <file volume="1.0" mood="normal">Music\Standard\HappyToYou.mp3</file> </musicset> <musicset name="GetOffMyBand" culture="WesternEurope"> <file volume="1.0" mood="normal">Music\Standard\GetOffMyBand.mp3</file> </musicset> <musicset name="GetYeSum"> <file volume="1.0" mood="normal">Music\Standard\GetYeSum.mp3</file> </musicset> <musicset name="ffffff"> <file volume="1.0" mood="normal">Music\Standard\ffffff.mp3</file> </musicset> <musicset name="16777215"> <file volume="1.0" mood="normal">Music\Standard\16777215.mp3</file> </musicset> <musicset name="2147483628" culture="Chinese"> <file volume="1.0" mood="normal">Music\Standard\2147483628.mp3</file> </musicset> <musicset name="MajorRewriteGeneralChunks"> <file volume="1.0" mood="normal">Music\Standard\MajorRewriteGeneralChunks.mp3</file> </musicset> <musicset name="FeloniousJunk"> <file volume="1.0" mood="normal">Music\Standard\FeloniousJunk.mp3</file> </musicset> <musicset name="IMenevero"> <file volume="1.0" mood="normal">Music\Standard\IMenevero.mp3</file> </musicset> <musicset name="LeisurelyBrows"> <file volume="1.0" mood="normal">Music\Standard\LeisurelyBrows.mp3</file> </musicset> <musicset name="OfLicious"> <file volume="1.0" mood="normal">Music\Standard\OfLicious.mp3</file> </musicset> <musicset name="LastNameCraneIchabod"> <file volume="1.0" mood="normal">Music\Standard\LastNameCraneIchabod.mp3</file> </musicset> <musicset name="ABCDEDG" culture="WesternEurope"> <file volume="1.0" mood="normal">Music\Standard\ABCDEDG.mp3</file> </musicset> </playlist> <playlist name="battle">< <file volume="1.0">Music\Battle\BubbleChum.mp3</file> <file volume="1.0">Music\Battle\Ruinion.mp3</file> <file volume="1.0">Music\Battle\CamelsStrawsAndBacks.mp3</file> </playlist> <playlist name="WonGame"> <file volume="1.0" mood="normal">Music\Interface\Niceterium.mp3</file> </playlist> <playlist name="WonGameRevOrTrade"> <file volume="1.0" mood="normal">Xpack\Music\Interface\GeluAustrinum.mp3</file> </playlist> <playlist name="LostGame"> <file volume="1.0" mood="normal">Music\Interface\LudusPerditus.mp3</file> </playlist> </playlists>
|
|
|