Something I have wanted since EU3 was released (which EU2 had) was for vassals to contribute militarily to their overlord even if they were not actively allied (or just not involved in the current war) similar to what the HRE Emperor gets from member states. In later patches of EU2 the overlord could get manpower for each vassal they had. Not sure if any mods currently do anything like this but I recently realized that with the 'overlord' scope introduced Napoleon's Ambition and the 'variable' effects and trigger added in In Nomine this was actually possible. Here's what I've done so far; it seems to be working correctly in my limited testing.
Two events to activate and deactivate the bonus:
Code:
country_event = {
id = 102130
title = "EVTNAME102130"
desc = "EVTDESC102130"
trigger = {
overlord = { war = yes }
war = no
NOT = { has_country_flag = supporting_overlord }
}
mean_time_to_happen = {
days = 10
}
option = {
name = "OK"
set_country_flag = supporting_overlord
overlord = {
change_variable = {
which = vassal_supporters
value = 1
}
}
}
}
country_event = {
id = 102131
title = "EVTNAME102131"
desc = "EVTDESC102131"
trigger = {
war = no
check_variable = {
which = "vassal_supporters"
value = 1
}
}
mean_time_to_happen = {
days = 10
}
option = {
name = "OK"
set_variable = {
which = vassal_supporters
value = 0
}
any_country = {
limit = {
vassal_of = THIS
has_country_flag = supporting_overlord
}
clr_country_flag = supporting_overlord
}
}
}
Localisation:
Code:
EVTNAME102130;Vassal Support for Our Overlord;;;;;;;;;;;;;
EVTDESC102130;Our overlord has requested our support in their current war.;;;;;;;;;;;;;
EVTNAME102131;Vassal Support Ends;;;;;;;;;;;;;
EVTDESC102131;With the war over our vassals have ended their military support.;;;;;;;;;;;;;
Triggered_modifiers.txt:
Code:
vassal_support1 = {
trigger = {
check_variable = {
which = "vassal_supporters"
value = 1
}
}
land_forcelimit = 1 # applied before % modifiers
global_manpower = 1
}
vassal_support2 = {
trigger = {
check_variable = {
which = "vassal_supporters"
value = 2
}
}
land_forcelimit = 1 # applied before % modifiers
global_manpower = 1
}
and more modifiers for each number of vassals contributing. I plan to change these so that only only one modifier will be active at a time to reduce clutter. (I don't usually bother doing localisation for modifiers if the name is self-descriptive.)
This setup gives the bonuses only if the overlord is at war and only when the vassal is not so it doesn't support a larger permanent army like the HRE gets and doesn't give you an extra bonus when you already have the indirect use of the vassal's whole army.
Several interesting variations can be done on this:
It could be a decision for the overlord instead of automatic.
It could cause a relations drop with the vassals being forced to contribute.
The contribution could be made optional by the vassal with some consequences if they refuse.
It could give the overlord actual units instead of just a manpower bonus.