Jump to content

[mod] Regula Magistri 2


Recommended Posts

Posted (edited)
16 hours ago, Grey Cloud said:

I'd be interested in more info on the changes you made to 'regula_adultery_override.txt'.

This was the change I made (on the left image) with the help of ChatGPT. My intention was to fully prevent cheating activities with my wives and concubines, but it's still happening once once in a blue moon which could be caused by some of the other codes below, but that's good enough for me :) 

Spoiler

image.png

regula_adultery_override.txt

Edited by hm76
Posted (edited)
14 hours ago, ApostlTea said:

An endless march, you declare war on the world and march to victory, and you leave as much as you can capture. But I use "more interactive vassals" to declare wars one after another. But it's a bit inconvenient and expensive. 

 Gameplay
1 I'm not sure about this, but I'll take it into account, it should reduce the number of children in my court, right? Well, considering that now it's only two hundred, not 1000 as before, I probably thought right, but acted less decisively

2. The problem is probably also in the traits I choose for my starting wizard, I need to reduce their number, because of some mod, perhaps the vassal mod, I have achievements with a hacked character. 

Mods.
1 I'll take it into consideration, but I think a chance for children is needed, especially when you put young people in a royal position. And it would be better if there was some kind of reworking of celibacy.

2 It may be possible to make changes, but it would be better if it was somewhere in the game rules. 

3 Thanks for the tip, but can you give me a hint on how to let my mistress go back to bed, because this, 10000% debuff kind of defeats the purpose of children, especially when you heal her after a while. 

 

It sounds like you want to manage the number of children in your court.

In the Carnalitas mod, there is a Birth Control setting. It allows you to take a decision in the game to reduce your Fertility by -100%. I tried using on and off to manage my children output. However, like I said, it only reduces fertility to -100%. That doesn't work, as even if I turn if on, I'm still having children. At first I was puzzled, but I'm speculating it's because a Magister will typically have > 100% fertility. 

Traits like Exach, Beautiful, Fecund, and others add to fertility. So a magister ends up with a fertility rate of around 150% or more. 

 

Spoiler

image.png.8404dc72494405e447fcbc01e4146cb0.pngimage.png.29384467f5820da52f5460718d24ef9a.pngimage.png.74dc9c3434aec63df2c935e07944881f.png

 

 

 

 

If you're interested in making a single line of code change to your Carnalitas mod, you can do this quick and dirty way. 

1. Open the "carn_birth_control_modifiers.txt" file in your carnalitas mod

2. change the line fertility = -1.0 to -3.0 (or whatever value you want). I put in -3.0 which means -300% and that totally stop my magister from having children when using birth control. 

 

Gameplay Start or stop using birth control when you feel like it. 

Spoiler

image.png.12649fe48dbc79d768ccdc833dcb0a53.png

 

 

After changing, it'll look like this. Make sure to exit your game first before making the change. Hopefully this should let you manage your children output. If you didn't turn on Birth Control rule, than this wouldn't help, sorry.

 

image.png.8946b7e0e2778e5c9cb608a51bab45fd.png


As for stopping wife/concubine cheating activities (that produces tons of bastard children), I've uploaded my changes in the previous reply, you'll need to replace the file with your exising file of the same name. (Of course changes will be lost if you download a new version of RM unfortunately).

 

 

Edited by hm76
Posted
6 hours ago, Grey Cloud said:

After that I try to marry only older women who have less child-bearing years left on the clock. 

That's a sensible idea, but I don't think I can do that. What's the point of having a harem if they are all old and ugly  ?

 

 

 

Posted
1 hour ago, hm76 said:

This was the change I made (on the left image) with the help of ChatGPT. My intention was to fully prevent cheating activities with my wives and concubines, but it's still happening once once in a blue moon which could be caused by some of the other codes below, but that's good enough for me :) 

 

 

regula_adultery_override.txt 5.27 kB · 0 downloads

Thanking you. I'll give that a go tomorrow as I'm currently stressing about stress. Had a stress cascade earlier for no obvious reason which took out well over 100 characters from infants to old people. Never had one before so I'm a bit confused.

 

42 minutes ago, hm76 said:

That's a sensible idea, but I don't think I can do that. What's the point of having a harem if they are all old and ugly  ?

 

 

 

There's generally enough younger models from vassalising and heirs inheriting. 

Posted
32 minutes ago, Grey Cloud said:

Thanking you. I'll give that a go tomorrow as I'm currently stressing about stress. Had a stress cascade earlier for no obvious reason which took out well over 100 characters from infants to old people. Never had one before so I'm a bit confused.

 

Are you using the mod 'No Death Cascade' to manage stress? 

Posted
1 hour ago, hm76 said:

 

Are you using the mod 'No Death Cascade' to manage stress? 

I wasn't using any mod for others just an edit for myself. I used to use Stress Reducer but didn't bother with it this tie around 9it hasn't been updated for a while). I've put it in tonight and it seems to work - it's just a pain having to do it every so often. I seen the NDC mod but it only seems to deal with stress related to deaths. I'll have another look at it tomorrow - too late here.

 

 

Posted
10 hours ago, Grey Cloud said:

Does anyone know if there is a way to stop these events popping up?

 

Maybe it could be reduced if you turn off Fascinare events or Ward enslavement events?

Spoiler

image.png.b1eff9d6daa920b56c67b2c7403fe21a.png

 

Posted
2 hours ago, hm76 said:

 

Maybe it could be reduced if you turn off Fascinare events or Ward enslavement events?

  Hide contents

image.png.b1eff9d6daa920b56c67b2c7403fe21a.png

 

Thanks I'll give that a try. Half problem is that I don't know what these type of things are called so I don't know where to go to tackle them.

Posted
On 10/22/2023 at 1:12 PM, Yamma said:

It seems like option is currently non-functional. You can rerun the purchase book event by running the command event regula_initialize_event.0003

 

I've also ran into that bug... here's a quick and dirty fix to avoid using console and disabling achievements...:

 

Locate the file Regula_Magistri\events\decisions\regula_initialize_event.txt

 

Look for this block:

 

    option = { # Gain the Conversion Secret
        trigger = { NOT = { has_global_variable = regula_initialized } }
        name = regula_initialize_event.0011.c

        regula_secret_reboot = yes

 

And change it to:

 

    option = { # Gain the Conversion Secret
        trigger = { NOT = { has_global_variable = regula_initialized } }
        name = regula_initialize_event.0011.c
        trigger_event = {
            id = regula_initialize_event.0003
        }
        regula_secret_reboot = yes

 

I have no idea how ck3 modding works, but that fixed it for me...

Posted

I´d love an expansion to the "Vassal can be fascinared" and "Mulsa can be dominated" alerts that checks every landed character in your realm, so that when i give out a whole kingdom i get more than one paelex out of it, since whoever is in charge of the kingdom usually either tries to revoke the lower titles if i gave them out beforehand or they get deposed because a faction wanted ot remove them, and that doesnt happen that frequently when they put the vassals in charge themselves

Posted (edited)

Suggestion: Revealing CBO clothing only for compeditae (domina etc).

I'm trying to mod it in myself, game rules looks good just wondering if you could tell me I've coded this gene modification correctly please.

Spoiler


# Revealing Clothing enabled
# This enables revealing clothing via the clothing_type gene (CBO clothing)
regula_revealing_clothing_rule = {
	usage = game
    selection_behavior = max
    priority = 10	# We want to set this last, after we've chosen the correct clothing below

	# Three different settings
	# Famuli Only (any females who follow the regula religion)

	compeditae_only = {
		dna_modifiers = {
			accessory = {
				mode = add
				gene = clothing_type
				template = revealing_2
				range = { 0 1 }
			}
		}

		weight = {
			# This should be our "goto" solution, as it simplifies everything for us
			base = 1000

			# Always enabled for High Harem
            modifier = {
                factor = 0
               	NOR = {
					has_trait = paelex
					has_trait = domina
					has_trait = contubernalis
                    should_be_naked_trigger = yes
				}
            }
		}
	}

 

image.png

Edited by Dwjliel
Posted
On 11/2/2023 at 11:33 PM, Grey Cloud said:

I wasn't using any mod for others just an edit for myself. I used to use Stress Reducer but didn't bother with it this tie around 9it hasn't been updated for a while). I've put it in tonight and it seems to work - it's just a pain having to do it every so often. I seen the NDC mod but it only seems to deal with stress related to deaths. I'll have another look at it tomorrow - too late here.

 

 

 

The No Death Cascade mod is a soft requirement for any long term RM play. You will have death cascades otherwise. It will ruin your dynasty every 5-10 years. 

Posted
14 minutes ago, JohnDWizard said:

 

The No Death Cascade mod is a soft requirement for any long term RM play. You will have death cascades otherwise. It will ruin your dynasty every 5-10 years. 

That's the first time I have ever experienced one and I have played with RM since the original was released. The only times I didn't have RM active was if I was playing Cheri's Daughters of Lust.

Posted
On 11/4/2023 at 5:01 AM, wnachenb said:

 

I've also ran into that bug... here's a quick and dirty fix to avoid using console and disabling achievements...:

 

Locate the file Regula_Magistri\events\decisions\regula_initialize_event.txt

 

Look for this block:

 

    option = { # Gain the Conversion Secret
        trigger = { NOT = { has_global_variable = regula_initialized } }
        name = regula_initialize_event.0011.c

        regula_secret_reboot = yes

 

And change it to:

 

    option = { # Gain the Conversion Secret
        trigger = { NOT = { has_global_variable = regula_initialized } }
        name = regula_initialize_event.0011.c
        trigger_event = {
            id = regula_initialize_event.0003
        }
        regula_secret_reboot = yes

 

I have no idea how ck3 modding works, but that fixed it for me...


Nice, just an FYI to all that this is already fixed for the next release.
 

On 11/4/2023 at 10:57 AM, Savaris2222 said:

I´d love an expansion to the "Vassal can be fascinared" and "Mulsa can be dominated" alerts that checks every landed character in your realm, so that when i give out a whole kingdom i get more than one paelex out of it, since whoever is in charge of the kingdom usually either tries to revoke the lower titles if i gave them out beforehand or they get deposed because a faction wanted ot remove them, and that doesnt happen that frequently when they put the vassals in charge themselves


I don't mind this, I just want to be careful not to overload the amount of alerts the player has to deal with.
Could you go into more detail as to when the current alerts don't work and how you would want them changed?
 

12 hours ago, Dwjliel said:

Suggestion: Revealing CBO clothing only for compeditae (domina etc).

I'm trying to mod it in myself, game rules looks good just wondering if you could tell me I've coded this gene modification correctly please.

  Reveal hidden contents

 

 

# Revealing Clothing enabled
# This enables revealing clothing via the clothing_type gene (CBO clothing)
regula_revealing_clothing_rule = {
	usage = game
    selection_behavior = max
    priority = 10	# We want to set this last, after we've chosen the correct clothing below

	# Three different settings
	# Famuli Only (any females who follow the regula religion)

	compeditae_only = {
		dna_modifiers = {
			accessory = {
				mode = add
				gene = clothing_type
				template = revealing_2
				range = { 0 1 }
			}
		}

		weight = {
			# This should be our "goto" solution, as it simplifies everything for us
			base = 1000

			# Always enabled for High Harem
            modifier = {
                factor = 0
               	NOR = {
					has_trait = paelex
					has_trait = domina
					has_trait = contubernalis
                    should_be_naked_trigger = yes
				}
            }
		}
	}

 

image.png


I would write the following trigger for the modifier:

modifier = {
    factor = 0
    is_regula_leader_devoted_trigger = yes
    should_be_naked_trigger = no
}

Looks good to me otherwise. If you make a PR on gitgud I can maybe see about getting it merged into master.
 

1 hour ago, JohnDWizard said:

 

The No Death Cascade mod is a soft requirement for any long term RM play. You will have death cascades otherwise. It will ruin your dynasty every 5-10 years. 

1 hour ago, Grey Cloud said:

That's the first time I have ever experienced one and I have played with RM since the original was released. The only times I didn't have RM active was if I was playing Cheri's Daughters of Lust.


Yeah, its annoying, the base game just doesn't take into account things like distance and family dynamics very well, which results in pretty silly "stress death spirals".
It can happen in the base game as well, just a bit harder as you usually have less kids overall.
I do remember once playing a Vanilla CK3 game where by most of my dynasty died at a feast where a fire event killed off a bunch of dynasty members, thereby causing the rest of the dynasty to stress spiral.
Kinda funny tbh, even if it did kill off that run.

Posted

Also, new update is now out 2.8.0
Changelog in OP as usual

I will monitor for the release of the Persia DLC next week, I don't think it will break RM but who can say ?

Posted (edited)
16 hours ago, ban10 said:

Also, new update is now out 2.8.0
Changelog in OP as usual

I will monitor for the release of the Persia DLC next week, I don't think it will break RM but who can say ?

awesome! ????

Thanks man.

 

Is it save game compatible with 2.7.1 ?

Edited by hm76
Posted
16 hours ago, ban10 said:

Also, new update is now out 2.8.0
Changelog in OP as usual

I will monitor for the release of the Persia DLC next week, I don't think it will break RM but who can say ?

Thanks for the update. Much appreciated.

 

For some reason I didn't get a notification.

Posted

Always nice to see an update for this. Big thanks to Ban and all contributors! But 2.8.0 seems to ctd after ~2 ingame years. I have rearranged my load order and tested each mod individually, as well as deleting and redownloading RM.  The crashes only happen when regula_magistri is activated. Any ideas?

List.PNG

Posted
23 hours ago, ban10 said:

Also, new update is now out 2.8.0
Changelog in OP as usual

I will monitor for the release of the Persia DLC next week, I don't think it will break RM but who can say ?

 

 

I bet testing for mod compatibility is hell on earth. 
Managing side effects in your own code base is hard enough, never mind code bases you don't even know exists. 

 

2 hours ago, Soveryd said:

Always nice to see an update for this. Big thanks to Ban and all contributors! But 2.8.0 seems to ctd after ~2 ingame years. I have rearranged my load order and tested each mod individually, as well as deleting and redownloading RM.  The crashes only happen when regula_magistri is activated. Any ideas?

 

 

I suggest you use a binary search tree pattern to isolate the failing mod. Eg split your load order in half. Turn one off. See if it still fails. If not, the crashing mod is in the half you turned off. Scope down to the failing half. Repeat until you find the mod. Will be faster than trying random combinations, or trying all combinations. 

Posted
7 hours ago, hm76 said:

awesome! ????

Thanks man.

 

Is it save game compatible with 2.7.1 ?


I'm going to say no, theres a huge number of changes/features/fixes (hence the 7 -> 8 version change) so its better to hold off from updating until you want to start a new campaign.
Practically an existing campaign will most likely work without breaking, its just there might be some extreme edge case bugs.
 

2 hours ago, Soveryd said:

Always nice to see an update for this. Big thanks to Ban and all contributors! But 2.8.0 seems to ctd after ~2 ingame years. I have rearranged my load order and tested each mod individually, as well as deleting and redownloading RM.  The crashes only happen when regula_magistri is activated. Any ideas?

List.PNG


Hmm, strange, I've defiantly made it past two years in my testing (and current campaign)
Could you try the following, while running only Carn and RM, play as William the Conqueror (or any preset character) and see how long the game lasts before crashing?
Then pop me a save file and I can have a look.

Posted
2 hours ago, Soveryd said:

Always nice to see an update for this. Big thanks to Ban and all contributors! But 2.8.0 seems to ctd after ~2 ingame years. I have rearranged my load order and tested each mod individually, as well as deleting and redownloading RM.  The crashes only happen when regula_magistri is activated. Any ideas?

 

If my memory serves me correctly, EPE (#6 Mod on your list) has never been compatible with Regula without a separate compatibility mod. I don't remember seeing one of those in the last couple  of years. CFP (#5 Mod on your list) similarly requires a Regula compatibility patch. For some reason, these compatibility patches turn up more frequently than the EPE compatibility patches. 

 

I suggest you remove Mods 5-7 from your list, move Regula to the bottom (then #17) in your mod order.

 

I find life works better if I start with Carnalitas as the last mod on the list and then move any Carnalitas dependent mods below it in the mod order, with RM becoming the last mod listed. In your Mod list, place Carnalitas as #15, Slavery Expansion as #16, and RM as #17. Remember to inactivate the CFP and EPE Mods. Then try running it again.

 

- sj

Posted
28 minutes ago, Slickjack said:

 

If my memory serves me correctly, EPE (#6 Mod on your list) has never been compatible with Regula without a separate compatibility mod. I don't remember seeing one of those in the last couple  of years. CFP (#5 Mod on your list) similarly requires a Regula compatibility patch. For some reason, these compatibility patches turn up more frequently than the EPE compatibility patches. 

 

I suggest you remove Mods 5-7 from your list, move Regula to the bottom (then #17) in your mod order.

 

I find life works better if I start with Carnalitas as the last mod on the list and then move any Carnalitas dependent mods below it in the mod order, with RM becoming the last mod listed. In your Mod list, place Carnalitas as #15, Slavery Expansion as #16, and RM as #17. Remember to inactivate the CFP and EPE Mods. Then try running it again.

 

- sj

I've never seen or heard of compatches for either RM/EPE or RM/CFP. The original RM came out 3 years ago so you saying you haven't seen a patch for a couple of years hardly suggests that such patches are required does it?

Posted

Thanks for the update and for the regula event reboot fix :)

 

Just a quick question... is there a way to change the regula religion to a christian one? Which mod files I'd have to take a look and modify?

 

I'd love to mend the great schism and have roman conquest CB as a regula magister emperor ?

Posted

Might be because I installed the new version mid-game but I got about 5 or 6 Dynasty Legacies in the space of a few minutes after assigning a councillor in the new Magister Council slots. Also got a boat load of "Make sure Wifey X has her child as Primary Heir". I couldn't see any way to do anything about that and some of the wives either had no child or only a male child.

 

I'm liking the naming of those in the infecta chain.

 

1 hour ago, Soveryd said:

Let me show you 5 reasons why I always had and always will have EPE and CFP in my loadorder:

You're attracted to men wearing women's clothes? :classic_ph34r:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...