Crusader Kings II

Crusader Kings II

Better AI: Roleplaying Character Focus
43 Comments
nordpilled 10 Apr @ 2:13pm 
ai never changes focus
Dragatus  [author] 4 Apr @ 6:17am 
Thanks.
papa 3 Apr @ 4:35pm 
@Dragatus welcome back
Dragatus  [author] 16 Mar @ 11:42am 
Okay, now I'm back.
Dragatus  [author] 25 Sep, 2024 @ 11:26am 
Some day I will. But today is not yet that day.
Le pp baguette De wewe 25 Sep, 2024 @ 7:42am 
Come back dad
Dragatus  [author] 3 Aug, 2024 @ 11:18pm 
I don't know. I never used any version of After The End, so I don't know if it does anything with character focuses or not.
Hanno Barca 3 Aug, 2024 @ 10:11am 
This mod fork's After the end fanfork?
Dragatus  [author] 2 Jul, 2024 @ 8:42pm 
I don't know. I do vaguely remember having similar problems with other mods back when I played CK2. IIRC some times the issue was that the game didn't immediately detect the mod, but a restart could solve the issue.
Dragatus  [author] 29 May, 2024 @ 8:58am 
100 out of 109 times means that if the choice is presented 109 times, the option gets picked 100 of those times. I could've written it's a 91.7% chance, but that would've been less precise.
AetiusInzel 25 May, 2024 @ 10:42am 
i mean if its 109 characters they might have a point...
Eisen 8 Mar, 2024 @ 10:49am 
109 times can't be wrong.
Bio the Human 31 Dec, 2023 @ 10:31am 
@✟Kneel before God JESUS CHRIST yeah but it is a vanilla problem anyway. At least with this mod the focus choice makes a little more sense
✟Kneel before God JESUS CHRIST 11 Dec, 2023 @ 11:33pm 
@bio the human is right, also censored info at infowars dot com bro
Dragatus  [author] 4 Aug, 2023 @ 1:07pm 
I stopped modding CK2.
Bio the Human 4 Aug, 2023 @ 12:43am 
One thing I noticed is that AI remains with the same focus for all its life, would it be possible to make them change?
Dragatus  [author] 14 Dec, 2019 @ 11:47am 
You can edit the mod file to adapt the chance to your own tastes. All you need to do is change all the modifiers from looking like this:

modifier = {
factor = 10
trait = diligent
}

to this:

modifier = {
factor = 3
trait = diligent
}
Riekopo 14 Dec, 2019 @ 8:22am 
I think 92% is way too high. That would make characters too similar I think. Can you upload a version that makes it like 50%?
Autocrator 4 Oct, 2019 @ 11:33pm 
Alright. I'll try it again. Thanks for the help.
Dragatus  [author] 3 Oct, 2019 @ 1:22am 
Or if you didn't delete any brackets you might have one or more too many.
Dragatus  [author] 3 Oct, 2019 @ 1:21am 
I'd have to see the ATE file and your edit to know for sure. But what is most likely is that you accidentally deleted a } or { bracket at either the end of the Seduction focus or the beginning of the Intrigue focus and that broke all the focuses that come after.

Rulership, Business, and Seduction are namely the first three focuses in the file and they all work normally. So the problem must exist somewhere between Seduction and Intrigue (which is the 4th listed focus in the file).
Autocrator 2 Oct, 2019 @ 3:46pm 
I tried editing After the End Fan Fork's 00_focuses.txt to something like this. I have no modding experience but considering I have done made other mods compatible with other overhaul mods, I thought this would be a piece of cake. I failed miserably. Only three of the focuses work: Rulership, Business, and Seduction. Every other focus I cannot choose what-so-ever. It is highlighted with a yellow ring like I had chosen all of them but cannot set one of them as a focus other than the ones I listed. This is my fault but could you be able to find what I did wrong?

All I did was change the modifiers of the ATE file to this one and did not delete any code that was added by ATE. Your mod is a must have and I thought I could make it compatible but ruined the ATE mod itself.
Dragatus  [author] 15 Aug, 2019 @ 8:43am 
Not sure. It's likely a similar situation as with HIP and the like. So using the two mods is unlikely to cause problems, but it's uncertain which one will take precedence.
TheRarestofPepes 14 Aug, 2019 @ 2:07pm 
Any Idea if this is compayible with The After the end mod?
Dragatus  [author] 10 Jun, 2019 @ 12:55pm 
@The_Senate
HIP and my mod both change the same file, but you only get the effect of whichever mod loads last. That's probably going to be HIP because H comes after B in the alphabetical order. HIP also adds some new modifiers that this mod does not take into account. For example, characters with an ambition to become Steward will have an increased chance to take Rulership focus with HIP, but my mod doesn't have that effect.

That said, I'm 99% sure nothing bad will happen if you try to use this mod alongside HIP. It's just unlikely to do anything. So you can try if it works and if it doesn't, there should be no harm done.

@JoltSPeed
There's now a manual download link in the mod's description.
Narrelama 10 Jun, 2019 @ 12:54pm 
@JoltSpeed, for me it took steam workshop 2 days from i downloaded them to they registered in my modlist. More than usual, but I believe it is quite common for everyone that the steam download takes some time, and if you start up the game before it is done doing whatever *it* is doing, the mod either won't show up in the modlist, or be there with a red layering, unselectable. But give them a bit time, or unselect them and redo the subscription. I don't think there's any magic that lets people not experience this.
Vinz Clortho 10 Jun, 2019 @ 8:51am 
Does this work with current HIP?
FunionKnight 10 Jun, 2019 @ 8:37am 
I'm still one of those unlucky saps who's never got the Workshop to work with CK2. Anyway I could get a direct Download for your Mods? DropBox or something? They sound great and I'd very much like to use them in my game.
el Branco 9 Jun, 2019 @ 10:53am 
@Dragatus Thanks for responding my earlier comment
Avvind 9 Jun, 2019 @ 5:40am 
That makes sense. :)
Dragatus  [author] 9 Jun, 2019 @ 1:57am 
It's an idea for an update, but I think it should only apply to characters who have a motivation to improve their education. For example if they are Ambitious or Diligent. Someone who is Content and Slothful wouldn't care much for improving their education.
Avvind 9 Jun, 2019 @ 1:38am 
Would it also make sense to have the AI choose a focus based on bettering their education? Say, if they have 2/4 in diplomacy- maybe they could choose Family or Carousing focus to improve from an 'Underhanded Rogue' to a 'Grey Emninence'.
At least I know I sometimes choose focuses with the goal of maxing out my education.
Dragatus  [author] 8 Jun, 2019 @ 11:53pm 
I'd say the mythical creatures are the real issue. If you can tolerate that, then you can use my mods alongside AGOT. There is also still a chance that my mod will load first in which case it will have no effect. If you're using my mod and you notice dragons and White Walker have no focuses that's a sign that AGOT is loading after my mod and my mod isn't doing anything.
Dragatus  [author] 8 Jun, 2019 @ 11:50pm 
Technically yes, but there will be some problems. The AGOT mod is likely going to load first, but it modifies both files and includes several factors that apply to the other features of the AGOT mod.

There are two noteworthy conflicts:
1) AGOT mod accounts for it that unoccupied provinces, dragons, White Walkers, and other mythical creatures shouldn't get focuses. My mod doesn't account for any of that because those things don't exist in the unmodded game so with my mod active these characters will still get and choose focuses.
2) AGOT mod specifically prohibits AI from using Heritage focus on children from the Valyrian culture group because it doesn't have any effect on their culture unless you enable a specific game option. If my mod is active Valyrian children may be given Heritage focus by the AI, but it still won't affect their culture.

There are also some minor factors where AGOT mod takes into account traits and cultures that only exist in AGOT, but that's not as serious.
SpecterHDMC 8 Jun, 2019 @ 7:52pm 
Will this and your other mod work with the GOT Mod?
Dragatus  [author] 8 Jun, 2019 @ 6:34pm 
@lucasnake
Yes. That mod adds more modifiers that influence the chance for a character to pick a focus. My mod makes personality effects from the unmodded game stronger. Both approaches result in more RP based focus choices, but with my mod most characters will probably have 1-3 likely picks and with that mod they might have 3-5 likely picks. On the other hand, the other mod makes a bigger effort to entirely rule out focuses that don't make sense for a character while with my mod characters will always have a tiny chance to pick a silly focus, just the chance might be something like 0.1%. The exception being Seduction and Intrigue which in my mod do require a specific trait, but that's mostly because they're considered so problematic by many players that PDX introduced a game option to turn them off.
Dragatus  [author] 8 Jun, 2019 @ 6:34pm 
@Ὀπτιμάτ
That depends on what you consider to be compatible, but probably not. HIP and my mod both change the same file, but you only get the effect of whichever mod loads last. That's probably going to be HIP because H comes after B in the alphabetical order. HIP also adds some new modifiers that this mod does not take into account. For example, characters with an ambition to become Steward will have an increased chance to take Rulership focus with HIP, but my mod doesn't have that effect.

That said, I'm 99% sure nothing bad will happen if you try to use this mod alongside HIP. It's just unlikely to do anything.
el Branco 8 Jun, 2019 @ 11:47am 
Glebowsky 8 Jun, 2019 @ 9:16am 
Should this compatible with HIP?
Narrelama 7 Jun, 2019 @ 5:45am 
thx, probably steam
Dragatus  [author] 7 Jun, 2019 @ 4:46am 
It should appear in the mod list as Better AI: Roleplaying Character Focus. If you don't see it in the mod list the most likely reason is that Steam messed up the installation. I've noticed that sometimes the mods I download don't immediately appear in the mod list, but then the second time I start up the game they do. If you start the game several times and the mod still isn't appearing try to unsubscribe, start up the game, then quit, subscirbe again, start the game twice and check again.

If all of that fails and you're using Windows check the My Documents/Paradox Interactive/Crusader Kings II/mod/ directory. What you should see in there are two files, one called Better_AI_character_focus.mod and another called Better_AI_character_focus.zip. If you're seeing anything else let me know what it is.
Narrelama 7 Jun, 2019 @ 12:57am 
Maybe I'm just stupid, but I can't seem to find them in my modlist. Are they enabled in the background by default, or has steam failed to install them correctly? Do they appear as somehting else? confused.
Virsia 5 Jun, 2019 @ 12:02am 
let's try this ehh....