Results 1 to 14 of 14

Thread: AI command bonus

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    nightwar's Avatar Ducenarius
    Join Date
    Jan 2005
    Location
    America USA
    Posts
    991

    Default AI command bonus

    I was curius does LTC use the mod that gives AI generals command stars?

  2. #2
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: AI command bonus

    No it does not.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  3. #3
    nightwar's Avatar Ducenarius
    Join Date
    Jan 2005
    Location
    America USA
    Posts
    991

    Default Re: AI command bonus

    Lusted you dont find that helps the AI be a better enemy?

  4. #4

    Default Re: AI command bonus

    I use this and it certainly does help, if the AI is using a general. However, the real problem is often that the AI uses captains instead of generals to lead their armies, and there's no way to give boosts to captains.

  5. #5
    nightwar's Avatar Ducenarius
    Join Date
    Jan 2005
    Location
    America USA
    Posts
    991

    Default Re: AI command bonus

    Drjambo how did u include this in LTC?

  6. #6

    Default Re: AI command bonus

    I added the following traits to the traits file:

    Code:
    ;------------------------------------------
    Trait AIGeneral
        Characters family
        Hidden
        AntiTraits AIGenerala
    
        Level AIGeneral
            Description AIGeneral_desc
            EffectsDescription AIGeneral_effects_desc
            Threshold  1 
    	
            Effect Command 2
            Effect MovementPoints 2
            Effect HitPoints  4	
            Effect Fertility 2	
    		
    
    ;------------------------------------------
    Trait AIGenerala
        Characters family
        Hidden
        AntiTraits AIGeneral
    
        Level AIGeneral
            Description AIGenerala_desc
            EffectsDescription AIGenerala_effects_desc
            Threshold  1
    And then the following triggers:

    Code:
    ;------------------------------------------
    Trigger AIGeneral01
        WhenToTest CharacterTurnStart
    
        Condition not CharacterIsLocal
    	      and Trait AIGeneral < 1
    
        Affects AIGeneral  1  Chance  100 
        Affects NightBattleCapable 1 Chance 5
    	
    ;------------------------------------------
    Trigger AIGeneral02
        WhenToTest CharacterTurnStart
    
        Condition CharacterIsLocal
    	      and Trait AIGeneral > 0
    
        Affects AIGenerala  1  Chance  100
    Last edited by DrJambo; May 10, 2007 at 06:30 PM.

  7. #7
    nightwar's Avatar Ducenarius
    Join Date
    Jan 2005
    Location
    America USA
    Posts
    991

    Default Re: AI command bonus

    Thanks man!

  8. #8
    Queen Annes Revenge's Avatar Ordinarius
    Join Date
    Nov 2006
    Location
    New York, NY
    Posts
    763

    Default Re: AI command bonus

    i've noticed that in 1.2 the AI leads armies with generals much more often.

  9. #9

    Default Re: AI command bonus

    So have I. And it's good to see General units accompanied by large forces and not poncing around the map on their own.



  10. #10
    nightwar's Avatar Ducenarius
    Join Date
    Jan 2005
    Location
    America USA
    Posts
    991

    Default Re: AI command bonus

    i added the code but crashs due to this entry>>>>

    ;------------------------------------------
    Trigger AIGeneral02
    WhenToTest CharacterTurnStart

    Condition CharacterIsLocal
    and Trait AIGeneral > 0

  11. #11
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: AI command bonus

    Did you add the last bit of that entry from DrJambos post?
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  12. #12
    nightwar's Avatar Ducenarius
    Join Date
    Jan 2005
    Location
    America USA
    Posts
    991

    Default Re: AI command bonus

    Quote Originally Posted by Lusted View Post
    Did you add the last bit of that entry from DrJambos post?
    I copied and paste thos exactly in the right areas i believe. traits and trigger sections.

    ;------------------------------------------
    Trigger AIGeneral01
    WhenToTest CharacterTurnStart

    Condition not CharacterIsLocal
    and Trait AIGeneral < 1

    Affects AIGeneral 1 Chance 100
    Affects NightBattleCapable 1 Chance 5

    ;------------------------------------------
    Trigger AIGeneral02
    WhenToTest CharacterTurnStart

    Condition CharacterIsLocal
    and Trait AIGeneral > 0


    09:12:25.609 [script.err] [error] Trigger parsing error in landstoconquer/data/export_descr_character_traits.txt, at line 17817, column 2 :
    Unknown identifier for trigger(AIGeneral02) when expecting an Affect, Advice, Ancillary or Guild.
    Last edited by nightwar; May 18, 2007 at 08:13 AM.

  13. #13

    Default Re: AI command bonus

    nightwar - use the scroll bar in my post above to copy and paste the entire code entry. You've missed the last part.

  14. #14
    nightwar's Avatar Ducenarius
    Join Date
    Jan 2005
    Location
    America USA
    Posts
    991

    Default Re: AI command bonus

    Quote Originally Posted by DrJambo View Post
    nightwar - use the scroll bar in my post above to copy and paste the entire code entry. You've missed the last part.
    DOH!

Posting Permissions

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