1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Adding a new building

Discussion in 'Civ4 - Final Frontier Plus' started by PsiCorps, Dec 30, 2012.

  1. PsiCorps

    PsiCorps FF: Babylon 5 mod team

    Dec 30, 2007
    I recall, a long while back, that I was having problems when adding a new building. The reason I was having problems was because Python was set to look for a specific building in the xml and that building had to be the 4th one in the xml file.

    From what I recall you removed the requirement for Python to look for the building in the specified location ie 4th in the list and instead look for the building type or something like that.

    If I've remembered that correctly then I am faced with the issue of having added 6 new buildings and all but one of them is showing in the Civilopedia. The one that isn't showing has all of the correct information in the same way as the other 5 do but does not show in the civilopedia.

    There are no XML errors when the mod loads up and if there was anything badly wrong it either wouldn't load, or if it was a minor error, all the buildings after the line with an error on it wouldn't show and there would be an error message.

    Is there a limit to the number of buildings that can be added to the Mod?
    I doubt there is as I would think it would miss off the last building(s) and not one fairly close to the begining of the list.

    Hoping you can help without me having to upload any of the files.

    EDIT: Never mind, I resolved the issue by going into a game and playing through for a few turns. The issue was down to a line on a totally different building having the same building type instead of it's own building class.

Share This Page