Results 1 to 5 of 5

Thread: faction condition in descr_mercenaries

Hybrid View

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

    Default faction condition in descr_mercenaries

    Like in title: is there possible to use faction condition in descr_mercenary? I've tried to change
    religions { orthodox }
    to
    factions { byzantium }
    Unfortunately, in this case, this condition doesn't work.

  2. #2
    kevindrosario's Avatar Ordinarius
    Join Date
    Jan 2011
    Location
    New Jersey
    Posts
    791

    Default Re: faction condition in descr_mercenaries

    I don't think so. I tried to get an answer to this question a couple months back, but nobody knew.

  3. #3

    Default Re: faction condition in descr_mercenaries

    No use counters instead.
    For example:-
    In descr_mercenaries file put this:-
    Code:
    unit Galloglaich            exp 0 cost 830 replenish 0.08 - 0.25  max 4 initial 1 events { x_y }
    then put this in the campaign_script.txt file:-
    Code:
    monitor_event PreFactionTurnStart FactionType england
            set_event_counter  x_y 1
            end_monitor
    monitor_event FactionTurnEnd FactionType england
            and I_EventCounter   x_y == 1
            set_event_counter  x_y 0
            end_monitor
    Now this mercenary will be available to england only

  4. #4

    Default Re: faction condition in descr_mercenaries

    Ishan
    i'm impressed

    kevindrosario
    you see? There are not answers "no" For Ishan. it's really amazing
    Last edited by attyla; March 06, 2011 at 04:33 AM.

  5. #5

    Default Re: faction condition in descr_mercenaries

    It's Ishan actually.
    Anyways glad to help, attyla.

Posting Permissions

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