Announcement

Collapse
No announcement yet.

[MOD] Abandon/Raze City Mod

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

  • #16
    I went through and modified things to fit the inheritance model - it all works fine now, and is very nice and compact in the CvCustomEventManager.py file. Feel free to use it if you wish.

    Bh
    Attached Files

    Comment


    • #17
      Bhruic, thanks for your help.

      I just updated the mod and included Bhruic's changes. They work great.

      Comment


      • #18
        I, ah, borrowed the code from your mod and in doing so noticed an error: The popup must have at least one entry else it will cause the game to crash. I disabled the Raze City option and this allowed the list to be empty, which caused the problem. Just thought I'd let you know.
        Mylon Mod - Adressing game pace and making big cities bigger.
        Inquisition Mod - Exterminating heretic religions since 1200 AD

        Comment


        • #19
          Mylon, you must mean you disabled the abandon city option.

          I didn't test TheDarkSide's building demolition mod that extensively, so I didn't notice that. I just tested it and you are right. I guess that abandon city eliminates that bug nicely, though.

          You can fix it by changing 'Abandon City' to 'Nothing' in the eventDestroyBuildingBegin section.

          In the eventDestroyBuildingApply section, you can delete or comment out the 11 lines after the 2nd if statement, and put in a return statement.

          I just tested that and it works correctly.

          Comment


          • #20
            it's very mod kit.

            i've download

            Comment

            Working...
            X