• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Space Station Dwellers :p (truth think Paradox is saving that one up for a DLC) making the pirates nations settle down and colonise something.

Changing the actual Pirates' behavior is probably outside of this mod's scope (they're not a true faction in-game so changing how they work would probably require messing around with a lot of vanilla code), though I probably will have more pirate-themed personalities in the future.
 
As some of you have requested, I've now updated the google doc describing all of the personalities with a list of the prerequisites for each as well. Hope that helps!
 
  • 3
Reactions:
Efficient Bureaucrats seem to have a lot of possible prerequisits. Does that mean that any species with one of those government types, regardless of ethos, will be Efficient Bureaucrats? Ditto with Guerilla Fighters.
 
Efficient Bureaucrats seem to have a lot of possible prerequisits. Does that mean that any species with one of those government types, regardless of ethos, will be Efficient Bureaucrats? Ditto with Guerilla Fighters.

Yeah, the two can appear regardless of ethos. In the case of Efficient Bureaucrats, since the prerequisites are rather broad, I do have other code to reduce the chances of them appearing, and they are more likely to appear with certain governments (such as Peaceful Bureaucracy, obviously).
 
Found some bugs in your code:
Line 899: 'has_government = lluminated_technocracy' should be 'has_government = illuminated_technocracy'
Line 987: 'NOT = { has_trait = "weak" }' should be 'NOT = { has_trait = "trait_weak" }'
Other than those, it's sound coding :)
 
Found some bugs in your code:
Line 899: 'has_government = lluminated_technocracy' should be 'has_government = illuminated_technocracy'
Line 987: 'NOT = { has_trait = "weak" }' should be 'NOT = { has_trait = "trait_weak" }'
Other than those, it's sound coding :)

I coincidentally found these bugs last night when I was going through my code, but thanks for pointing them out regardless!
 
Just a note to anyone using the Asimov beta - I've quickly browsed through the vanilla code and it appears that Asimov changed some things about how the personality code works. If you are using the Asimov beta, I recommend you not use MAP. I will unfortunately likely be busy the week Asimov will come out, but will try my best to update MAP as soon as I can once it's out.

Additionally, as a heads up, the upcoming update will be my first “themed” update for MAP, and will carry the patch name “Suleiman” (figured it was a cool idea in vanilla to name patches after something so I'll do the same here). I've already finished most of the code for Suleiman and am testing and waiting for Asimov to come out. Suleiman will introduce four new personalities inspired by different groups/aspects connected with Ottoman history:
  • Enterprising Corsairs (Barbary Pirates)
  • Slave Soldiers (Mamluks)
  • Sublime Porte (Ottoman Empire itself)
  • Warrior Mystics (Various Sufi military groups such as the Qizilbash or Bektashi)
Similar to what I used to do with VIET (for those who know me from my CKII mdoding days), I’ll have a number of “themed” updates with the various personalities revolving around a certain theme. For instance, I’ve plans to do themes revolving around Byzantine history, ‘Murica, generic fantasy archetypes, anime cliches and so on. Hopefully this will give my larger updates a bit more focus.
 
  • 1
Reactions:
Uhm... well...

Probably not a bug, because if it is it is a game bug.
Yet some cosmetic tweak proposal.

Anyway, there are general greetings for races in dip_messages_l_english.yml:

If we have hostile Honorbound Warriors as AI Personality Greetings (Built-in personality).
We get three unique greetings from them:
HW_HOSTILE_GREETING_01:0 "Do not mistake our willingness to negotiate for genuine respect."
HW_HOSTILE_GREETING_02:0 "It is only out of disdain that we have so far refused to resolve our differences as noble creatures do, by force of arms." HW_HOSTILE_GREETING_03:0 "You are the worst sort of cowards, relying on the mercy of your betters to spare what you refuse to defend."

However in addition to that we get also these greetings as generic ones:
01_HOSTILE_GREETING
...
26_HOSTILE_GREETING

In 00_diplo_phrases.txt:

We have weight that means we should get likely HW_HOSTILE_GREETING more that genetic HOSTILE_GREETING

HW_HOSTILE_GREETING_01 = {
weight = {
weight = 3
}
trigger = {
has_ai_personality = honorbound_warriors
NOT = { is_at_war_with = FROM }
OR = {
is_hostile_to = FROM
is_unfriendly_to = FROM
}
}
}

But we get both for sure, just more chance for HW_HOSTILE_GREETING.

In the mod we have Psychotic Hordes whose greetings usually are:
PH_HOSTILE_GREETING_01:0 "YOUR HEAD WOULD LOOK GOOD ON A POLE."
PH_HOSTILE_GREETING_02:0 "FEAR US, FOOL! WE COME WITH A MILLION SPACESHIPS! WE BRING THE END OF DAYS! WE! ARE! THE! SCOURGE! OF! HEAVEN!"
PH_HOSTILE_GREETING_03:0 "WE WILL DRINK YOUR BLOOD ONE DAY! "

And UNFORTUNATELY they also shuffle with genetic HOSTILE_GREETING that are more 'civil' that these psycho greetings.

Can you check that and add more weight to some personalities?
I tried at weight=99 and so far I got only PH_HOSTILE_GREETING for that AI personality that is OK.
 
@arzumata In vanilla, some of the generic diplotext was blocked for some personailties, particularly the Hive Mind, but I didn't want to do the same in my mod because it would've meant I would've edited vanilla code. However, your suggestion circumvents this issue so I can more or less achieve something similar without editing vanilla code! I've already made some changes to a few of the vanilla personalities, including the Psychotic Hordes.

Thanks for the suggestion!
 
Any thoughts on Fallen Empires AI? Perhaps something inspired by Clarke's Childhood's End, in which the FE is trying to get young empires to achieve something like use of psionics etc.
 
Any thoughts on Fallen Empires AI? Perhaps something inspired by Clarke's Childhood's End, in which the FE is trying to get young empires to achieve something like use of psionics etc.

Considering fallen empires aren't supposed to get taken in the affairs of smaller people besides as an in-special-cases intervention, I imagine that would require a crazy amount of modding to do. Plus, the stuff from childhood's end would be more of a crisis than anything else, methinks.
 
  • 1
Reactions:
Although I originally wanted to release Suleiman before Asimov came out I think I'll wait until Asimov is out of beta. For now, here's a couple of previews of the new personalities (so again, for context, I'm calling this update Suleiman because the personalities are Ottoman-themed):

m8P1jey.jpg


4d1Uaxj.jpg

@ImpalerWrG More FE personalities is something I'm considering but I'm not sure at the moment, as unlike other personalities it will require more mod work (such as including their special CBs, how to piss them off, etc.). I think for now I'll wait to see if the devs ever do anything with the Fallen Empires.
 
  • 1
Reactions:
Hi cybr!

You may have seen this yourself by now, but is_wary_to is NOT the way to express neutral/wary attitude. is_wary_to does not exist in 1.1 or 1.2.
Vanilla 1.2 uses is_threatened_to for the same state, although in practice it's always combined with is_neutral_to in an OR block.

I changed your mod to use the is_neutral_to/is_threatened_to modifier, and all the nice greetings showed up.
 
Last edited:
  • 1
Reactions:
Hi cybr!

You may have seen this yourself by now, but is_wary_to is NOT the way to express neutral/wary attitude. is_wary_to does not exist in 1.1 or 1.2.
Vanilla uses is_threatened_to for the same state, although in practice it's always combined with is_neutral_to in an OR block.

I changed your mod to use the is_neutral_to/is_threatened_to modifier, and all the nice greetings showed up.

Yo!

Just checked vanilla code and is_wary_to exists in 1.1 but was replaced in 1.2 with is_neutral_to (so not sure why you're seeing is_neutral_to rather than is_wary_to in Clarke then, because I see the diplotext fine when playing Clarke), so it is fine for Clarke but not Asimov, but thanks for the heads up anyways, will have to change that with the next update. Asimov changed a lot of the code related to personalities for whatever reason so there's a number of things I'll have to change regardless.
 
  • 1
Reactions:
Ah, going from beta to release and back may have messed things up in my game. Good to know you're aware.

Asimov changed a lot of the code related to personalities for whatever reason so there's a number of things I'll have to change regardless.
Yup, the type command seems to be scrapped as well. Now something complex with behaviour instead.
 
Last edited:
VERSION 1.1.0 "Suleiman" is up, download on steam here!


This is a larger update than last time and includes my first “themed” update for MAP, hence the changelog name “Suleiman.” Similar to what I used to do with VIET (for those who know me from my CKII mdoding days), I’ll have a number of “themed” updates from time to time with the various personalities revolving around a certain theme. For instance, I’ve plans to do themes revolving around ‘Murica, generic fantasy cliches, the Discovery Channel animals, and so on. Hopefully this will give me a bit more focus.

Additionally, MAP now modifies one vanilla file, common/opinion_modifiers/01_personality_opinions.txt, and thus it will probably not be compatible with any mod that also modifies that file though it can be safely deleted if you want to maintain compatibility with other mods (it will just make remove various opinion bonuses/maluses the personalities have).

I'll be very busy and out of town in the next week, but if any serious issues pop up I'll try to fix them if I have time. I will update the google doc with the list of personalities later tonight to account for the 4 new personalities that come with Suleiman.

As always, a manual download is provided in the first post.

Changelog:

  • Added 4 new personalities inspired by Ottoman history:
    • Enterprising Corsairs (Barbary Pirates)
    • Slave Soldiers (Mamluks)
    • Sublime Porte (Ottoman Empire itself)
    • Warrior Mystics (Various Sufi military groups such as the Qizilbash or Bektashi)
  • Added Russian translations for some of the diplomacy text, credits to @arzumata
  • Different personailties now have different base maluses/bonuses to opinion (for instance, Psychotic Hordes now have base -5000 opinion)
  • Slave Traders more likely if species has thrifty or charismatic traits, or if they have the Plutocratic Oligarchy or Mega corporation governments, but it is conversely less likely if species has Pacifist ethos
  • Totalitarian Patriots will no longer be chosen if species has Pacifist ethos
  • Insecure Imitators will no longer be chosen if species has Pacifist ethos
  • Insecure Imitators less likely if species has nonadaptive trait
  • Increased the chances unique diplotext will appear for certain personalities as opposed to generic diplotext: Carefree Hippies, Efficient Bureaucrats, Psychotic Hordes, Splendid Isolationists, Totalitarian Patriots
  • Increased the chances personalities added in MAP will use custom unique diplotext when sending a declaration of war
  • Generous Philanthropists are now more willing to let their species migrate to other empires
  • Fixed species with weak trait spawning as Guerilla Fighters even though they’re not supposed to
  • Fixed species with Illuminated Technocracy government being unable to spawn as Efficient Bureaucrats
  • Fixed issue with non-English localization files

Screenshots:

And a screenshot of one of the new personalities, the Enterprising Corsairs:

i5Qgu1q.jpg


And now the Psychotic Hordes hate you even more:

dJJ7IuN.jpg
 
Last edited:
  • 2
Reactions:
Looking good cybrxkhan, I'm running both this and CANS.


Glad to see you modding again.
 
Looking good cybrxkhan, I'm running both this and CANS.


Glad to see you modding again.

I recognize you! And yeah guess it's like I have a modding instinct built in me. ^__^