Civ4 XML Files - Quick Reference

Discussion in 'Civ4 - Modding Tutorials & Reference' started by Max_x_fire, Nov 13, 2005.

  1. austin316hockey

    austin316hockey Chieftain

    Joined:
    Nov 22, 2005
    Messages:
    18
    Location:
    Toronto ON, Canada
    Thanks for releasing this, very helpful.
     
  2. SoCalian

    SoCalian Deity

    Joined:
    Apr 22, 2003
    Messages:
    2,901
    umm, how do I open this thing. I unziped it, but I can't use it. Am I missing a program or something?
     
  3. dlordmagic

    dlordmagic Warlord

    Joined:
    Nov 24, 2005
    Messages:
    103
    Location:
    South Carolina
    Do you have microsoft Excel spreadsheet program.
     
  4. SoCalian

    SoCalian Deity

    Joined:
    Apr 22, 2003
    Messages:
    2,901
    I don't believe so
     
  5. sovarn

    sovarn Warlord

    Joined:
    Nov 8, 2005
    Messages:
    166
    Location:
    London
    check post 2 of this thread. I have posted the file in PDF format instead.
     
  6. SoCalian

    SoCalian Deity

    Joined:
    Apr 22, 2003
    Messages:
    2,901
    thanks sovarn
     
  7. dsr

    dsr Chieftain

    Joined:
    Jan 7, 2002
    Messages:
    35
    Location:
    Denver
    bump

    thanks!
    dsr
     
  8. Wirklichkeit

    Wirklichkeit Chieftain

    Joined:
    Dec 16, 2005
    Messages:
    15
    This is awesome, thank you to the OP for putting it together
     
  9. slothman

    slothman Emperor

    Joined:
    Sep 14, 2001
    Messages:
    1,223
  10. john0452

    john0452 Chieftain

    Joined:
    Dec 16, 2005
    Messages:
    20
    Location:
    Melbourne
    All I can say is :thanx: Max_x_fire, great reference and :goodjob:
     
  11. ruff_hi

    ruff_hi Live 4ever! Or die trying

    Joined:
    Oct 24, 2005
    Messages:
    9,103
    Location:
    an Aussie in Boston
    I thought of this but decided to create a spreadsheet that searches the XML / python files for key words. Put in the word, hit the macro button and get a list of the files with that word in it.
     

    Attached Files:

  12. Aeon221

    Aeon221 Lord of the Cheese Helmet

    Joined:
    Apr 22, 2003
    Messages:
    1,900
    Location:
    Hiding from the Afro-Eurasians
    BUMP! This is god diggity damn USEFUL! Out of the GRAVE with you!
     
  13. cubsaver

    cubsaver Chieftain

    Joined:
    Apr 14, 2004
    Messages:
    19
    Location:
    Sweden
    I know this is probably the wrong thread...but I am preparing a birthday Gift for my wife - she's crazy about Civ 4 - and all I want to do is change the Name of an existing Leader (Elizabeth) and Civ Name (England) and add a special flag (one that represent my Wife's own Fantasy Civ.) and the Civ Icon - how do I do that - I have figured out the other stuff - changing city names, adding a unit to England etc. But getting my wife's Civ Name and Leader Name in there permanently (without using the existing features for that) - I guess it would be a very simple Mod - seems to escape my capacity - can someone tell me what XML files/Text Files I need to fiddle with, approximately what I need to do in them and how I get that button and flag fixed? I have been fiddling all afternoon/evening and I don't seem to get it.

    Question #2: How can I create a button/icon for the Civ "Flash" Page in Civilopedia and actually get it IN-SIDE the Game?

    Thanks in advance!
     
  14. KrugerPritz

    KrugerPritz King

    Joined:
    Aug 23, 2005
    Messages:
    784
    Location:
    Venezia - Italia
  15. taylorray1

    taylorray1 Warlord

    Joined:
    Oct 14, 2003
    Messages:
    128
    Location:
    Stephenville, Texas
    help i get this error message when loading my mod failed loading xml/civilizations/civ4civilizationinfos.xml.{//fxml.cpp:133} error parsing xml file-

    xml/civilization/civilizationinfos.xml
    reason: invLID AT THE TOP OF THE DOCUMENT

    LINE 1,1
    SOURCE XML VERSION="1,0"

    ENCODING="UTF=8"?}

    LOAD XML FAILED FOR CIVILIZATION/CIV4CIVILIZATIONINFOS.XML

    TAG: CIVILIZATION_BARBARIAN IN INFO CLASS WAS INCORRECT CURRENT XML FILE IS XML/GAMEINFO/CIV4CONTROLLINFOS.XML
     
  16. iKill u

    iKill u Chieftain

    Joined:
    Feb 8, 2008
    Messages:
    1
    anyone know where all the xml stuff is? and how to get to it? :/
     
  17. snipperrabbit!!

    snipperrabbit!! Deity

    Joined:
    Nov 23, 2006
    Messages:
    3,396
    Under the xml folder. :p
    Get an editor like XMLSpy or XMLMarker, ... to ease the whole process.
     

Share This Page