Results 1 to 6 of 6

Thread: How to make AI generals all without 10 stars?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Danya82's Avatar Tiro
    Join Date
    Oct 2010
    Location
    Saint-Petersburg, Russia
    Posts
    227

    Default How to make AI generals all without 10 stars?

    So question is it. Any can help i will be very grateful

  2. #2
    Den Stark's Avatar Tiro
    Join Date
    May 2012
    Location
    Vladivostok
    Posts
    248

    Default Re: How to make AI generals all without 10 stars?

    Quote Originally Posted by Danya82 View Post
    So question is it. Any can help i will be very grateful
    add in export_descr_character_traits.txt -
    Code:
    ;------------------------------------------
    Trait Ai_without_stars
     Characters family
     Hidden
        
     Level Ai_without_stars
       Description Ai_without_stars_desc
       EffectsDescription Ai_without_stars_effects_desc
       Threshold 1 
        
       Effect Command -10
         Effect Chivalry  -10
    and in triggers

    Code:
    ;------------------------------------------
    Trigger Ai_without_stars1
        WhenToTest CharacterTurnEnd
        
        Condition Trait Ai_without_stars < 1
          and not FactionIsLocal
        
        Affects Ai_without_stars 1  Chance  100
    and if only the generals, who from the beginning of the game you have to descr_strat.txt, find and delete traits as GoodCommander etc
    Last edited by Den Stark; October 07, 2012 at 11:18 PM.

  3. #3
    Danya82's Avatar Tiro
    Join Date
    Oct 2010
    Location
    Saint-Petersburg, Russia
    Posts
    227

    Default Re: How to make AI generals all without 10 stars?

    Well... i mean i just wanna have diffrent skills of AI generals, not all with 10 stars. Did you understand me right? Anyway tnx for answer

  4. #4

    Default Re: How to make AI generals all without 10 stars?

    They don't all have 10 stars? It is hard to understand what you are saying maybe you should try using google translate.

  5. #5
    Miles
    Join Date
    Jun 2011
    Location
    Not Set(the capital of Not Land)
    Posts
    331

    Default Re: How to make AI generals all without 10 stars?

    He wants the generals to have various star levels some one some 5 and some 10 not all of the same level

  6. #6
    Den Stark's Avatar Tiro
    Join Date
    May 2012
    Location
    Vladivostok
    Posts
    248

    Default Re: How to make AI generals all without 10 stars?

    then add this trigger and experiment with the number of lines "Affects GoodCommander 1 Chance 2"

    ;------------------------------------------
    Trigger gen111
    WhenToTest CharacterComesOfAge

    Condition IsGeneral

    Affects GoodCommander 1 Chance 2
    Affects GoodCommander 1 Chance 2
    Affects GoodCommander 1 Chance 2
    Affects GoodCommander 1 Chance 2
    Affects GoodCommander 1 Chance 2

Posting Permissions

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