Results 1 to 5 of 5

Thread: Removing the insane bonus of the AI in loyalty and authority

Hybrid View

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

    Default Removing the insane bonus of the AI in loyalty and authority

    Hi,

    I just wanted to know how to reduce, or remove the bonuses of the AI in loyalty (for the generals) and in authority (for the kings) they're always maxed out and it's just unfair when you're playing BGRIV when your authority is maxed out at 3.

    I read something about "commenting out" something in a readme but I don't know how to do it and what I should comment out.

    THANKS!

  2. #2

    Default Re: Removing the insane bonus of the AI in loyalty and authority

    Also I wanted to know how to edit the amount of money necessary to bribe an army. And how the system works!

    Last question (I promise) playing on hard, does the AI can run out of money? How does it gain money?

    Thanks again ...
    Last edited by Denizou; December 26, 2011 at 02:34 PM.

  3. #3
    Ferdiad's Avatar Patricius
    Join Date
    Feb 2010
    Location
    Ireland
    Posts
    28,041

    Default Re: Removing the insane bonus of the AI in loyalty and authority

    export_descr_character_traits
    Code:
    ;============================
    ; Kingdom Traits 
    ;============================
    ;------------------------------------------
    Trait NaturalAiBoost
     Characters family
     Hidden
    
     Level GeneralAI
       Description GeneralAI_desc
       EffectsDescription GeneralAI_effects_desc
       Threshold 1 
    
       Effect TroopMorale 1
       Effect HitPoints 1
       Effect Loyalty 2
    
     Level HeirAI
       Description HeirAI_desc
       EffectsDescription HeirAI_effects_desc
       Threshold 3 
    
       Effect TroopMorale 2
       Effect HitPoints 2
       Effect Fertility 2
       Effect Loyalty 2
    
     Level LeaderAI
       Description LeaderAI_desc
       EffectsDescription LeaderAI_effects_desc
       Threshold 5 
    
       Effect TroopMorale 3 
       Effect HitPoints 4
       Effect Fertility 2
    The section on bribery in descr_campaign_db.xml
    Code:
        <bribery>
            <bribe_to_family_tree bool="false"/>
            <base_character_chance float="0.4"/>
            <religion_modifier float="0.66"/>
            <combined_attribute_modifier float="0.2"/>
            <briber_attribute_divisor float="3.0"/>
            <bribee_attribute_divisor float="3.0"/>
            <army_size_modifier float="0.035"/>
            <base_settlement_chance float="0.8"/>
            <settlement_loyalty_modifier float="0.01"/>
            <settlement_population_modifier float="0.0001"/>
            <faction_standing_divisor float="10.0"/>
            <max_bribe_chance float="100.0"/>
            <min_bribe_chance float="1.0"/>
            <bribe_chance_modifier float="1.0"/>
        </bribery>
    Playing on Hard the AI gets several 1000 florins extra per turn IIRC, and the script dosnt take dfficulty into account.

  4. #4

    Default Re: Removing the insane bonus of the AI in loyalty and authority

    Great, what should I do with this now?

    edit: I mean thanks but now should I delete these lines? If yes, exactly from where to where? And should I not delete also the "trigger" parts? (found this by searching the forum)
    Last edited by Denizou; December 26, 2011 at 05:54 PM.

  5. #5
    Ferdiad's Avatar Patricius
    Join Date
    Feb 2010
    Location
    Ireland
    Posts
    28,041

    Default Re: Removing the insane bonus of the AI in loyalty and authority

    First section delete it.

    <bribery>
    <bribe_to_family_tree bool="false"/>
    <base_character_chance float="0.4"/>
    This is the base chance.
    <religion_modifier float="0.66"/>
    Releigion modifier, multiplies the cost by this.
    <combined_attribute_modifier float="0.2"/>
    Dunno.
    <briber_attribute_divisor float="3.0"/>
    Dunno.
    <bribee_attribute_divisor float="3.0"/>
    Dunno.
    <army_size_modifier float="0.035"/>
    The army size affects this theres probaly a threshold when over 5 units the cost is multiplied by this and over 10 by this again etc...
    <base_settlement_chance float="0.8"/>
    Settlements costs are multilpied by this factor.
    <settlement_loyalty_modifier float="0.01"/>
    I dont know where you can find settlement loyalty, maybe theres a base and having a Family Member in there modifys thet?
    <settlement_population_modifier float="0.0001"/>
    Population modifier, is it for ever 1 pop, every 100 or some other number?
    <faction_standing_divisor float="10.0"/>
    Maybe how the factions that your bribing sees you, ie If your rep is Abysmal or something like that.
    <max_bribe_chance float="100.0"/>
    Theres a limit to how expensive a bribe can be.
    <min_bribe_chance float="1.0"/>
    Dunno.
    <bribe_chance_modifier float="1.0"/>
    Dunno.
    </bribery>

    What you want to modify is this line <base_character_chance float="0.4"/> making it smaller makes it cheaper for character, <base_settlement_chance float="0.8"/> this one for settlemets.
    Last edited by Ferdiad; December 26, 2011 at 06:12 PM.

Posting Permissions

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