• 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.
Would this work:
Death is an event no?
So add the trait Vampire and make sure the events for death include a line that says not if vampire
Same for Dwarf or Elf, make it an inheritabe trait and in the death events make it great increase the MTTH
(Idea from Vasious on the 1.05 Wishlist thread)

Is natural death solely handled by the character's hidden health stat? If so, would giving a character a trait with +1,000 health grant pseudo-immortality?
 
Is natural death solely handled by the character's hidden health stat? If so, would giving a character a trait with +1,000 health grant pseudo-immortality?

Ive tried that and test character got to 101 before hardcode dying.


As for a new question which i hope to be simple and quick. Can you set specific religions to effect other opinion modifiers or add ones in?
i.e. have a heresy called regionalist or nationalist which doubles [or applies a second copy of] the foreigner relationship value? or extremist which doubles heretic/infidel modifiers or that sort of thing.

As from what i can tell from the opinion modifiers text, is the triggered modifiers are hard coded and the soft are all event placed. So there doesnt seem to be an example of one with an allow definition to copy from.
 
From various sections in the cb_types file:

is_valid = {
ROOT = {
OR = {
liege = {
character = PREV # either independent
}
liege = {
FROM = {
is_liege_or_above = PREV # or have shared liege
}
}
}
}
FROM = {
higher_tier_than = ROOT
}
}

I don't get it right... FROM is the character declaring war, and ROOT the character who is declared war on, right?

In the independence cb, I don't get it or I'm just missunderstanding bad here:
The code actually says that the valid option (green light) is that the FROM is higher tier than the ROOT?

isn't it just the opposite? o_O????

And two, if I change in that line, ROOT with a title, this means that any character higher than that
tier can declare war?.

So if I put DUKE, this means that Counts can't declare war?

And also, what should I put if I want BARONS to be able to declare war?.

And last of all:
if a characters has a "desires to get X duchy", but he doesn't even has a claim on that duchy,
how can I mod it out that:
a) desiring a duchy automatically laid a claim on that duchy OR
b) If "not claim" THEN "no desire"?
 
Last edited:
Quick question--has anyone used 'region' yet as an event/decision trigger? There seem to be two region files in the map directory--one for islands only (with a do not touch warning) and another with the comment that it could be used later. I want to define a region for Iberia and another for Occitania for use in my mod and so anyone try it yet? I assume it would work as in CK1 or EU3, with
Code:
region = iberia
Just me trying to push the system again, see what it can give us.

Thanks,
your friendly neighborhood Rooster.
 
Ah, and in the independence cb?. o_O?

Also, a Lord Mayor is the "equivalent" of a count, right?. So, how should I put that
certain cbs could only be declared by certains tiers?.

I also wanted to create certain Cbs that are only available to types of vassals.

(I mean, a CBs for clergy that could enforce the investiture problem, and also
CBs for mayors and clergy that would enforce lower taxes rates for cities and churches only.)
 
In an event, can I move a character to my (or a different but specified) court? An existing, specific character, that is, not a randomly generated new courtier. (I assume there will be trouble if I try to move a ruler or the queen consort of Norway or something like that.)

I tried "employer =", but no.

Something similar was asked many pages ago, but it looks like it got lost in the crowd...
 
Some help needed by a poor novice modder!

I'm making a trait mod and have successfuly added a load of new traits. My traits worked fine in the game - their assigned randomly to characters and all is perfect.....until 18 years into my test game I noticed that all characters born into the game aged 0-18 were only being assigned the standard game traits!

Does this mean I have to create a childhood event for each of my traits in order for them to be assigned to characters born into the game?

If so how exactly do I do this?
 
Wookie1: Check your setup.log file, which is in same directory as your save files.

JamesLx: Unless those events have birth = yes, yes. Check one of existing childhood events and start copying that.
 
Code:
is_republic = yes
is_theocracy = yes

Can be used to limit to certain types.

Somehow it isn't working, I tried the opposite and this is how it looks like:

FROM = {
higher_tier_than = ROOT
is_republic = no
is_theocracy = no
}

Lord mayors and Count-bishops (always forget the name, lol) are still able to declare that casus belli.

Also I noticed that if I change ROOT to DUKE, they are "still" able to declare war (all of them) BUT the war ends
immediately as "inconclusive".
 
Code:
ROOT = {
NOT = { tier = baron }
is_republic = no
is_theocracy = no
}

Would stop baron tier characters and major and clergy type characters from declaring war.

I repeat:

ROOT is the attacker
FROM is the defender
 
Is there a way to make a character enter an ongoing war as an ally through an event? I noticed for events for plots allow you to add allies at the start of the war, but is there a way to have people join a war that is already happening?
 
How do I make a decision which enables you to create the (titular and modded) kingdom of Aleppo? I think I know how to get most of the other modifiers but I don't know how to give yourself a title through events.

edit: and how do I check whether or not someone has a certain title?
 
Im trying to make a decision where, someone who is not a son of the current dynasty head, could ask for a loan for $$ from the head of the family. However I want the $$ to be random each time. I saw the "random" but i think im using it wrong. Any help on how I can do this? I know about top_liege but I want to assume that the head of the family is not the current top_liege. I saw the description in the localisation folder .

Any idea's on how to get the dynasty head? I added my event to dynasty_decisions.txt

EDIT: Also does "random" even work? Is it supposed to return a random number or something? It never seems to work for me.
 
Last edited: