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

Question about duplicate files?

Discussion in 'Civ5 - Creation & Customization' started by TheOneHitPupper, Jun 30, 2017.

  1. TheOneHitPupper

    TheOneHitPupper Chieftain

    Joined:
    Jun 15, 2017
    Messages:
    84
    Can two mods have two different .xml files named the same thing? Or would there be a conflict? I know that .lua files result in conflicts.
     
  2. LeeS

    LeeS Imperator Supporter

    Joined:
    Jul 23, 2013
    Messages:
    7,042
    Location:
    Illinois, USA
    Normal Xml and sql files that are loaded into the game via "UpdateDatabase" actions can have the same name in multiple different mods because the contents of these files is loaded into the game's database rather than the file itself as a "unit".

    Xml files which are "context" files for UI will often have the same name across differing mods because they must in order for the game to accept them as the new version of the file to use for for example the Unit Panel. But these types of xml-files have the same conflict issues as lua files of the same name (especially for lua files that are replaceing standard game files for UI panels because the game can only ever have one version of the file at any one time).
     
    TheOneHitPupper likes this.
  3. TheOneHitPupper

    TheOneHitPupper Chieftain

    Joined:
    Jun 15, 2017
    Messages:
    84
    This has cleared it up for me, thank you!
     

Share This Page