Results 1 to 7 of 7

Thread: win condition and Ally

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Polycarpe's Avatar Back into action!
    Join Date
    Feb 2010
    Location
    Quebec, Canada
    Posts
    3,338

    Default win condition and Ally

    Hi, I am wondering if we can have an alternative win condition. My idea is X faction is allied with Y faction, with an event, you are now vassal of Y faction and X faction can help Y faction to win the game, therefore you are also win the campaign. It is possible?
    Regards.

  2. #2
    Kiliç Alì's Avatar Domesticus
    Artifex

    Join Date
    Feb 2011
    Location
    Italy
    Posts
    2,114

    Default Re: win condition and Ally

    I have not understood very well the example (are you playing x or y? or smthing else?).
    Howewer, the general answer is yes. you can change victory conditions in each moment (that is a feature we have in Westeros:TW, with Royal and Lordly victory conditions, and,not sure thought, in the latest version of Baron's Samedy submod for TA:TW (the conversion script)). the script is quite easy:
    monitor_event blah blah
    conditions... blah
    console_command victory x
    terminate_monitor
    end_monitor

    where x = faction name (ex portugal)

    in this way you can even have multiple victory condition.

    Member of the Imperial House of Hader, proud client of The only and sole Ferrit

  3. #3
    Polycarpe's Avatar Back into action!
    Join Date
    Feb 2010
    Location
    Quebec, Canada
    Posts
    3,338

    Default Re: win condition and Ally

    Quote Originally Posted by Kiliç Alì View Post
    I have not understood very well the example (are you playing x or y? or smthing else?).
    Howewer, the general answer is yes. you can change victory conditions in each moment (that is a feature we have in Westeros:TW, with Royal and Lordly victory conditions, and,not sure thought, in the latest version of Baron's Samedy submod for TA:TW (the conversion script)). the script is quite easy:
    monitor_event blah blah
    conditions... blah
    console_command victory x
    terminate_monitor
    end_monitor

    where x = faction name (ex portugal)

    in this way you can even have multiple victory condition.
    Just to be sure I'll reexplain the example better.

    The player's faction is the Swiss, with an interactive yes/no event, you will become a vassal of the Holy Roman empire. Now, in order to win the campaign, you will have to help the HRE to win, counting you (swiss) regions and HRE's region into one pool so both of you can win.

  4. #4
    Kiliç Alì's Avatar Domesticus
    Artifex

    Join Date
    Feb 2011
    Location
    Italy
    Posts
    2,114

    Default Re: win condition and Ally

    I'm not sure both factions can win. I guess it would be the same if only the player wins? obviously this wouldn't be permitted in an hotseat (but you could mask it with a pseudo-victory event, saying "Swiss and HRE have won, go in peace". But with this exception, I'm pretty sure the whole thing is fairly possible. Btw, since i don't remember, wich is the command for scripting vassallage?

    EDIT oh, of course you have to disable "regular" victory condition!
    This is vital, 'couse, if you don't, you could win in both ways after having accepted. You can do this by editing the descr_win condition.txt in this way:

    swiss ; the name of the faction
    take_regions 199 ; or the max number of regions in the mod
    short_campaign
    take_regions 199

    Now, Switzerland cannot win in a "regular" way. You must script the 2 victory conditions, the "normal" and "vassal" one, in the campaign_script, as in my 1st post.
    Last edited by Kiliç Alì; October 18, 2011 at 11:16 AM.

    Member of the Imperial House of Hader, proud client of The only and sole Ferrit

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

    Default Re: win condition and Ally

    Quote Originally Posted by Kiliç Alì View Post
    wich is the command for scripting vassallage?
    That's what I'd like to know. I thought that it wasn't possible.

  6. #6
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: win condition and Ally

    Quote Originally Posted by Withwnar View Post
    That's what I'd like to know. I thought that it wasn't possible.
    Yep, I think it's not possible too.

  7. #7
    Polycarpe's Avatar Back into action!
    Join Date
    Feb 2010
    Location
    Quebec, Canada
    Posts
    3,338

    Default Re: win condition and Ally

    Quote Originally Posted by Kiliç Alì View Post
    I'm not sure both factions can win. I guess it would be the same if only the player wins? obviously this wouldn't be permitted in an hotseat (but you could mask it with a pseudo-victory event, saying "Swiss and HRE have won, go in peace". But with this exception, I'm pretty sure the whole thing is fairly possible. Btw, since i don't remember, wich is the command for scripting vassallage?

    EDIT oh, of course you have to disable "regular" victory condition!
    This is vital, 'couse, if you don't, you could win in both ways after having accepted. You can do this by editing the descr_win condition.txt in this way:

    swiss ; the name of the faction
    take_regions 199 ; or the max number of regions in the mod
    short_campaign
    take_regions 199

    Now, Switzerland cannot win in a "regular" way. You must script the 2 victory conditions, the "normal" and "vassal" one, in the campaign_script, as in my 1st post.
    Oh didn't saw the edit, thanks mate, +rep.

Posting Permissions

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