• 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.

Orlando

Sergeant
11 Badges
Dec 4, 2002
93
0
Visit site
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis: Rome
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: Common Sense
To counter the massive loss of piety during crusades, I've scripted some events to gain piety. I've been testing them for some time and seem to work fine, as you still have to go crusading from time to time, but not you don't need to be an all-time crusader :p

I would thank your comments about possible changes to enhance them :)

This is the text to be added to the extra_text.csv:

ACTIONNAME20400A;Fund them;;;;;;;;;;X
ACTIONNAME20400B;I can't spare the gold;;;;;;;;;;X
ACTIONNAME20403A;For the glory of God!;;;;;;;;;;X
ACTIONNAME20404A;Of course!;;;;;;;;;;X
ACTIONNAME20404B;Not in this moment...;;;;;;;;;;X
ACTIONNAME20405A;Of course!;;;;;;;;;;X
ACTIONNAME20405B;Not in this moment...;;;;;;;;;;X
ACTIONNAME20406A;Of course!;;;;;;;;;;X
ACTIONNAME20406B;Not in this moment...;;;;;;;;;;X
ACTIONNAME20407A;Of course!;;;;;;;;;;X
ACTIONNAME20407B;Not in this moment...;;;;;;;;;;X
ACTIONNAME20408A;Of course!;;;;;;;;;;X
ACTIONNAME20408B;Not in this moment...;;;;;;;;;;X
ACTIONNAME20409A;Of course!;;;;;;;;;;X
ACTIONNAME20409B;Not in this moment...;;;;;;;;;;X
ACTIONNAME20410A;Of course!;;;;;;;;;;X
ACTIONNAME20410B;Not in this moment...;;;;;;;;;;X
ACTIONNAME20411A;Of course!;;;;;;;;;;X
ACTIONNAME20411B;Not in this moment...;;;;;;;;;;X
ACTIONNAME20412A;Of course!;;;;;;;;;;X
ACTIONNAME20412B;Not in this moment...;;;;;;;;;;X
ACTIONNAME20413A;Of course!;;;;;;;;;;X
ACTIONNAME20413B;Not in this moment...;;;;;;;;;;X

Piety events

O.

[Edit: Text for the extra_text.csv]
 
Last edited:
Code:
	trigger = {
		condition = { type = has_improvement value = { church = yes } }
		condition = { type = has_improvement value = { large_church = no } }
		condition = { type = has_improvement value = { domed_church = no } }
		condition = { type = has_improvement value = { cathedral = no } }
		condition = { type = or
				condition = { type = ruler_religion value = catholic }
				condition = { type = ruler_religion value = orthodox }
				}
	}
has_improvement is broken, type = has_improvement value = { improvement = no} always returns true. Workaround:
Code:
	trigger = {
		condition = { 
                      type = has_improvement 
                      value = { church = yes } }
                condition = { 
                      type = not 
                       value = {
                             type = or
                             condition = { 
                                  type = has_improvement 
                                  value = { large_church = yes } 
                             }
                              condition = {
                                  type = has_improvement 
                                  value = { domed_church = yes } 
                              }
		              condition = { 
                                   type = has_improvement 
                                   value = { cathedral = yes } 
                              }
		condition = { type = or
				condition = { type = ruler_religion value = catholic }
				condition = { type = ruler_religion value = orthodox }
				}
	}
 
Event 22010 also has a has_improvement check with improvement - no.
 
Corrected has_improvement triggers for 22010:
Code:
	trigger = {
		condition = { type = has_improvement value = { glassworks = yes } }
		condition = { type = has_improvement value = { church = yes } }
		condition = { type = has_improvement value = { large_church = yes } }
		condition = { type = has_improvement value = { domed_church = yes } }
		condition = { 
			type = not
			value = {
				type = has_improvement value = { cathedral = yes } 
			}
		}
I'd also suggest putting a cap on piety in the character events and ruler_piety in the province event conditions (so rulers with large demesnes can't pump their piety up), and checking ruler_gold (so you can't go into debt to improve your piety.)
 
Thanks again :)

I have fixed the has_improvement, and added a gold = 1000 trigger condition for the event 22000.

About the piety cap and ruler_gold for the other events, I'm not very sure about it. The events alone don't give you too much piety, and besides, events like needing new windows for churches and the others should happens always no matter the gold or piety of the ruler, if he has no gold he can always choose action b and lose piety or go into debt ;)

O
 
And when you've destroyed the muslims and pagans and have a demesne of well over 100, what's to keep you from using these events to beef up your piety enough that badboy just sloughs off you as you conquer your way across Christian Europe? That's why I think that there should be an upper limit to the piety you can receive from these events, not realism.
 
Well, I don't think that having a demesne over 100 is usually acomplished by most of people, it is possible to do it, but it is not the usual way to play, so I don't worry about that. I scripted the events for the normal gamers, and I have tested them in that way. And anyways, the crusades gives you much more piety conquering muslim provinces or designing bishops, so I don't see real problem with the events as they are right now :)

O
 
I've played with these events extensively and they DO need a minimum ruler_gold condition to cover the expense. The reason is that the AI rulers will get a lot of these events, and will happily pick action A most of the time, driving themselves thousands of gold into debt. That's not what you want happening.
 
Yes, sorry but I've been out of town for a while :)

I've been playing a bit with the conditions, and I think I have something that will work better, I'll post it as soon as I arrive home so you can give feedback on them.

O.
 
Well, I have uploaded a new version with some changes:

- A same_religion condition for many events (I don't think that a new glass for a mosque in a muslim province will give piety to a catholic or orthodox ruler ;) )

- MTTH = 15 days instead 1 month for the event 20401, as it wasn't firing as desired (only 1 or 2 times in 100 years with a lot of wars with the muslims :( )

- Negative modifiers if you are orthodox or if you are emperor of Byzantium

- Modifiers depending on your ruler_gold (positive if you are very rich and negative if you are poor)

I've tried to avoid placing a minimum gold for the events to fire, and instead used modifiers, so there will always be a small chance for them to happen, but if most of you think that the minimum gold is the only way to go, I'll change them that way.

I hope that they won't need a lot of tweaking this time, and I would really apreciate your feedback :)

O.
 
- Does the game actually make a distinction between churches and mosques? I think if you have a church, it's probably of your religion, even if the province is not (after all, churches help convert the province to the current ruler's religion regardless of who originally built them, IIRC).

- Why negative modifiers for Orthodox/Byzantium? They need piety as much as anyone, and it makes sense for Byz to have a lot of piety. Plus, a Catholic ruler can become Emperor, so there shouldn't be a negative modifier for BYZA at least.

I still think there should be a minimum gold check on most events that require a large expenditure of gold, because these events can affect AI rulers very adversely, and that's something that should be taken into account.

Also, have you considered scaling these events for counts, dukes, and kings? Like I said above, a count can almost never afford blowing 300 gold for a mere 15 piety.
 
Well, the game doesn't differences between church and mosque, but I think that if the province is muslim, people there won't appreciate any change in a non-muslim building, and thus the lack of piety gain. Do you think I should change it back?

The negative modifiers to orthodox are because people were complaining that they were hoarding lots of piety with the events, as they don't lose any piety due to crusade expectations :( So, until it is changed (hopefully) in the 1.03, we can't give the same amount of piety to an orthodox and to a catholic ruler. About Byzantium, as they have a demesne bonus, they usually have a lot of provinces, and the events fire a lot for them, giving again too much piety. I hope that with the changes their gains will be reduced to be more reasonable... Anyway, I could remove the orthodox/byzantine modifiers for the char events, and keep them only for the prov events, as they are the ones that are giving more piety.

About AI (and also human players), don't you think the modifiers for ruler_gold will be enough? If you have 1 gold or less the MTTH will be modified to around 900 months! I don't think that they will be happening often enough to bankrupcy any ruler. Anyway, if more people complains, or you still think that it is not working well with the actual gold modifiers, I'll change the events back to the richvh gold restrictions.

Good idea, I'll keep the character_event 20400 only for kings, and I'll add another two events, one for dukes and another for counts (does 200 gold and 100 gold sounds good? both for 15 piety) As per the province_events, I don't think there is need to scalate them, as they happen depending on your demesne, so if you have a large demesne (and thus a large income), they will happen more often to you, but if you are a count with little money, they shouldn't happen too often.

Thank you for the feedback :) I'll try to change this as soon as possible and upload the modified events so they can be tested.

O.
 
Well, I don't mind the religion restriction so much. It's up to you.

About BYZA, remember that if a Catholic ruler acquires it as a secondary tag, it won't provide a demesne bonus. And IMO it's not a problem if the Byz Emperor gets more of these events.

I haven't tested the events with gold mtth modifiers, I'm just generally against events taking away large amounts of gold without checking whether it can be afforded. It ends up hurting the AI the most. :)

For scaling, I'd suggest more like 150 for dukes and 75 for counts. 100 gold is a fortune for a count who has 1 gold/month income! Or you could give counts more piety in the events. A count who spends most of his treasury on church donations would likely be considered more pious than a king who donates some pocket change.
 
Well, I don't mind the religion restriction so much. It's up to you.

I don't really like that restriction, as I think that both christian faiths should have almost the same events to gain piety, but right now it is necessary for a balancing issue. I hope than with the new DEM we won't need it any more ;)

About BYZA, remember that if a Catholic ruler acquires it as a secondary tag, it won't provide a demesne bonus. And IMO it's not a problem if the Byz Emperor gets more of these events.

Well, I didn't tried the events much with Byzantium, but in the LUCKS 1.3 thread some people complained that in only a few years (starting in 1337) they amassed around 600 piety :eek: that's why I thought that the modifers for them were needed. As per catholic rulers of the Byzantine Empire, I don't think there is an easy solution :(

I haven't tested the events with gold mtth modifiers, I'm just generally against events taking away large amounts of gold without checking whether it can be afforded. It ends up hurting the AI the most. :)

I think it is fixed now, but if there are still problems it can be tweaked easily. What I wouldn't like is to place a minimum gold for them to happen, as even if you are broke you can have bad luck and a church in your realm may need some repairs :p What could be done, apart from the ruler_gold modifiers, is to change the AI chance for each option, perhaps 75/25 or 70/30, if still bugs too much the AI players.

For scaling, I'd suggest more like 150 for dukes and 75 for counts. 100 gold is a fortune for a count who has 1 gold/month income! Or you could give counts more piety in the events. A count who spends most of his treasury on church donations would likely be considered more pious than a king who donates some pocket change.

OK, I'll lower it more for dukes and counts :)

O.