Does custom nations on multiplayer now work, or still not?
From the first post
- Fixed issue with custom nations overriding others in MP.
Does custom nations on multiplayer now work, or still not?
- Fixed issue with custom nations overriding others in MP.
- Fixed issue for subjects not fabricate claims.
Anyone can read this thread, no need to be logged in, right? Only mod subforum, support subforum and bug reports subforum are restricted, right?How would that diminish the quality of the bug reports, exactly? You'd still need a forum account to post bug reports even if you got the password without reading this topic, and a forum account is all you need to read this topic in the first place.
I've noticed this problem as well.Playing as Majapahit event majapahit.2 (Damarwulan returns victorious) located in flavorMAJ.txt won´t fire despite fufilling conditions set by event majapahit.1 (A hero emerges) and by event pulse in 00_on_actions.txt - winning 5 battles with general named Damarwulan. Not sure what is wrong with event, as (with my limited knowledge of event coding in EU4) event pulse and majapahit.1, majapahit.2 seems fine. Can someone check them out please ?
Code:country_event = { id = majapahit.1 title = majapahit.1.t desc = majapahit.1.d picture = NUSANTARA_WAR_eventPicture fire_only_once = yes trigger = { tag = MAJ NOT = { is_year = 1500 } } mean_time_to_happen = { months = 12 } option = { name = majapahit.1.a ai_chance = { factor = 0 } custom_tooltip = damarwulan_tt # Damarwulan must win 5 battles against the enemies of Majapahit define_general = { name = "Damarwulan" shock = 4 fire = 2 manuever = 3 siege = 0 } set_country_flag = maj_damarwulan set_variable = { which = DamarwulanWinVariable value = 0 } # in on_actions, create a variabe that counts battles won by armies commmanded by a general with this name # on 5 victories, trigger the next event } option = { name = majapahit.1.b ai_chance = { factor = 1 } # banish him for sleeping with the PMs daughter add_legitimacy = 10 } }
Code:on_battle_won_unit = { if = { limit = { unit_owner = { has_leader = "Damarwulan" } } change_variable = { which = DamarwulanWinVariable value = 1 } } if = { limit = { unit_owner = { has_leader = "Damarwulan" check_variable = { which = DamarwulanWinVariable value = 5 } } } ROOT = { country_event = { id = majapahit.2 days = 2 } } } }
Code:country_event = { id = majapahit.2 title = majapahit.2.t desc = majapahit.2.d picture = NUSANTARA_WAR_eventPicture fire_only_once = yes is_triggered_only = yes option = { trigger = { has_country_flag = maj_damarwulan OR = { army_tradition = KHM AND = { mekong_area = { owner = { NOT = { army_tradition = ROOT } } } angkor_area = { owner = { NOT = { army_tradition = ROOT } } } cambodia_area = { owner = { NOT = { army_tradition = ROOT } } } } } # can have consorts has_regency = no has_consort = no is_female = yes } name = majapahit.2.a add_stability = 1 add_legitimacy = 25 define_consort = { name = "Damarwulan" country_of_origin = ROOT religion = ROOT culture = ROOT adm = 4 dip = 4 mil = 5 } # convert general to consort # new effect # set joint rule active } option = { name = majapahit.2.b trigger = { has_heir = no # can have heirs } add_stability = 1 add_legitimacy = 25 define_heir = { dynasty = ROOT claim = 100 } # convert general to heir # new effect } option = { name = majapahit.2.c add_stability = 1 add_legitimacy = 25 add_prestige = 10 } }
The majapahit.2 has no overal trigger or MAJ tag in this missing trigger, so it fires invisibly and you never get to see it, nor enjoy its rewards.
Does it mean that you fixed add_disaster_progress? Also, what about the nudge tool? No mention of it in the notes, its non-functional and crashes the game. Thank you!- Majapahit and Khmer national disasters will now trigger as expected.
You're right, you can definitely read this thread without logging in. (My mistake.) Maybe that's where all the disagree reacts came from?Anyone can read this thread, no need to be logged in, right? Only mod subforum, support subforum and bug reports subforum are restricted, right?
why###################
# Gamebalance
###################
# Other
- Should a foreign country become the Emperor of the HRE then all of their European provinces, which have a connection to their capital, will be added to the Empire.
So that the Ottoman Empire can easily get all of its provinces in the HRE, as they should
# Damarwulan returns victorious
country_event = {
id = majapahit.2
title = majapahit.2.t
desc = majapahit.2.d
picture = NUSANTARA_WAR_eventPicture
fire_only_once = yes
is_triggered_only = yes
trigger = {
tag = MAJ
}
option = {
trigger = {
has_country_flag = maj_damarwulan
# can have consorts
has_regency = no
has_consort = no
is_female = yes
}
name = majapahit.2.a
add_stability = 1
add_legitimacy = 25
define_consort = {
name = "Damarwulan"
country_of_origin = ROOT
religion = ROOT
culture = ROOT
adm = 4
dip = 4
mil = 5
}
# convert general to consort
# new effect
# set joint rule active
}
option = {
name = majapahit.2.b
trigger = {
has_heir = no
# can have heirs
}
add_stability = 1
add_legitimacy = 25
define_heir = {
name = "Damarwulan"
country_of_origin = ROOT
religion = ROOT
culture = ROOT
age = 25
adm = 4
dip = 4
mil = 5
dynasty = ROOT
claim = 100
}
# convert general to heir
# new effect
}
option = {
name = majapahit.2.c
add_stability = 1
add_legitimacy = 25
add_prestige = 10
}
}
Any update on performance ?
Im not sure if im right because i never used variables in the paradox language before but i noticed that in the "on_battle_won_unit" part the incrementing of the variable happens while the scope is on the unit, but the check if the value of the variable has reached 5 is in the scope of the unit owner. So i think it would have to look like this:So, here's my attempt at fixing the second Damarwulan event:
Code:# Damarwulan returns victorious country_event = { id = majapahit.2 title = majapahit.2.t desc = majapahit.2.d picture = NUSANTARA_WAR_eventPicture fire_only_once = yes is_triggered_only = yes trigger = { tag = MAJ } option = { trigger = { has_country_flag = maj_damarwulan # can have consorts has_regency = no has_consort = no is_female = yes } name = majapahit.2.a add_stability = 1 add_legitimacy = 25 define_consort = { name = "Damarwulan" country_of_origin = ROOT religion = ROOT culture = ROOT adm = 4 dip = 4 mil = 5 } # convert general to consort # new effect # set joint rule active } option = { name = majapahit.2.b trigger = { has_heir = no # can have heirs } add_stability = 1 add_legitimacy = 25 define_heir = { name = "Damarwulan" country_of_origin = ROOT religion = ROOT culture = ROOT age = 25 adm = 4 dip = 4 mil = 5 dynasty = ROOT claim = 100 } # convert general to heir # new effect } option = { name = majapahit.2.c add_stability = 1 add_legitimacy = 25 add_prestige = 10 } }
I removed some irrrelevant code from the first option (the consort option) that appeared to relate to Cambodia, and added some defines to the second (heir)-option-all but the last two lines under define_heir are mine.
I can fire the event through the console, but still can't get it to fire on its own like its supposed to. Any idea what I'm doing wrong?
on_battle_won_unit = {
if = {
limit = {
unit_owner = {
has_leader = "Damarwulan"
}
}
unit_owner = {
change_variable = {
which = DamarwulanWinVariable
value = 1
}
}
}
if = {
limit = {
unit_owner = {
has_leader = "Damarwulan"
check_variable = {
which = DamarwulanWinVariable
value = 5
}
}
}
ROOT = {
country_event = { id = majapahit.2 days = 2 }
}
}
}
Can you do something about rivals. At beginning game France, Muscow and Bohemia dont have enough rivals.
This version of HRE CB "expand the empire ", the amount of AE obtained is tripled. Is this a bug or a setting?
This is newly changed from version 1.31.*.
It wasn't so much before.(1.30)
I don't know the developer's perspective.
But in some special environments, this setting will make some events meaningless.
For example, after the religious war is over, there is a certain probability that "HRE event :Switzerland QUIT" will happen.
If you vote to force Switzerland.
Then it will enter a war and force Switzerland to return to the Holy Roman Empire.
But this will get you 600 global AE. All European countries, member states of the Holy Roman Empire. Will go to war with the emperor.