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

Building improvements in foreign borders?

Discussion in 'Civ5 - Creation & Customization' started by Raitaki, Apr 17, 2021.

  1. Raitaki

    Raitaki Chieftain

    Joined:
    Oct 19, 2015
    Messages:
    16
    I'm trying to make a unique improvement that can be built anywhere on land no strings attached, but the closest I could get was giving it the IgnoreOwnership and OutsideBorder flags, which at best only lets me build it in unowned land, city-states, and civs I have open borders or am at war with. Non-open borders civs are still off-limits, even if I manage to sneak a worker in by giving the worker the ability to enter foreign borders. Does anyone know of a decent method to make an improvement buildable in non-open borders? I want the improvement to still take some time to build proportional to work speed like normal so using lua scripts to make the improvement pop up at a button press isn't preferred.
     
    Last edited: Apr 17, 2021
  2. Serp

    Serp King

    Joined:
    Apr 1, 2015
    Messages:
    646
    just took a look at the DLL code and my first guess is that "IgnoreOwnership" for your improvement should work... are you sure it does not?
     
    Last edited: May 7, 2021 at 2:59 PM
  3. Raitaki

    Raitaki Chieftain

    Joined:
    Oct 19, 2015
    Messages:
    16
    It does, but only when I'm at war or have open borders with the civ in question, even if my workers are able to walk straight into their land. It doesn't work by default.
     

Share This Page