Sound Modding Issues

ls612

Deity
Moderator
Joined
Mar 10, 2008
Messages
8,289
Location
America
I've been testing the new Soundtrack modding capabilities that were supposedly included in the fall patch, and have more or less been following Legui's tutorial on the matter. However I must be doing something wrong because when I load my test mod it plays music from the normal soundtrack for that civ.

As a test I set up the following XML.

Code:
<GameData>
	<Audio_Sounds>
		<Row>
			<SoundID>SND_AMERICANEW_PEACE_1</SoundID>
			<Filename>CivIIIAncAmerica</Filename>
			<LoadType>DynamicResident</LoadType>
		</Row></Audio_Sounds>
	<Audio_2DSounds>
		<Row>
			<ScriptID>SONG_AMERICANEW_PEACE_1</ScriptID>
			<SoundID>SND_AMERICANEW_PEACE_1</SoundID>
			<SoundType>GAME_MUSIC</SoundType>
			<MinVolume>120</MinVolume>
			<MaxVolume>120</MaxVolume>
			<IsMusic>true</IsMusic>
		</Row>
	</Audio_2DSounds>
</GameData>

and then set the soundtrack tag of America to AmericaNew via SQL. The mod loads fine with no DB errors, but the music is still the old American soundtrack. :confused:
 
I don't know if you can set the soundtrack tag for the original civs.
 
You can, I did that in my mod for Brazil at least... (come to think of it, it could be an issue with Vanilla too)

How's your SQL?

Also, are you planning to replace the Soundtrack (music that plays in game with the exception of the first one) or the Leader music (it's not only the one that plays when you meet Washington, but also the first music that plays when you play as America)?
 
Back
Top Bottom