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

WoC doesn't work with Modular Leaders.

Discussion in 'Civ4 - World of Civilization' started by Afforess, Nov 25, 2009.

  1. Afforess

    Afforess The White Wizard

    Joined:
    Jul 31, 2007
    Messages:
    12,239
    Location:
    Austin, Texas
    Say I want to edit an existing leader, in WoC format. I just want to edit the memory decays. So, it should look like this, correct?

    Code:
    <LeaderHeadInfo>
                <Type>LEADER_HTN</Type>
                <AndDependencyTypes>
                    <DependencyType>LEADER_HTN</DependencyType>
                </AndDependencyTypes>
                <MemoryDecays>
                    <MemoryDecay>
                        <MemoryType>MEMORY_GIVE_HELP</MemoryType>
                        <iMemoryRand>30</iMemoryRand>
                    </MemoryDecay>
                </MemoryDecays>
    </LeaderHeadInfo>
    It works... but it doesn't. Sure, the memory decay gets changed just fine. But the Audio for the leader's diplomacy, get's reset to the Chinese Unification theme. I figured this was a problem in the CopyNonDefaults and the SDK, but as far as I could tell, it's set up properly. Any idea why this is occurring?

    The only fix I've been told is to include the audio defines for the leader's diplomacy in the leaderheadinfo too, but that's a red flag to me that the CopyNonDefaults aren't working then.
     

Share This Page