1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

How do I add Diplo Music?

Discussion in 'Civ4 - Creation & Customization' started by dutchking, Jul 18, 2007.

  1. dutchking

    dutchking Chieftain

    Joined:
    Apr 30, 2007
    Messages:
    3,320
    Hi guys,
    I've been making my own mod (I'm not going to upload it) and I was wondering how you add diplo music to a new leader. Any tips? I've gone into the XML file more than I'd like to in the "leaderheadsinfo.xml" and made the diplo-era-music but whenever I play with that new leader in the game, there's not a sound.
     
  2. Shiggs713

    Shiggs713 Immortal

    Joined:
    Mar 11, 2007
    Messages:
    2,361
    Location:
    Indianapolis
    Pretty sure you just need to make a directory in your mod;
    YOURMOD/Assets/Sounds/Diplomacy/ -- put all your sounds there. In the leaderheadsinfo.xml just assign the sounds to your leaders. Make sure the tag leading to them is the same as the directory you put them in.
     
  3. dutchking

    dutchking Chieftain

    Joined:
    Apr 30, 2007
    Messages:
    3,320
    ^Still doesn't work. I use an XML Editor, not a text editor so it's hard to show on here...hang on....
    <DiplomacyMusicPeace>
    <DiploMusicPeaceEra>
    <EraType>ERA_ANCIENT</EraType>

    <DiploScriptId>AS2D_DIPLO_****_EARLY</DiploScriptId>
    </DiploMusicPeaceEra>
    It never works...I don't know why.
    [EDIT]nevermind, got it to work. I forgot the AudioDefines thingy. :lol:
     

Share This Page