Results 1 to 3 of 3

Thread: About CAI personnalities

  1. #1
    Sukauto
    Join Date
    May 2012
    Posts
    68
    Tournaments Joined
    0
    Tournaments Won
    0

    Default About CAI personnalities

    Hi,

    I would need someone to confirm an asumption: from my understanding, default personnality is used even for factions not using the default personnality (or "special ability"); in fact, continental_progessive and others only affect which branch of the research tree are favored (except for pirates, which explains why pirates and barbary states have very specific behaviours (they both have the same personnality)). Any other AI behaviour not covered by the "special ability", uses the "default" parameters.

    For Full/maintenance stategy, there is no such default table, and maintenance lacks some parameters when compared to full, which might be part of what makes minor quite passive.

    Some "personnalities" coded look to need a defined number when summed up; I mean, in campaign_ai_personnality_junction_tables for exemple, basic_construction_bias seem to represent the % allocated to each branch, so the sum of basic_construction_bias_economic, education, prestige, military and hapiness must be equal to 1. I sometimes wonder if some other "branches" need to sum up to other specific values; could be 1000 with some high "magnitude" values. Any info on this would be very helpful.

    I have only found this topic to use as reference, though I'm still not at the point of trying to understand each and every entries, and does not cover other questions about CAI.

  2. #2
    JaM's Avatar Empire Realism
    Join Date
    Nov 2004
    Location
    Slovakia
    Posts
    11,959
    Tournaments Joined
    0
    Tournaments Won
    0

    Default Re: About CAI personnalities

    Quite late to reply, but after some tinkering with CAI files i can confirm it works exactly as you described. Special personality just updates default values, so if nothing is specified, default value is used. So, it is actually a good idea to define certain items specifically for certain factions - for example this way i managed to eliminate Maratha naval invasions to different theaters - just by assigning unique values to appropriate personality stats. Theoretically, you can just take Default definition, close it several times and rename it for special definitions - this way you can have unique values for each personality..

  3. #3
    Cornicularius
    Join Date
    Feb 2014
    Location
    United Kingdom
    Posts
    287
    Tournaments Joined
    0
    Tournaments Won
    0

    Default Re: About CAI personnalities

    JaM - you mentioned that you managed to eliminate Maratha naval invasions to different theaters. Do you (or anyone) know if it would be possible to reverse that process, as a way to encourage other factions to behave more like the Marathans, including more cross-theatre naval invasions? Could you (or anyone) be more specific about the values that would need to be given to personality stats of other factions (and where these states are in the game's pack files)?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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