Results 1 to 6 of 6

Thread: hidden_resource

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default hidden_resource

    hi
    i would like to know if anyone can tell how to make a unit only recruitable in one city, for example in athens
    thanks

  2. #2
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: hidden_resource

    In your, descr_export_buildings, add, and hidden_resource, at the end of the unit line,

    eg

    recruit "greek hoplite spartan" 0 requires factions { greek_cities, } and hidden_resource sparta

    like so.


  3. #3

    Default Re: hidden_resource

    i thought it was that so i wrote this: recruit "greek hoplite athenian" 0 requires factions { greek_cities, } and hidden_resource athens
    and also wrote athens at the top of the file where the hidden_resources are.. but i didnt work

  4. #4

  5. #5

    Default Re: hidden_resource

    thanks u so much, that was what im looking for thx

  6. #6
    Halie Satanus's Avatar Emperor of ice cream
    Join Date
    Nov 2005
    Location
    London
    Posts
    19,971
    Blog Entries
    1

    Default Re: hidden_resource

    No problem, the only time i've added a hidden unit the city was already in the hidden resource list


    Good luck, and welcome to TWC.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •