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

unmerged(8544)

User moved to other account
Apr 4, 2002
381
0
pariscomfrio.tripod.com.br
I don't know if this is possible but...

Can someone help me write an event that is only fired through the console?
And can the effect of this event be that the selected character would defect to his father country.
This would solve one major issue I have with the game, as it doesn't let you decide the future of your sucessors.

TIA
 
I tried putting impossible coditions but when I tried to use it kept saying conditions were not yet met.

I saw in the event_effects... that you need a "target_char" after the courtier_defect code. Isn't father a valid target_char? Wouldn't that work?
 
I tried something like this

character_event = {
id = 100000
trigger = {
condition = { type = stewardship value = 99 }
}
mean_time_to_happen = {
months = 120
}
action_a = {
effect = { type = courtier_defect value = father}
}
}

More or less like that

And even if the "father" doen't work, I could just make it defect to a TAG value and change it before using it. That would work too.
Can someone help me write this?
 
Last edited:
It Works!!

I don't know why but it seems that even when the "console" tells you that the conditions are not met if you try a couple of times it'll work.

And Solmyr the "father" code works! No more keeping yourself from giving land to your sons because you want to be able to control them (as IRL). And no more save game editting. :rofl:
 
Last edited:
Here's the code

The working code if anyone wants to use it. You should check the ID number. I've put 100000 and it didn't cause conflicts but I have an almost plain installation.

Code:
######################
# Move your son to your court #
######################
character_event = {
        id = 100000
        trigger = {
                condition = { type = stewardship value = 99 }
        }
        mean_time_to_happen = {
                months = 120 
        }
        action_a = {
                 effect = { type = courtier_defect value = father }
        }
}
 
Frustrated

Well. In fact defecting to the father won't do the trick. It would only work with your daughers because if you move the ruler of a country it goes into a semi-controled state.
Defecting to the liege won't do it either because the liege of your son sons is your son ( :rolleyes: ) and not you. I don't know what can be done. Perhaps one of the Betas could help us out. Please? This would really make the game a lot better.

Solmy You said that the caracter can be made to defect to a specific country. How? If that is possible it would work marginaly (you would have to change the code everytime you changed the contry you're playing with).
 
King of Brazil said:
Solmy You said that the caracter can be made to defect to a specific country. How? If that is possible it would work marginaly (you would have to change the code everytime you changed the contry you're playing with).


effect = { type = courtier_defect value = [tag] }

Replace [tag] with whatever country tag you need.
 
Solmyr said:
effect = { type = courtier_defect value = [tag] }

Replace [tag] with whatever country tag you need.
I don't think that would work.

[tag] are not valid [target char].

[father] is a valid [target char] but courtier_defect has not been designed to be applied to ruler at all.

I have not tested the side effect, but it may corrupt your game. I wouldn't do it.

It's call courtier_defect, not ruler_defect ;)

Cat
 
And if you want to only fire it from the console, don't put any trigger or mtth value:

Code:
######################
# Move your son to your court #
######################
character_event = {
        id = 100000

        action_a = {
                 effect = { type = courtier_defect value = father }
        }
}
That way, you're sure it will never fire, but from the console. I use that for test events all the time... :)

Cat
 
Originally Posted by Solmyr
effect = { type = courtier_defect value = [tag] }

Replace [tag] with whatever country tag you need.

Cat is right I tried it and it doesn'tt work.

A event that revokes all titles (from the son) would send him home, I think.

Actually the point is being able to give your son a title but maintaining control over his sons, your sucessors.

[father] is a valid [target char] but courtier_defect has not been designed to be applied to ruler at all.

Actually we need either a "grandfather" target_char or one that makes the selected person defect to the players court or the marginal solution of defecting to a specific court. I really really wish that it was available.

When you give your son a title his sons and wife do not move to his court right away. It would be nice if the sons didn't move. This is how I think it should work:

1- If u give a title to a male courtier he takes all his "belongins" to his court except a wife that is a councelor. (Its already like that)

2- If u give a title to a male courtier of the same dynastie as you than he moves to the court with he's wife but not his sons.

Wish wish wish....

Thanks Cat, I'll try the way it is now, removing the ruler right when u give him the title and report what happens (at my own risk course).

KOB