Results 1 to 2 of 2

Thread: Conditional export_descr_buildings.txt

  1. #1

    Default Conditional export_descr_buildings.txt

    First of all
    Thanks to all of you who have created so great Mods.

    Reference :
    Rome Total War (Vanilla and or BI and or Alexander)
    Files :
    export_descr_buildings.txt
    descr_strat.txt

    1)
    In descr_strat.txt
    The first city of a faction is the capital city of the faction.
    The is a way in the game to change the capital city of your faction to a new city.

    2)
    In export_descr_buildings.txt
    It is "easy" to specify/limit the recruitment of a unit to a region/city/culture/faction
    exemple
    recruit "greek hoplite spartan" 0 requires factions { greek_cities, } and hidden_resource sparta

    QUESTION
    How to allow that a specific unit can ONLY be recruited in the capital city of your faction ?
    Capital city which could be different from the capital city define at the beginning of the game.

    I am looking/expecting something like :
    recruit "greek hoplite spartan" 0 requires factions { greek_cities, } and current_capital_faction

    <<current_capital_faction>>

    1
    Let say that my capital city is Sparte
    2
    I can recruit "Royal Guard" ONLY in Sparte if ...
    3
    Let say that I conquer Athens
    AND
    I decide that Athens will be my new capital city
    4
    I would like to be able to recruit "Royal Guard" in Athens BUT not any more in Sparte

    Many Thanks

  2. #2
    Arrogant Ashigaru Moderator Ludens's Avatar
    Join Date
    Nov 2003
    Posts
    9,059
    Blog Entries
    1

    Lightbulb Re: Conditional export_descr_buildings.txt

    Quote Originally Posted by lehanyo-test View Post
    How to allow that a specific unit can ONLY be recruited in the capital city of your faction ?
    Capital city which could be different from the capital city define at the beginning of the game.

    I am looking/expecting something like :
    recruit "greek hoplite spartan" 0 requires factions { greek_cities, } and current_capital_faction
    Hello lehanyo-test, welcome to the .Org

    I am not an experienced modder, but to the best of my knowledge there is no "conditional" for the capital city. Check out the EDB guide and this thread for more information.
    Looking for a good read? Visit the Library!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO