interface/portrait_properties.txtDon't think so; it's hard-coded, iirc. You could remove the localisation for the ruler titles and have them as allocated epithets (via event/check), presumably.
Does anyone know which part of the file I'd need to change in order to have a certain hairstyle used with a king-tier crown? I can't for the life of me remember how to do that.
Edit the can_use section of the relevant CBs in common/cb_types/I'm very new to modding and i'm currently attempting to add more restrictions to certain cb's. Can anyone tell me how to add piety or prestige requirements?
Is it possible to mod the way a character is diplayed in game?
e.g.: William I "The Conquerer" de Normandie, King of England
instead of
King William I "The Conqueror" of England
or: Robert de Normandie, Duke of Normandy (no numbers)
istead of
Duke Robert I of Normandy
It's in the 02_traits file, and an event that creates a horse that's "race" is horse is in ZE_lunatic in the events folder.
You could just make a duplicate of all of the nicknames that contains the dynasty name as well.It's very possible to mod them, but the localisation keys are limited. I don't think there's a way to add your Dynasty name (you can make nicknames that show your Dynasty name though), Also, I haven't found a way to mod courtier names or names in tooltips. And I don't think Regnal numbers can be disabled.
The loc stuff:
NAME_W_NICK
TITLED_NAME_W_NICK
TITLED_NAME
Again, this covers only how the names of landed rulers are displayed on character screens.
You can mod these a fair bit. You can remove quotation marks from around nicknames for rulers (handy if you want Dynasty names as nicknames). You can display names in the order of "Robert, Duke of Normandy" by adding a comma after $NAME$ and moving $TITLE$ after $NAME$. You can also remove $TITLE$ and $HOLDING$ without any problems.
It's in gfx/models/shields. There's some image files there, of which I am not sure how they are read, but I'm sure you could figure out with some trial and error.Im curious to know if its possible to mod the outline of the empire tier titles. For example how the HRE has the two headed eagle outline or the nomads have the two horses. Is it possible to change those into something else? Also how you would go about doing that?
Im curious to know if its possible to mod the outline of the empire tier titles. For example how the HRE has the two headed eagle outline or the nomads have the two horses. Is it possible to change those into something else? Also how you would go about doing that?
It's in gfx/models/shields. There's some image files there, of which I am not sure how they are read, but I'm sure you could figure out with some trial and error.
And to test this I would need to start the game with the mods., save, exit and then reload it, yes?Prior to 2.5, that probably wouldn't have been a viable solution as changes to de jure structure weren't properly being preserved on loading a save. Now it might be.
You can add a temporary character flag, then limit = { not has that flag } for the next two courtiers
oh and I wouldn't do any_courtier , I think you want random_courtier
Afterwards do a random_courtier scope that has that flag and remove the flag
decisions = {
abdicate_throne = {
# Conditions on the decision taker for the decision to appear
#from_potential = {
# ai = no
# is_ruler = yes
# is_feudal = yes
#}
#Conditions on the character for the decision to appear
potential = {
NOT = {
has_character_flag = wants_to_abdicate
has_character_flag = has_abdicated_throne
}
}
#Conditions for the decision to be enabled
allow = {
war = no
prisoner = no
OR = {
AND = {
primary_title = { tier = EMPEROR }
NOT = {
any_demesne_title = {
empire = {
has_law = succ_gavelkind
}
}
}
}
AND = {
primary_title = { tier = KING }
NOT = {
any_demesne_title = {
kingdom = {
has_law = succ_gavelkind
}
}
}
}
AND = {
primary_title = {
NOT = { has_law = succ_gavelkind }
}
}
}
NOT = { trait = lunatic }
NOT = { trait = possessed }
NOT = { trait = imbecile }
NOT = { trait = cruel }
NOT = { trait = paranoid }
NOT = {
AND = {
trait = envious
trait = greedy
}
}
OR = {
AND = {
age = 30
OR = {
trait = content
trait = humble
}
OR = {
trait = shy
trait = craven
}
}
AND = {
age = 40
OR = {
trait = depressed
trait = stressed
}
}
age = 50
}
current_heir = {
is_adult = yes
dynasty = ROOT
NOR = {
has_character_flag = has_abdicated_throne
has_character_flag = refused_abdication
}
}
prestige = 750
}
#Commands executed when taking the decision
effect = {
set_character_flag = wants_to_abdicate
current_heir = {
character_event = {
id = ABDICATETHRONE.01
days = 3
random = 3
tooltip = "ABT.000.Tooltip"
}
}
}
#Factors for an AI character to take the decision (1 = 100% chance)
ai_will_do = {
factor = 0 # Prevent AI from doing (can cause major crashes)
}
}
}