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

lenny

Field Marshal
84 Badges
May 4, 2004
2.754
1
  • Mount & Blade: Warband
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Stellaris: Necroids
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Majesty 2
  • Majesty 2 Collection
AFAIK, there is no event that removes the crusader trait once one has taken the cross. However, I think it should be possible to end a 'personal' crusade once Jerusalem has been liberated. Therefore I want to script an event that gives the possibility to remove the crusader trait when one either holds Jerusalem, or the KoJ title.
This is version:

Code:
#####################################
#You have fulfilled your vow to god #
#####################################
character_event = {
	id = 66669
	name = "You have fulfilled your vow to god"
	picture = "event_crusades"

	trigger = {
		condition = { type = religion value = catholic } 	#Is catholic
		condition = { type = trait value = crusader }		#Is crusader
		condition = {
			type = or	#Has important holdings in the holy land		
			condition = { type = title value = C774 }   	#Jerusalem
			condition = { type = title value = JERU }   	#Has KoJ
			condition = { type = title value = C728 }   	#Damascus
			condition = { type = title value = C733 }   	#Aleppo
			condition = { type = title value = C772 }   	#Acre
			condition = { type = title value = C796 }   	#Cairo
			condition = { type = title value = C802 }   	#Alexandria
			}
		condition = { type = piety value = 2000}		#Has done some crusading himself	
		condition = { 						#must be at peace
			type = not 
			value = {
				type = atwar
			}
		}
	}

	mean_time_to_happen = {
		months = 36

		modifier = {
			condition = {
				type = not
				value = {
					type = or
					condition = { type = title value = C774 }   	
					condition = { type = title value = JERU }
				}
			}
			factor = 5
		}
	}

	action_a = { #I will rest my sword
		ai_chance = 75
		effect = { type = remove_trait value = crusader }
		effect = { type = piety value = -150 }
		effect = { type = random
				chance = 25
				effect = { type = remove_trait value = zealous }
		}
		
	}
	action_b = { #There are still heathens to conquer
		ai_chance = 25
		effect = { type = add_trait value = zealous }
	}
}

And the lines for event_text.csv:
Code:
ACTIONNAME66669A;I will rest my sword;;;;;;;;;;X
ACTIONNAME66669B;There are still heathens to conquer;;;;;;;;;;X

How does it look?

EDITED 23-07-04
 
Last edited:
Solmyr said:
Might also add a condition if Jerusalem is held by one of your vassals.
How do I do that? Is it simply
condition = { type = vassal value = C774 }
 
lenny said:
How does it look? I haven't had a chance to test it yet.
As implemented, it looks very, very, bad - though the idea is nice... It is almost a guaranteed +100 piety/year during the crusading period due to your option b). Thus option b) is a permanent piety pump. (If you hold enough pagan/muslim land to offset expectations, you will be gaining piety like mad from it). To start with, remove the piety gain from option b). You might also want to increase the MTTH by a factor 2 or 3.

If anything, option a) should have a piety loss, as you are trying to get out of your obligations.

If this seems too hard to you, remember that by choosing option a), you make yourself eligible to receive the Crusader-granting events again, so if a) is piety neutral, you have constructed yet another piety-pump based on "now I crusade/now I do not".

I am a bit worried by the whole "if the KOJ exists, no matter how little I have done, I can get out of crusader status scot free", as it means there are no negatives whatsoever to accepting crusader status if somebody else has already created the KOJ... On the other hand, balanced against the current agony of being a crusader who does not hold a lot of muslim/pagan land, it is a minor issue.
 
Peter Ebbesen said:
As implemented, it looks very, very, bad - though the idea is nice... It is almost a guaranteed +100 piety/year during the crusading period due to your option b). Thus option b) is a permanent piety pump. (If you hold enough pagan/muslim land to offset expectations, you will be gaining piety like mad from it). To start with, remove the piety gain from option b). You might also want to increase the MTTH by a factor 2 or 3.
It is a first draft and I didn't really thing of the consequences of giving a piety bonus for the b) option :eek:o. I have removed it and increased the MTTH to 36 month.

Peter Ebbesen said:
If anything, option a) should have a piety loss, as you are trying to get out of your obligations.

If this seems too hard to you, remember that by choosing option a), you make yourself eligible to receive the Crusader-granting events again, so if a) is piety neutral, you have constructed yet another piety-pump based on "now I crusade/now I do not"..
I have introduced a piety penalty of 150 to option a). That should not be an issue if you have just liberated Jerusalem and one will loose piety from a "now I crusade/now I do not" strategy.

Peter Ebbesen said:
I am a bit worried by the whole "if the KOJ exists, no matter how little I have done, I can get out of crusader status scot free", as it means there are no negatives whatsoever to accepting crusader status if somebody else has already created the KOJ... On the other hand, balanced against the current agony of being a crusader who does not hold a lot of muslim/pagan land, it is a minor issue.
I have replaced the "KoJ exists" condition by a condition that one holds the KoJ title.
 
I have edited my first post and corrected some mistakes in the event. It should work properly now, but I did not conduct extensive tests.

I encountered a problem with the options text, though. I put
ACTIONNAME66669A;I will rest my sword;;;;;;;;;;;X
ACTIONNAME66669B;There are still heathens to conquer;;;;;;;;;;;X
into events_text.csv but it still says “OK” for A and “UNKNOWN STRING WANTED”for B. So, where do the event descriptions go?
 
AFAIK AI chances are screwed too, they should total up to 9 not 100. So you should have AI chance at 6 in A and 3 at B.

Of course the AI chance weirdness might have been corrected, but at least I haven't heard of it...
 
Byakhiam said:
AFAIK AI chances are screwed too, they should total up to 9 not 100. So you should have AI chance at 6 in A and 3 at B.

Of course the AI chance weirdness might have been corrected, but at least I haven't heard of it...

I thought they were corrected in 1.03b. At least all paradox events use 0-100 and they seem to work fine now.
 
lenny said:
I thought they were corrected in 1.03b. At least all paradox events use 0-100 and they seem to work fine now.

Well, seems that I was wrong then. Otherwise very nice event though, except that it causes those player rulers that have gained Crusader and want to get rid of it to actually fight for ownership of Jerusalem... Against other christians in some cases.
 
lenny said:
I have edited my first post and corrected some mistakes in the event. It should work properly now, but I did not conduct extensive tests.

I encountered a problem with the options text, though. I put

ACTIONNAME66669A;I will rest my sword;;;;;;;;;;;X
ACTIONNAME66669B;There are still heathens to conquer;;;;;;;;;;;X

into events_text.csv but it still says “OK” for A and “UNKNOWN STRING WANTED”for B. So, where do the event descriptions go?
You use 11 semicolons after the English text, there should IIRC only be 10. Not sure if that is what does it, though. :)
 
Solmyr said:
Did you put the lines above the EOF lines?

No, I put them at the end of the file.
 
Solmyr said:
That explains it. ;)
EOF lines must be the very last ones in a csv file, anything after them is not read.

Thanks :)!
 
As the event fired last night while I was (again) crusading, I added a condition to not be at war.

Peter Ebbesen said:
You use 11 semicolons after the English text, there should IIRC only be 10. Not sure if that is what does it, though. :)
In the file I had 10 semicolons, so that was only in the post. The problem was the one solved by Solmyr.

Byakhiam said:
Well, seems that I was wrong then. Otherwise very nice event though, except that it causes those player rulers that have gained Crusader and want to get rid of it to actually fight for ownership of Jerusalem... Against other christians in some cases.
To avoid this I am thinking about adding some other KoJ provinces to the conditions, and maybe even Alexandria and Damascus. However, I would also add an MTTH modifier in the range 5-10 for not holding Jerusalem or KoJ.
 
lenny said:
To avoid this I am thinking about adding some other KoJ provinces to the conditions, and maybe even Alexandria and Damascus. However, I would also add an MTTH modifier in the range 5-10 for not holding Jerusalem or KoJ.

I would suggest any of the following: Alexandria, Cairo, Damascus, Baghdad, Mecca. Capture of any of these would surely be the culmination of a crusade.
 
Solmyr said:
I would suggest any of the following: Alexandria, Cairo, Damascus, Baghdad, Mecca. Capture of any of these would surely be the culmination of a crusade.
That sounds like a good list, except for Mecca. It has no value for Christianity and is not vital for the defense of the Holy Land. Maybe Beirut would be a better choice.
 
lenny said:
That sounds like a good list, except for Mecca. It has no value for Christianity and is not vital for the defense of the Holy Land. Maybe Beirut would be a better choice.

Well, capturing Mecca would surely make a crusader quite famous.
And Beirut was an unimportant town I think... Perhaps Aleppo or Mosul instead.
 
Solmyr said:
Well, capturing Mecca would surely make a crusader quite famous.
And Beirut was an unimportant town I think... Perhaps Aleppo or Mosul instead.
Both sound good. I think I will base the decision on base tax.
 
I have added Damascus, Aleppo, Acre, Cairo and Alexandria to the list of possible holdings to trigger the event. However, MTTH is increased by a factor 5 if one does not hold Jerusalem or KoJ.

I have also added a minimum piety requirement of 2000 to avoid that heir of great crusaders escape their obligation because "my daddy/grandpa/ancestor fought the heathens".

Any comments are welcome :).