How to add music sound to new City States?

Kruelgor

Emperor
Joined
May 12, 2010
Messages
1,165
Location
The United States
I experimented with a few attempts, but no luck

You know the unique music sound when you meet a new city state or receive a pop-up message from them?

Has anyone been successful with that yet? If so, can you paste the code? Thanks.

Here are the default files:

MinorCivSounds.xml
Audio2DScripts.xml
 
you also will need the AudioDefines.xml it is the file that tells the game what file to use for the sounds.

All the minor civ sounds are played dynamically, so you will need to ensure that when you enter them in that file, they have DYNAMIC_RES as their load type. It seems all the minor civ audio (and actually ALL the dynamic sounds are packed up into an fpk) so I didn't look much beyond the xml files.
 
yea, it plays generic music for their region, at least I think I remember it doing that ;)
 
you also will need the AudioDefines.xml it is the file that tells the game what file to use for the sounds.

All the minor civ sounds are played dynamically, so you will need to ensure that when you enter them in that file, they have DYNAMIC_RES as their load type. It seems all the minor civ audio (and actually ALL the dynamic sounds are packed up into an fpk) so I didn't look much beyond the xml files.


True, but here I'm primarily referring to the music when you meet a city state.
 
thats what I mean, you will also need the audioDefines.xml in order for civ5 to even know what sound to play when you meet a city state. I'm betting if you have a custom sound, link it correctly with a custom audiodefines.xml (in your mod), then link your minorcivilizationsounds.xml to that, then tell the minorcivilizations.xml which 2dscript to load for each minor then it will work.
 
thats what I mean, you will also need the audioDefines.xml in order for civ5 to even know what sound to play when you meet a city state. I'm betting if you have a custom sound, link it correctly with a custom audiodefines.xml (in your mod), then link your minorcivilizationsounds.xml to that, then tell the minorcivilizations.xml which 2dscript to load for each minor then it will work.

From what I can tell all music is referenced in MinorCivSounds.xml and Audio2DScripts.xml while the file you mentioned is only unit sounds, but I don't know for sure.
 
no, type in ALMATY in notepad++ search in that file and you will find what I'm talking about
 
no, type in ALMATY in notepad++ search in that file and you will find what I'm talking about

Yep, you're right. I'll have to do more expirmenting.

Kael's guide attempts to show how you edit tables within a table, but his example seems to be messed up. I think that's my main problem. I don't know for sure the correct <update> or <row> syntax for a table within a table.
 
Back
Top Bottom