Results 1 to 19 of 19

Thread: Victory conditions

Hybrid View

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

    Default Re: Victory conditions

    Backstory. In my Carthage Campaign I had several faction leaders with anti-Barcid trait, and this got me wondering, role-playing wise why I should be sending my generals to fight in Italy instead of say securing the N. Aftrican coast when the leader's don't approve of these moves?

    So a question to EB, Is it possible to have as a Victory Condition that your leader is required to have a certain trait? What I'm thinking of doing is having a trait called Leader's Dream (which details specific settlements he wants to conquer). There may be multiple versions of Leader's Dream (and variants) based on current conditions; which factions are currently at war, personal dislike of certain cultures, historically impotant cities, or barcid/anti-barcid. Only when this trait is fulfilled will the leader receive the trait Leader's Dream Accomplished. I want it to be a Victory Condition that Leader's Dream be Accomplished in order to win.

    So feedback, is this even feasible? It would be a nice touch making every campaign unique, and I realize in this EB mod there would be no way to use the help button to show which cities must be conquered.


    1.0 completed:
    -Baktria

  2. #2
    Bibliophilic Member Atilius's Avatar
    Join Date
    Oct 2005
    Location
    America Medioccidentalis Superior
    Posts
    3,837

    Default Re: Victory conditions

    Quote Originally Posted by Sir Edward
    So a question to EB, Is it possible to have as a Victory Condition that your leader is required to have a certain trait?
    Yes.

    In fact, this is how we keep track of raiding targets. As an example, here is the section of EBBS_SCRIPT.TXT which handles the Sweboz victory conditions:

    Code:
    ;--------------------------
    ; SWEBOZ Victory Conditions
    ;--------------------------
    monitor_event CharacterTurnStart FactionType germans
    and CharacterIsLocal
    and I_SettlementOwner Swebotraustastamnoz = germans
    and I_SettlementOwner Gawjam_Heruskoz = germans
    and I_SettlementOwner Gawjam_Habukoz = germans
    and I_SettlementOwner Gawjam_Hattoz = germans
    and I_SettlementOwner Gawjam_Kimbroz = germans
    and I_SettlementOwner Gawjam_Rugoz = germans
    and I_SettlementOwner Gawjam_Skandzawarjoz = germans
    and I_SettlementOwner Gawjam_Gotanoz = germans
    and I_SettlementOwner Eburonum = germans
    and I_SettlementOwner Gawjam_Silengoz = germans
    and I_SettlementOwner Bibracte = germans
    and I_SettlementOwner Vindelicoppidos = germans
    and I_SettlementOwner Vesontio = germans
    and I_SettlementOwner Bagacos = germans
    and I_SettlementOwner Bratosporios = germans
    and I_SettlementOwner Gawjam_Bastarnoz = germans
    and Trait ConqueredAventicos > 0
    and Trait ConqueredVeldideno > 0
    and Trait ConqueredIuvavoaeta > 0
    and Trait ConqueredCarrodunum > 0
    and Trait ConqueredViennos > 0
    and Trait ConqueredPatavium > 0
    and Trait ConqueredAscaucalis > 0
    and I_CompareCounter victory = 0
    
    console_command create_building Terhazza hinterland_victory
    
    console_command victory germans
    
    terminate_monitor
    end_monitor
    It would be easy for you to add a condition that the faction leader has a certain trait. Just add something like:

    Code:
    and FactionLeaderTrait Sometrait > 0
    The truth is the most valuable thing we have. Let us economize it. - Mark Twain



  3. #3

    Default Re: Victory conditions

    Thanks for your prompt reply Atilius, I am glad to hear this could become a reality with a little effort. I have some experience with scripting using HTML and C++, so I think I could get a handle on the programming language, but have never tried my hand at in depth modding of RTW files. Could someone point me to a good website where they explain the commands I can use and which files that would need to be modified for victory conditions and traits? I have upcoming finals and also going to be taking my MCAT later this month, so obviously I won't be doing anything with EB for a few weeks. But after that I would like to devote some time to this unofficial project.
    Last edited by Sir Edward; 05-06-2007 at 14:14.


    1.0 completed:
    -Baktria

  4. #4

    Default Re: Victory conditions

    Take a look at this: https://forums.totalwar.org/vb/showt...g+for+beginers

    There is also intermediate guide but this one has all the references You will need.
    Good luck.

  5. #5

    Default Re: Victory conditions

    I like your idea, Sir Edward. Changing the ambitions of your people/leader would make for much more varied campaigns. For example, my Pahlav campaign is currently proceeding on the basis that we wish to establish an empire centred on Pella, and raid Britain. But it'd be so much cooler if my leader had an actual trait, perhaps with some kind of reward for success.

    Good luck with your assessments, and let me know when you get back to work on this stuff. I'd be interested to help if I can.

  6. #6
    Closet Celtophile Member Redmeth's Avatar
    Join Date
    Mar 2007
    Location
    Bucharest, Romania
    Posts
    3,740

    Default Re: Victory conditions

    But what happens when a faction leader dies and another comes to power with different traits (like a Barcid succeeding an anti-Barcid) even if the victory conditions can be changed on the fly through the script and triggers would it really work?

  7. #7

    Default Re: Victory conditions

    Quote Originally Posted by Redmeth
    But what happens when a faction leader dies and another comes to power with different traits (like a Barcid succeeding an anti-Barcid) even if the victory conditions can be changed on the fly through the script and triggers would it really work?

    Maybe I'm not understanding your question Redmeth, but the way I imagine this trait at the moment is that there will be a core group of provicences that a faction will be required to get no matter what. On top of that, there should be certain conditions that the faction leader wants achieved before victory can be claimed in his mind. The condition could have nothing to do with conquering land or destroying faction, maybe he's a trader and wants a huge treasury and a huge market present, maybe he's very religious and demands the largest temple be built for his patron deity, maybe he's a patron of the arts and want to have gaming fields and theaters in all settlements. The conditions should reflect the personality of the current leader. If a leader dies before his dream is fulfilled it becomes null, and only the current leaders dream is considered.


    1.0 completed:
    -Baktria

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO