Results 1 to 10 of 10

Thread: Burebista's AI SallyOut Empty City Reinforcement

  1. #1
    Burebista's Avatar Electro Artifacts AP
    Join Date
    Oct 2004
    Location
    East
    Posts
    1,401

    Default Burebista's AI SallyOut Empty City Reinforcement

    Hi wudang_clown,

    I've just finished working on the below scripts - my brain hurts after so much testing - I think you will understand what they are for

    Adapt to BC and enjoy!

    Cheers
    BB

    ;==================== Burebista's Major City Reinforcement================================

    declare_counter nowc 0

    monitor_conditions I_SettlementUnderSiege Jerusalem
    and I_BattlePlayerArmyIsAttacker
    console_command create_unit Jerusalem "Mercenary Crossbowmen" 3
    console_command create_unit Jerusalem "Crusader Sergeants" 2
    console_command create_unit Jerusalem "Dismounted Crusader Knights" 1
    terminate_monitor
    end_monitor

    monitor_conditions I_NumberUnitsInSettlement Jerusalem mercenary_spearmen <= 0
    and not I_LocalFaction Jerusalem
    set_counter nowc 1
    end_monitor

    monitor_event SiegeEquipmentCompleted SettlementName Jerusalem
    if I_CompareCounter nowc = 1
    console_command create_unit Jerusalem "Mercenary Spearmen" 1
    console_command create_unit Jerusalem "Mercenary Crossbowmen" 3
    end_if
    set_counter nowc 0
    end_monitor

    ;==================== Burebista's AI SallyOut Empty City Reinforcement ======================

    monitor_event UngarrisonedSettlement SettlementName Jerusalem
    and not FactionIsLocal
    set_counter nowc 2
    end_monitor

    monitor_event PostBattle I_WonBattle
    if I_CompareCounter nowc = 2
    console_command create_unit Jerusalem "Mercenary Spearmen" 1
    console_command create_unit Jerusalem "Mercenary Crossbowmen" 3
    end_if
    set_counter nowc 0
    end_monitor

    monitor_event FactionTurnStart FactionIsLocal
    set_counter nowc 0
    end_monitor

    monitor_event FactionTurnEnd FactionIsLocal
    set_counter nowc 0
    end_monitor

    ;===============================================================================
    Modding Arts Inc.

    SS City Reinforcement Script - (*SS 6.2 any mod comptible)

  2. #2
    wudang_clown's Avatar Fire Is Inspirational
    Join Date
    Jan 2009
    Location
    Poland
    Posts
    7,357

    Default Re: Burebista's AI SallyOut Empty City Reinforcement

    Thanks, Burebista! We will definitely use it in future BC versions!
    Last edited by wudang_clown; December 10, 2009 at 11:26 AM.

    Under the patronage of m_1512

  3. #3

    Default Re: Burebista's AI SallyOut Empty City Reinforcement

    That might work for all mods?

  4. #4
    Heeehehe's Avatar Tiro
    Join Date
    Dec 2010
    Location
    City of Lightning, Equator Emerald, 1st Level of Heaven
    Posts
    246

    Default Re: Burebista's AI SallyOut Empty City Reinforcement

    What's this for?
    "And indeed We created man (Adam) out of an extract of clay (water and earth). Thereafter We made him (the offspring of Adam) as a Nutfah (mixed drops of the male and female sexual discharge) (and lodged it) in a safe lodging (womb of the woman). Then We made the Nutfah into a clot (a piece of thick coagulated blood), then We made the clot into a little lump of flesh, then We made out of that little lump of flesh bones, then We clothed the bones with flesh, and then We brought it forth as another creation. So blessed be Allah, the best of creators. After that, surely, you will die. Then (again), surely, you will be resurrected on the Day of Resurrection. And indeed We have created above you seven heavens (one over the other), and We are never unaware of the creation." (QS. Al-Mu'minun (23):12-17)

    "He who has not seen it does not know the power of Islam." -Ibn Khaldun

  5. #5
    medhma's Avatar Libertus
    Join Date
    Apr 2010
    Location
    Tunisia
    Posts
    53

    Default Re: Burebista's AI SallyOut Empty City Reinforcement

    It is a garrison script to reinforce Jerusalem when besieged or attacked, (even if they don't have any troop at all when assaulted)

  6. #6

    Default Re: Burebista's AI SallyOut Empty City Reinforcement

    this ough to hold up the ayyubids awhile

  7. #7
    wudang_clown's Avatar Fire Is Inspirational
    Join Date
    Jan 2009
    Location
    Poland
    Posts
    7,357

    Default Re: Burebista's AI SallyOut Empty City Reinforcement

    It is supposed to help AI to defend its settlements against player. AI tends to leave its interior settlements barely defended, thus the script. Jerusalem is only an example here.

    Under the patronage of m_1512

  8. #8
    Heeehehe's Avatar Tiro
    Join Date
    Dec 2010
    Location
    City of Lightning, Equator Emerald, 1st Level of Heaven
    Posts
    246

    Default Re: Burebista's AI SallyOut Empty City Reinforcement

    Ow...
    "And indeed We created man (Adam) out of an extract of clay (water and earth). Thereafter We made him (the offspring of Adam) as a Nutfah (mixed drops of the male and female sexual discharge) (and lodged it) in a safe lodging (womb of the woman). Then We made the Nutfah into a clot (a piece of thick coagulated blood), then We made the clot into a little lump of flesh, then We made out of that little lump of flesh bones, then We clothed the bones with flesh, and then We brought it forth as another creation. So blessed be Allah, the best of creators. After that, surely, you will die. Then (again), surely, you will be resurrected on the Day of Resurrection. And indeed We have created above you seven heavens (one over the other), and We are never unaware of the creation." (QS. Al-Mu'minun (23):12-17)

    "He who has not seen it does not know the power of Islam." -Ibn Khaldun

  9. #9

    Default Re: Burebista's AI SallyOut Empty City Reinforcement

    Nice work! I always hate it when you can easily take over your enemy's capital because they leave it undefended.

  10. #10

    Default Re: Burebista's AI SallyOut Empty City Reinforcement

    I LIKE IT ! wow this has a lot of wonderful things I can do with this.

    Thank you
    You can drop humans anywhere and they'll thrive-only the rat does as well.Jeannette Desor

    Man in Black: [as he is unsuccessfully fighting Fezzik] Look, are you just fiddling around with me or what?
    Fezzik: I just want you to feel you're doing well. I hate for people to die embarrassed.

Posting Permissions

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