Results 1 to 3 of 3

Thread: A very specific trigger for buildings

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    oxxid's Avatar Civis
    Join Date
    Feb 2011
    Location
    Paris, France
    Posts
    174

    Default A very specific trigger for buildings

    Actually playing Stainless Steel 6.4 with Real Recruitment (wich triggers for instance that certain building types be buildable ONLY after a certain event), I'd like other factions to be able to build before I can all the smiths type buildings, so as to have a lot more motivation to capture great ennemy cities, wich would then make available for me to have better armors in these particular cities, before the event needed.

    You could tell me to make in great cities advanced buildings by default since the beginning, but I don't want this to be pre-determined.

    for instance you have in export_descr_buildings.txt such a line :

    c_gothic_armourer castle requires factions { northern_european, eastern_european, southern_european, } and event_counter GOTHIC_ARMOR 1

    If I'd like the "hre" faction to be able to build Gothic Armourer before the other factions, for instance to disable the event trigger for this faction only, how would I be able to trigger it ? (If it is possible)
    Last edited by oxxid; October 10, 2011 at 12:27 PM. Reason: correcting

  2. #2
    oxxid's Avatar Civis
    Join Date
    Feb 2011
    Location
    Paris, France
    Posts
    174

    Default Re: A very specific trigger for buildings

    Ok, by chance, I found out. For those interested, for the previous example, you just have to add at the end of the line: { hre, }, and that's it.

    Edit : After thorough testing, it leaves errors in system log, the game won't crash, but still.
    Still waiting for a solution, then...
    Last edited by oxxid; October 11, 2011 at 03:16 AM. Reason: correcting

  3. #3
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: A very specific trigger for buildings

    You could make an "or" condition that is related to a hidden resource and assign that resource to certain cities.

    Example:

    Code:
    c_gothic_armourer castle requires factions { northern_european,  eastern_european, southern_european, } and event_counter GOTHIC_ARMOR 1  or hidden_resource hre
    Then assign the "hre" resource to the Holy Roman Empire's starting cities, or just a few as you see fit. This way those cities would allow the creation of those buildings right away.

    NOTE: Make sure you leave 2 black spaces before the word "or" because sometimes it doesn't work if you don't.

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

Posting Permissions

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