Results 1 to 6 of 6

Thread: Is "console_command control" working in MTW2?

Hybrid View

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

    Default Is "console_command control" working in MTW2?

    If i remember it well in RTW was function "console_command control". I don't know if it was useful because i didn't make experiments with making scripts.
    Anyway i would like to use it in my mod. I've got 2 factions: byzantium as a "normal" faction and bizancjum as shadowed faction and i would like to make script giving the possible to change controlled faction after rebellion event.
    i've made script you can find below but it doesn't work. Now i don't know what's wrong: function "control" doesn't work in MTW2 or maybe something else?

    PHP Code:
    declare_counter propozycja_przyjeta_bizancjum

    monitor_event FactionTurnStart FactionType byzantium
        
    and I_NumberOfSettlements bizancjum 0
        
    and DiplomaticStanceFromFaction bizancjum AtWar
        
    and I_CompareCounter propozycja_przyjeta_bizancjum 0
            historic_event propozycja true
    end_monitor

    monitor_conditions I_EventCounter propozycja_accepted 
    1
        console_command control bizancjum
        set_counter propozycja_przyjeta_bizancjum 1
    end_monitor

    monitor_conditions I_EventCounter propozycja_declined 
    1
        set_event_counter propozycja_declined 0
    end_monitor

    monitor_event FactionTurnStart FactionType byzantium
        
    and I_NumberOfSettlements byzantium 0
        
    and I_NumberOfSettlements bizancjum 0
        
    and not DiplomaticStanceFromFaction bizancjum AtWar
        set_counter propozycja_przyjeta_bizancjum 0
    end_monitor 

  2. #2
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: Is "console_command control" working in MTW2?

    As far as I know it no longer works (M2TW). I could never get it to do anything.

  3. #3
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Is "console_command control" working in MTW2?

    The only place I got it to work, and not in a script, was switching factions in Hotseat mode.

  4. #4

    Default Re: Is "console_command control" working in MTW2?

    hotset? You mean in terminal?

  5. #5
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Is "console_command control" working in MTW2?

    Play in Hotseat mode, do a search on how to set it up if you have to, ` key for us with US keyboard to pull up the console, type control factionname and it will toggle between human and ai control that the faction.

  6. #6

    Default Re: Is "console_command control" working in MTW2?

    it's a pity

Posting Permissions

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