Results 1 to 8 of 8

Thread: Destroy Faction - Throught Script

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    JuL14n's Avatar Centenarius
    Join Date
    Apr 2009
    Location
    Finland
    Posts
    830

    Default Destroy Faction - Throught Script

    Is this possible?
    I'm not good at scripting, but I will write what I can so you'll understand.


    monitor_event FactionTurnStart FactionType england
    and not I_SettlementOwner Gorgoroth = england
    and not I_SettlementOwner Morgul-Vale = england

    Then, something that destroys faction = england

  2. #2
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Destroy Faction - Throught Script

    There is the GiveEverythingToFaction command, or how ever this was called, from the Teutonics script that creates the Kalmar Union by technically destroying Norway and Denmark. You would need a faction to hand these settlements to, but this might also work with the slave faction.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  3. #3
    JuL14n's Avatar Centenarius
    Join Date
    Apr 2009
    Location
    Finland
    Posts
    830

    Default Re: Destroy Faction - Throught Script

    Quote Originally Posted by konny View Post
    There is the GiveEverythingToFaction command, or how ever this was called, from the Teutonics script that creates the Kalmar Union by technically destroying Norway and Denmark. You would need a faction to hand these settlements to, but this might also work with the slave faction.
    Thanks, but the problem is that this must work without family tree in descr_sm_factions.

  4. #4
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Destroy Faction - Throught Script

    You could try console_command kill_faction england it used to exist in RTW, but I couldn't find a list of M2TW console command to check against.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  5. #5
    JuL14n's Avatar Centenarius
    Join Date
    Apr 2009
    Location
    Finland
    Posts
    830

    Default Re: Destroy Faction - Throught Script

    Quote Originally Posted by Sqυιd View Post
    You could try console_command kill_faction england it used to exist in RTW, but I couldn't find a list of M2TW console command to check against.
    Thank you, it's worth a try.

    Still, other possible ways to get it to work are welcome.

    Will try something like this.
    Spoiler Alert, click show to read: 
    monitor_event FactionTurnStart FactionType england
    and not I_SettlementOwner Gorgoroth = england
    and not I_SettlementOwner Morgul-Vale = england

    GiveEverythingToFaction = slave
    console_command kill_faction england
    end
    terminate_monitor
    end_monitor


    edit: it didn't work, but I digged a bit in the Teutonic script

    Spoiler Alert, click show to read: 
    ;apply kalmar union faction banner to denmark
    set_faction_banner
    faction denmark
    banner kalmar_union
    end_set_faction_banner

    ;turn over norways assets to denmark
    give_everything_to_faction norway denmark false

    historic_event denmark_joins_kalmar event/Kalmar_union.bik

    terminate_monitor

    end_monitor


    give_everything_to_faction england slave false

    then?
    Last edited by JuL14n; June 12, 2009 at 08:28 PM.

  6. #6

    Default Re: Destroy Faction - Throught Script

    Quote Originally Posted by Sqυιd View Post
    You could try console_command kill_faction england it used to exist in RTW, but I couldn't find a list of M2TW console command to check against.
    monitor_event BecomesFactionLeader FactionType england
    console_command kill_faction england
    end_monitor

    you can use this console_command like this.

    and it worked .

  7. #7

    Default Re: Destroy Faction - Throught Script

    I've included that in Dac 3.5 - when Gorgoroth is captured, everything of Mordor (and Barad Dur) is given to slaves.

    This kills Mordor in my mod, but not the Papal States (Barad dur)

    I'm looking for a way to do that.

    You can't KILL Mordor without giving it a family tree.
    Son of the Ancient Archaon, House of Siblesz

  8. #8
    JuL14n's Avatar Centenarius
    Join Date
    Apr 2009
    Location
    Finland
    Posts
    830

    Default Re: Destroy Faction - Throught Script

    Quote Originally Posted by Renown View Post
    I've included that in Dac 3.5 - when Gorgoroth is captured, everything of Mordor (and Barad Dur) is given to slaves.

    This kills Mordor in my mod, but not the Papal States (Barad dur)

    I'm looking for a way to do that.

    You can't KILL Mordor without giving it a family tree.
    Yup, I've understood that they work like playable rebels.
    That's why it would have been good with a script that terminates them.

Posting Permissions

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