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

xml question

Discussion in 'Civ4 - Creation & Customization' started by hIdDeN_eViL, Jan 5, 2006.

  1. hIdDeN_eViL

    hIdDeN_eViL {кοтоя дѕѕαѕѕїй}²

    Joined:
    Sep 18, 2004
    Messages:
    458
    Location:
    sydney,down under
    i heard somewhere that when modding civ, you can call your xml files anything as long as they are in the same folder and have the same header/footer and use the same tags. is this true?
    i've seen mods do it for civpedia entries (put new civped entries in a seperate xml file but in the same directory) but does this apply to all xml files?

    thanks in advance for any responce.:)
     
  2. Exavier

    Exavier Destroyer of Worlds

    Joined:
    Nov 14, 2005
    Messages:
    906
    Location:
    Phoenix, Arizona, USA
    I'd like to know as well lol... though i just modify each and every file. would be nice to put all my pedia changes into a signle file though. (Discriptions, Pedia, Sids Tips, ect)

    Will try it when i get home unless someone beats me to it
     
  3. LAnkou

    LAnkou Breizh A Tao

    Joined:
    Sep 12, 2005
    Messages:
    1,315
    Location:
    Paris, première ville bretonne
    as far as i know, this is only true for text files....

    some test could be done for other files
     
  4. Requies

    Requies Prince

    Joined:
    Nov 15, 2005
    Messages:
    381
    This works for text files.

    It does NOT work for Art files.

    I don't know about the others....

    Req
     
  5. Exavier

    Exavier Destroyer of Worlds

    Joined:
    Nov 14, 2005
    Messages:
    906
    Location:
    Phoenix, Arizona, USA
    ok... how? i keep getting errors everytime i try lol
     
  6. Kael

    Kael Deity

    Joined:
    May 6, 2002
    Messages:
    17,401
    Location:
    Ohio
    I put all my text entries in one file and it works fine.
     
  7. Exavier

    Exavier Destroyer of Worlds

    Joined:
    Nov 14, 2005
    Messages:
    906
    Location:
    Phoenix, Arizona, USA
    I get errors with this line: <?xml version="1.0" encoding="ISO-8859-1"?>
    even though there are no diferences from it and the other files... driving me nuts.
     
  8. Requies

    Requies Prince

    Joined:
    Nov 15, 2005
    Messages:
    381
    Just to make sure we're not speaking past each other.

    I'm talking specifically about files in the XML\text\ directory. I am NOT talking about XML text files, in general.

    We've also shown that files in the XML\Art\ directory can NOT be separated and still work correctly.

    Req
     
  9. Exavier

    Exavier Destroyer of Worlds

    Joined:
    Nov 14, 2005
    Messages:
    906
    Location:
    Phoenix, Arizona, USA
    right i made a custom version of the Pedia file for units so i can save my disctiptions seperatly from the rest of them and it errors out when loading and says its this line: <?xml version="1.0" encoding="ISO-8859-1"?>
     
  10. hIdDeN_eViL

    hIdDeN_eViL {кοтоя дѕѕαѕѕїй}²

    Joined:
    Sep 18, 2004
    Messages:
    458
    Location:
    sydney,down under
    oic, thats what i thought, seeing as ive only seen people do it for \text\*.xml - too bad. would be very useful if it applied to other xml files, would make merging mods a breeze.

    can anyone confirm that this only works for \text\*.xml?
     
  11. Requies

    Requies Prince

    Joined:
    Nov 15, 2005
    Messages:
    381
    Hmmmmm, maybe first try to copy over the exact file and add only one entry?

    It worked fine for everyone else so there must be something that you're doing that's different from the rest of us.

    If you can't get the copy to work, then, that suggests that something may be seriously wrong with your setup.

    If you CAN get the copy to work, then, that suggests, it's the XML file you're using.

    Req
     

Share This Page