1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Accessing music in another MOD

Discussion in 'Civ5 - SDK / LUA' started by ispanets, Feb 19, 2014.

  1. ispanets

    ispanets Warlord

    Joined:
    Apr 1, 2013
    Messages:
    135
    Location:
    Moscow
    Hi all,

    Due to Steam size restrictions, I have put my mod music in another mod. Now I have Lord of the RIngs mod, and Lord of the Rings soundtrack mod. The second one has all the music and the Music and Music2d xml.

    When I activate both mods in the MOD tab in CIV V, the scenario itself works well but the music is ignored.

    I made a reference (not a dependence) in LOTR mod to the LOTR soundtrack, but no way. I have also tried to put the Music and Music2d xml in LOTR, and the filename tags pointing to the other soundtrack mod.

    NO WAY.

    Does anybody know how to make the game play the music of an activated mod with only music in another mod/scenario?

    Thanks in advance.

    Khose

    JJ
     
  2. Gedemon

    Gedemon Modder Moderator

    Joined:
    Oct 4, 2004
    Messages:
    9,324
    Location:
    France
    Is the database correctly updated ?

    It works well in my WWII mod (I've not released the current soundtrack mod, but the national anthem mod is working)
     
  3. Vicevirtuoso

    Vicevirtuoso The Modetta Man

    Joined:
    May 14, 2013
    Messages:
    775
    Location:
    The Wreckage, Brother
    You've got it backwards. The soundtrack should reference the civilization mod. When you put a reference into your mod properties, it forces the referenced mod to load first if it is present. You'll need to have the civilization loaded before the soundtrack update will work.
     
  4. ispanets

    ispanets Warlord

    Joined:
    Apr 1, 2013
    Messages:
    135
    Location:
    Moscow
    Guys, thanks for answering. I'm going to try it. :)

    EDIT: I have seen what you have done, GEDEMON. You overwrite the file names and replace the songs. I would like to add a new ones with new SoundID and ScriptID. It worked when all was together, but in different mods it seems not to work.

    I have changed all as you Vicevirtuoso said: I put a reference in the Soundtrack. But no way, it loads songs with default ScriptID.

    Is the only possibility to overwrite song names?

    Thanks.
     
  5. Gedemon

    Gedemon Modder Moderator

    Joined:
    Oct 4, 2004
    Messages:
    9,324
    Location:
    France
    I wasn't talking of the loading screen speeches, those are indeed replaced files, but the first song played when entering game or in the diplo screen.

    Here's the code of the file to update the database in my add-on mod:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- Created by ModBuddy on 9/15/2013 1:52:39 AM -->
    <GameData>
    
    	<!-- USSR ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    	<Audio_Sounds>
    		<Row>
    			<SoundID>SND_LEADER_MUSIC_USSR</SoundID>
    			<Filename>_NationalAnthemUSSR</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    	</Audio_Sounds>
    	<Audio_2DSounds>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_CATHERINE_PEACE</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_USSR</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_CATHERINE_WAR</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_USSR</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>		
    	</Audio_2DSounds>
    	
    	<!-- France ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    	<Audio_Sounds>
    		<Row>
    			<SoundID>SND_LEADER_MUSIC_FRANCE</SoundID>
    			<Filename>_NationalAnthemFrance</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    	</Audio_Sounds>	
    	<Audio_2DSounds>		
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_NAPOLEON_PEACE</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_FRANCE</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>30</MaxVolume>
    			<MinVolume>30</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_NAPOLEON_WAR</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_FRANCE</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>			
    			<MaxVolume>30</MaxVolume>
    			<MinVolume>30</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>	
    	</Audio_2DSounds>
    
    	<!-- Germany ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    	<Audio_Sounds>
    		<Row>
    			<SoundID>SND_LEADER_MUSIC_GERMANY</SoundID>
    			<Filename>_NationalAnthemGermany</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    
    	</Audio_Sounds>
    	<Audio_2DSounds>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_BISMARCK_PEACE</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_GERMANY</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_BISMARCK_WAR</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_GERMANY</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    	</Audio_2DSounds>
    
    	<!-- USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    	<Audio_Sounds>
    		<Row>
    			<SoundID>SND_LEADER_MUSIC_AMERICA</SoundID>
    			<Filename>_NationalAnthemUSA</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    
    	</Audio_Sounds>
    	<Audio_2DSounds>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_WASHINGTON_PEACE</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_AMERICA</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_WASHINGTON_WAR</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_AMERICA</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    	</Audio_2DSounds>
    	
    	<!-- U.K. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    	<Audio_Sounds>
    		<Row>
    			<SoundID>SND_LEADER_MUSIC_UK</SoundID>
    			<Filename>_NationalAnthemUK</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    	</Audio_Sounds>
    	<Audio_2DSounds>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_ELIZABETH_PEACE</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_UK</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_ELIZABETH_WAR</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_UK</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    	</Audio_2DSounds>
    
    	<!-- China ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    	<Audio_Sounds>
    		<Row>
    			<SoundID>SND_LEADER_MUSIC_CHINA</SoundID>
    			<Filename>_NationalAnthemChina</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    	</Audio_Sounds>
    	<Audio_2DSounds>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_WU_ZETIAN_PEACE</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_CHINA</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_WU_ZETIAN_WAR</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_CHINA</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    	</Audio_2DSounds>
    
    	<!-- Greece ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    	<Audio_Sounds>
    		<Row>
    			<SoundID>SND_LEADER_MUSIC_GREECE</SoundID>
    			<Filename>_NationalAnthemGreece</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    	</Audio_Sounds>
    	<Audio_2DSounds>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_ALEXANDER_PEACE</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_GREECE</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>60</MaxVolume>
    			<MinVolume>60</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_ALEXANDER_WAR</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_GREECE</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>60</MaxVolume>
    			<MinVolume>60</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    	</Audio_2DSounds>
    
    	<!-- Italy ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    	<Audio_Sounds>
    		<Row>
    			<SoundID>SND_LEADER_MUSIC_ITALY</SoundID>
    			<Filename>_NationalAnthemItaly</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    	</Audio_Sounds>
    	<Audio_2DSounds>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_AUGUSTUS_PEACE</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_ITALY</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_AUGUSTUS_WAR</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_ITALY</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    	</Audio_2DSounds>
    
    	<!-- Japan ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
    	<Audio_Sounds>
    		<Row>
    			<SoundID>SND_LEADER_MUSIC_JAPAN</SoundID>
    			<Filename>_NationalAnthemJapan</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    	</Audio_Sounds>
    	<Audio_2DSounds>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_ODA_NOBUNAGA_PEACE</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_JAPAN</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>AS2D_LEADER_MUSIC_ODA_NOBUNAGA_WAR</ScriptID>
    			<SoundID>SND_LEADER_MUSIC_JAPAN</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MaxVolume>40</MaxVolume>
    			<MinVolume>40</MinVolume>
    			<IsMusic>True</IsMusic>
    		</Row>
    	</Audio_2DSounds>
      
    </GameData>
    
    
    the files with VFS set to true:

    _NationalAnthemChina.mp3
    _NationalAnthemFrance.mp3
    _NationalAnthemGermany.mp3
    _NationalAnthemGreece.mp3
    _NationalAnthemItaly.mp3
    _NationalAnthemJapan.mp3
    _NationalAnthemUK.mp3
    _NationalAnthemUSA.mp3
    _NationalAnthemUSSR.mp3
     
  6. ispanets

    ispanets Warlord

    Joined:
    Apr 1, 2013
    Messages:
    135
    Location:
    Moscow
    Hi again, Gedemon,

    I was also not talking about Speeches.

    What i meant is that your ScriptID names are names as the default ones provided by civ V, that is, for Russia you have...

    <ScriptID>AS2D_LEADER_MUSIC_CATHERINE_PEACE</ScriptID>

    This overwrites the default civ v AS2D_LEADER_MUSIC_CATHERINE_PEACE (which already exists) with yours, right?


     
  7. Gedemon

    Gedemon Modder Moderator

    Joined:
    Oct 4, 2004
    Messages:
    9,324
    Location:
    France
    your leader table must have the same naming convention as the Civ5 leaders IIRC.

    ie:
    LEADER_[NAME] -> AS2D_LEADER_MUSIC_[NAME]_PEACE
    LEADER_BALROG -> AS2D_LEADER_MUSIC_BALROG_PEACE

    but if it works in your merged mod and not in the separated mod, it's a DB problem, anything in the logs ?
     
  8. Pazyryk

    Pazyryk Deity

    Joined:
    Jun 13, 2008
    Messages:
    3,584
    Make sure you have all the "reload" buttons checked in both mods. I have all my art and music in "Ea Media Pack" and everything else in "Ea III Sword & Sorcery". The 2nd depends on the first (the requirement dependency ... I forgot what it's called exactly).

    (My situation isn't exactly the same, however, since I added my soundtrack before the last patch. So they are only replacement .mp files with names copied from base. But my point above applies for units, landmarks and strategic view items so I assume it does for music too.)
     
  9. ispanets

    ispanets Warlord

    Joined:
    Apr 1, 2013
    Messages:
    135
    Location:
    Moscow
    Hi all.

    First, thanks again for your tips.

    I attach the 2 music xml files I had included in my mod, that now are appart and put together with the .mp3, because of a question of size.

    There are 2 MODS: LOTR and LOTR Soundtrack. The last points (by reference) to LOTR, as you said it must be done. There are noerrors in the logs (this files worked perfectly when they were inside the LOTR mod).

    I check with FireTuner, what I get is standard songs all the time, for example, for one civ (The White Hand, who overwrittes persia) I get:

    SONG_PERSIA_PEACE_12 (Shen)
    SONG_PERSIA_PEACE_9 (RastMedhalPt2)
    SONG_PERSIA_PEACE_27 (Testimony)
    and so on.

    This is quite strange, since I do even a <Delete/> in both Music and Music2D.xml .

    In both mods all the Reload buttons are checked.

    Any new idea?

    Music2D.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- Created by ModBuddy on 2/1/2014 8:52:35 PM -->
    <GameData>
    	<Audio_2DSounds>
    		<Delete/>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_1</ScriptID>
    			<SoundID>SND_LOTR_PEACE_1</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_2</ScriptID>
    			<SoundID>SND_LOTR_PEACE_2</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_3</ScriptID>
    			<SoundID>SND_LOTR_PEACE_3</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_4</ScriptID>
    			<SoundID>SND_LOTR_PEACE_4</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_5</ScriptID>
    			<SoundID>SND_LOTR_PEACE_5</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_6</ScriptID>
    			<SoundID>SND_LOTR_PEACE_6</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_7</ScriptID>
    			<SoundID>SND_LOTR_PEACE_7</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_8</ScriptID>
    			<SoundID>SND_LOTR_PEACE_8</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_9</ScriptID>
    			<SoundID>SND_LOTR_PEACE_9</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_10</ScriptID>
    			<SoundID>SND_LOTR_PEACE_10</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_11</ScriptID>
    			<SoundID>SND_LOTR_PEACE_11</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_12</ScriptID>
    			<SoundID>SND_LOTR_EITHER_1</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_13</ScriptID>
    			<SoundID>SND_LOTR_EITHER_2</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_14</ScriptID>
    			<SoundID>SND_LOTR_EITHER_3</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_15</ScriptID>
    			<SoundID>SND_LOTR_EITHER_4</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_16</ScriptID>
    			<SoundID>SND_LOTR_EITHER_5</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_PEACE_17</ScriptID>
    			<SoundID>SND_LOTR_EITHER_6</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_1</ScriptID>
    			<SoundID>SND_LOTR_WAR_1</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_2</ScriptID>
    			<SoundID>SND_LOTR_WAR_2</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_3</ScriptID>
    			<SoundID>SND_LOTR_WAR_3</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_4</ScriptID>
    			<SoundID>SND_LOTR_WAR_4</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_5</ScriptID>
    			<SoundID>SND_LOTR_WAR_5</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_6</ScriptID>
    			<SoundID>SND_LOTR_WAR_6</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_7</ScriptID>
    			<SoundID>SND_LOTR_WAR_7</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_8</ScriptID>
    			<SoundID>SND_LOTR_WAR_8</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_9</ScriptID>
    			<SoundID>SND_LOTR_EITHER_1</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_10</ScriptID>
    			<SoundID>SND_LOTR_EITHER_2</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_11</ScriptID>
    			<SoundID>SND_LOTR_EITHER_3</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_12</ScriptID>
    			<SoundID>SND_LOTR_EITHER_4</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_13</ScriptID>
    			<SoundID>SND_LOTR_EITHER_5</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    		<Row>
    			<ScriptID>SONG_LOTR_WAR_14</ScriptID>
    			<SoundID>SND_LOTR_EITHER_6</SoundID>
    			<SoundType>GAME_MUSIC</SoundType>
    			<MinVolume>80</MinVolume>
    			<MaxVolume>80</MaxVolume>
    			<IsMusic>true</IsMusic>
    		</Row>
    	</Audio_2DSounds>
    </GameData>
    


    Music.xml
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <GameData>
    	<Audio_Sounds>
    		<Delete/>
    		<Row>
    			<SoundID>SND_LOTR_EITHER_1</SoundID>
    			<Filename>AngelOfSorrow</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_EITHER_2</SoundID>
    			<Filename>BitterAshes</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_EITHER_3</SoundID>
    			<Filename>HighlandStorm</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_EITHER_4</SoundID>
    			<Filename>RichDouglas1</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_EITHER_5</SoundID>
    			<Filename>RichDouglas2</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_EITHER_6</SoundID>
    			<Filename>ShadowForest</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_1</SoundID>
    			<Filename>BloodOfAngels</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_2</SoundID>
    			<Filename>ConquestsFantasy1</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_3</SoundID>
    			<Filename>Ebonshire</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_4</SoundID>
    			<Filename>EllaSheena</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_5</SoundID>
    			<Filename>Frontend3_Metsanneito</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_6</SoundID>
    			<Filename>HymnofAbsoluteDeceit</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_7</SoundID>
    			<Filename>leserpentrouge</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_8</SoundID>
    			<Filename>Maure</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_9</SoundID>
    			<Filename>TheCalmBeforeTheStorm</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_10</SoundID>
    			<Filename>TheOpeningOfTheWound</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_PEACE_11</SoundID>
    			<Filename>ThroughTheGreyHorizon</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_WAR_1</SoundID>
    			<Filename>Battle11_Theo</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_WAR_2</SoundID>
    			<Filename>BlackSpires</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_WAR_3</SoundID>
    			<Filename>ECDemo</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_WAR_4</SoundID>
    			<Filename>enigmaoftheabsolute</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_WAR_5</SoundID>
    			<Filename>OpeningMenu</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_WAR_6</SoundID>
    			<Filename>songofthedeadsun</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_WAR_7</SoundID>
    			<Filename>TheGallowsJig</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    		<Row>
    			<SoundID>SND_LOTR_WAR_8</SoundID>
    			<Filename>TheSiege</Filename>
    			<LoadType>DynamicResident</LoadType>
    		</Row>
    	</Audio_Sounds>
    </GameData>
    P.S: I have tried to put Music.xml in LOTR and Music2d.xml in LOTR Soundtrack, to make not a reference but a dependencie from Soundtrack to LOTR, nothing worked :(
     
  10. Pazyryk

    Pazyryk Deity

    Joined:
    Jun 13, 2008
    Messages:
    3,584
    What's in the DB? Have you looked with SQLite Manager?
     
  11. Vicevirtuoso

    Vicevirtuoso The Modetta Man

    Joined:
    May 14, 2013
    Messages:
    775
    Location:
    The Wreckage, Brother
    In the <Civilizations> table, does your Civ have:

    Code:
    <SoundtrackTag>
       LOTR
    </SoundtrackTag>
    and are all of your audio files set to VFS=True?



    I would actually recommend setting SoundtrackTag to one of the tags used in the default game (such as AMERICA) in the Civilization mod file. Then, in the soundtrack mod, use an <Update> tag to set it to LOTR. That way, your users will at least have something to listen to if they choose not to use the soundtrack mod.
     

Share This Page