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

Deleting a Project in WoC Format

Discussion in 'Civ4 - World of Civilization' started by OrionVeteran, Oct 25, 2009.

  1. OrionVeteran

    OrionVeteran Deity

    Joined:
    Dec 25, 2003
    Messages:
    2,443
    Location:
    Newport News VA
    I am converting a mod to WoC format and my question is about a project in the CIV4PojectInfos.xml file. The default BTS version of this file and my file are identical, with one exception: The Manhatten Project.

    <Type>PROJECT_MANHATTAN_PROJECT</Type>

    How can I indicate to that this project should be ignored or deleted from the default BTS file? :confused:

    Currently I have the non-WoC file, with the Manhatten project removed and all other projects remain in non-WoC format. How can I convert this to WoC?

    Respectfully,

    Orion Veteran :cool:
     
  2. mamba

    mamba Deity

    Joined:
    Aug 23, 2007
    Messages:
    2,520
    You cannot do that with WoC (or modular in general).

    You will need a Projects xml file in Assets/XML which is identical to the regular CIV one, with the one exception of not having the Manhattan Project in it.
     
  3. rockinroger

    rockinroger WoC Team Member

    Joined:
    Feb 6, 2006
    Messages:
    1,312
    Location:
    Overland Park, Kansas
    Mamba is correct Woc is about adding to bts. So to remove you need to add this file CIV4ProjectInfo.xml from bts and the schema for it CIV4GameInfoSchema.xml. Probably best to use the WoC CIV4GameInfoSchema.xml. Then just remove anything to do with the Manhattan project in that xml. Drop it in Assets/XMl/Game Info folder. Let me know if you need help.
     
  4. rockinroger

    rockinroger WoC Team Member

    Joined:
    Feb 6, 2006
    Messages:
    1,312
    Location:
    Overland Park, Kansas
    Orion try dropping these 2 files into your Assets/XML/Game Info
     

    Attached Files:

  5. OrionVeteran

    OrionVeteran Deity

    Joined:
    Dec 25, 2003
    Messages:
    2,443
    Location:
    Newport News VA
    It looks as if the way it was done in RevDCM, the way I have it now, is the best way to do it. For days I have been working on converting all traditionally located XML files into the much smaller WoC modules for Rev DCM ver 2.6. As I approach conclusion, the mod has shed 4 MB and is well organized into 6 WoC modules.

    Thanks for your reply.

    Sincerely,

    Orion Veteran :cool:
     
  6. mamba

    mamba Deity

    Joined:
    Aug 23, 2007
    Messages:
    2,520
    When you are done, please post your version (not just as part of your mod) :)
     
  7. OrionVeteran

    OrionVeteran Deity

    Joined:
    Dec 25, 2003
    Messages:
    2,443
    Location:
    Newport News VA
    Will do. I'd like to get glider1 to use it as the base mod for RevDCM. One can only hope that he will make the jump to WoC, as it will be much easier to track down problems in WoC modules. I ran across several XML problems and fixed them all.

    Orion Veteran :cool:
     
  8. rockinroger

    rockinroger WoC Team Member

    Joined:
    Feb 6, 2006
    Messages:
    1,312
    Location:
    Overland Park, Kansas
    What xml did you fix?
     
  9. OrionVeteran

    OrionVeteran Deity

    Joined:
    Dec 25, 2003
    Messages:
    2,443
    Location:
    Newport News VA
    There were at least two files that had parsing or tab errors, I can't remember them off the top of my head, but I will post my WoC version of RevDCM 2.6 very soon. I have just a few more checks to go.

    Orion Veteran :cool:
     
  10. rockinroger

    rockinroger WoC Team Member

    Joined:
    Feb 6, 2006
    Messages:
    1,312
    Location:
    Overland Park, Kansas
    Sweet you should contact fabian so we can combine talents.
     
  11. OrionVeteran

    OrionVeteran Deity

    Joined:
    Dec 25, 2003
    Messages:
    2,443
    Location:
    Newport News VA
  12. rockinroger

    rockinroger WoC Team Member

    Joined:
    Feb 6, 2006
    Messages:
    1,312
    Location:
    Overland Park, Kansas
    Great I look forward to checking it out!!!
     
  13. johny smith

    johny smith Deity

    Joined:
    Mar 10, 2007
    Messages:
    2,273
    Just want to say thanks OrionVeteran. I know it took a lot of time.
     

Share This Page