Announcement

Collapse
No announcement yet.

Civilization specific buildings

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Civilization specific buildings

    Got to love warlords. It already has these, from the Shale plant to the mint (I'm a production rate addict), its introduced the concept of civilization specific instances of general classes. (Yes, I know this has been possible for a while, but now there are some examples by default)

    So, whats the problem? I can't seem to make any more.

    I was going to make an instance of Barracks that gave a small boost to military production.

    So, I changed the name (Which currently sucks, its called a "soldier emporium" or rather BUILDING_GERMAN_SOLDIER_EMPORIUM), and the value I wanted, without changing its class, and without changing the class XML file. I also added it as a buildable item in the civilization info xml under Germany.

    .<.Building.>.
    BUILDINGCLASS_BARRACKS

    BUILDING_GERMAN_SOLDIER_EMPORIUM
    .<./.Building.>.

    Only with all the correct indentations (Which shouldn't really change anything). And without the periods, which I just edited in because the building lines weren't showing up.

    The problem is, the building isn't there when I run the mod, Barracks is. How do I make MY building apear?

  • #2


    That might be something along the lines of what you're looking for.
    Ceeforee v0.1 - The Unofficial Civ 4 Editor -= Something no Civ Modder should ever be without =- Last Updated: 27/03/2009
    "Just because I'm paranoid doesn't mean there's no conspiracy"

    Comment


    • #3
      Thanks, but that didn't help.

      Comment


      • #4
        I tested what you did and it works fine for me. I changed what you changed in CIV4CivilizationInfos.xml and added a new building of the class BUILDINGCLASS_BARRACKS to CIV4BuildingInfos.xml and it shows up as a second German UB as it should. You sure the changes you made are actually loaded? Make sure the correct mod is loaded (if any) and force the game to refresh its cache by keeping the Shift-key pressed while loading the game.
        Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

        Comment


        • #5
          Locutus, I have done all that, and still nothing. In fact, the problem seems a bit... wider then I thought. I made a few random changes, like giving bismarck diffrent traits, altering other buildings, ect.

          None of them are appearing in the game, and yes, I am making sure my mod is loaded.

          Funny, I didn't have this much trouble before warlords.

          Comment


          • #6
            Odd. What's the full path to the files you've changed?
            Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

            Comment

            Working...
            X