Making a custom Leader use Custom Music!

Ok... yeah that's an older version of Israel... This should work with G&K since it was also Fall Patched (I think)

...

So, about your file, you got your VFS's in order it seems, but there are two problems it seems. First, in the FileName thing you must not put ".mp3", you should remove the extension there. Also, in AS2D_LEADER_MUSIC_ZAACHILA_WAR you're still using my LAUTARO example instead of ZAACHILA...

Finally, a question: what's with the </Row>-<Row> ? Does using the "-" like that work? I usually simply break the line after rows.
 
So, about your file, you got your VFS's in order it seems, but there are two problems it seems. First, in the FileName thing you must not put ".mp3", you should remove the extension there.
Well, if I try to remove that from the music file's name I get an error that says: "If you change a file name extension, the file may become unusable. Are you sure you want to change it?". Or do mean I should just remove the .mp3 in the xml?
Also, in AS2D_LEADER_MUSIC_ZAACHILA_WAR you're still using my LAUTARO example instead of ZAACHILA...
:blush: Oops. Forgot about that; I copied it down from your code and changed what was applicable. But that was in war music defines, and the peace music doesn't even work. Or is it because of the whole "A SINGLE error in the XML file will invalidate the ENTIRE file, so you MUST look at the complete file and not just a single bit of it." thing I even have in my own signature? :lol:
Finally, a question: what's with the </Row>-<Row> ? Does using the "-" like that work? I usually simply break the line after rows.
Yep, I do it all the time in my files, which almost always work completely fine.
 
Well, if I try to remove that from the music file's name I get an error that says: "If you change a file name extension, the file may become unusable. Are you sure you want to change it?". Or do mean I should just remove the .mp3 in the xml?

Yup, only in the XML please.
 
Hey leugi, quick question: followed this tutorial and your other one about creating a custom soundtrack but my music isn't showing up... :sad:
Trying to make custom music for a new zapotec civ with LEADER_ZAACHILA, and based on your code this is what I have:
Code:
<GameData>
	<Audio_Sounds>
		<Row>
			<SoundID>SND_LEADER_MUSIC_ZAACHILA_PEACE</SoundID>
			<Filename>ZapotecPeace.mp3</Filename>
			<LoadType>DynamicResident</LoadType>
		</Row>-<Row>
			<SoundID>SND_LEADER_MUSIC_ZAACHILA_WAR</SoundID>
			<Filename>ZapotecWar.mp3</Filename>
			<LoadType>DynamicResident</LoadType>
		</Row>
	</Audio_Sounds>-<Audio_2DSounds>
		<Row>
			<ScriptID>AS2D_LEADER_MUSIC_ZAACHILA_PEACE</ScriptID>
			<SoundID>SND_LEADER_MUSIC_ZAACHILA_PEACE</SoundID>
			<SoundType>GAME_MUSIC</SoundType>
			<MinVolume>60</MinVolume>
			<MaxVolume>60</MaxVolume>
			<IsMusic>true</IsMusic>
		</Row>-<Row>
			<ScriptID>AS2D_LEADER_MUSIC_ZAACHILA_WAR</ScriptID>
			<SoundID>SND_LEADER_MUSIC_LAUTARO_WAR</SoundID>
			<SoundType>GAME_MUSIC</SoundType>
			<MinVolume>60</MinVolume>
			<MaxVolume>60</MaxVolume>
			<IsMusic>true</IsMusic>
		</Row>-<Row>
			<ScriptID>AS2D_AMBIENCE_LEADER_ZAACHILA_AMBIENCE</ScriptID>
			<SoundID>SND_AMBIENCE_FOG_OF_WAR_BED</SoundID>
			<SoundType>GAME_SFX</SoundType>
			<Looping>true</Looping>
			<MinVolume>60</MinVolume>
			<MaxVolume>60</MaxVolume>
		</Row>
	</Audio_2DSounds>
</GameData>
But the music doesn't show up; the game just keeps playing the loading music.
So a couple of questions:
1) You can use .mp3 files, correct? And they need to be VFS=true and the audio defines file should be VFS=false with an UpdateDatabase entry, right? Because that's what I have.

2) I noticed in your own Israel mod that you don't actually include the <Audio_Sounds> and <Audio_2DSounds> (or whatever it is) tags, and instead use <SoundData> and <Script2DSound>
tags. Is that my problem?
(and you may have updated your Israel mod several times by now; I downloaded it a while ago (v3)

3) Maybe a stupid question, but is this tutorial compatible with both G&K and BNW?

Did you reload Audio Systems in the Mod Properties? That may be your problem.
 
Did you reload Audio Systems in the Mod Properties? That may be your problem.
You know, up until now, I've never actually tried to add music to my mods so I didn't even know that box existed in the mod properties. :lol:
 
Ok... I think the problem might be because you're adding the same thing twice...

in DawnofMan_Speech_AD.xml:

Code:
<Row>
				<SoundID>SND_DOM_SPEECH_PHILIPPINES</SoundID>
				<Filename>philippines.mp3</Filename>
				<LoadType>DYNAMIC_RES</LoadType>
			</Row>

And on PhilCivMusic.xml

Code:
<Row>
			<SoundID>SND_DOM_SPEECH_PHILIPPINES</SoundID>
			<Filename>philippines.mp3</Filename>
			<LoadType>DynamicResident</LoadType>
		</Row>

So... its possible that because of that the Database is getting awry and not loading both files. Try removing all the DOM instances in your PhilMusic xml thing.
It's still not working :(
 
Another possible problem is on the filename thing: you have:

<Filename>philippines.mp3</Filename>

And Firaxis usually removes the extension, so you can try changing it to

<Filename>philippines</Filename>
 
Another possible problem is on the filename thing: you have:

<Filename>philippines.mp3</Filename>

And Firaxis usually removes the extension, so you can try changing it to

<Filename>philippines</Filename>
yeah I already try it
here is the updated .modinfo file

Should i import or not the PhilCivMusic.xml?

Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="c9c604c3-c41c-4b5f-bf7a-b647e9d46b27" version="9">
  <Properties>
    <Name>[COLOR_PLAYER_GOLDENROD][BNW] Philippine Republic[END_COLOR]</Name>
    <Teaser>[ICON_BULLET]Filipino Civilization</Teaser>
    <Stability>Alpha</Stability>
    <Description>
		  [ICON_BULLET][COLOR_CYAN]Unique Units[ENDCOLOR]:[NEWLINE]     "[COLOR_YELLOW]Katipunero[ENDCOLOR]" --> Replaces Rifleman which have "[COLOR_PLAYER_PURPLE]Son of Katipunan[ENDCOLOR]" Promotion[NEWLINE][NEWLINE]     "[COLOR_YELLOW]Moro Warrior[ENDCOLOR]" --> Replaces Pikeman which have "[COLOR_PLAYER_PURPLE]Bonus vs. Gun[ENDCOLOR]", "[COLOR_PLAYER_PURPLE]Bonus vs Mounted[ENDCOLOR]" and "[COLOR_PLAYER_PURPLE]Jungle Warfare[ENDCOLOR]" Promotion [ICON_MOVES][NEWLINE][NEWLINE][ICON_BULLET][COLOR_CYAN]Unique Trait[ENDCOLOR]:[NEWLINE]     "[COLOR_YELLOW]Pearl of the Orient[ENDCOLOR]" --> Gain [ICON_GOLD]Gold, [ICON_FOOD]Food and [ICON_CULTURE]Culture from Fishing Boats. Every Trade Route sent to Philippines receive +2 [ICON_GOLD] additional Gold.[NEWLINE][NEWLINE][NEWLINE]

		  [COLOR_GREEN]REQUIREMENTS[ENDCOLOR]:  God and Kings and Brave New World must be Installed; Compatible with [COLOR_PLAYER_GOLDENROD]Gods and Kings[ENDCOLOR], [COLOR_PLAYER_GOLDENROD]Brave NEw Wolrd[ENDCOLOR][NEWLINE]
    </Description>
    <Authors>[COLOR_CYAN]knightmare13[ENDCOLOR]</Authors>
    <SpecialThanks>Everyone who help me in this MOD</SpecialThanks>
    <HideSetupGame>0</HideSetupGame>
    <Homepage>http://forums.civfanatics.com/downloads.php?do=file&amp;id=19397</Homepage>
    <AffectsSavedGames>1</AffectsSavedGames>
    <MinCompatibleSaveVersion>0</MinCompatibleSaveVersion>
    <SupportsSinglePlayer>1</SupportsSinglePlayer>
    <SupportsMultiplayer>1</SupportsMultiplayer>
    <SupportsMac>1</SupportsMac>
    <ReloadAudioSystem>1</ReloadAudioSystem>
    <ReloadLandmarkSystem>0</ReloadLandmarkSystem>
    <ReloadStrategicViewSystem>1</ReloadStrategicViewSystem>
    <ReloadUnitSystem>1</ReloadUnitSystem>
  </Properties>
  <Dependencies>
		<Dlc id="6DA07636-4123-4018-B643-6575B4EC336B" minversion="0" maxversion="999" />
  </Dependencies>
  <References />
  <Blocks />
  <Files>
	<File md5="AB69BEF7D2F573BD155AE6F3D411A9DF" import="1">Art/Katipunero.xml</File>
	<File md5="E7936B69F578F3BD155AE6F3D411A010" import="1">Art/MoroWarrior.xml</File>
	<File md5="9BCD725239F578F3BD155AE6F3DAA010" import="1">Art/diplo_rizal.dds</File>
        <File md5="34E70ECC719EFA2EBF03D987D411EFA9" import="1">Art/dom_rizal.dds</File>
	<File md5="E4E7936B69BEF7D2C9AD8DF40039DF49" import="1">Art/gw_la_spoliarium.dds</File>
	<File md5="0725DA49223BD11C1D70D95582E11636" import="1">Art/gw_las_virgenes_cristianas.dds</File>
	<File md5="0CEF4874722BA6C11E8FF23D152597D3" import="1">Art/gw_under_tree.dds</File>
        <File md5="EBBC8FB3C921E95799EAE2C30FA9DE03" import="1">Art/Philippines_Rizal_Scene.xml</File>
        <File md5="3C63DCC5E8B2B3E263592EB18565E59C" import="1">Art/PhilMap.dds</File>
	<File md5="3C64722A05FB263592EB12856511E40V" import="1">Art/Phil_Civ_Icon_White_24.dds</File>
	<File md5="3C6360B1FA04722592EB12856572B15C" import="1">Art/Phil_Civ_Icon_White_32.dds</File>
	<File md5="3C6360B1FA05FB263472228565E50162" import="1">Art/Phil_Civ_Icon_White_48.dds</File>
	<File md5="3C6360B1FA05FB263592EB128565E59C" import="1">Art/Phil_Civ_Icon_White_64.dds</File>
        <File md5="2076BB42160B1FA05FB2C1DE1C0B0D5B" import="1">Art/Phil_Civ_Icon_128.dds</File>
        <File md5="C54E9410029248873F1FB92B39082519" import="1">Art/Phil_Civ_Icon_214.dds</File>
        <File md5="E192FCD5712D0019D78D5BF572B18A6D" import="1">Art/Phil_Civ_Icon_256.dds</File>
        <File md5="8D42A4691F12182970E69AD1881A89D8" import="1">Art/Phil_Civ_Icon_32.dds</File>
        <File md5="270869A652671FE51C7A3F1C8248946B" import="1">Art/Phil_Civ_Icon_45.dds</File>
        <File md5="39DF9C34D929BAA26D2F756120162F65" import="1">Art/Phil_Civ_Icon_64.dds</File>
        <File md5="00DA5F08FF565054F7FA2886D053320E" import="1">Art/Phil_Civ_Icon_80.dds</File>
	<File md5="41BA80ADC3D2C7B8D16BF45ACC0B88A8" import="1">Art/Phil_Promotion_Katipunero_256.dds</File>
	<File md5="71A730E5092DDD8B5F45ACC8F017B1A2" import="1">Art/Phil_Promotion_Katipunero_32.dds</File>
	<File md5="F81CB7D62A359237D8E118A0F13C2044" import="1">Art/Phil_Promotion_Katipunero_45.dds</File>
	<File md5="69063E75ED1FEFDE0B16DC176A5077C5" import="1">Art/Phil_Promotion_Katipunero_64.dds</File>
	<File md5="ADAB2873C05F76F765C5F4B1439A6AFE" import="1">Art/Phil_Unit_Katipunero_White_32.dds</File>
	<File md5="543000A5344E908BEF64D2D2D95ABA15" import="1">Art/Phil_Unit_Katipunero_128.dds</File>
	<File md5="FCAADC31928792B1A3D62EB61F983F17" import="1">Art/Phil_Unit_Katipunero_256.dds</File>
	<File md5="F079792B28E15AF1ED56313FB6ABA43E" import="1">Art/Phil_Unit_Katipunero_45.dds</File>
	<File md5="CE7B32E0327FAF73E6C895630696DE17" import="1">Art/Phil_Unit_Katipunero_64.dds</File>
	<File md5="3E291F2079AB6998DB834836AB48DC00" import="1">Art/Phil_Unit_Katipunero_80.dds</File>
	<File md5="E4E7936B69BEF7DC11E8FF2D152597D3" import="1">Art/Phil_Unit_Moro_White_32.dds</File>
        <File md5="0EC19B94EB54A15C10EED7399E80D736" import="1">Art/Phil_Unit_Moro_128.dds</File>
        <File md5="218CBE98015DCDA648FD0AE20DDC6142" import="1">Art/Phil_Unit_Moro_256.dds</File>
        <File md5="B2A3BABE04941966FA745D3A2C6B0B04" import="1">Art/Phil_Unit_Moro_45.dds</File>
        <File md5="24052913934DC2D56ADB3C607DEBCA98" import="1">Art/Phil_Unit_Moro_64.dds</File>
        <File md5="13546E07E20F3B28C11A62BCF9232A34" import="1">Art/Phil_Unit_Moro_80.dds</File>
        <File md5="65170469847A73DD4CF845A51B972147" import="1">Art/Rizal_Icon_128.dds</File>
        <File md5="761CA1602FD87F3CDA48C1927F7FE5E3" import="1">Art/Rizal_Icon_256.dds</File>
        <File md5="F901E8DA35F0ED8D84E559FD577B41AB" import="1">Art/Rizal_Icon_64.dds</File>
	<File md5="F31F535F0ED8F0E0C693E559FDDE147E" import="1">Art/Sv_Katipunero.dds</File>
	<File md5="761CA16A35F0E0C693E559FD577B41AB" import="1">Art/Sv_Moro.dds</File>
	<File md5="1F536A35F0E0C693E559FD577B41AB71" import="1">Art/u_filipino_katipunero_s.dds</File>
	<File md5="A0C69A16A35FE0C69FA7459FD57B41AB" import="1">Art/u_filipino_katipunero.gr2</File>
	<File md5="98ADE6A35F0E0C693E559FD577B41ABA" import="1">Art/u_filipino_katipunero.fxsxml</File>
	<File md5="8A886735F0E0C69FA749E53D577B41AB" import="1">Art/u_filipino_katipunero_d.dds</File>
	<File md5="A286A0C6935D6AD2EBD48EAE5B6B4400" import="1">Music/philippines.mp3</File>
        <File md5="F31F506CFD1E0CC0E01DF8918894DD63" import="1">Music/rizal_carinosa.mp3</File>
        <File md5="F3B195CE4BE1CDB7993F69A7294973E0" import="1">Music/rizal_singkil.mp3</File>
	<File md5="6935D5CE559FD569A7559FDD2945F17D" import="1">Music/PhilCivMusic.xml</File>
        <File md5="4789A6F65B27823FE9698ADEB4B48BFD" import="0">XML/Building/Building.xml</File>
        <File md5="A9B70481E9AF80BE406655E53EBA5F17" import="0">XML/Civilization/CIV5minorCivilization.xml</File>
        <File md5="5963660718A8867C5BC5D7354BB43CAA" import="0">XML/Civilization/Philippines.xml</File>
        <File md5="96453CAD39974BBB6DD82AAC729FEFF1" import="0">XML/Civilization/Traits.xml</File>
        <File md5="33807CBB0EA4E8F1E1100EC386797CB2" import="0">XML/GameInfo/CIV5IconTextureAtlases.xml</File>
	<File md5="DE8C87F74D547B3148944CA09AAD0A1C" import="0">XML/GreatWorks/CIV5GreatWorks.xml</File>
	<File md5="EA04C324404C7B826CB49E86ACBAC8FE" import="0">XML/GreatWorks/CIV5Units.xml</File>
        <File md5="78A8A50701F43D498934415DDE219270" import="0">XML/NewText/GameText.xml</File>
        <File md5="B2D7AF2A348844D70E57958CD1FE49D9" import="0">XML/Units/Promotions.xml</File>
        <File md5="07F83BD1457D0BEA49F5D339BA221631" import="0">XML/Units/Units.xml</File>
  </Files>
	<Actions>
		<OnModActivated>
			<UpdateDatabase>Art/Katipunero.xml</UpdateDatabase>
			<UpdateDatabase>Art/MoroWarrior.xml</UpdateDatabase>
			<UpdateDatabase>Art/Philippines_Rizal_Scene.xml</UpdateDatabase>
			<UpdateDatabase>XML/Civilization/Philippines.xml</UpdateDatabase>
			<UpdateDatabase>XML/Civilization/Traits.xml</UpdateDatabase>
			<UpdateDatabase>XML/Civilization/CIV5minorCivilization.xml</UpdateDatabase>
			<UpdateDatabase>XML/GameInfo/CIV5IconTextureAtlases.xml</UpdateDatabase>
			<UpdateDatabase>XML/GreatWorks/CIV5GreatWorks.xml</UpdateDatabase>
			<UpdateDatabase>XML/GreatWorks/CIV5Units.xml</UpdateDatabase>
			<UpdateDatabase>XML/Leaders/Leader_Rizal.xml</UpdateDatabase>
			<UpdateDatabase>Music/PhilCivMusic.xml</UpdateDatabase>
			<UpdateDatabase>XML/NewText/GameText.xml</UpdateDatabase>
			<UpdateDatabase>XML/Units/Units.xml</UpdateDatabase>
			<UpdateDatabase>XML/Units/Promotions.xml</UpdateDatabase>
		</OnModActivated>
	</Actions>
</Mod>

and PhilCivMusic.xml
Code:
<GameData>
	<Audio_Sounds>

		<!--Rizal Music-->
		<Row>
			<SoundID>SND_LEADER_MUSIC_RIZAL_PEACE</SoundID>
			<Filename>rizal_carinosa</Filename>
			<LoadType>DynamicResident</LoadType>
		</Row>
		<Row>
			<SoundID>SND_LEADER_MUSIC_RIZAL_WAR</SoundID>
			<Filename>rizal_singkil</Filename>
			<LoadType>DynamicResident</LoadType>
		</Row>
		<Row>
			<SoundID>SND_DOM_SPEECH_PHILIPPINES</SoundID>
			<Filename>philippines</Filename>
			<LoadType>DynamicResident</LoadType>
		</Row>
		<!--Rizal Music-->
	</Audio_Sounds>
	<Audio_2DSounds>
		<!--Rizal Music For Audio Scripts-->
		<Row>
			<ScriptID>AS2D_LEADER_MUSIC_RIZAL_PEACE</ScriptID>
			<SoundID>SND_LEADER_MUSIC_RIZAL_PEACE</SoundID>
			<SoundType>GAME_MUSIC</SoundType>
			<MinVolume>80</MinVolume>
			<MaxVolume>80</MaxVolume>
			<IsMusic>true</IsMusic>
		</Row>
		<Row>
			<ScriptID>AS2D_LEADER_MUSIC_RIZAL_WAR</ScriptID>
			<SoundID>SND_LEADER_MUSIC_RIZAL_WAR</SoundID>
			<SoundType>GAME_MUSIC</SoundType>
			<MinVolume>120</MinVolume>
			<MaxVolume>120</MaxVolume>
			<IsMusic>true</IsMusic>
		</Row>
		<Row>
			<ScriptID>AS2D_AMBIENCE_LEADER_RIZAL_AMBIENCE</ScriptID>
			<SoundID>SND_AMBIENCE_COAST_BED</SoundID>
			<SoundType>GAME_SFX</SoundType>
			<Looping>true</Looping>
			<MinVolume>60</MinVolume>
			<MaxVolume>60</MaxVolume>
		</Row>
		<Row>
			<ScriptID>AS2D_DOM_SPEECH_PHILIPPINES</ScriptID>
			<SoundID>SND_DOM_SPEECH_PHILIPPINES</SoundID>
			<SoundType>GAME_SPEECH</SoundType>
			<iMaxVolume>80</iMaxVolume>
			<iMinVolume>80</iMinVolume>
			<IsMusic>true</IsMusic>
		</Row>
		<!--Rizal Music-->
	</Audio_2DSounds>


</GameData>
 
import music, updatedatabase for xml.

BTW great tutorial Leugi! :thumbsup: Now I have to do a bunch updates to add music though...
 
and PhilCivMusic.xml
Code:
<Audio_2DSounds>
		<!--Rizal Music For Audio Scripts-->
		<Row>
			<ScriptID>AS2D_LEADER_MUSIC_RIZAL_PEACE</ScriptID>
			<SoundID>SND_LEADER_MUSIC_RIZAL_PEACE</SoundID>
			<SoundType>GAME_MUSIC</SoundType>
			<MinVolume>80</MinVolume>
			<MaxVolume>80</MaxVolume>
			<IsMusic>true</IsMusic>
		</Row>
		<Row>
			<ScriptID>AS2D_LEADER_MUSIC_RIZAL_WAR</ScriptID>
			<SoundID>SND_LEADER_MUSIC_RIZAL_WAR</SoundID>
			<SoundType>GAME_MUSIC</SoundType>
			<MinVolume>120</MinVolume>
			<MaxVolume>120</MaxVolume>
			<IsMusic>true</IsMusic>
		</Row>
		<Row>
			<ScriptID>AS2D_AMBIENCE_LEADER_RIZAL_AMBIENCE</ScriptID>
			<SoundID>SND_AMBIENCE_COAST_BED</SoundID>
			<SoundType>GAME_SFX</SoundType>
			<Looping>true</Looping>
			<MinVolume>60</MinVolume>
			<MaxVolume>60</MaxVolume>
		</Row>
		<Row>
			<ScriptID>AS2D_DOM_SPEECH_PHILIPPINES</ScriptID>
			<SoundID>SND_DOM_SPEECH_PHILIPPINES</SoundID>
			<SoundType>GAME_SPEECH</SoundType>
			<[B]iMaxVolume[/B]>80</[B]iMaxVolume[/B]>
			<[B]iMinVolume[/B]>80</[B]iMinVolume[/B]>
			<IsMusic>true</IsMusic>
		</Row>
		<!--Rizal Music-->
	</Audio_2DSounds>
I just found out that the iMaxVolume and iMinVolume tag are the ones who are causing the sound not to play. now it works fine.
:thumbsup: Thanks Leugi for this great tutorial.
 
Forgive me if I'm just being dumb, and missing something really obvious. Right now I'm working on remaking and upgrading the old Nightmare Before Christmas Civ that I made with my Dad back in Vanilla. As far as I can tell, I've done everything right. I have the sounds xml file set up in the actions tab on modbuddy, and the VFS is set to true, which I think is right from what I've compared with other mods.
Can someone explain what may be going wrong?

Spoiler :
<GameData>
<Audio_Sounds>


<Row>
<SoundID>SND_LEADER_MUSIC_JSKELLINGTON_PEACE</SoundID>
<Filename>JSKELLINGTONPeace</Filename>
<LoadType>DynamicResident</LoadType>
</Row>
<Row>
<SoundID>SND_LEADER_MUSIC_JSKELLINGTON_WAR</SoundID>
<Filename>JSKELLINGTONWar</Filename>
<LoadType>DynamicResident</LoadType>
</Row>

</Audio_Sounds>
<Audio_2DSounds>

<Row>
<ScriptID>AS2D_LEADER_MUSIC_JSKELLINGTON_PEACE</ScriptID>
<SoundID>SND_LEADER_MUSIC_JSKELLINGTON_PEACE</SoundID>
<SoundType>GAME_MUSIC</SoundType>
<MinVolume>120</MinVolume>
<MaxVolume>120</MaxVolume>
<IsMusic>true</IsMusic>
</Row>
<Row>
<ScriptID>AS2D_LEADER_MUSIC_JSKELLINGTON_WAR</ScriptID>
<SoundID>SND_LEADER_MUSIC_JSKELLINGTON_WAR</SoundID>
<SoundType>GAME_MUSIC</SoundType>
<MinVolume>80</MinVolume>
<MaxVolume>80</MaxVolume>
<IsMusic>true</IsMusic>
</Row>
<Row>
<ScriptID>AS2D_AMBIENCE_LEADER_JSKELLINGTON_AMBIENCE</ScriptID>
<SoundID>SND_AMBIENCE_COAST_BED</SoundID>
<SoundType>GAME_SFX</SoundType>
<Looping>true</Looping>
<MinVolume>60</MinVolume>
<MaxVolume>60</MaxVolume>
</Row>

</Audio_2DSounds>


</GameData>
 
Did you reload the audio system? (Check in your mod properties, the Mod Info tab)
 
Just did that, as well as increasing the MaxVolume and MinVolume like the post above mine, and now the Peace Theme is working. War doesn't seem to be, though.

EDIT: Just tried playing against the current version of NMBC, the War Music works as long as you don't play as them. It'll play in diplomacy when you are at war with them, but not when you are at war as them.
 
If you play as them and declare war on another player, that player's war theme will play before yours. If you're just using IGE or some other method of taking the fast way into war, it'll usually just skip to a default war track.
 
Now I feel dumb for never noticing that before. Thanks for all the help, you two.
 
What if you want more than 1 song to play? How would you do it?

edit: never mind, I figured it out.
 
@king_dean: wait, how did you do that? Leaders don't tend to have many musics.
 
Okay, so this tutorial marvelously explains how to add custom peace and war music... but doesn't the base game include "Either" music? i.e. some file path in the civ5 folder (I don't know the filepath, and I'm not on a computer where I can look it up right now) contains folders called Peace, War, and Either. I'm assuming this is music that plays during both war and peacetime?

Given that, do you know if it's possible to add Either music in much the same way as adding peace or war music, just substituting such words for EITHER in the SoundID? If that made sense?
 
Top Bottom