Results 1 to 6 of 6

Thread: cai_personalities_deal_evaluation_deal_component_values table?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    necronox's Avatar ▬▬ι═══════- -═══════ιι▬
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    1,127

    Default cai_personalities_deal_evaluation_deal_component_values table?

    Does anyone know what: cai_personalities_deal_evaluation_deal_component_value secifically changed, the table seems to have some sort of impact on the accept/refusal/counteroffer of the AI to you trade demands, however, it seems to do little impact (i have not noticed any significant changes - perhaps some other table)?

    i am trying to find a way to make it so vassals have to accept a demands by their masters (such as join war, trade, and a few others)...

    anyone have any ideas on what those values (such as best_friend_value, friend_value, etc..) mean in the table mentioned above? it does not seem to make much sense... to me anyways.



  2. #2

    Default Re: cai_personalities_deal_evaluation_deal_component_values table?

    I'd understand it this way:
    The deal_component entry is the offer being evaluated.
    The personality_component entry is the CAI personality to which this row applies (references a row in cai_personality_deal_evaluation_components tables, identified by column id).
    The *_value columns refer to the relationship between the two factions (very friendly, friendly, neutral, etc.; what you see in the diplomatic screen); the value shown there is the modifier that is applied to the deal probability when the in-game relationship is at that level.

    It doesn't look like what you want to do can be done here because you're trying to calculate based on the diplomatic status instead of the relationship value which is what's evaluated in this table.
    At first look, I didn't find a table that does that.
    Tools: PFM 4.1 - EditSF 1.2.0
    (Download PFM - Download EditSF)
    Warscape Modding Guide
    Join the PFM User Group on Steam to receive PackFileManager update notifications.

    Respecto Patronum

  3. #3
    necronox's Avatar ▬▬ι═══════- -═══════ιι▬
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    1,127

    Default Re: cai_personalities_deal_evaluation_deal_component_values table?

    damn, because that would be great for rome 2, i'll keep testing out some numbers and db, see if i come across anything.

    by the way, has anyone noticed how some vassal states don't join your war when you declare war? or is it just me?
    Last edited by necronox; November 19, 2013 at 03:09 AM. Reason: typo


  4. #4

    Default Re: cai_personalities_deal_evaluation_deal_component_values table?

    I've been able to use this and the deal generators files to make the AI actually accept ends to wars, not only with me, but with each other. So anytime the ai goes to war with another faction it's not automatic grudge match to the death, but they will conquer each other on occasion.

    Basically I just upped the values for peace when the AI is in "last_stand" mod and "total_war" stances.

    It would be awesome if you could do the same things based on diplomatic status but I havent seen that in the files yet.

  5. #5
    necronox's Avatar ▬▬ι═══════- -═══════ιι▬
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    1,127

    Default Re: cai_personalities_deal_evaluation_deal_component_values table?

    Quote Originally Posted by crackerjack1348 View Post
    I've been able to use this and the deal generators files to make the AI actually accept ends to wars, not only with me, but with each other. So anytime the ai goes to war with another faction it's not automatic grudge match to the death, but they will conquer each other on occasion.

    Basically I just upped the values for peace when the AI is in "last_stand" mod and "total_war" stances.

    It would be awesome if you could do the same things based on diplomatic status but I havent seen that in the files yet.
    i have also managed to do that, i have also managed to make them nearly always accept trade, i can also make it so they nearly always accept request to join war if very friendly, but i can't see anything to do with diplomatic status.


  6. #6

    Default Re: cai_personalities_deal_evaluation_deal_component_values table?

    what i did was copy the values for non-aggression pact and paste them into trade agreement. IMO trading should be easier to establish than a non-aggression pact, and i also removed the treachery values for attacking a trading partner (though, ending a trade agreement within 5 turns of establishment is still considered treachery).

Posting Permissions

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