• 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.
Hey, I have a question on the use of Title-specific Character-titles. As can be seen here it only seems to use the directly referenced bit of localization text in all situations, but the correct one here is obviously "Gyðja" rather than "Goði" (which is Male), but it ignores the "_female" version in it's localization. How would you go about making it understand this, or is it just that inflexible? It'd also be good if the Lawspeaker-title is only if said d_iceland is a Republic. Are any Potentials available?

femalegodi.png

Code:
	d_iceland = {
		color={ 195 190 255 }
		color2={ 220 220 220 }
			title = "icelandic_lawspeaker"
		
		c_vestisland = {
			color={ 235 230 250 }
			color2={ 220 220 220 }
			title = "temple_count_norse_pagan"
			
			b_kleifar = {
			}
			b_reykjavik = {
			}
			b_alftanes = {
			}
			b_skalholt = {
			}
			b_pingvellir = {
			}
			b_kjalarnes = {
			}
			b_hlidarendi = {
			}
			b_hvamm = {
			}
			b_borg = {
			}
		}
		c_austisland = {
			color={ 225 235 245 }
			color2={ 220 220 220 }
			title = "temple_count_norse_pagan"
			
			b_valpjotstadur = {
			}
			b_kirkjubaer = {
			}
			b_thykkvabaer = {
			}
		}
		c_nordisland = {
			color={ 235 230 240 }
			color2={ 220 220 220 }
			title = "temple_count_norse_pagan"
			
			b_borgarvirki = {
			}
			b_hrisey = {
			}
			b_husavik = {
			}
			b_holar = {
			}
			b_glaumbaer = {
			}
			b_akureyri = {
			}
			b_goddalir = {
			}
		}
	}
 
Last edited:
Hey, I have a question on the use of Title-specific Character-titles. As can be seen here it only seems to use the directly referenced bit of localization text in all situations, but the correct one here is obviously "Gyðja" rather than "Goði" (which is Male), but it ignores the "_female" version in it's localization. How would you go about making it understand this, or is it just that inflexible? It'd also be good if the Lawspeaker-title is only if said d_iceland is a Republic. Are any Potentials available?

femalegodi.png
Rather than specify in the titles file (which I believe only allows one name), I would do it all in the localization file. I.e.,

city_duke_westnorse;Goði;Goði;Goði;;Goði;;;;;;;;;x
city_duke_westnorse_female;Gyðja;Gyðja;Gyðja;;Gyðja;;;;;;;;;x

It would apply, of course, to all West-Norse controlled republics, not just Iceland, but I personally wouldn't see that as a flaw.

edit: If you wanted to limit it still further, you could add in a religion specification as well

city_duke_westnorse_asatru;Goði;Goði;Goði;;Goði;;;;;;;;;x
city_duke_westnorse_asatru_female;Gyðja;Gyðja;Gyðja;;Gyðja;;;;;;;;;x

But that might be too restrictive, if you still want the title to be used regardless of religion.
 
Rather than specify in the titles file (which I believe only allows one name), I would do it all in the localization file. I.e.,

It would apply, of course, to all West-Norse controlled republics, not just Iceland, but I personally wouldn't see that as a flaw.

But that might be too restrictive, if you still want the title to be used regardless of religion.

I already have. This would be specific variations for those titles and they're different from the West-Norse default titles. Also it's just about the title, it has nothing to do with religion (for the whole timeframe they were mainly Christian. It's just the title also used for local Ásatrúar priests).
 
I already have. This would be specific variations for those titles and they're different from the West-Norse default titles. Also it's just about the title, it has nothing to do with religion (for the whole timeframe they were mainly Christian. It's just the title also used for local Ásatrúar priests).
Mm. In that case, I don't believe you can do what you have in mind.
 
Does the reload command work? If so, how? I've tried it, "reload mod\mymod\common\file.txt", reload file.txt" and I get something that says "reload reloaded", but it doesn't work. Do I have to give the path all the way up to the root directory?
 
Last edited:
How would one go about adding new Coats of Arms to the game? I'm still not sure on how those work, other than that a good number of them are just combinations of various template-files.

Edit: Also, how would I give a character a claim on a title? (in the history files?) I want a dynasty member to have a claim on the kingship, but for some reason he doesn't...
 
Last edited:
How would one go about adding new Coats of Arms to the game? I'm still not sure on how those work, other than that a good number of them are just combinations of various template-files.

Edit: Also, how would I give a character a claim on a title? (in the history files?) I want a dynasty member to have a claim on the kingship, but for some reason he doesn't...

Coats of arms must 128x128 pixels and in TGA-format. Once you have added new ones, you must (before reloading the game) delete the C:\Users\Gebruiker\Documents\Paradox Interactive\Crusader Kings II\gfx\flags folder.

You can give a character a claim, by scripting it like this (in the history/character files)



Code:
94005 = {
	name="Floris" #Floris V
	dynasty=432
	religion="catholic"
	culture="dutch"
	add_trait="just"
	add_trait="kind"
	add_trait="charitable"
	father=94003
	mother=31093
	1254.6.24={
		birth="1254.6.24"
	}
	1271.1.1={
		add_spouse=94006
	} 
	[COLOR="#00FF00"]1286.3.19={
		add_claim = k_scotland
	}
	[/COLOR]	
         1296.6.27={
		death="1296.6.27"
	}
}
 
like reload a file not to restart the game? is this possible? man, can I be more noob?

Aye, that's the idea. However, I can't get it to work. Has anyone had any success with this?

If you just type "reload" into the console, it says "Valid arguments are: file", but can't figure out the syntax.

I've now tried:
reload mod\mymod\common\filename.txt
reload mod\mymod\common\filename
reload mod\mymod
reload filename.txt
reload filename
reload C:\...\crusader kings ii\mod\mymod\common\filename.txt
reload C:\...\crusader kings ii\mod\mymod\common\filename
 
Aye, that's the idea. However, I can't get it to work. Has anyone had any success with this?

If you just type "reload" into the console, it says "Valid arguments are: file", but can't figure out the syntax.

I've now tried:
reload mod\mymod\common\filename.txt
reload mod\mymod\common\filename
reload mod\mymod
reload filename.txt
reload filename
reload C:\...\crusader kings ii\mod\mymod\common\filename.txt
reload C:\...\crusader kings ii\mod\mymod\common\filename

thanks, I hope somebody tell us if this works.
 
I am trying to make a mod where I play hereward the wake. I created my own dynasty "of Bourne" and placed all the characters in a character file and managed to do it. However I find that Paradox have already created a Hereward who keeps appearing in Lincoln.
So I copied the saxon text file and edited that changing Hereward (keeping same ID) to give him a mother/father. But now two Herewards appear as siblings.
Is there some way to just replace the saxon.txt file in history\characters or do I have to use replace_path and copy all character text files into my mod for this to work?

Can anybody answer this?
 
A quick one: Is there a way to check if a character is from a specific dynasty?
Have you tried "dynasty = <the dynasty id#>" Usually, anything that accepts ROOT, etc, will accept an id number as well.

Can anybody answer this?
If your mod only has saxon.txt file in history\characters folder, then it should just replace that file. I guess it's possible that the game accepts duplicate files in the characters folder, in which case you probably would need to use replace_path, but AFAIK, that's not how it works.
 
Aye, that's the idea. However, I can't get it to work. Has anyone had any success with this?

If you just type "reload" into the console, it says "Valid arguments are: file", but can't figure out the syntax.

I've now tried:
reload mod\mymod\common\filename.txt
reload mod\mymod\common\filename
reload mod\mymod
reload filename.txt
reload filename
reload C:\...\crusader kings ii\mod\mymod\common\filename.txt
reload C:\...\crusader kings ii\mod\mymod\common\filename
If it works, it definitely needs something like events\filename.txt not mod\mymod\something
 
I thought about that, but, suppose I know certain king is from certain dynasty. But if the ruler change and it is from other dynasty, the event wouldn´t WAD anymore.
So, will this work? I want to fire an event for a specific dynasty only.
Pulse Event 1: In a random ai character, create some character form a specific dynasty (there is an event in mogol_event.txt that creates one for dynasty = 800). and fire an event to this newly created character.
Event 2: In this event I will find the human player, and fire my event.
Event 3: Use the FROM scope to get the dynasty I wanted. Do my stuff. Change FROM Char to a garbage dynasty. Kill FROM char. (I don´t want to pollute the dynasty with dead guys).
What do you think?