Results 1 to 5 of 5

Thread: Returning province after capturing automatically through script and having new diplomatic relations as result

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Razor's Avatar Licenced to insult
    Join Date
    Apr 2004
    Location
    Deventer, The Netherlands
    Posts
    4,057

    Default Returning province after capturing automatically through script and having new diplomatic relations as result

    I was wondering,

    Is it possible through a script, that when you capture the capital or a certain previously defined province, it will be returned to the faction it belonged to and that new diplomatic relations will be established between the "loser" and the "winner" , like payments or protectorate?

    And is it also possible to have it that if that region is the last region the region and the faction still get conquered?

  2. #2

    Default Re: Returning province after capturing automatically through script and having new diplomatic relations as result

    only way to give a settlement is to take it from AI faction and give to the local faction - it is the nature of the console command i am afraid.

    There is a way to make it work in hotseat mode however - switch control to the faction whom the settlement will go to, give the settlement, then switch control make to the original local faction.

    The only issue in that is when local control is switched, the old faction that is now AI controlled will have extremely buggy AI - or no AI in cases..

    Another way to do this is spawn in a general with a special unit with max stats, spawn him in with settings to auto siege and attack the settlement - then after the settlement is taken, move character off the map, and script the new diplomacy and features you mention.

    A fairly complicated script but it does work, it is used in DaC mod for TATW.

  3. #3
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Returning province after capturing automatically through script and having new diplomatic relations as result

    Quote Originally Posted by Archaon View Post
    There is a way to make it work in hotseat mode however - switch control to the faction whom the settlement will go to, give the settlement, then switch control make to the original local faction.
    You could do this via script without having to be in hotseat mode can' you? Change control to make another faction be the 'local' one, apply the procedure to it, and switch back to your original faction?


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  4. #4

    Default Re: Returning province after capturing automatically through script and having new diplomatic relations as result

    Control has been tested and re-tested by Alpaca, GED, and myself and it works only in Hotseat.
    If someone can advise on the contrary, i would be most impressed and keen to see the code posted on the forums!.

  5. #5

    Default Re: Returning province after capturing automatically through script and having new diplomatic relations as result

    Are there no changes to this possibility yet? No way to script a return of settlement after sacking it?

    Historian - all things Viking Son of absinthia

Posting Permissions

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